- Notifications
You must be signed in to change notification settings - Fork10.1k
Comparing changes
Open a pull request
base repository:socketio/socket.io
Uh oh!
There was an error while loading.Please reload this page.
base:4.4.1
head repository:socketio/socket.io
Uh oh!
There was an error while loading.Please reload this page.
compare:4.5.0
- 17commits
- 51files changed
- 4contributors
Commits on Jan 6, 2022
Updating to v2 fails in the CI on Node.js 12 & 14 with the followingerror:> npm ERR! Error while executing:> npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/uNetworking/uWebSockets.js.git> npm ERR!> npm ERR! Warning: Permanently added the RSA host key for IP address '140.82.113.3' to the list of known hosts.> npm ERR! git@github.com: Permission denied (publickey).> npm ERR! fatal: Could not read from remote repository.> npm ERR!> npm ERR! Please make sure you have the correct access rights> npm ERR! and the repository exists.> npm ERR!> npm ERR! exited with error code: 128So we will revert the change for now.
darrachequesne committedJan 6, 2022
Commits on Jan 10, 2022
chore: update default label for bug reports
darrachequesne committedJan 10, 2022
Commits on Jan 25, 2022
fix(typings): ensure compatibility with TypeScript 3.x (#4259)
Labeled tuple elements were added in TypeScript 4.0.Reference:https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#labeled-tuple-elementsRelated:44e20ba
delucis authoredJan 25, 2022 chore: bump engine.io version to fixCVE-2022-21676(#4262)
Related:GHSA-273r-mgr4-v34f
adamszegedi authoredJan 25, 2022
Commits on Mar 31, 2022
feat: broadcast and expect multiple acks
Syntax:```jsio.timeout(1000).emit("some-event", (err, responses) => { // ...});```The adapter exposes two additional methods:- `broadcastWithAck(packets, opts, clientCountCallback, ack)`Similar to `broadcast(packets, opts)`, but:* `clientCountCallback()` is called with the number of clients that received the packet (can be called several times in a cluster)* `ack()` is called for each client response- `serverCount()`It returns the number of Socket.IO servers in the cluster (1 for thein-memory adapter).Those two methods will be implemented in the other adapters (Redis,Postgres, MongoDB, ...).Related:-#1811-#4163-socketio/socket.io-redis-adapter#445
darrachequesne committedMar 31, 2022 feat: add support for catch-all listeners for outgoing packets
This is similar to `onAny()`, but for outgoing packets.Syntax:```jssocket.onAnyOutgoing((event, ...args) => { console.log(event);});```
darrachequesne committedMar 31, 2022 refactor: make the protocol implementation stricter
This commit handles several edge cases that were silently ignoredbefore:- receiving several CONNECT packets during a session- receiving any packet without CONNECT packet first
darrachequesne committedMar 31, 2022
Commits on Apr 1, 2022
docs(examples): pin the version of karma-jasmine-html-reporter
darrachequesne committedApr 1, 2022
Commits on Apr 2, 2022
Commits on Apr 7, 2022
docs(examples): add TODO example with Postgres and Node.js cluster
darrachequesne committedApr 7, 2022
Commits on Apr 22, 2022
docs(examples): add server bundling example with rollup
Related:#4329
darrachequesne committedApr 22, 2022 chore: bump engine.io to version 6.2.0
Release notes:https://github.com/socketio/engine.io/releases/tag/6.2.0Diff:socketio/engine.io@6.1.3...6.2.0
darrachequesne committedApr 22, 2022 docs(examples): update example with webpack
darrachequesne committedApr 22, 2022
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff 4.4.1...4.5.0
Uh oh!
There was an error while loading.Please reload this page.