All Versions
Latest Version
Avg Release Cycle
24 days
Latest Release
40 days ago

Changelog History
Page 4

  • v2.1.1 Changes

    May 23, 2018

    ๐Ÿ”‹ Features

    (server) add local flag to the socket object (#3219)'room101').emit(/\* \*/);

    ๐Ÿ› Bug fixes

    (client) fire an error event on middleware failure for non-root namespace (socketio/

    Milestone: 2.1.1
    Diff: 2.1.0...2.1.1 (client diff)

  • v2.1.0 Changes

    March 29, 2018

    ๐Ÿ”‹ Features

    • โž• add a 'binary' flag (#3185)

      // by default, the object is recursively scanned to check whether it contains some binary data// in the following example, the check is skipped in order to improve performancesocket.binary(false).emit('plain-object', object);// it also works at the namespace levelio.binary(false).emit('plain-object', object);

    • โž• add support for dynamic namespaces (#3195)

      io.of(/\/dynamic-\d+$/).on('connect', (socket) => { // = '/dynamic-101'});// client-sideconst client = require('')('/dynamic-101');

    ๐Ÿ› Bug fixes

    • properly emit 'connect' when using a custom namespace (#3197)
    • include the protocol in the origins check (#3198)

    ๐Ÿš€ Important note โš ๏ธ from Engine.IO 3.2.0 release

    There are two non-breaking changes that are somehow quite important:

    • โช ws was reverted as the default wsEngine (socketio/, as there was several blocking issues with uws. You can still use uws by running npm install uws --save in your project and using the wsEngine option:

      var engine = require('');var server = engine.listen(3000, { wsEngine: 'uws'});

    • 0๏ธโƒฃ pingTimeout now defaults to 5 seconds (instead of 60 seconds): socketio/

    Milestone: 2.1.0
    Diff: 2.0.4...2.1.0
    Engine.IO version: 3.2.x

  • v2.0.4 Changes

    October 22, 2017

    ๐Ÿ› Bug fixes

    • do not throw when receiving an unhandled error packet (#3038)
    • reset rooms object before broadcasting from namespace (#3039)

    Milestone: 2.0.4
    Diff: 2.0.3...2.0.4

  • v2.0.3 Changes

    June 13, 2017

    ๐Ÿ› Bug fixes

    • reset rooms object before broadcasting (#2970)
    • ๐Ÿ›  fix middleware initialization (#2969)

    Milestone: 2.0.3
    Diff: 2.0.2...2.0.3

  • v2.0.2 Changes

    June 01, 2017

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  fix timing issues with middleware (#2948)

    Milestone: 2.0.2
    Diff: 2.0.1...2.0.2

  • v2.0.1 Changes

    May 08, 2017

    ๐Ÿ› Bug fixes

    โšก๏ธ - update path of client file (#2934)

    Milestone: 2.0.1
    Diff: 2.0.0...2.0.1

  • v2.0.0 Changes

    May 08, 2017

    ๐Ÿš€ This major release brings several performance improvements:

    ๐Ÿš€ uws is now the default Websocket engine. It should bring significant improvement in performance (particularly in terms of memory consumption) (

    ๐Ÿ”€ the Engine.IO and Socket.IO handshake packets were merged, reducing the number of roundtrips necessary to establish a connection. (#2833)

    ๐Ÿ“œ it is now possible to provide a custom parser according to the needs of your application (#2829). Please take a look at the example for more information.

    ๐Ÿš€ Please note that this release is not backward-compatible, due to:

    0๏ธโƒฃ Please also note that if you are using a self-signed certificate, rejectUnauthorized now defaults to true (socketio/

    ๐Ÿ“š Finally, the API documentation is now in the repository (here), and the content of the website here. Do not hesitate if you see something wrong or missing!

    The full list of changes:

    • ๐Ÿšš [feat] Move binary detection to the parser (#2923)
    • [feat] Allow to join several rooms at once (#2879)
    • ๐Ÿ”€ [feat] Merge Engine.IO and Socket.IO handshake packets (#2833)
    • ๐Ÿ“œ [feat] Allow the use of custom parsers (#2829)
    • 0๏ธโƒฃ [fix] Use path.resolve by default and require.resolve as a fallback (#2797) (by @a-lucas)
    • [fix] Properly close the connection on error (#2681) (by @Nibbler999)
    • [fix] Prevent null from being accepted as argument (#2606) (by @ianbrode)
    • [perf] Use shared instance of the encoder (#2825) (by @Nibbler999)
    • [perf] Reset properties instead of deleting them (#2826) (by @Nibbler999)
    • [perf] micro-optimisations (#2793) (by @billouboq)
    • ๐Ÿ”€ [chore] Merge history of 1.7.x and 0.9.x branches (#2930)
    • [chore] Added backers and sponsors on the README (#2933) (by @xdamman)
    • [chore] Bump dependencies (#2926)
    • [chore] Bump to version 1.0.0 (#2867)
    • [chore] Bump to version 2.0.2 (#2864)
    • [chore] Bump to version 2.0.0 (#2832) (by @sgress454)
    • โšก๏ธ [chore] Update issue template with fiddle (#2811)
    • โšก๏ธ [chore] Update copyright year LICENSE to 2017 (#2803) (by @isabellatea)
    • ๐Ÿ“œ [docs] Add an example of custom parser (#2929)
    • ๐Ÿ“„ [docs] Replace non-breaking space with proper whitespace (#2913) (by @epicTCK)
    • โšก๏ธ [docs] Update emit cheatsheet (#2906) (by @FarazPatankar)
    • ๐Ÿ“„ [docs] Explicitly document that Server extends EventEmitter (#2874) (by @i8-pi)
    • ๐Ÿ“„ [docs] Add server.engine.generateId attribute (#2880) (by @efkan)
    • ๐Ÿ“„ [docs] Fix wrong space character in README (#2900) (by @SimenB)
    • ๐Ÿ“š [docs] Fix documentation for 'connect' event (#2898) (by @swhgoon)
    • ๐Ÿ— [docs] Add webpack build example (#2828)
    • โšก๏ธ [docs] Update the wording to match the code example (#2853) (by @timruffles)
    • ๐Ÿ“„ [docs] Small addition to the Express Readme Part (#2846) (by @H3rby7)
    • ๐Ÿ“„ [docs] Add a 'Features' section in the README (#2824)
    • ๐Ÿ“„ [docs] Add httpd cluster example (#2819)
    • ๐Ÿ“„ [docs] Add haproxy cluster example (#2818)
    • ๐Ÿ“„ [docs] Add nginx cluster example (#2817)
    • ๐Ÿ“„ [docs] Implement whiteboard example (#2810)
    • ๐Ÿ“š [docs] Fix documentation for local flag (#2816)
    • ๐Ÿ“„ [docs] Add emit cheatsheet (#2815)
    • ๐Ÿ“š [docs] Add pingInterval/pingTimeout/transports options in the API documentation (#2814)
    • ๐Ÿ“„ [docs] Add an example for socket.join() method (#2813)
    • ๐Ÿ“š [docs] Fix a typo on clients method in the API documentation (#2812)
    • ๐Ÿ“„ [docs] Fix wrong argument name in (#2802) (by @andrea11)
    • ๐Ÿ“„ [docs] Add install script on (#2780) (by @bananaappletw)
    • ๐Ÿ“š [docs] API documentation (#2784)

    Besides, we are proud to announce that Socket.IO is now a part of open collective: More on that later.

  • v0.9.19 Changes

    May 16, 2017
    • Properly require EventEmitter