Skip to content

Releases: NeaByteLab/Deserve

v0.15.0

26 Jun 13:54
9b1b051

Choose a tag to compare

This release moves the template engine into the standalone @neabyte/dve package and redesigns the request and response surface around grouped namespaces.

Highlights

  • Grouped context API: read the request with ctx.get.*, stage the response with ctx.set.*, and finish with ctx.send.*
  • Rendering now runs on @neabyte/dve 0.1.1 with layouts, blocks, slots, comments, whitespace control, else if, and static validation
  • New send helpers ctx.send.empty(status) and ctx.send.download(body, filename, options)
  • Static mounts can be backed by a callback as well as a directory, with HEAD, range, Last-Modified, and If-Range support
  • Per-source request validation reachable through ctx.get.validated(), and a WebSocket middleware via Mware.websocket(options)
  • Expanded observability events for new lifecycle and rejection moments

Breaking Changes

  • The flat ctx methods and setters are replaced by the ctx.get.* and ctx.set.* namespaces
  • Lifecycle events were renamed, for example request:complete to request:completed and view:error to view:failed
  • Router config moved the routes directory under routes, view config under views, and renamed the timeout to timeoutMs
  • SecHeaders renamed to SecurityHeaders, Cors renamed to CORS, and WrapMware replaced by Wrap.apply
  • SessionOptions now requires secret in place of cookieSecret and keys the cookie name under name
  • The package root export list is now explicit and no longer re-exports Define or Loader

Full notes in the CHANGELOG.

v0.14.0

16 Jun 16:43
d0d79af

Choose a tag to compare

Full Changelog: 0.13.0...0.14.0

v0.13.0

10 Jun 16:42
8d55dbc

Choose a tag to compare

Full Changelog: 0.12.2...0.13.0

v0.12.2

09 Jun 12:42
a5cb39d

Choose a tag to compare

Full Changelog: 0.12.1...0.12.2

v0.12.1

09 Jun 12:35
3b1e19a

Choose a tag to compare

Full Changelog: 0.12.0...0.12.1

v0.12.0

09 Jun 01:56
1ad9d5a

Choose a tag to compare

Full Changelog: 0.11.0...0.12.0

v0.11.0

04 Jun 09:04
d32f2e4

Choose a tag to compare

Full Changelog: 0.10.0...0.11.0

v0.10.0

23 May 10:33
53c411a

Choose a tag to compare

Full Changelog: 0.9.0...0.10.0

v0.9.0

18 Mar 21:22
235b02c

Choose a tag to compare

Full Changelog: 0.8.0...0.9.0

v0.8.0

07 Mar 10:30
b725b16

Choose a tag to compare

Full Changelog: 0.7.0...0.8.0