Releases: adonisjs/http-server
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
Stable major release
Please reference the following releases to learn more about the breaking changes and new additions.
- Breaking changes - https://github.com/adonisjs/http-server/releases/tag/v6.0.0-0
- New features - https://github.com/adonisjs/http-server/releases/tag/v6.1.0-0
- New features - https://github.com/adonisjs/http-server/releases/tag/v6.2.0-0
- New features - https://github.com/adonisjs/http-server/releases/tag/v6.3.0-0
- Breaking changes - https://github.com/adonisjs/http-server/releases/tag/v6.8.2-7
- New features - https://github.com/adonisjs/http-server/releases/tag/v6.8.2-9
- Breaking changes - https://github.com/adonisjs/http-server/releases/tag/v7.0.0-0
Commits
- chore: drop usage of --expiremental-meta-resolve flag 35b7e35
- chore: publish under latest tag 246e5d2
- Merge pull request #79 from adonisjs/next 3fa852d
- refactor: remove usage of import.meta.resolve API b52c2c8
- fix: do not re-assign error.message and error.status when already exists 7903e5e
- refactor: make cookie default options more secure 8e5d4f8
- test: remove regression test, since it is fixed in starter kit a84d434
- chore: update dependencies 1388687
What's Changed
- fix: add missing @types/node package by @RomainLanz in #68
- refactor: use fs/promises instead of util.promisify by @targos in #70
- feat(request): allow to use a boolean for trustProxy by @RomainLanz in #76
- fix: clearing slash prefixes before adding uriSegment within url builder's processPattern by @tomgobich in #77
- Merge to develop for final release by @thetutlage in #79
New Contributors
- @tomgobich made their first contribution in #77
Full Changelog: v5.12.0...v7.0.0
Rename request finished event
The http:request_finished
event has been renamed to http:request_completed
Commits
- refactor: make emitter type-safe and rename request finished event 00627cf
Full Changelog: v7.0.0-3...v7.0.0-4