1- # Releases
1+ # History
22
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 |
69
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/std@0.220.1/http/server.ts" ;
32+ import { Server } from " https://deno.land/x/socket_io@0.2.0/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/socket_io@0.2.0/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)
855
956### Bug Fixes
1057
@@ -65,7 +112,7 @@ await serve(io.handler(), {
65112});
66113```
67114
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)
69116
70117### Bug Fixes
71118
@@ -78,6 +125,6 @@ await serve(io.handler(), {
78125- send a "noop" packet when transport is already closed
79126 ([ 3b1eb82] ( https://github.com/socketio/socket.io-deno/commit/3b1eb82d1e9e44660b43651dceb05b88bd1b5350 ) )
80127
81- # 0.1.0 (2022-09-12)
128+ ## 0.1.0 (2022-09-12)
82129
83130This is the first release of this library!
0 commit comments