1
- # Releases
1
+ # History
2
2
3
- - [ 0.2.0] ( #020-2022-10-11 ) (2022-10-11)
4
- - [ 0.1.1] ( #011-2022-09-14 ) (2022-09-14)
5
- - [ 0.1.0] ( #010-2022-09-12 ) (2022-09-12)
3
+ | Version | Release date |
4
+ | ------------------------ | -------------- |
5
+ | [ 0.2.1] ( #021-2025-01-09 ) | January 2025 |
6
+ | [ 0.2.0] ( #020-2022-10-11 ) | October 2022 |
7
+ | [ 0.1.1] ( #011-2022-09-14 ) | September 2022 |
8
+ | [ 0.1.0] ( #010-2022-09-12 ) | September 2022 |
6
9
7
- # [ 0.2.0] ( https://github.com/socketio/socket.io-deno/compare/0.1.1...0.2.0 ) (2022-10-11)
10
+ # Release notes
11
+
12
+ ## [ 0.2.1] ( https://github.com/socketio/socket.io-deno/compare/0.2.0...0.2.1 ) (2025-01-09)
13
+
14
+ ### Bug Fixes
15
+
16
+ - check if websocket is open before writing
17
+ ([ #22 ] ( https://github.com/socketio/socket.io-deno/issues/22 ) )
18
+ ([ d08f8f2] ( https://github.com/socketio/socket.io-deno/commit/d08f8f2152e06f95dd026eccc610c4c644bbde36 ) )
19
+ - make socket#nsp public
20
+ ([ 84d97be] ( https://github.com/socketio/socket.io-deno/commit/84d97be72cfd661e0ea20578149f7d527de6b39d ) )
21
+ - use Deno.serve() instead of serve()
22
+ ([ 5a27581] ( https://github.com/socketio/socket.io-deno/commit/5a27581b00a6491d15530a6333b863b85694a36c ) )
23
+
24
+ BREAKING CHANGE :warning :
25
+
26
+ Please use ` Deno.serve() ` instead of ` serve() ` , which was removed in Deno v1.
27
+
28
+ Before:
29
+
30
+ ``` ts
31
+ import {
serve }
from " https://deno.land/[email protected] /http/server.ts" ;
32
+ import {
Server }
from " https://deno.land/x/[email protected] /mod.ts" ;
33
+
34
+ const io = new Server ();
35
+
36
+ await serve (io .handler (), {
37
+ port: 3000 ,
38
+ });
39
+ ```
40
+
41
+ After:
42
+
43
+ ``` ts
44
+ import {
Server }
from " https://deno.land/x/[email protected] /mod.ts" ;
45
+
46
+ const io = new Server ();
47
+
48
+ Deno .serve ({
49
+ handler: io .handler (),
50
+ port: 3000 ,
51
+ });
52
+ ```
53
+
54
+ ## [ 0.2.0] ( https://github.com/socketio/socket.io-deno/compare/0.1.1...0.2.0 ) (2022-10-11)
8
55
9
56
### Bug Fixes
10
57
@@ -65,7 +112,7 @@ await serve(io.handler(), {
65
112
});
66
113
```
67
114
68
- # [ 0.1.1] ( https://github.com/socketio/socket.io-deno/compare/0.1.0...0.1.1 ) (2022-09-14)
115
+ ## [ 0.1.1] ( https://github.com/socketio/socket.io-deno/compare/0.1.0...0.1.1 ) (2022-09-14)
69
116
70
117
### Bug Fixes
71
118
@@ -78,6 +125,6 @@ await serve(io.handler(), {
78
125
- send a "noop" packet when transport is already closed
79
126
([ 3b1eb82] ( https://github.com/socketio/socket.io-deno/commit/3b1eb82d1e9e44660b43651dceb05b88bd1b5350 ) )
80
127
81
- # 0.1.0 (2022-09-12)
128
+ ## 0.1.0 (2022-09-12)
82
129
83
130
This is the first release of this library!
0 commit comments