Skip to content

Commit

Permalink
chore(release): 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Nov 18, 2021
1 parent b839a3b commit 0f11c47
Show file tree
Hide file tree
Showing 12 changed files with 114 additions and 62 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# [4.4.0](https://github.com/socketio/socket.io/compare/4.3.2...4.4.0) (2021-11-18)


### Bug Fixes

* only set 'connected' to true after middleware execution ([02b0f73](https://github.com/socketio/socket.io/commit/02b0f73e2c64b09c72c5fbf7dc5f059557bdbe50))


### Features

* add an implementation based on uWebSockets.js ([c0d8c5a](https://github.com/socketio/socket.io/commit/c0d8c5ab234d0d2bef0d0dec472973cc9662f647))
* add timeout feature ([f0ed42f](https://github.com/socketio/socket.io/commit/f0ed42f18cabef20ad976aeec37077b6bf3837a5))
* add type information to `socket.data` ([#4159](https://github.com/socketio/socket.io/issues/4159)) ([fe8730c](https://github.com/socketio/socket.io/commit/fe8730ca0f15bc92d5de81cf934c89c76d6af329))



## [4.3.2](https://github.com/socketio/socket.io/compare/4.3.1...4.3.2) (2021-11-08)


Expand Down
4 changes: 2 additions & 2 deletions client-dist/socket.io.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client-dist/socket.io.esm.min.js.map

Large diffs are not rendered by default.

97 changes: 78 additions & 19 deletions client-dist/socket.io.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-dist/socket.io.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions client-dist/socket.io.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client-dist/socket.io.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions client-dist/socket.io.msgpack.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client-dist/socket.io.msgpack.min.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socket.io",
"version": "4.3.2",
"version": "4.4.0",
"description": "node.js realtime framework server",
"keywords": [
"realtime",
Expand Down Expand Up @@ -59,7 +59,7 @@
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"socket.io-client": "4.3.2",
"socket.io-client": "4.4.0",
"socket.io-client-v2": "npm:socket.io-client@^2.4.0",
"superagent": "^6.1.0",
"supertest": "^6.1.6",
Expand Down
23 changes: 0 additions & 23 deletions test/socket.io.ts
Original file line number Diff line number Diff line change
Expand Up @@ -821,29 +821,6 @@ describe("socket.io", () => {
});
});

it("should close a client without namespace (2)", (done) => {
const srv = createServer();
const sio = new Server(srv, {
connectTimeout: 100,
});

sio.use((_, next) => {
next(new Error("nope"));
});

srv.listen(() => {
const socket = client(srv);

const success = () => {
socket.close();
sio.close();
done();
};

socket.on("disconnect", success);
});
});

it("should exclude a specific socket when emitting", (done) => {
const srv = createServer();
const io = new Server(srv);
Expand Down

0 comments on commit 0f11c47

Please sign in to comment.