All Versions
37
Latest Version
Avg Release Cycle
23 days
Latest Release
33 days ago

Changelog History
Page 1

  • v4.5.0 Changes

    April 23, 2022

    ๐Ÿ› Bug Fixes

    • typings: ensure compatibility with TypeScript 3.x (#4259) (02c87a8)

    ๐Ÿ”‹ Features

    • โž• add support for catch-all listeners for outgoing packets (531104d)

    This is similar to onAny(), but for outgoing packets.

    Syntax:

    socket.onAnyOutgoing((event, ...args) => {
      console.log(event);
    });
    
    • broadcast and expect multiple acks (8b20457)

    Syntax:

    io.timeout(1000).emit("some-event", (err, responses) => {
      // ...
    });
    
    • โž• add the "maxPayload" field in the handshake details (088dcb4)

    So that clients in HTTP long-polling can decide how many packets they have to send to stay under the maxHttpBufferSize value.

    This is a backward compatible change which should not mandate a new major revision of the protocol (we stay in v4), as we only add a field in the JSON-encoded handshake data:

    0{"sid":"lv_VI97HAXpY6yYWAAAC","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":5000,"maxPayload":1000000}
    
  • v4.4.1 Changes

    January 06, 2022

    ๐Ÿ› Bug Fixes

    • types: make RemoteSocket.data type safe (#4234) (770ee59)
    • types: pass SocketData type to custom namespaces (#4233) (f2b8de7)
  • v4.4.0 Changes

    November 18, 2021

    ๐Ÿ› Bug Fixes

    • only set 'connected' to true after middleware execution (02b0f73)

    ๐Ÿ”‹ Features

    • โž• add an implementation based on uWebSockets.js (c0d8c5a)
    • โž• add timeout feature (f0ed42f)
    • โž• add type information to socket.data (#4159) (fe8730c)
  • v4.3.2 Changes

    November 08, 2021

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  fix race condition in dynamic namespaces (#4137) (9d86397)
  • v4.3.1 Changes

    October 16, 2021

    ๐Ÿ› Bug Fixes

  • v4.3.0 Changes

    October 14, 2021

    ๐Ÿ› Bug Fixes

    • typings: add name field to cookie option (#4099) (033c5d3)
    • send volatile packets with binary attachments (dc81fcf)

    ๐Ÿ”‹ Features

  • v4.2.0 Changes

    August 30, 2021

    ๐Ÿ› Bug Fixes

    • typings: allow async listener in typed events (ccfd8ca)

    ๐Ÿ”‹ Features

    • ignore the query string when serving client JavaScript (#4024) (24fee27)
  • v4.1.3 Changes

    July 10, 2021

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  fix io.except() method (94e27cd)
    • โœ‚ remove x-sourcemap header (a4dffc6)
  • v4.1.2 Changes

    May 17, 2021

    ๐Ÿ› Bug Fixes

    • typings: ensure compatibility with TypeScript 3.x (0cb6ac9)
    • ensure compatibility with previous versions of the adapter (a2cf248)
  • v4.1.1 Changes

    May 11, 2021

    ๐Ÿ› Bug Fixes

    • typings: properly type server-side events (b84ed1e)
    • typings: properly type the adapter attribute (891b187)