Release 5.0.0
v5.0.0 (2025-01-20)
Migration guide: https://docs.nestjs.com/migration-guide
Improvements/features
- send 404 when file does not exist
- support
preCompressed
,decorateReply
configuration options (Fastify) - support
useGlobalPrefix
to auto-prepend all routes with the application's global prefix - support Fastify v5
- support Express v5
Breaking changes
- Express v5 uses the latest version of
path-to-regexp
, so wildcards must now be defined differently than before, see https://docs.nestjs.com/migration-guide#express-v5