-
Notifications
You must be signed in to change notification settings - Fork 101
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: socketio/socket.io-adapter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.5.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: socketio/socket.io-adapter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.5.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 8 files changed
- 1 contributor
Commits on Feb 22, 2024
-
fix(types): ensure compatibility with TypeScript < 4.5
"import { type ... }" was added in TypeScript 4.5. Reference: https://devblogs.microsoft.com/typescript/announcing-typescript-4-5/ Related: - #86 - socketio/socket.io#3891
Configuration menu - View commit details
-
Copy full SHA for ca397f3 - Browse repository at this point
Copy the full SHA ca397f3View commit details -
refactor(cluster): export ClusterAdapterOptions and MessageType types
Configuration menu - View commit details
-
Copy full SHA for 9d4c4a7 - Browse repository at this point
Copy the full SHA 9d4c4a7View commit details -
refactor: break circular dependency (1)
This will be done in two steps, in order to preserve the history of the index.ts file.
Configuration menu - View commit details
-
Copy full SHA for abc93a9 - Browse repository at this point
Copy the full SHA abc93a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 207c0db - Browse repository at this point
Copy the full SHA 207c0dbView commit details -
fix: ensure the order of the commands
Before this change, the broadcast() method would send the BROADCAST command and then apply it locally (which is required to retrieve the offset of the message, when connection state recovery is enabled), while the other commands like disconnectSockets() would first apply it locally and then send the command to the other nodes. So, for example: ```js io.emit("bye"); io.disconnectSockets(); ``` In that case, the clients connected to the io instance would not receive the "bye" event, while the clients connected to the other server instances would receive it before being disconnected. Related: - socketio/socket.io-redis-streams-adapter#13 - socketio/socket.io-postgres-adapter#12
Configuration menu - View commit details
-
Copy full SHA for a13f35f - Browse repository at this point
Copy the full SHA a13f35fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 005d546 - Browse repository at this point
Copy the full SHA 005d546View commit details -
Diff: 2.5.3...2.5.4
Configuration menu - View commit details
-
Copy full SHA for 5eae5a0 - Browse repository at this point
Copy the full SHA 5eae5a0View commit details
There are no files selected for viewing