5.2.2
What's Changed
- build: use static path instead of __filename by @climba03003 in https://github.com/fastify/fastify/pull/5922
- fix(linting): fix linting error in error-handler.js by @Uzlopak in https://github.com/fastify/fastify/pull/5926
- chore: Bump the dev-dependencies group across 1 directory with 6 updates by @dependabot in https://github.com/fastify/fastify/pull/5930
- fix: don't check for payload type in default json parser by @gurgunday in https://github.com/fastify/fastify/pull/5933
- docs: Include req.hostname change in upgrade guide by @tmcw in https://github.com/fastify/fastify/pull/5935
- build(dependabot): regroup dev dependencies by @Fdawgs in https://github.com/fastify/fastify/pull/5931
- chore: Bump borp from 0.18.0 to 0.19.0 by @dependabot in https://github.com/fastify/fastify/pull/5936
- chore: don't return the
donefunction by @gurgunday in https://github.com/fastify/fastify/pull/5937 - ci(workflows): unpin node 22 version by @Fdawgs in https://github.com/fastify/fastify/pull/5941
- perf: don't use optional chaining for typeof .then checks by @gurgunday in https://github.com/fastify/fastify/pull/5942
- docs: the no floating promise guide is not needed anymore by @mcollina in https://github.com/fastify/fastify/pull/5946
- docs: grammar and spelling fixes by @Fdawgs in https://github.com/fastify/fastify/pull/5944
- perf(lib/pluginutils): cache rc version regex by @Fdawgs in https://github.com/fastify/fastify/pull/5940
- build(dependabot): reduce npm updates to monthly by @Fdawgs in https://github.com/fastify/fastify/pull/5939
- docs(guides): grammar and spelling fixes by @Fdawgs in https://github.com/fastify/fastify/pull/5947
- test: migrated genReqId.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/5943
- chore: Bump lycheeverse/lychee-action from 2.1.0 to 2.2.0 by @dependabot in https://github.com/fastify/fastify/pull/5948
- docs(reference/contenttypeparser): make more concise by @Fdawgs in https://github.com/fastify/fastify/pull/5950
- docs(getting-started): clarify fastify-cli is separate by @Fdawgs in https://github.com/fastify/fastify/pull/5949
- docs(validation-and-serialization): fix typo by @matthyk in https://github.com/fastify/fastify/pull/5952
- test: migrated route-shorthand.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/5923
- test: migrated register.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/5918
- Update broken link to N|Solid by @xuhdev in https://github.com/fastify/fastify/pull/5954
- docs(reference): even more conciseness by @Fdawgs in https://github.com/fastify/fastify/pull/5951
- test: migrate from tap to node test for close & custom-parser-async by @coluzziandrea in https://github.com/fastify/fastify/pull/5915
- docs(reference/type-providers): conciseness improvements by @Fdawgs in https://github.com/fastify/fastify/pull/5962
- docs(reference/errors): conciseness improvements by @Fdawgs in https://github.com/fastify/fastify/pull/5963
- docs(reference/logging): conciseness improvements by @Fdawgs in https://github.com/fastify/fastify/pull/5958
- docs(reference/request): conciseness improvements by @Fdawgs in https://github.com/fastify/fastify/pull/5965
- docs(ecosystem): add
@fastify/otelto core list by @Fdawgs in https://github.com/fastify/fastify/pull/5967 - docs(reference/validation): conciseness improvements by @Fdawgs in https://github.com/fastify/fastify/pull/5964
- docs(reference/plugins): conciseness improvements by @Fdawgs in https://github.com/fastify/fastify/pull/5956
- docs(reference/decorators): conciseness improvements by @Fdawgs in https://github.com/fastify/fastify/pull/5966
- chore(sponsor): Add Lokalise sponsorship reference by @kibertoad in https://github.com/fastify/fastify/pull/5968
- test: migrated listen.2.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/5960
- docs(ecosystem): add fastify-enforce-routes-pattern by @Jerome1337 in https://github.com/fastify/fastify/pull/5961
- chore(sponsor): add Jspreadsheet by @Eomm in https://github.com/fastify/fastify/pull/5971
- docs(reference/routes): conciseness improvements by @Fdawgs in https://github.com/fastify/fastify/pull/5969
- fix(types): missing supportedMethods by @johaven in https://github.com/fastify/fastify/pull/5970
- chore: Bump the dev-dependencies-eslint group with 2 updates by @dependabot in https://github.com/fastify/fastify/pull/5975
- ci: remove master branch support by @Fdawgs in https://github.com/fastify/fastify/pull/5974
- docs(reference): mimic github notes and warning style by @Fdawgs in https://github.com/fastify/fastify/pull/5973
- docs: Drop platformatic cloud reference in serverless.md by @mcollina in https://github.com/fastify/fastify/pull/5982
- docs: add a Genezio step by step guide by @cristim67 in https://github.com/fastify/fastify/pull/5980
- docs(lts): fix anchor tag format by @kadoshita in https://github.com/fastify/fastify/pull/5986
- docs: Update documentation for listening to
0.0.0.0by @jonasongg in https://github.com/fastify/fastify/pull/5988 - docs(serverless): cut down genezio example by @Fdawgs in https://github.com/fastify/fastify/pull/5990
- docs: add link to official demo by @jean-michelet in https://github.com/fastify/fastify/pull/5994
- chore(license): update licensing year by @Tony133 in https://github.com/fastify/fastify/pull/5992
- docs: wrong query string parser information by @smith558 in https://github.com/fastify/fastify/pull/5993
- docs: typo in v5 migration docs by @salmanm in https://github.com/fastify/fastify/pull/5995
- docs: update example to use correct parser by @smith558 in https://github.com/fastify/fastify/pull/5996
- test: migrated request-error.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/5987
- chore: Bump the dev-dependencies-eslint group with 2 updates by @dependabot in https://github.com/fastify/fastify/pull/5999
- chore: Bump lycheeverse/lychee-action from 2.2.0 to 2.3.0 by @dependabot in https://github.com/fastify/fastify/pull/6001
- docs: fix docorators example by @logan272 in https://github.com/fastify/fastify/pull/5997
- chore: fix docs by @Eomm in https://github.com/fastify/fastify/pull/6007
- test: migrated stream.5.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/5955
- build(test/bundler/esbuild): bump esbuild by @Fdawgs in https://github.com/fastify/fastify/pull/6010
- test: migrated throw.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/6002
- docs(guides/ecosystem): update broken link to scalar by @inyourtime in https://github.com/fastify/fastify/pull/6015
- feat: add listen async callback warning by @Eomm in https://github.com/fastify/fastify/pull/6011
- docs(readme): fix broken ci badges by @Fdawgs in https://github.com/fastify/fastify/pull/6016
- docs: remove --node-arg prefix by @piotr-cz in https://github.com/fastify/fastify/pull/6018
- test: migrated listen.1.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/6014
- chore: Bump typescript from 5.7.3 to 5.8.2 in the dev-dependencies-typescript group by @dependabot in https://github.com/fastify/fastify/pull/6000
- test: migrated upgrade.test.js from tap to node:test and update inde… by @Tony133 in https://github.com/fastify/fastify/pull/5917
- test: fix flaky by @Eomm in https://github.com/fastify/fastify/pull/6021
- test: migrated listen.3.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/6022
- test: migrated listen.4.test.js from tap to node:test by @Tony133 in https://github.com/fastify/fastify/pull/6024
- fix: double hook execution by @Eomm in https://github.com/fastify/fastify/pull/6013
- test(content-type-parser): replace tiny-lru proxy with toad-cache by @Fdawgs in https://github.com/fastify/fastify/pull/6025
Full Changelog: https://github.com/fastify/fastify/compare/v5.2.1...v5.2.2