⚠️ 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