Skip to content

Releases: adonisjs/http-server

Fix bug with defineConfig helper

21 May 13:12
Compare
Choose a tag to compare
  • refactor: relay trustProxy value as it is in normalizedConfig (87d7fc9)
  • chore: update dependencies (912fd1e)

Full Changelog: v7.2.2...v7.2.3

Update dependencies

22 Apr 06:33
Compare
Choose a tag to compare
  • Merge branch 'main' into develop (7389edc)
  • chore(release): 7.2.1 (b00020e)
  • chore: update release-it config (86b4fa5)
  • chore: update dependencies (54fd0e6)
  • chore: update release-it config (03cc997)
  • chore: update dependencies (adbbd76)

Full Changelog: v7.2.1...v7.2.2

Add a specific citgm script

16 Apr 08:31
c092b40
Compare
Choose a tag to compare

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

29 Mar 16:53
Compare
Choose a tag to compare

Please consult the documentation on how response.onFinish method works. https://docs.adonisjs.com/guides/response#running-actions-after-response-finishes

Commits

  • fix: fix invalid types bf4f0bb
  • feat: add response.onFinish method 647d400

v7.1.0...v7.2.0

Full Changelog: v7.1.0...v7.2.0

Add ResponseStatus enum

22 Feb 22:36
Compare
Choose a tag to compare
  • 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

02 Feb 10:59
Compare
Choose a tag to compare
  • fix: make router class (via lookup store) macroable 5828c59
  • chore: update dependencies b7e3a29

Full Changelog: v7.0.2...v7.0.3

Update dependencies

23 Jan 10:49
Compare
Choose a tag to compare

Full Changelog: v7.0.1...v7.0.2

Use status pages return value and add new cookie options

22 Jan 12:43
Compare
Choose a tag to compare

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

07 Jan 07:25
3fa852d
Compare
Choose a tag to compare

Please reference the following releases to learn more about the breaking changes and new additions.

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

Full Changelog: v5.12.0...v7.0.0

Rename request finished event

19 Dec 05:33
Compare
Choose a tag to compare
Pre-release

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