Fastify v5.9.0

v5.9.0
Added 2
  • Add request.mediaType property
  • Add support of onMaxParamLength hook
Changed 4
  • Defer ContentType parsing in getSchemaSerializer until needed
  • Cache parsed ContentType objects in ContentTypeParser
  • Add typeof guard before toString.call in send and onSendEnd
  • Replace find with some in hasKey for correct boolean semantics
Fixed 13
  • Prevent duplicate res.end in sendTrailer with sync callbacks
  • Avoid duplicate closeIdleConnections call on native servers
  • Ensure error.code is present on routing errors
  • Correct isCustomSerializerCompiler flag check
  • Validate invalid route logLevel at registration
  • Use ContentType parser for response schema lookup
What's Changed
New Contributors

Full Changelog: https://github.com/fastify/fastify/compare/v5.8.5...v5.9.0

View original

Upgraded? How did it go?

Discussion