Skip to content

chore(adonisjs): update to @adonisjs/http-server 9.3 - #488

Open
RomainLanz wants to merge 2 commits into
fastify:mainfrom
RomainForks:chore/update-adonisjs
Open

RomainLanz wants to merge 2 commits into
fastify:mainfrom
RomainForks:chore/update-adonisjs

Conversation

@RomainLanz

Copy link
Copy Markdown
Contributor

Hey! 👋🏻

This PR updates AdonisJS to use the latest version.

@adonisjs/http-server 9.x expects @boringnode/encryption as a peer
dependency instead of @adonisjs/encryption. Switch the benchmark to it
with the chacha20poly1305 driver, following the upstream benchmark.

Also serialize JSON responses with JSON.stringify, as the upstream
benchmark does, so AdonisJS uses the same serializer as most other
frameworks here.

Related https://github.com/adonisjs/http-server/blob/9.x/benchmarks/adonisjs.js
@adonisjs/http-server 9.3 defaults to the linear route matcher. Opt
into the tree matcher, which AdonisJS ships as an alternative router
implementation, so the benchmark measures it instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant