v5.12.0
Added 1
- Add Reply.prototype.mediaType
Fixed 2
- Remove raw response headers
- Return undefined for invalid media types in content-type handling
What's Changed
- chore(sponsor): add testmu ai by @Eomm in https://github.com/fastify/fastify/pull/6922
- docs: add per-route logging for Google Cloud Functions by @slegarraga in https://github.com/fastify/fastify/pull/6907
- test: remove @sinonjs/fake-timers by @climba03003 in https://github.com/fastify/fastify/pull/6934
- [Backport 5.x] fix: remove raw response headers by @github-actions[bot] in https://github.com/fastify/fastify/pull/6939
- [Backport 5.x] test: use process-warning spyWarning for testing by @github-actions[bot] in https://github.com/fastify/fastify/pull/6945
- [Backport 5.x] feat: add
Reply.prototype.mediaTypeby @github-actions[bot] in https://github.com/fastify/fastify/pull/6946 - [Backport 5.x] fix(content-type): return
undefinedfor invalid media types by @github-actions[bot] in https://github.com/fastify/fastify/pull/6947
Full Changelog: https://github.com/fastify/fastify/compare/v5.11.3...v5.12.0