Fastify v5.12.8

v5.12.8
Added 2
  • Add routerOptions.compile to use find-my-way compiler mode
  • Support disposables in onClose hook
Fixed 7
  • Restore this context in route shorthand hooks for types
  • Send stream trailers only after the stream actually finishes in reply
  • Clamp error statusCode between 400 and 599 with 500 as fallback behavior changed · inferred, marked in the notes below
  • Contain synchronous throws from custom content type parsers
  • Allow socket path strings in address types
  • Add logSerializers to RouteShorthandOptions types
  • Evaluate instance getters once in getDecorator
Removed 1
  • Remove plugins that do not support Fastify v5 from the documentation
Security 1
  • Fix for security advisory GHSA-3qgw-9275-xf8w

1 change to check, marked in the notes below

From Fastify

⚠️ Security Release
What's Changed

Full Changelog: https://github.com/fastify/fastify/compare/v5.12.7...v5.12.8

View original

Upgraded? How did it go?

Discussion