Skip to content

Commit 70ce5b3

Browse files
author
kamil.mysliwiec
committed
CHANGELOG update
1 parent 2cd0584 commit 70ce5b3

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
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()`,

0 commit comments

Comments
 (0)