NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3179 most downloaded on npm
Fast and low overhead web framework, for Node.js
Last release 2 days ago
16 Sep 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
67 versions withdrawn
withdrawn after publishing
10 years old
331 releases · first in 2016
docs: Add blank line before onclose hook heading by @kadoshita in https://github.com/fastify/fastify/pull/5042
Symbol.asyncDispose to improve DX in short lived servers. by @arthurfiorette in https://github.com/fastify/fastify/pull/5082Full Changelog: https://github.com/fastify/fastify/compare/v4.23.2...v4.24.0
One column per quarter.
fix: add routeOptions.schema to types by @Uzlopak in https://github.com/fastify/fastify/pull/5035
Full Changelog: https://github.com/fastify/fastify/compare/v4.23.1...v4.23.2
fix: correct warnings for request.routerPath and request.routerMethod by @Uzlopak in https://github.com/fastify/fastify/pull/5032
Full Changelog: https://github.com/fastify/fastify/compare/v4.23.0...v4.23.1
test: reduce output of reqIdGenFactory.test.js by @Uzlopak in https://github.com/fastify/fastify/pull/5012
node: prefix to bypass require.cache call for builtins by @Fdawgs in https://github.com/fastify/fastify/pull/5026Full Changelog: https://github.com/fastify/fastify/compare/v4.22.2...v4.23.0
A spurious file (a test run result) was added to the package, which was now removed.
A spurious file (a test run result) was added to the package, which was now removed.
chore: Bump the dev-dependencies group with 1 update by @dependabot in https://github.com/fastify/fastify/pull/5002
@fastify/throttle to core list by @Fdawgs in https://github.com/fastify/fastify/pull/5004Full Changelog: https://github.com/fastify/fastify/compare/v4.22.0...v4.22.1
make FastifySchemaValidationError.params wider by @cm-ayf in https://github.com/fastify/fastify/pull/4476
FastifyRequest.id type as a string by @samchungy in https://github.com/fastify/fastify/pull/4992Full Changelog: https://github.com/fastify/fastify/compare/v4.21.0...v4.22.0
chore: remove license-checker package by @Uzlopak in https://github.com/fastify/fastify/pull/4914
Full Changelog: https://github.com/fastify/fastify/compare/v4.20.0...v4.21.0
docs(client-aborted): remove deprecated function by @JekRock in https://github.com/fastify/fastify/pull/4898
await in fastify.register() by @hateablestream in https://github.com/fastify/fastify/pull/4846Full Changelog: https://github.com/fastify/fastify/compare/v4.19.2...v4.20.0
fix(typescript): route config should not pass url and method by @climba03003 in https://github.com/fastify/fastify/pull/4872
DecorationMethod to fix #4870 by @voxpelli in https://github.com/fastify/fastify/pull/4874Full Changelog: https://github.com/fastify/fastify/compare/v4.19.1...v4.19.2
docs(typescript): fix typo by @jon-codes in https://github.com/fastify/fastify/pull/4861
Full Changelog: https://github.com/fastify/fastify/compare/v4.19.0...v4.19.1
fix: added a check to prevent creation of secondary server when external server is supplied by @aarontravass in https://github.com/fastify/fastify/pul
decorate() etc to enforce defined values by @voxpelli in https://github.com/fastify/fastify/pull/4858Full Changelog: https://github.com/fastify/fastify/compare/v4.18.0...v4.19.0
Update GOVERNANCE.md by @mcollina in https://github.com/fastify/fastify/pull/4709
res serializer by @bienzaaron in https://github.com/fastify/fastify/pull/4716Full Changelog: https://github.com/fastify/fastify/compare/v4.17.0...v4.18.0
Add codes to framework errors that lack one by @lilsweetcaligula in https://github.com/fastify/fastify/pull/4632
Full Changelog: https://github.com/fastify/fastify/compare/4.16.3...4.17.0
Full Changelog: https://github.com/fastify/fastify/compare/4.16.2...4.16.3
Full Changelog: https://github.com/fastify/fastify/compare/4.16.2...4.16.3
Full Changelog: https://github.com/fastify/fastify/compare/4.16.1...4.16.2
Full Changelog: https://github.com/fastify/fastify/compare/4.16.1...4.16.2
Full Changelog: https://github.com/fastify/fastify/compare/4.16.0...4.16.1
Full Changelog: https://github.com/fastify/fastify/compare/4.16.0...4.16.1
docs: spelling, punctuation & grammar minor nits by @shusak in https://github.com/fastify/fastify/pull/4642
fastify-koa plugin by @rozzilla in https://github.com/fastify/fastify/pull/4654github actions label automatically by @Eomm in https://github.com/fastify/fastify/pull/4664Full Changelog: https://github.com/fastify/fastify/compare/v4.15.0...4.16.0
build(deps-dev): bump tsd from 0.25.0 to 0.26.0 by @dependabot in https://github.com/fastify/fastify/pull/4614
Full Changelog: https://github.com/fastify/fastify/compare/v4.14.1...v4.15.0
chore(.gitignore): add bun lockfile by @Fdawgs in https://github.com/fastify/fastify/pull/4609
Full Changelog: https://github.com/fastify/fastify/compare/v4.14.0...v4.14.1
Schema error formatter type by @cm-ayf in https://github.com/fastify/fastify/pull/4570
Full Changelog: https://github.com/fastify/fastify/compare/v4.13.0...v4.14.0
Docs: Add guide about detecting client abort by @eugenio-oddone in https://github.com/fastify/fastify/pull/4518
Full Changelog: https://github.com/fastify/fastify/compare/v4.12.0...v4.13.0
build(deps-dev): bump markdownlint-cli2 from 0.5.1 to 0.6.0 by @dependabot in https://github.com/fastify/fastify/pull/4492
Full Changelog: https://github.com/fastify/fastify/compare/v4.11.0...v4.12.0
lib: deprecate the default route and improve its documentation by @RafaelGSS in https://github.com/fastify/fastify/pull/4480
setErrorHandler example by @trim21 in https://github.com/fastify/fastify/pull/4484Full Changelog: https://github.com/fastify/fastify/compare/v4.10.2...v4.11.0
Fix for "Incorrect Content-Type parsing can lead to CSRF attack" and CVE-2022-41919
Full Changelog: https://github.com/fastify/fastify/compare/v4.10.1...v4.10.2
fix node 19.1.0 port validation test by @Uzlopak in https://github.com/fastify/fastify/pull/4427
Full Changelog: https://github.com/fastify/fastify/compare/v4.10.0...v4.10.1
docs(reference/reply): spelling fixes by @Fdawgs in https://github.com/fastify/fastify/pull/4358
null or undefined values passed as fn by @metcoder95 in https://github.com/fastify/fastify/pull/4367Full Changelog: https://github.com/fastify/fastify/compare/v4.9.2...v4.10.0
types: Add missing context types by @kibertoad in https://github.com/fastify/fastify/pull/4352
Full Changelog: https://github.com/fastify/fastify/compare/v4.9.1...v4.9.2
docs(reply): specify streams content-type by @D10f in https://github.com/fastify/fastify/pull/4337
Full Changelog: https://github.com/fastify/fastify/compare/v4.9.0...v4.9.1
fix: error handler content-type guessing by @climba03003 in https://github.com/fastify/fastify/pull/4329
Full Changelog: https://github.com/fastify/fastify/compare/v4.8.1...v4.9.0
The CVE for this vulnerability is CVE-2022-39288.
This release fixes https://github.com/fastify/fastify/security/advisories/GHSA-455w-c45v-86rg for the v4.x line. This is a HIGH vulnerability that can lead to a crash, resulting in a total loss of availability. The CVE for this vulnerability is CVE-2022-39288.
Full Changelog: https://github.com/fastify/fastify/compare/v4.8.0...v4.8.1
Correct github url for fastify-qs package by @VanoDevium in https://github.com/fastify/fastify/pull/4321
Full Changelog: https://github.com/fastify/fastify/compare/v4.7.0...v4.8.0
fix: prevent reuse mutated route option for head by @climba03003 in https://github.com/fastify/fastify/pull/4273
@fastify/one-line-logger by @nooreldeensalah in https://github.com/fastify/fastify/pull/4293Full Changelog: https://github.com/fastify/fastify/compare/v4.6.0...v4.7.0
chore: replace deprecated FastifyLoggerInstance occurences in typings with FastifyBaseLogger by @Uzlopak in https://github.com/fastify/fastify/pull/42…
fastify.https to be null by @SuperchupuDev in https://github.com/fastify/fastify/pull/4226Ecosystem.md linter to check for improper module name patterns by @nooreldeensalah in https://github.com/fastify/fastify/pull/4257Ecosystem.md linter to lint all sections by @nooreldeensalah in https://github.com/fastify/fastify/pull/4258Full Changelog: https://github.com/fastify/fastify/compare/v4.5.3...v4.6.0
ecosystem.md: move fastify-secure-session and fastify-soap-client to core plugins by @Uzlopak in https://github.com/fastify/fastify/pull/4212
Full Changelog: https://github.com/fastify/fastify/compare/v4.5.2...v4.5.3
Fix 4204 by @mcollina in https://github.com/fastify/fastify/pull/4205
Full Changelog: https://github.com/fastify/fastify/compare/v4.5.1...v4.5.2
make sure preSerialization hooks are null by default by @mcollina in https://github.com/fastify/fastify/pull/4203
Full Changelog: https://github.com/fastify/fastify/compare/v4.5.0...v4.5.1
Add fastify-osm by @gzileni in https://github.com/fastify/fastify/pull/4185
onSend example by @Fdawgs in https://github.com/fastify/fastify/pull/4188Full Changelog: https://github.com/fastify/fastify/compare/v4.4.0...v4.5.0
fix(types): bad naming of validateInput by @metcoder95 in https://github.com/fastify/fastify/pull/4151
validateInput by @metcoder95 in https://github.com/fastify/fastify/pull/4151Full Changelog: https://github.com/fastify/fastify/compare/v4.3.0...v4.4.0
dont cache unnecessary content types by @Uzlopak in https://github.com/fastify/fastify/pull/4134
FastifyListenOptions in top-level types by @kyranet in https://github.com/fastify/fastify/pull/4135request.validate to request.validateInput by @metcoder95 in https://github.com/fastify/fastify/pull/4139Full Changelog: https://github.com/fastify/fastify/compare/v4.2.1...v4.3.0
Update Migration-Guide-V4.md by @denes-fekeshazy in https://github.com/fastify/fastify/pull/4091
FastifySchemaValidationError type insufficient by @BlackHole1 in https://github.com/fastify/fastify/pull/4094listen options and export it by @kyranet in https://github.com/fastify/fastify/pull/4013Full Changelog: https://github.com/fastify/fastify/compare/v4.2.0...v4.2.1
docs: add @h4ad/serverless-adapter to ecosystem by @H4ad in https://github.com/fastify/fastify/pull/4056
@eropple/fastify-openapi3 to community plugins by @eropple in https://github.com/fastify/fastify/pull/4067Full Changelog: https://github.com/fastify/fastify/compare/v4.1.0...v4.2.0
docs(guides): add two v4 breaking changes by @tlhunter in https://github.com/fastify/fastify/pull/4040
Full Changelog: https://github.com/fastify/fastify/compare/v4.0.3...v4.1.0
docs(ecosystem): add fastify-mongodb-sanitizer by @KlemenKozelj in https://github.com/fastify/fastify/pull/4000
Type is imported from @sinclair/typebox by @zekehernandez in https://github.com/fastify/fastify/pull/4016@next by @IanVS in https://github.com/fastify/fastify/pull/4019Full Changelog: https://github.com/fastify/fastify/compare/v4.0.2...v4.0.3
test: error serializer by @climba03003 in https://github.com/fastify/fastify/pull/3997
Full Changelog: https://github.com/fastify/fastify/compare/v4.0.1...v4.0.2
ci: move concurrency to correct workflow by @Fdawgs in https://github.com/fastify/fastify/pull/3981
concurrency to correct workflow by @Fdawgs in https://github.com/fastify/fastify/pull/3981Full Changelog: https://github.com/fastify/fastify/compare/v4.0.0...v4.0.1
Remove overdue deprecations by @sergejostir in https://github.com/fastify/fastify/pull/3070
We are finally shipping Fastify v4, you can read more about it at https://medium.com/@fastifyjs/fastify-v4-ga-59f2103b5f0e
avvio error codes by @metcoder95 in https://github.com/fastify/fastify/pull/3106fastify.listen() typescript definitions by @darkgl0w in https://github.com/fastify/fastify/pull/3751request properties by @sumbad in https://github.com/fastify/fastify/pull/3786pull_request_target by @Fdawgs in https://github.com/fastify/fastify/pull/3832@fastify/* modules by @Fdawgs in https://github.com/fastify/fastify/pull/3855hooks by @xyyjk in https://github.com/fastify/fastify/pull/3907make-promises-safe because it is only needed with Node <=14 by @danieldiekmeier in https://github.com/fastify/fastify/pull/3922any-schema-you-like; sort alphabetically by @Fdawgs in https://github.com/fastify/fastify/pull/3930Full Changelog: https://github.com/fastify/fastify/compare/v3.27.2...v4.0.0
docs(guides): fix page name style by @Fdawgs in https://github.com/fastify/fastify/pull/3955
Full Changelog: https://github.com/fastify/fastify/compare/v4.0.0-rc.4...v4.0.0-rc.5
build(deps): bump process-warning from 1.0.0 to 2.0.0 by @dependabot in https://github.com/fastify/fastify/pull/3926
any-schema-you-like; sort alphabetically by @Fdawgs in https://github.com/fastify/fastify/pull/3930Full Changelog: https://github.com/fastify/fastify/compare/v4.0.0-rc.3...v4.0.0-rc.4
docs: add Type Providers to Typescript docs by @conradthegray in https://github.com/fastify/fastify/pull/3853
hooks by @xyyjk in https://github.com/fastify/fastify/pull/3907make-promises-safe because it is only needed with Node <=14 by @danieldiekmeier in https://github.com/fastify/fastify/pull/3922Full Changelog: https://github.com/fastify/fastify/compare/v4.0.0-rc.2...v4.0.0-rc.3
ci: reduce workflow permissions to minimum by @Fdawgs in https://github.com/fastify/fastify/pull/3828
pull_request_target by @Fdawgs in https://github.com/fastify/fastify/pull/3832@fastify/* modules by @Fdawgs in https://github.com/fastify/fastify/pull/3855Full Changelog: https://github.com/fastify/fastify/compare/v4.0.0-rc.1...v4.0.0-rc.2
build(deps): bump actions/checkout from 2 to 3 by @dependabot in https://github.com/fastify/fastify/pull/3811
Full Changelog: https://github.com/fastify/fastify/compare/v4.0.0-alpha.3...v4.0.0-rc.1
Update Ecosystem.md by @love-lena in https://github.com/fastify/fastify/pull/3766
request properties by @sumbad in https://github.com/fastify/fastify/pull/3786Full Changelog: https://github.com/fastify/fastify/compare/v4.0.0-alpha.2...v4.0.0-alpha.3
Deprecate variadic listen method (closes #3652) by @jsumners in https://github.com/fastify/fastify/pull/3712
fastify.listen() typescript definitions by @darkgl0w in https://github.com/fastify/fastify/pull/3751Full Changelog: https://github.com/fastify/fastify/compare/v3.27.2...v4.0.0-alpha.2
Remove overdue deprecations by @sergejostir in https://github.com/fastify/fastify/pull/3070
This is first release of Fastify v4. We will soon be issuing release candidates.
avvio error codes by @MetCoder95 in https://github.com/fastify/fastify/pull/3106Full Changelog: https://github.com/fastify/fastify/compare/v3.27.2...v4.0.0-alpha.1
(v3.x) Replace pem dependency (#3711) by @climba03003 in https://github.com/fastify/fastify/pull/4500
Full Changelog: https://github.com/fastify/fastify/compare/v3.29.4...v3.29.5
Fix for "Incorrect Content-Type parsing can lead to CSRF attack" and CVE-2022-41919
Full Changelog: https://github.com/fastify/fastify/compare/v3.29.3...v3.29.4
…for the v3.x line. While not being a vulnerability for this line, a backport is still welcome due to the problems highlighted in the report.
This release backport the fixes of https://github.com/fastify/fastify/security/advisories/GHSA-455w-c45v-86rg for the v3.x line. While not being a vulnerability for this line, a backport is still welcome due to the problems highlighted in the report.
Full Changelog: https://github.com/fastify/fastify/compare/v3.29.2...v3.29.3
fix: backport reused connection fix by @salzhrani in https://github.com/fastify/fastify/pull/4217
Full Changelog: https://github.com/fastify/fastify/compare/v3.29.1...v3.29.2
Child log level in bindings is deprecated by @orov-io in https://github.com/fastify/fastify/pull/3896
@fastify/* modules by @Fdawgs in https://github.com/fastify/fastify/pull/3860Full Changelog: https://github.com/fastify/fastify/compare/v3.29.0...v3.29.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →