-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d08f8f2
commit 50d89a7
Showing
2 changed files
with
55 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,57 @@ | ||
# Releases | ||
# History | ||
|
||
- [0.2.0](#020-2022-10-11) (2022-10-11) | ||
- [0.1.1](#011-2022-09-14) (2022-09-14) | ||
- [0.1.0](#010-2022-09-12) (2022-09-12) | ||
| Version | Release date | | ||
| ------------------------ | -------------- | | ||
| [0.2.1](#021-2025-01-09) | January 2025 | | ||
| [0.2.0](#020-2022-10-11) | October 2022 | | ||
| [0.1.1](#011-2022-09-14) | September 2022 | | ||
| [0.1.0](#010-2022-09-12) | September 2022 | | ||
|
||
# [0.2.0](https://github.com/socketio/socket.io-deno/compare/0.1.1...0.2.0) (2022-10-11) | ||
# Release notes | ||
|
||
## [0.2.1](https://github.com/socketio/socket.io-deno/compare/0.2.0...0.2.1) (2025-01-09) | ||
|
||
### Bug Fixes | ||
|
||
- check if websocket is open before writing | ||
([#22](https://github.com/socketio/socket.io-deno/issues/22)) | ||
([d08f8f2](https://github.com/socketio/socket.io-deno/commit/d08f8f2152e06f95dd026eccc610c4c644bbde36)) | ||
- make socket#nsp public | ||
([84d97be](https://github.com/socketio/socket.io-deno/commit/84d97be72cfd661e0ea20578149f7d527de6b39d)) | ||
- use Deno.serve() instead of serve() | ||
([5a27581](https://github.com/socketio/socket.io-deno/commit/5a27581b00a6491d15530a6333b863b85694a36c)) | ||
|
||
BREAKING CHANGE :warning: | ||
|
||
Please use `Deno.serve()` instead of `serve()`, which was removed in Deno v1. | ||
|
||
Before: | ||
|
||
```ts | ||
import { serve } from "https://deno.land/[email protected]/http/server.ts"; | ||
import { Server } from "https://deno.land/x/[email protected]/mod.ts"; | ||
|
||
const io = new Server(); | ||
|
||
await serve(io.handler(), { | ||
port: 3000, | ||
}); | ||
``` | ||
|
||
After: | ||
|
||
```ts | ||
import { Server } from "https://deno.land/x/[email protected]/mod.ts"; | ||
|
||
const io = new Server(); | ||
|
||
Deno.serve({ | ||
handler: io.handler(), | ||
port: 3000, | ||
}); | ||
``` | ||
|
||
## [0.2.0](https://github.com/socketio/socket.io-deno/compare/0.1.1...0.2.0) (2022-10-11) | ||
|
||
### Bug Fixes | ||
|
||
|
@@ -65,7 +112,7 @@ await serve(io.handler(), { | |
}); | ||
``` | ||
|
||
# [0.1.1](https://github.com/socketio/socket.io-deno/compare/0.1.0...0.1.1) (2022-09-14) | ||
## [0.1.1](https://github.com/socketio/socket.io-deno/compare/0.1.0...0.1.1) (2022-09-14) | ||
|
||
### Bug Fixes | ||
|
||
|
@@ -78,6 +125,6 @@ await serve(io.handler(), { | |
- send a "noop" packet when transport is already closed | ||
([3b1eb82](https://github.com/socketio/socket.io-deno/commit/3b1eb82d1e9e44660b43651dceb05b88bd1b5350)) | ||
|
||
# 0.1.0 (2022-09-12) | ||
## 0.1.0 (2022-09-12) | ||
|
||
This is the first release of this library! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ Table of content: | |
## Usage | ||
|
||
```ts | ||
import { Server } from "https://deno.land/x/[email protected].0/mod.ts"; | ||
import { Server } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
|
||
const io = new Server(); | ||
|
||
|