socket.io
4.8.4 · 25 Sep 2026MIT16.6M / weekRepositoryHomepagenpmAtom feed
Upgrading socket.io from 3.1.2 to 4.0.0
1 release in betweenevery note read
The note of 4.0.0 lists no breaking change or deprecation, which is rare for a major.
Security
1 advisory still affects 4.0.0
- socket.io has an unhandled 'error' eventmoderate · GHSA-25hc-qcg6-38wj
Upgrading to 4.6.2 clears it.
Release by release
- new
Add some utility methods
- new
Add support for typed events
- new
Allow to exclude specific rooms when broadcasting
- new
Allow to pass an array to io.to(...)
- fixed
Make io.to(...) immutable
- new