Releases: adonisjs/http-server
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
Fix bug with defineConfig helper
- refactor: relay trustProxy value as it is in normalizedConfig (87d7fc9)
- chore: update dependencies (912fd1e)
Full Changelog: v7.2.2...v7.2.3
Update dependencies
Add a specific citgm script
Commits
- chore: fix typo in release script (8743e2e)
- chore: add a citgm script (1f6730b)
- chore: switch to release-it (384900a)
- chore: update dependencies (4d6338c)
Full Changelog: v7.2.0...v7.2.1
Add response.onFinish method to listen when response is finished
Please consult the documentation on how response.onFinish
method works. https://docs.adonisjs.com/guides/response#running-actions-after-response-finishes
Commits
Full Changelog: v7.1.0...v7.2.0
Add ResponseStatus enum
- fix(response): correct status 416 5ef57d5
- feat(response): export response status a17c106
- feat(response): add response status enum cc45664
Full Changelog: v7.0.3...v7.1.0
Make Router class macroable
Full Changelog: v7.0.2...v7.0.3
Update dependencies
Full Changelog: v7.0.1...v7.0.2
Use status pages return value and add new cookie options
This release fixes the behavior of statusPages property defined on a exception handler. Earlier, a status page callback function was responsible for writing the HTTP response via the response.send
method. However, how you can return a string value from this method and the will be written as the response.
Also, we now support partitioned
and priority
cookie options. Lear more about them here. https://github.com/jshttp/cookie?tab=readme-ov-file#partitioned
Commits
- fix: use status page return value as response 11324f0
- feat: optionally accept partitioned and priority cookie options f1397c8
- chore: update dependencies ea56755
Full Changelog: v7.0.0...v7.0.1