Skip to content

Commit

Permalink
chore(release): 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Jan 9, 2025
1 parent d08f8f2 commit 50d89a7
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 8 deletions.
61 changes: 54 additions & 7 deletions CHANGELOG.md
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

Expand Down Expand Up @@ -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

Expand All @@ -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!
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 50d89a7

Please sign in to comment.