File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 3.0.0 (02.06.2017)
2+ ** @nestjs/common - BREAKING CHANGE**
3+ - You should now pass objects into ` @UseFilters() ` decorator instead of metatypes,
4+ - Exception Filters can't inject dependencies (they're not coupled with modules),
5+ - ` @ExceptionFilters() ` is deprecated, use ` @UseFilters() ` instead.
6+ - ` INestApplication ` has new methods - ` useGlobalFilters() ` and ` useGlobalPipes() ` ,
7+ - New lifecycle hook - ` OnModuleDestroy ` interface.
8+
9+ ** @nestjs/core **
10+ - ` @Pipe() ` feature (async & sync),
11+ - Exception Filters can have global, controller and method scope.
12+
13+ ** @nestjs/websockets - BREAKING CHANGE**
14+ - Use ` useWebSocketAdapter() ` instead of ` setIoAdapter() ` ,
15+ - You can port any WS library - just implement ` WebSocketAdapter ` (@nestjs/common ).
16+
17+ ** @nestjs/microservices - BREAKING CHANGE**
18+ - Now methods have to return ` Observable ` , and they receive only one argument ` data ` ,
19+ - Microservices can return multiple values, but after emitting ` Observable ` has to be COMPLETED!
20+ - You can port any transport strategy instead of built-in Redis/TCP, just implement ` CustomTransportStrategy ` .
21+
122## 2.1.3 (27.05.2017)
223** @nestjs/common ** , ** @nestjs/websockets **
324- ` INestApplication ` and ` INestMicroservice ` has new method now - ` setIoAdapter() ` ,
You can’t perform that action at this time.
0 commit comments