ok: safe to upgrade
0 breaking changes5 key points
Adds HTTP QUERY method support plus several bug fixes for validation, Content-Type parsing and writeHead.
key points
- note[1]: Adds support for the HTTP QUERY method (rfc10008).release-notes:5
- note[2]: Validation now correctly updates falsy values returned by the validator.release-notes:14
- note[3]: Throws in writeHead are no longer uncatchable when using an async hook.release-notes:20
- note[4]: Quoted-string values in
Content-Typeparameters are now honored.release-notes:21 - note[5]: Cached content types are reused for response serialization, a performance improvement.release-notes:6
release-notesgithub.com/fastify/fastify · 33 lines
- ## What's Changed
- * chore: Bump markdownlint-cli2 from 0.22.1 to 0.23.0 by @dependabot[bot] in https://github.com/fastify/fastify/pull/6839
- * fix: normalize method in findRoute by @Ram-blip in https://github.com/fastify/fastify/pull/6838
- * docs: fix incorrect description for validateInput in Request.md by @thePranav-kpk in https://github.com/fastify/fastify/pull/6823
- * feat: rfc10008 http query method by @climba03003 in https://github.com/fastify/fastify/pull/6832
- * perf: reuse cached content types for response serialization by @gurgunday in https://github.com/fastify/fastify/pull/6854
- * chore(sponsor): add n-ix by @Eomm in https://github.com/fastify/fastify/pull/6852
- * ci: pin actions to commit-hash by @Fdawgs in https://github.com/fastify/fastify/pull/6853
- * ci(dependabot): temporarily ignore typescript updates by @Tony133 in https://github.com/fastify/fastify/pull/6869
- * style(types): enforce max line length by @jean-michelet in https://github.com/fastify/fastify/pull/6864
- * docs(ecosystem): update fastify-prisma repo URL by @zrosenbauer in https://github.com/fastify/fastify/pull/6724
- * docs(getting-started): align import with exported routes by @Solaris-star in https://github.com/fastify/fastify/pull/6859
- * docs(server): fix contradictory requestIdHeader default by @sobol-sudo in https://github.com/fastify/fastify/pull/6872
- * fix(validation): correctly update falsy values from validator by @jackjin1997 in https://github.com/fastify/fastify/pull/6483
- * docs: specific warning suppression by @jean-michelet in https://github.com/fastify/fastify/pull/6871
- * ci(links-check): pin linkinator server root to the workspace by @aquie00t in https://github.com/fastify/fastify/pull/6877
- * docs: update TypeScript docs to reference Fastify 5.x by @Sasireddy001 in https://github.com/fastify/fastify/pull/6880
- * docs: use async trailer handlers in Reply examples by @Ram-blip in https://github.com/fastify/fastify/pull/6856
- * docs: fix logController migration example and links by @aquie00t in https://github.com/fastify/fastify/pull/6876
- * fix: uncatchable throws in writeHead when using async hook by @climba03003 in https://github.com/fastify/fastify/pull/6881
- * fix: honor quoted-string in `Content-Type` parameter values by @aquie00t in https://github.com/fastify/fastify/pull/6865
- * chore(.npmrc): add min-release-age by @Fdawgs in https://github.com/fastify/fastify/pull/6873
- * chore: Bump actions/setup-node from 6.4.0 to 7.0.0 by @dependabot[bot] in https://github.com/fastify/fastify/pull/6866
- * chore: Bump actions/labeler from 6.2.0 to 7.0.0 by @dependabot[bot] in https://github.com/fastify/fastify/pull/6867
- ## New Contributors
- * @Ram-blip made their first contribution in https://github.com/fastify/fastify/pull/6838
- * @Solaris-star made their first contribution in https://github.com/fastify/fastify/pull/6859
- * @sobol-sudo made their first contribution in https://github.com/fastify/fastify/pull/6872
- * @jackjin1997 made their first contribution in https://github.com/fastify/fastify/pull/6483
- * @Sasireddy001 made their first contribution in https://github.com/fastify/fastify/pull/6880
- **Full Changelog**: https://github.com/fastify/fastify/compare/v5.10.0...v5.11.0