Packages

socket.io

4.8.4 · 25 Sep 2026MIT16.6M / weekRepositoryHomepagenpmAtom feed

Upgrading socket.io from 3.1.0 to 4.6.2

23 releases in betweennotes for 21

Other targets from 3.1.0Newest 3.x3.1.2Latest4.8.4
The note of 4.0.0 lists no breaking change or deprecation, which is rare for a major.
?
changes to make
1
advisory fixed
29+
new
26+
fixes

Counted from 21 of 23 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 1 advisory affecting 3.1.0

Release by release

  1. 4.6.2

    31 May 20231 fix
    • fixed

      exports: move types condition to the top

  2. 4.6.1

    20 Feb 20232 fixes
    • fixed

      Properly handle manually created dynamic namespaces

    • fixed

      types: fix nodenext module resolution compatibility

  3. 4.6.0

    7 Feb 202312 new · 1 fix
    • new

      Add timeout method to remote socket

    • new

      emitWithAck()

    • new

      serverSideEmitWithAck()

    • new

      Id

  4. 4.5.4nothing new or fixed in the note

  5. 4.5.3

    15 Oct 20222 fixes
    • fixed

      typings: accept an HTTP2 server in the constructor

    • fixed

      typings: apply types to "io.timeout(...).emit()" calls

  6. 4.5.2

    2 Sep 20222 fixes
    • fixed

      Prevent the socket from joining a room after disconnection

    • fixed

      uws: prevent the server from crashing after upgrade

  7. 4.5.1

    17 May 20221 new · 1 fix
    • new

      typings: add HTTPS server to accepted types

    • fixed

      Forward the local flag to the adapter when using fetchSockets()

  8. 4.5.0

    23 Apr 20221 fix
    • fixed

      typings: ensure compatibility with TypeScript 3.x

16 internal lines (docs, tests, tooling) left out.