v5.1.0
kamilmysliwiec
released this
05 Jul 12:52
·
16232 commits
to master
since this release
Features
- common:
FileFieldsInterceptor
upload multiple files with different names (multer.fields
) #741 - core: support async dynamic modules #800
- core: exclude routes in the
MiddlewareBuilder
#790 - core: support
RouteInfo
in theMiddlewareBuilder
(restrict middleware to certain request method)
forRoutes(
{ path: 'cats', method: RequestMethod.GET },
{ path: 'cats', method: RequestMethod.POST },
)
Bug Fixes
- common: empty body ends up with 500 error (
ValidationPipe
) #734 - core: the last one of
APP_
providers get registered #812 - core: middleware runs more than once #779
- core: custom decorators not being treated as default ones #765
- microservices: allow gRPC stream cancellation #773