Skip to content

Upgrade Socket.IO to v4 - #167

Merged
coder13 merged 1 commit into
masterfrom
upgrade-socketio-4
Jul 9, 2026
Merged

Upgrade Socket.IO to v4#167
coder13 merged 1 commit into
masterfrom
upgrade-socketio-4

Conversation

@coder13

@coder13 coder13 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • upgrade server Socket.IO and browser socket.io-client to v4.8.3
  • replace deprecated socket.io-redis with @socket.io/redis-adapter and explicit ioredis pub/sub clients
  • make Cypress lobby assertions stable when the local room list overflows

Why

Socket.IO 3 pulls older engine.io/ws runtime dependencies with known DoS advisories. Socket.IO 4 moves the runtime socket path to patched ws 8.21.0 while keeping the existing app protocol behavior covered by Cypress.

Validation

  • yarn lint
  • yarn test
  • yarn build
  • yarn cypress:run
  • yarn why ws confirms Socket.IO client/server now use ws@8.21.0

Sources checked:

Update the client and server Socket.IO packages together and replace socket.io-redis with the maintained Redis adapter using explicit ioredis pub/sub clients.

Keep the full-stack Cypress lobby assertions stable when the local room list overflows.
@coder13
coder13 merged commit 13f8c29 into master Jul 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant