Packages

socket.io

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

Upgrading socket.io from 4.0.2 to 4.6.2

18 releases in betweenevery note read

Other targets from 4.0.2Newest 4.x, Latest4.8.4

Security

Fixes 1 advisory affecting 4.0.2

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.