npm @nestjs/testing 4.6.1
v4.6.1

latest releases: 10.3.8, 10.3.7, 10.3.6...
6 years ago

Features

  • common: ValidationPipe improvements #383
  • common: ParseIntPipe improvements #385
  • common: add FileInterceptor, FilesInterceptor, @UploadedFile() and @UploadedFiles() (multer integration)
  • common: add HttpModule that exposes HttpService (axios integration)
  • core: add app.disable() and app.enable() wrappers around express 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 argument HttpsOptions
  • core: add app.enableCors() to INestApplication (cors integration)
  • core: add @Render() decorator (MVC applications)
  • core: provide Logger.overrideLogger() #247
  • core: [feature] add appOptions property to create[..] methods of NestFactory
  • microservices: add listenAsync() to INestMicroservice 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, and INestApplicationContext) return this instead of void
  • core: remove static dependencies & relationships inside NestFactory

Don't miss a new testing release

NewReleases is sending notifications on new releases.