Releases: nestjs/nest
Releases · nestjs/nest
v4.6.5
Bug Fixes
- common:
File(s)Interceptor
does not populate thrown exception #437 - core:
NestFactory.create()
returnsany
- core: use
ApplicationConfig
withinExternalContextCreator
#434
Improvements
- common:
HttpException
extendsError
- core: make
cors
middleware customizable (enableCors()
,{ cors }
) #457 - microservices:
RpcException
extendsError
- websockets:
WsException
extendsError
v4.6.4
Bug Fixes
- common: logger overrides custom logger scope #435
- common:
FileInterceptor
supports only one options at once #429 - common: support
symbol
as a token (NestApplicationContext
) - core: fix exception handler (exceception thrown in the
done()
callback) #431 - core: incorrect HTTP response on
SyntaxError
#430 - microservices: can't select/get from context when using
NestFactory.createMicroservice
#398
v4.6.1
Features
- common:
ValidationPipe
improvements #383 - common:
ParseIntPipe
improvements #385 - common: add
FileInterceptor
,FilesInterceptor
,@UploadedFile()
and@UploadedFiles()
(multer
integration) - common: add
HttpModule
that exposesHttpService
(axios
integration) - core: add
app.disable()
andapp.enable()
wrappers aroundexpress
app - core: add ability to inject
express
reference (EXPRESS_REF
token) - core: enable possibility to extend metadata (inheritance support) #228
- core:
NestFactory.create()
now accepts third argumentHttpsOptions
- core: add
app.enableCors()
toINestApplication
(cors
integration) - core: add
@Render()
decorator (MVC applications) - core: provide
Logger.overrideLogger()
#247 - core: [feature] add
appOptions
property tocreate[..]
methods ofNestFactory
- microservices: add
listenAsync()
toINestMicroservice
instance
Bugfixes
- core: simplify HTTPS protocol usage
- core: custom transport strategy - thrown exceptions issue #290
- core: injector fails silently #287
- core: secure websockets (
wss://
) #384 - core: can't select/get from context when using
NestFactory.createMicroservice()
#398 - core: interceptor
$stream
observable returns another observable instead of the response object #376 - core:
Observable.throw
from controller results in unhandled rejection promise #373
Improvements
- common: create
ModuleMetadata
interface - core: majority of methods (
INestApplication
,INestMicroservice
, andINestApplicationContext
) returnthis
instead ofvoid
- core: remove static dependencies & relationships inside
NestFactory