Releases: NeaByteLab/Deserve
Releases · NeaByteLab/Deserve
v0.15.0
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 withctx.set.*, and finish withctx.send.* - Rendering now runs on
@neabyte/dve0.1.1 with layouts, blocks, slots, comments, whitespace control,else if, and static validation - New send helpers
ctx.send.empty(status)andctx.send.download(body, filename, options) - Static mounts can be backed by a callback as well as a directory, with
HEAD, range,Last-Modified, andIf-Rangesupport - Per-source request validation reachable through
ctx.get.validated(), and a WebSocket middleware viaMware.websocket(options) - Expanded observability events for new lifecycle and rejection moments
Breaking Changes
- The flat
ctxmethods and setters are replaced by thectx.get.*andctx.set.*namespaces - Lifecycle events were renamed, for example
request:completetorequest:completedandview:errortoview:failed - Router config moved the routes directory under
routes, view config underviews, and renamed the timeout totimeoutMs SecHeadersrenamed toSecurityHeaders,Corsrenamed toCORS, andWrapMwarereplaced byWrap.applySessionOptionsnow requiressecretin place ofcookieSecretand keys the cookie name undername- The package root export list is now explicit and no longer re-exports
DefineorLoader
Full notes in the CHANGELOG.
v0.14.0
Full Changelog: 0.13.0...0.14.0
v0.13.0
Full Changelog: 0.12.2...0.13.0
v0.12.2
Full Changelog: 0.12.1...0.12.2
v0.12.1
Full Changelog: 0.12.0...0.12.1
v0.12.0
Full Changelog: 0.11.0...0.12.0
v0.11.0
Full Changelog: 0.10.0...0.11.0
v0.10.0
Full Changelog: 0.9.0...0.10.0
v0.9.0
Full Changelog: 0.8.0...0.9.0
v0.8.0
Full Changelog: 0.7.0...0.8.0