|
| 1 | +## 5.0.0-beta.3 |
| 2 | +### Bug Fixes |
| 3 | +- **core**: incorrect `ExpressAdapter` method wrappers [#585](https://github.com/nestjs/nest/issues/585) |
| 4 | +- **core**: the `fastify-formbody` is no longer a required dependency [#575](https://github.com/nestjs/nest/issues/575) |
| 5 | +- **core**: incorrect `createApplication()` typings (unable to pass express instance directly) [#575](https://github.com/nestjs/nest/issues/575) |
| 6 | + |
| 7 | +## 5.0.0-beta.0 |
| 8 | +### Features |
| 9 | +- **core**: support async lifecycle hooks (`OnModuleInit` and `OnModuleDestroy`) [#569](https://github.com/nestjs/nest/issues/569) |
| 10 | +- **core**: HTTP server independence, [fastify](https://github.com/fastify/fastify) integration (`FastifyAdapter`) |
| 11 | +- **core**: allow binding global interceptors, filters, pipes, and guards from any module. Example: |
| 12 | +```typescript |
| 13 | +{ |
| 14 | + provide: APP_INTERCEPTOR, |
| 15 | + useClass: LoggerInterceptor, |
| 16 | +} |
| 17 | +``` |
| 18 | +- **core**: `@UseGuards()`, `@UsePipes()`, `@UseFilters()`, and `@UseInterceptors()` extend metadata, instead of overriding existing one |
| 19 | +- **core**: dependency injection everywhere (pipes, filters, interceptors, and guards) |
| 20 | +- **core**: pass `ArgumentsHost` to exception filters (ability to access each argument) |
| 21 | +- **core**: pass enhanced `ExecutionContext` to both interceptors and guards (ability to access each argument and execution context) |
| 22 | +- **microservices**: improve existing transporters (TCP, Redis), provide new strategies: Nats, MQTT, gRPC |
| 23 | + |
| 24 | +### Bug Fixes |
| 25 | +- **common**: incorrent `multer` dependency [#532](https://github.com/nestjs/nest/issues/532) |
| 26 | +- **core**: hanging `NestApplicationContext` process [#503](https://github.com/nestjs/nest/issues/503) |
| 27 | +- **microservices**: concurrency issues (both TCP and Redis transporters) [#505](https://github.com/nestjs/nest/issues/505) |
| 28 | + |
| 29 | +### Improvements |
| 30 | +- **all**: remove `reflect-metadata` peer dependency [#563](https://github.com/nestjs/nest/issues/563) |
| 31 | +- **all**: upgrade RxJS (make use of pipeable operators) |
| 32 | +- **core**: more descriptive exceptions (circular dependency) [#493](https://github.com/nestjs/nest/issues/493) |
| 33 | +- **core**: Nest container compatible with `useContainer()` (`class-validator` and `typeorm` packages) [#528](https://github.com/nestjs/nest/issues/528) |
| 34 | +- **core**: remove static dependencies (webpack compatibility) |
| 35 | +- **websockets**: `@WebSocketGateway()` takes options argument that is passed to socket.io instance [#508](https://github.com/nestjs/nest/issues/508) |
| 36 | + |
| 37 | +### Deprecations |
| 38 | +- **common**: deprecate `@Component()`, `@Middleware()`, `@Interceptor()`, `@Pipe()`, and `@Guard()` decorators (use `@Injectable()` instead) |
| 39 | +- **core**: deprecate `modules: []` property (use `imports: []` instead) |
| 40 | +- **core**: deprecate `components: []` property (use `providers: []` instead) |
| 41 | + |
| 42 | +### Notes |
| 43 | +- move from traditional express middleware model: each middleware is solely bounded to a particular path, regardless of the request method |
| 44 | + |
1 | 45 | ## 4.6.6 |
2 | 46 | ### Bug Fixes: |
3 | 47 | - **common**: `File(s)Interceptor` throws http status code 500 [#465](https://github.com/nestjs/nest/issues/437) |
|
0 commit comments