Releases: adonisjs/http-server
Export NextFn type helper
8.0.0-next.7 (2025-09-08)
Features
- export NextFn type helper (838c317)
Full Changelog: v8.0.0-next.6...v8.0.0-next.7
Fix error handler broken code after using tracing
8.0.0-next.6 (2025-08-31)
Bug Fixes
- pass this context to error handler when tracing the handle method (8cae7c9)
Full Changelog: v8.0.0-next.5...v8.0.0-next.6
Fix URL builder types
8.0.0-next.5 (2025-08-26)
Bug Fixes
- url builder types helpers (57e3f15)
Full Changelog: v8.0.0-next.4...v8.0.0-next.5
Do not generate types when there are no routes
8.0.0-next.4 (2025-08-26)
Bug Fixes
- do not attempt to generate types when there are no routes (e0b3c64)
- do not generate route name when unable to infer controller name (8f50d0c)
Full Changelog: v8.0.0-next.3...v8.0.0-next.4
Add importExpression and method to the route handler
8.0.0-next.3 (2025-08-26)
Features
- add importExpression and controller method to the route handler (6ab52c7)
Full Changelog: v8.0.0-next.2...v8.0.0-next.3
Auto generate route names from controller.method reference
8.0.0-next.2 (2025-08-25)
Breaking changes
- Routes with controllers are implicitly named. Therefore, you might receive an error if two routes are using the same Controller + method. To fix the issue, you must explicitly name of the routes to be different
Features
- auto generate route names from controller.method reference (199d1ae)
Full Changelog: v8.0.0-next.1...v8.0.0-next.2
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