File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
_ This changelog follows the [ keep a changelog] [ keep-a-changelog ] _ format to maintain a human readable changelog.
4
4
5
+ ## [ 0.1.1] ( https://github.com/typestack/socket-controllers/compare/v0.1.0...v0.1.1 ) (2023-01-27)
6
+
7
+ ### Added
8
+
9
+ - Added ` @OnDisconnecting() ` decorator
10
+ - Added error type filter option to ` @EmitOnFail() ` decorator
11
+
12
+ Example: ` @EmitOnFail('message', {errorType: TypeError}) `
13
+
14
+ - Added ` index ` option to ` @MessageBody() ` decorator to be able to get multiple event arguments
15
+
16
+ Note: If you don't specify the index it will return the first
17
+
18
+ - Added support to use the same namespace for multiple controllers
19
+
20
+ Note: The namespaces must match exactly, providing a differnet pattern will not work due to a socket.io limitation
21
+
22
+ ### Changed
23
+
24
+ - ` glob ` package updated from ` 8.0.3 ` to ` 8.1.0 `
5
25
6
26
## [ 0.1.0] ( https://github.com/typestack/socket-controllers/compare/v0.0.5...v0.1.0 ) (2023-01-18)
7
27
@@ -107,7 +127,7 @@ _This changelog follows the [keep a changelog][keep-a-changelog]_ format to main
107
127
108
128
### Added
109
129
- Namespace scope support for middlewares
110
- - ` transport : boolean` option to decorators that support class-transformer
130
+ - ` transform : boolean` option to decorators that support class-transformer
111
131
112
132
### Changed
113
133
You can’t perform that action at this time.
0 commit comments