Fastify Version 5.9.0
Fastify 5.9.0 ergänzt request.mediaType und behebt mehrere Fehler, darunter doppeltes res.end in sendTrailer, fehlendes error.code bei manchen Routing-Fehlern und die Validierung ungültiger Route-logLevel bei der Registrierung.
What's Changed
- feat: add request.mediaType by @climba03003 in https://github.com/fastify/fastify/pull/6653
- docs: remove deprecated leveldb plugin and update ecosystem by @Tony133 in https://github.com/fastify/fastify/pull/6661
- chore(sponsor): add bestforandroid by @Eomm in https://github.com/fastify/fastify/pull/6659
- ci: drop Node.js 20 from yarn matrix in package-manager-ci.yml by @Tony133 in https://github.com/fastify/fastify/pull/6662
- fix: prevent duplicate res.end in sendTrailer with sync callbacks by @climba03003 in https://github.com/fastify/fastify/pull/6676
- fix: avoid duplicate closeIdleConnections call on native servers by @trivikr in https://github.com/fastify/fastify/pull/6669
- fix: error.code not present on some routing errors by @mcollina in https://github.com/fastify/fastify/pull/6678
- fix: correct isCustomSerializerCompiler flag check by @eddieran in https://github.com/fastify/fastify/pull/6657
- fix: validate invalid route logLevel at registration by @maxpetrusenko in https://github.com/fastify/fastify/pull/6523
- docs: update contribution rules by @Tony133 in https://github.com/fastify/fastify/pull/6670
- fix: use ContentType parser for response schema lookup by @UlisesGascon in https://github.com/fastify/fastify/pull/6685
- ci(ci): use shared quality workflow by @Fdawgs in https://github.com/fastify/fastify/pull/6688 …