v6.0.0-alpha.1Pre-release
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
- fix: remove raw response headers by @Ram-blip in https://github.com/fastify/fastify/pull/6860
- test: use process-warning spyWarning for testing by @climba03003 in https://github.com/fastify/fastify/pull/6887
- feat: add
Reply.prototype.mediaTypeby @LiviaMedeiros in https://github.com/fastify/fastify/pull/6932 - fix(content-type): return
undefinedfor invalid media types by @jean-michelet in https://github.com/fastify/fastify/pull/6942
Full Changelog: https://github.com/fastify/fastify/compare/v6.0.0-alpha.0...v6.0.0-alpha.1