faas-js-runtime
faas-js-runtime copied to clipboard
[Snyk] Upgrade fastify from 4.21.0 to 5.2.1
Snyk has created this PR to upgrade fastify from 4.21.0 to 5.2.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.
-
The recommended version is 28 versions ahead of your current version.
-
The recommended version was released 2 months ago.
Issues fixed by the recommended upgrade:
| Issue | Score | Exploit Maturity | |
|---|---|---|---|
| Cross-site Scripting (XSS) SNYK-JS-COOKIE-8163060 |
315 | No Known Exploit | |
| Regular Expression Denial of Service (ReDoS) SNYK-JS-FINDMYWAY-8055229 |
315 | No Known Exploit |
Release notes
Package name: fastify
-
5.2.1 - 2025-01-06
What's Changed
- chore: org members reorder by @ Eomm in #5898
- docs(request): clarify request host functionality by @ Fdawgs in #5904
- chore(package): add fdawgs to contributors array by @ Fdawgs in #5905
- chore: updated test reporter by @ jsumners in #5907
- test: migrated custom-parser.2.test.js from tap to node:test by @ Tony133 in #5902
- test: migrated nullable-validation.test.js from tap to node:test by @ Tony133 in #5880
- test: migrated custom-parser.3.test.js from tap to node:test by @ Tony133 in #5903
- test: migrate delete test from tap to node test runner by @ Kalpana98 in #5906
- docs: add climba03003 to team by @ climba03003 in #5910
- build(deps): replace
proxy-addrwith@ fastify/proxy-addrby @ Fdawgs in #5913 - fix: ReadableStream.locked crashes application by @ climba03003 in #5920
- docs: fix typo by @ FKPSC in #5921
New Contributors
- @ Kalpana98 made their first contribution in #5906
- @ FKPSC made their first contribution in #5921
Full Changelog: v5.2.0...v5.2.1
-
5.2.0 - 2024-12-14
What's Changed
- docs: add HeroDevs mentions to README and LTS docs by @ AndreAngelantoni in #5730
- test: migrated reply-early-hints.test.js from tap to node:test by @ Tony133 in #5803
- chore: Bump lycheeverse/lychee-action from 1.10.0 to 2.0.2 by @ dependabot in #5807
- chore: Bump thollander/actions-comment-pull-request from 2 to 3 by @ dependabot in #5806
- test: migrated request-timeout.test.js from tap to node:test by @ Tony133 in #5805
- fix: streamline migrated tests, make migrated the filenames of migrated tests kebab-case by @ Uzlopak in #5800
- ci(benchmark): fix github token input by @ Fdawgs in #5809
- test: migrated reply-code.test.js from tap to node:test by @ Tony133 in #5808
- test: migrated middleware.test.js from tap to node:test by @ Tony133 in #5795
- fix: test asserts to strict asserts by @ dancastillo in #5815
- chore: renamed test files in kebab-case by @ Tony133 in #5814
- style(.gitattributes): standardize style across fastify repos by @ Fdawgs in #5816
- style: remove trailing whitespace by @ Fdawgs in #5817
- test: migrated encapsulated-error-handler.test.js from tap to node:test by @ Tony133 in #5824
- docs: Add
fastify-mongo-sanitizeandremix-fastifyto comm. by @ ExorTek in #5822 - test: migrated encapsulated-child-logger-factory.test.js from tap to … by @ Tony133 in #5823
- docs: add loggerInstance to Server doc by @ llimllib in #5786
- test: migrated post-empty-body.test.js from tap to node:test by @ Tony133 in #5813
- docs(CONTRIBUTING.md): read the announcements by @ Eomm in #5825
- test: migrated listen.5.test.js from tap to node:test by @ Tony133 in #5827
- test: migrated use-semicolon-delimiter.test.js from tap to node:test by @ Tony133 in #5812
- docs: smaller documentation fixes by @ metcoder95 in #5834
- fix(types): addHttpMethod type signature on fastify instance (#5810) by @ kalvenschraut in #5811
- test: migrated schema-examples.test.js from tap to node:test by @ Tony133 in #5833
- test: Migrate tests to Node test container by @ KristianLentino99 in #5777
- test: migrated max-requests-per-socket.test.js from tap to node:test by @ Tony133 in #5828
- test: migrated proto-poisoning.test.js from tap to node:test by @ Tony133 in #5836
- test: migrated content-type and context-config tests from tap to node:test by @ stojkov-z in #5778
- docs: Added fastify-passkit-webservice to community plugins by @ alexandercerutti in #5819
- test: migrate trust-proxy, type-provider, url-rewriting to node:test by @ dancastillo in #5829
- test: migrated fluent-schema.test.js from tap to node:test by @ Tony133 in #5832
- test: migrated set-error-handler.test.js and header-overflow.test.js from tap to node:test by @ Tony133 in #5835
- chore: Bump secure-json-parse from 2.7.0 to 3.0.1 in the dependencies-major group by @ dependabot in #5845
- test: migrated pretty-print.test.js from tap to node:test by @ Tony133 in #5844
- test: migrated custom-parser.4.test.js and custom-parser.5.test.js fr… by @ Tony133 in #5837
- docs: fix example for supplying own logger instance by @ keithito in #5857
- feat: Add hook name within timeout error message by @ kibertoad in #5851
- docs: make whitespace consistent by @ joeytwiddle in #5863
- test: migrated fastify-instance.test.js from tap to node:test by @ Tony133 in #5859
- test: migrated request-id.test.js from tap to node:test by @ Tony133 in #5858
- test: migrated tests from tap to node test by @ Tony133 in #5839
- test: migrated router-options.test.js from tap to node:test by @ Tony133 in #5840
- test: migrated route.8.test.js from tap to node:test by @ Tony133 in #5864
- chore: Bump lycheeverse/lychee-action from 2.0.2 to 2.1.0 by @ dependabot in #5869
- test: migrated validation-error-handling from tap to node:test by @ reidn3r in #5856
- test: migrated handler-context.test.js from tap to node:test by @ Tony133 in #5868
- test: migrated find-route.test.js from tap to node:test by @ Tony133 in #5867
- chore: sponsor link by @ Eomm in #5871
- docs(readme): point ci badge at main branch by @ Fdawgs in #5873
- test: migrate content-parser test to use node:test by @ Rantoledo in #5847
- docs(readme): revert to standard workflow badge syntax by @ Fdawgs in #5877
- chore: readme lighter install script by @ giulianok in #5872
- docs(CONTRIBUTING.md): added v4 to version branches by @ giuliowaitforitdavide in #5886
- fix(errorHandler.js): linting problems in pipeline by @ giuliowaitforitdavide in #5885
- ci: pin node version 22.11 by @ climba03003 in #5889
- docs(ecosystem): update apitally description by @ itssimon in #5891
- types: remove connection property in FastifyRequest by @ giuliowaitforitdavide in #5884
- fix: crash when host header is missing by various of reason by @ climba03003 in #5892
- chore: fix flaky test by @ Eomm in #5881
- perf: use
node:prefix to bypass require.cache call for builtins by @ Fdawgs in #5894 - chore: bump dev fastify-plugin by @ Eomm in #5879
- types: use
node:prefix for builtins by @ Fdawgs in #5896 - test: migrated content-length.test.js from tap to node:test by @ Tony133 in #5878
New Contributors
- @ AndreAngelantoni made their first contribution in #5730
- @ ExorTek made their first contribution in #5822
- @ llimllib made their first contribution in #5786
- @ KristianLentino99 made their first contribution in #5777
- @ stojkov-z made their first contribution in #5778
- @ alexandercerutti made their first contribution in #5819
- @ keithito made their first contribution in #5857
- @ joeytwiddle made their first contribution in #5863
- @ reidn3r made their first contribution in #5856
- @ giulianok made their first contribution in #5872
Full Changelog: v5.1.0...v5.2.0
-
5.1.0 - 2024-10-31
What's Changed
- chore: Update Migration-Guide-V5.md by @ jsumners in #5688
- fix(guide-v5): wrong link for diagnostics channel by @ corradopetrelli in #5693
- chore: fix typo in reply-serialize.test.js by @ janmooij in #5692
- chore: remove unused dev dependencies by @ climba03003 in #5696
- docs: fix schema by @ climba03003 in #5695
- fix(docs): migration guide by @ Eomm in #5701
- fix: add childLoggerFactory option to FastifyHttpOptions type by @ mauroaccornero in