Fastify Release Notes
42 release notes curated from 1 source by the Releasebot Team. Last updated: Nov 2, 2026
- Nov 2, 2026
- Date parsed from source:Nov 2, 2026
- First seen by Releasebot:Nov 2, 2026
v6.0.0-alpha.6
Fastify releases an alpha update with security fixes, router compiler options, support for disposables in close hooks, and safer handling of undeclared response content types. It also improves error handling and stream behavior.
⚠️ Security fixes
GHSA-3qgw-9275-xf8w
What's Changed
- feat: add routerOptions.compile to use find-my-way compiler mode by @mcollina in #7096
- chore: sync VERSION and check it before publishing by @mcollina in #7107
- fix(reply): send stream trailers after the stream actually finishes by @kyungseopk1m in #6953
- test(server): assert the server is listening instead of a literal by @zkasuran in #6962
- fix: clamp error statusCode between 400 and 599 with 500 fallback by @swaraj792725 in #7089
- fix: contain synchronous throws from custom content type parsers by @YOGESH256 in #7118
- docs(ecosystem): add @guardcore/fastify by @rennf93 in #7128
- perf!: create default validation errors without a stack trace by @gurgunday in #7057
- docs(serverless): clarify per-route observability on serverless platf… by @yassertawfik4 in #6802
- feat(hooks): support disposables in onClose hook (#5669) by @Prakhar007Pathak in #7121
- fix(types): allow socket path strings in addresses by @Ram-blip in #6842
- fix(types): add logSerializers to RouteShorthandOptions by @RubenPari in #7143
- test: do not assert a HEAD response body through inject() by @lprnmns in #7148
- docs(reply): reorganize Reply reference by properties and methods by @Eomm in #7146
- docs(request): reorganize Request reference by properties and methods by @Eomm in #7147
- perf(request): hoist port regex to module level by @TalhaHunter101 in #7110
- fix(decorators): evaluate instance getters once in getDecorator by @shoaibulhaque in #7124
- docs: clarify that maxParamLength does not prevent ReDoS by @RubenPari in #7140
- docs: fix syntax errors in code examples by @mayur-dhavan in #7159
- docs: join core team by @Tony133 in #7175
- feat!: fail closed when a response content type is not declared in the content map by @mcollina in #7132
New Contributors
- @kyungseopk1m made their first contribution in #6953
- @zkasuran made their first contribution in #6962
- @swaraj792725 made their first contribution in #7089
- @YOGESH256 made their first contribution in #7118
- @rennf93 made their first contribution in #7128
- @yassertawfik4 made their first contribution in #6802
- @Prakhar007Pathak made their first contribution in #7121
- @RubenPari made their first contribution in #7143
- @lprnmns made their first contribution in #7148
- @TalhaHunter101 made their first contribution in #7110
- @shoaibulhaque made their first contribution in #7124
- @mayur-dhavan made their first contribution in #7159
Full Changelog: v6.0.0-alpha.5...v6.0.0-alpha.6
Original source - Nov 2, 2026
- Date parsed from source:Nov 2, 2026
- First seen by Releasebot:Nov 2, 2026
v5.12.8
Fastify releases a security update with fixes for GHSA-3qgw-9275-xf8w, plus routing compiler options, disposable support in onClose hooks, and improvements to error handling, streams, and TypeScript types.
⚠️ Security Release
Fix for GHSA-3qgw-9275-xf8w
What's Changed
- [Backport 5.x] fix(types): restore this context in route shorthand hooks by @github-actions[bot] in #7055
- [Backport 5.x] fix(reply): send stream trailers after the stream actually finishes by @github-actions[bot] in #7111
- [Backport 5.x] test(server): assert the server is listening instead of a literal by @github-actions[bot] in #7112
- [Backport 5.x] feat: add routerOptions.compile to use find-my-way compiler mode by @Tony133 in #7116
- [Backport 5.x] fix: clamp error statusCode between 400 and 599 with 500 fallback by @github-actions[bot] in #7122
- [Backport 5.x] fix: contain synchronous throws from custom content type parsers by @github-actions[bot] in #7123
- [Backport 5.x] docs(serverless): clarify per-route observability on serverless platf… by @github-actions[bot] in #7134
- [Backport 5.x] feat(hooks): support disposables in onClose hook (#5669) by @github-actions[bot] in #7136
- [Backport 5.x] fix(types): allow socket path strings in addresses by @github-actions[bot] in #7138
- [Backport 5.x] fix(types): add logSerializers to RouteShorthandOptions by @github-actions[bot] in #7145
- [Backport 5.x] test: do not assert a HEAD response body through inject() by @github-actions[bot] in #7149
- [Backport 5.x] docs(request): reorganize Request reference by properties and methods by @Tony133 in #7150
- [Backport 5.x] docs(reply): reorganize Reply reference by properties and methods by @Tony133 in #7151
- [Backport 5.x] docs: remove plugins that do not support Fastify v5 by @Tony133 in #7152
- [Backport 5.x] perf(request): hoist port regex to module level by @github-actions[bot] in #7153
- [Backport 5.x] fix(decorators): evaluate instance getters once in getDecorator by @github-actions[bot] in #7154
- [Backport 5.x] docs: clarify that maxParamLength does not prevent ReDoS by @github-actions[bot] in #7158
- [Backport 5.x] docs: fix syntax errors in code examples by @github-actions[bot] in #7160
Full Changelog: v5.12.7...v5.12.8
Original source All of your release notes in one feed
Join Releasebot and get updates from Fastify and hundreds of other software products.
- Oct 16, 2026
- Date parsed from source:Oct 16, 2026
- First seen by Releasebot:Oct 17, 2026
v6.0.0-alpha.5
Fastify ships an alpha update with performance gains, HTTP behavior fixes, and improved TypeScript support, alongside clearer security and API documentation.
What's Changed
- docs: clarify headers validation is additive, not a sanitized view by @mcollina in #7029
- perf: read the merged headers once in the trust proxy getters by @hktitof in #7039
- types: restrict route lookup methods by @Yanhaoxi in #6963
- fix(types): custom logger instance not assignable to FastifyInstance by @Tony133 in #6901
- fix(types): restore this context in route shorthand hooks by @lazerg in #6975
- perf: decode string bodies once instead of per chunk by @gurgunday in #7049
- docs(ecosystem): add @validex/fastify to community plugins by @chiptoma in #6660
- perf: avoid resetting the level of request child loggers by @gurgunday in #7056
- fix: omit absent compileSerializationSchema metadata instead of passing null by @Kjubikstronk in #7001
- fix: remove error when HTTP QUERY request has empty body by @LiviaMedeiros in #6929
- docs: list fastify-mariadb as a community plugin by @melroy89 in #7062
- fix: resolve reply.mediaType from raw response headers by @agustin18 in #7054
- perf: use a FIFO cache for parsed content-types by @gurgunday in #7071
- docs: remove plugins that do not support Fastify v5 by @ilteoood in #7075
- fix: copy a set-cookie array passed to reply.header instead of storing it by @fadiroot in #7068
- test: fix "recieve" typo in comment by @ump45nose in #7066
- docs: document fastify.query() shorthand for RFC 10008 by @Puppo in #7004
- docs(security): clarify scope of unvalidated template selection by @mcollina in #7065
- docs(ecosystem): Add fastify-mosquitto-dynsec to community plugins by @LuizTakeda in #7064
- docs: clarify reply.redirect encoding does not prevent open redirects by @mcollina in #6964
- docs: fix external link to node docs by @BenMotz in #7088
- test(validation): cover remaining propertyNames header branches by @mcollina in #7105
New Contributors
- @hktitof made their first contribution in #7039
- @Yanhaoxi made their first contribution in #6963
- @chiptoma made their first contribution in #6660
- @Kjubikstronk made their first contribution in #7001
- @agustin18 made their first contribution in #7054
- @fadiroot made their first contribution in #7068
- @ump45nose made their first contribution in #7066
- @LuizTakeda made their first contribution in #7064
- @BenMotz made their first contribution in #7088
Full Changelog: v6.0.0-alpha.4...v6.0.0-alpha.5
Original source - Oct 13, 2026
- Date parsed from source:Oct 13, 2026
- First seen by Releasebot:Oct 14, 2026
v5.12.7
Fastify publishes the changelog for its update from v5.12.6 to v5.12.7.
Full Changelog: v5.12.6...v5.12.7
Original source - Oct 13, 2026
- Date parsed from source:Oct 13, 2026
- First seen by Releasebot:Oct 14, 2026
v5.12.6
Fastify releases a security update with fixes for GHSA-389g-gv7q-r4x8, plus improvements to request handling, logging, content-type caching, header validation, and reply headers.
⚠️ Security Release
Fix for GHSA-389g-gv7q-r4x8
What's Changed
- [Backport 5.x] types: restrict route lookup methods by @github-actions[bot] in #7048
- [Backport 5.x] perf: decode string bodies once instead of per chunk by @github-actions[bot] in #7053
- [Backport 5.x] perf: avoid resetting the level of request child loggers by @github-actions[bot] in #7058
- [Backport 5.x] fix: resolve reply.mediaType from raw response headers by @github-actions[bot] in #7067
- [Backport 5.x] perf: use a FIFO cache for parsed content-types by @github-actions[bot] in #7072
- [Backport 5.x] fix(validation): lowercase header names in propertyNames enum/const by @mcollina in #7104
- [Backport 5.x] fix: copy a set-cookie array passed to reply.header instead of storing it by @github-actions[bot] in #7087
- [Backport 5.x] fix: remove error when HTTP QUERY request has empty body by @github-actions[bot] in #7060
- [Backport 5.x] docs: document fastify.query() shorthand for RFC 10008 by @github-actions[bot] in #7094
Full Changelog: v5.12.5...v5.12.6
Original source Similar to Fastify with recent updates:
- Microsoft release notes1279 release notes · Latest Dec 4, 2026
- Zoom release notes230 release notes · Latest Nov 30, 2026
- Google release notes2651 release notes · Latest Dec 4, 2026
- Jobber release notes85 release notes · Latest Dec 2, 2026
- Slack release notes299 release notes · Latest Dec 1, 2026
- 1Password release notes253 release notes · Latest Dec 3, 2026
- Sep 17, 2026
- Date parsed from source:Sep 17, 2026
- First seen by Releasebot:Sep 17, 2026
v6.0.0-alpha.4
Fastify ships a security release with parser performance fixes and docs updates in v6.0.0-alpha.4.
⚠️ Security release
Fix for GHSA-4mh8-r7rc-xpvc
What's Changed
- docs: add fastify-arktype to ecosystem by @BlairCurrey in #7000
- docs: link documentation style guide in contributing guidelines by @thePranav-kpk in #6819
- perf: reduce content-type parser overhead by @gurgunday in #7012
- perf: avoid redundant request-part reads during validation by @gurgunday in #7018
- chore(sponsor): add cloudways by @mcollina in #7021
New Contributors
@BlairCurrey made their first contribution in #7000
Full Changelog: v6.0.0-alpha.3...v6.0.0-alpha.4
Original source - Sep 16, 2026
- Date parsed from source:Sep 16, 2026
- First seen by Releasebot:Sep 17, 2026
v5.12.5
Fastify fixes a security issue and improves performance in a 5.x backport release.
⚠️ Security release
Fix for GHSA-4mh8-r7rc-xpvc
What's Changed
- [Backport 5.x] perf: reduce content-type parser overhead by @github-actions[bot] in #7019
- [Backport 5.x] perf: avoid redundant request-part reads during validation by @github-actions[bot] in #7020
Full Changelog: v5.12.4...v5.12.5
Original source - Sep 11, 2026
- Date parsed from source:Sep 11, 2026
- First seen by Releasebot:Sep 11, 2026
v5.12.4
Fastify fixes a fastify.js version mismatch in this release.
- Sep 4, 2026
- Date parsed from source:Sep 4, 2026
- First seen by Releasebot:Sep 5, 2026
v6.0.0-alpha.3
Fastify ships a security release with fixes for several GHSA vulnerabilities, plus updates to callNotFound behavior, content-type validation, docs links, and package cleanup in the latest alpha changelog.
Security release
Fix for GHSA-9q9j-q6p8-xq58
Fix for GHSA-hwr6-493r-vm6h
Fix for GHSA-p68q-wchp-6fh7
Fix for GHSA-667r-xxjv-c9mm
What's Changed
- docs: fix broken links in Style-Guide.md by @Snehal-Pradhan in #6966
- test(types): assert LogController.requestCompleted accepts an undefined error by @suzunn in #6875
- fix: callNotFound should run not-found preHandler regardless of registration order by @mcollina in #6965
- docs(ecosystem): remove deprecated http-wizard and rename fastify-better-sqlite3 by @ilteoood in #6972
- chore: npm ignore remaining agent files by @lazerg in #6996
- docs(contenttypeparser): new strict content-type validation by @bcomnes in #6925
New Contributors
- @Snehal-Pradhan made their first contribution in #6966
- @suzunn made their first contribution in #6875
- @bcomnes made their first contribution in #6925
Full Changelog: v6.0.0-alpha.2...v6.0.0-alpha.3
Original source - Sep 4, 2026
- Date parsed from source:Sep 4, 2026
- First seen by Releasebot:Sep 5, 2026
v5.12.2
Fastify ships a security release with fixes for multiple GHSA vulnerabilities and a not-found preHandler backport.
⚠️ Security release
Fix for GHSA-9q9j-q6p8-xq58
Fix for GHSA-hwr6-493r-vm6h
Fix for GHSA-p68q-wchp-6fh7
Fix for GHSA-667r-xxjv-c9mm
What's Changed
[Backport 5.x] fix: callNotFound should run not-found preHandler regardless of registration order by @github-actions[bot] in #6973
[Backport 5.x] chore: npm ignore remaining agent files by @github-actions[bot] in #7003
Full Changelog: v5.12.1...v5.12.2
Original source - Aug 19, 2026
- Date parsed from source:Aug 19, 2026
- First seen by Releasebot:Aug 19, 2026
v6.0.0-alpha.2
Fastify ships a security-focused alpha update with fixes for reported vulnerabilities, cleaner route handling, a reply.mediaType test fix, and a preClose hook correction, while also trimming deprecated API notices ahead of the v6 cleanup.
Security release
Fix for GHSA-w2qp-rph6-63g4
Fix for GHSA-3m5p-2c4r-xxw2
What's Changed
- test: fix reply.mediaType by @climba03003 in #6949
- ci: allow backport in pr title by @climba03003 in #6948
- fix: run preClose hook exactly once per declaring instance by @contactjawad in #6940
- docs: remove deprecated-API notices ahead of v6 cleanup by @Tony133 in #6951
- fix: report canonical route url for hidden prefix slash route by @paulkagiri in #6719
New Contributors
- @contactjawad made their first contribution in #6940
- @paulkagiri made their first contribution in #6719
Full Changelog: v6.0.0-alpha.1...v6.0.0-alpha.2
Original source - Aug 18, 2026
- Date parsed from source:Aug 18, 2026
- First seen by Releasebot:Aug 19, 2026
v5.12.1
Fastify ships a security-focused 5.x patch with backported fixes for reply media type, preClose hooks, and canonical route URLs.
⚠️ Security release
Fix for GHSA-w2qp-rph6-63g4
Fix for GHSA-3m5p-2c4r-xxw2
What's Changed
- [Backport 5.x] test: fix reply.mediaType by @github-actions[bot] in #6950
- [Backport 5.x] ci: allow backport in pr title by @github-actions[bot] in #6952
- [Backport 5.x] fix: run preClose hook exactly once per declaring instance by @github-actions[bot] in #6954
- [Backport 5.x] fix: report canonical route url for hidden prefix slash route by @github-actions[bot] in #6961
Full Changelog: v5.12.0...v5.12.1
Original source - Aug 13, 2026
- Date parsed from source:Aug 13, 2026
- First seen by Releasebot:Aug 13, 2026
v6.0.0-alpha.1
Fastify fixes raw response headers and adds Reply.prototype.mediaType in this release.
What's Changed
- fix: remove raw response headers by @Ram-blip in #6860
- test: use process-warning spyWarning for testing by @climba03003 in #6887
- feat: add Reply.prototype.mediaType by @LiviaMedeiros in #6932
- fix(content-type): return undefined for invalid media types by @jean-michelet in #6942
Full Changelog
v6.0.0-alpha.0...v6.0.0-alpha.1
Original source - Aug 13, 2026
- Date parsed from source:Aug 13, 2026
- First seen by Releasebot:Aug 13, 2026
v5.12.0
Fastify ships v5.12.0 with a new Reply.prototype.mediaType feature, plus content type validation fixes, raw response header cleanup, and updated docs for per-route logging in Google Cloud Functions.
What's Changed
chore(sponsor): add testmu ai by @Eomm in #6922
docs: add per-route logging for Google Cloud Functions by @slegarraga in #6907
test: remove @sinonjs/fake-timers by @climba03003 in #6934
[Backport 5.x] fix: remove raw response headers by @github-actions[bot] in #6939
[Backport 5.x] test: use process-warning spyWarning for testing by @github-actions[bot] in #6945
[Backport 5.x] feat: add Reply.prototype.mediaType by @github-actions[bot] in #6946
[Backport 5.x] fix(content-type): return undefined for invalid media types by @github-actions[bot] in #6947
Full Changelog: v5.11.3...v5.12.0
Original source - Aug 11, 2026
- Date parsed from source:Aug 11, 2026
- First seen by Releasebot:Aug 13, 2026
v6.0.0-alpha.0
Fastify ships a major alpha cleanup with breaking type removals, updated logger and request context APIs, a higher minimum runtime, and default changes to error handling. It also fixes a misleading listening error and refreshes dependencies.
What's Changed
- refactor: revert misleading error "Fastify instance is already listening" by @jean-michelet in #6098
- refactor(types)!: remove deprecated FastifyPlugin type by @Tony133 in #6897
- ci!: increase minimum runtime version by @climba03003 in #6904
- refactor(types)!: remove deprecated FastifyLoggerInstance in favor of FastifyBaseLogger by @Tony133 in #6906
- refactor!: remove Promise.withResolvers ponyfill by @jean-michelet in #6910
- refactor(types)!: remove deprecated FastifyRequestContext and FastifyReplyContext types by @Tony133 in #6920
- refactor!: disable error handler overrides by default by @jean-michelet in #6915
- refactor(types)!: remove deprecated ValidationResult type alias by @Tony133 in #6914
- chore(deps)!: upgrade undici v8.x by @Tony133 in #6921
- refactor!: remove FSTDEP022 by @climba03003 in #6908
- chore(sponsor): add testmu ai by @Eomm in #6922
- docs: add per-route logging for Google Cloud Functions by @slegarraga in #6907
- refactor!: remove FSTDEP023 deprecation by @jean-michelet in #6913
- refactor!: remove FSTDEP024 deprecation by @jean-michelet in #6912
- refactor!: remove FSTDEP025 by @jean-michelet in #6909
- test: remove @sinonjs/fake-timers by @climba03003 in #6934
- refactor(types)!: remove deprecated req in request.d.ts by @Tony133 in #6935
- refactor(types)!: remove ResSerializerReply type by @jean-michelet in #6911
Full Changelog: v5.11.3...v6.0.0-alpha.0
Original source
Curated by the Releasebot team
Releasebot is an aggregator of official release notes from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.