Releases: adonisjs/http-server
Remove url builder client as tuyau will include one
8.0.0-next.1 (2025-08-15)
Features
- remove url builder client (cb751ac)
Full Changelog: v8.0.0-next.0...v8.0.0-next.1
Tracing support, routes types generation and URL builder client
8.0.0-next.0 (2025-07-30)
Bug Fixes
- accidental removal of safeStringify (1dcbc57)
- decodeURI unicode values in the URL, including route params and query string (f0c045d), closes #105
Features
- add encoreUrl helper (257af47)
- add matchRoute and parseRoute helpers (0114df2)
- add routeInfo and middlewareInfo helpers (bb83bde)
- add serializeCookie helper (3952cfc)
- add type-safe heleprs for creating URLs from routes and patterns (d4558a5)
- create proper class for new URLBuilder and make brisk route and redirect APIs type-safe (623fd0c)
- do not render status page for non-HTML requests (f205126), closes #100
- export mime-types package via helpers (eb5d0af)
- first version of generating the URL builder client (7aa48d9)
- introduce a new type safe URLBuilder with the ability to generate types (6181a50)
- introduce config.createRequestId method and remove usage of cuid2 (4e19034)
- introduce tracing channels (44e272f)
- move tokens to route JSON output (f2cd82d)
- remove StoreRouteNode in favor of RouteJSON (c091c13)
- restructure code for client generation and create client build (7bdc4b6)
- speed up response serialization (36ef522)
- store references for all middlewares (ed3ef29)
- trace non-stream response serialization (4069c2d)
BREAKING CHANGES
-
The request.parsedUrl property is no longer of type UrlWithStringQuery, since
url.parse method in Node.js has been deprecated. Instead, we use a custom implementation to
decode the URI and split the query string from it. -
Router.match method now accepts an additional 3rd argument. Which is a boolean flag to tell if
it should attempt to decode unicode values in the route params. -
The exception handler will no longer consider status pages
when an API request is sent with the Accept header not accept HTML response
Full Changelog: v7.6.1...v8.0.0-next.0
Do not clone rich data types when creating original body copy
7.7.0 (2025-06-17)
Bug Fixes
- pin swc as it is broken (5edeadc)
Features
- request body cloned copy to replace non-primitive values with null (9c989f7)
Full Changelog: v7.6.1...v7.7.0
Update dependencies
7.6.1 (2025-05-15)
Full Changelog: v7.6.0...v7.6.1
QOL: Allow deep partial config via defineConfig method
7.6.0 (2025-03-26)
Bug Fixes
- DeepPartial type (5561087)
Features
- make http config deep partial (7b30a59)
Full Changelog: v7.5.0...v7.6.0
Allow configuring timeouts for the Node.js HTTP server
7.5.0 (2025-02-26)
Features
- allow configuring Node.js HTTP server (a8e3f2b)
What's Changed
- Handle Uint8Array directly as a response, without converting to Buffer by @andrew-connell in #97
- Configure Node HTTP server by @enixsoft in #98
New Contributors
- @andrew-connell made their first contribution in #97
- @enixsoft made their first contribution in #98
Full Changelog: v7.4.0...v7.5.0
define listArgs property for brisk route handle
The listArgs
will be used by the list:routes
command to provide more info about the brisk handler
Features
- define listArgs for brisk routes handler (9173f99)
Full Changelog: v7.3.0...v7.4.0
Add `x-request-id` to the response when exists in the request
Features
What's Changed
- Specify using Node buffer by importing it by @McSneaky in #91
- feat: add x-request-id to the response by @dmartel in #96
New Contributors
Full Changelog: v7.2.5...v7.3.0
Ensure the server cannot be booted twice and routes are committed only once
Fixes adonisjs/inertia#39
Bug Fixes
- ensure server is booted only once and routes are committed once (bad9443)
Full Changelog: v7.2.4...v7.2.5
Update cookie dependency
Full Changelog: v7.2.3...v7.2.4