note: die Zusammenfassung und die Release Notes sind auf Englisch
ok: Upgrade unbedenklich
0 Breaking Changes4 Kernpunkte
Adds Reply.prototype.mediaType and fixes for response headers and invalid media types, with no breaking changes listed.
Kernpunkte
- note[1]: Adds
Reply.prototype.mediaType.release-notes:7 - note[2]:
content-typenow returnsundefinedfor invalid media types.release-notes:8 - note[3]: Removes raw response headers.release-notes:5
- note[4]: Adds per-route logging documentation for Google Cloud Functions.release-notes:3
release-notesgithub.com/fastify/fastify · 11 Zeilen
- ## 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.mediaType` by @github-actions[bot] in https://github.com/fastify/fastify/pull/6946
- * [Backport 5.x] fix(content-type): return `undefined` for 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