Skip to content

Latest commit

 

History

History
301 lines (135 loc) · 12.1 KB

CHANGELOG.md

File metadata and controls

301 lines (135 loc) · 12.1 KB

6.0.3 (2021-11-14)

Some bug fixes were backported from master, to be included by the latest socket.io-client version.

Bug Fixes

  • add package name in nested package.json (32511ee)
  • fix vite build for CommonJS users (9fcaf58)

6.1.1 (2021-11-14)

Bug Fixes

  • add package name in nested package.json (6e798fb)
  • fix vite build for CommonJS users (c557707)

6.1.0 (2021-11-08)

The minor bump is due to changes on the server side.

Bug Fixes

  • typings: allow any value in the query option (018e1af)
  • typings: allow port to be a number (#680) (8f68f77)

6.0.2 (2021-10-15)

Bug Fixes

6.0.1 (2021-10-14)

Bug Fixes

6.0.0 (2021-10-08)

This major release contains three important changes:

  • the codebase was migrated to TypeScript (7245b80)
  • rollup is now used instead of webpack to create the bundles (27de300)
  • code that provided support for ancient browsers (think IE8) was removed (c656192 and b2c7381)

There is now three distinct builds (in the build/ directory):

  • CommonJS
  • ESM with debug
  • ESM without debug (rationale here: 00d7e7d)

And three bundles (in the dist/ directory) :

  • engine.io.js: unminified UMD bundle
  • engine.io.min.js: minified UMD bundle
  • engine.io.esm.min.js: ESM bundle

Please note that the communication protocol was not updated, so a v5 client will be able to reach a v6 server (and vice-versa).

Reference: https://github.com/socketio/engine.io-protocol

Features

  • provide an ESM build without debug (00d7e7d)

BREAKING CHANGES

  • the enableXDR option is removed (c656192)
  • the jsonp and forceJSONP options are removed (b2c7381)

ws version: ~8.2.3

5.2.0 (2021-08-29)

Features

  • add an option to use native timer functions (#672) (5d1d5be)

5.1.2 (2021-06-24)

Bug Fixes

  • emit ping when receiving a ping from the server (589d3ad)
  • websocket: fix timer blocking writes (#670) (f30a10b)

5.1.1 (2021-05-11)

Bug Fixes

  • fix JSONP transport on IE9 (bddd992)

4.1.4 (2021-05-05)

This release only contains a bump of xmlhttprequest-ssl, in order to fix the following vulnerability: https://www.npmjs.com/advisories/1665.

Please note that engine.io-client was not directly impacted by this vulnerability, since we are always using async: true.

3.5.2 (2021-05-05)

This release only contains a bump of xmlhttprequest-ssl, in order to fix the following vulnerability: https://www.npmjs.com/advisories/1665.

Please note that engine.io-client was not directly impacted by this vulnerability, since we are always using async: true.

5.1.0 (2021-05-04)

Features

  • add the "closeOnBeforeunload" option (dcb85e9)

5.0.1 (2021-03-31)

Bug Fixes

  • ignore packets when the transport is silently closed (d291a4c)

5.0.0 (2021-03-10)

The major bump is due to a breaking change on the server side.

Features

  • add autoUnref option (6551683)
  • listen to the "offline" event (c361bc6)

3.5.1 (2021-03-02)

Bug Fixes

  • replace default nulls in SSL options with undefineds (d0c551c)

4.1.2 (2021-02-25)

Bug Fixes

  • silently close the transport in the beforeunload hook (ed48b5d)

4.1.1 (2021-02-02)

Bug Fixes

  • remove polyfill for process in the bundle (c95fdea)

4.1.0 (2021-01-14)

Features

4.0.6 (2021-01-04)

3.5.0 (2020-12-30)

Bug Fixes

  • check the type of the initial packet (8750356)

4.0.5 (2020-12-07)

4.0.4 (2020-11-17)

Bug Fixes

  • check the type of the initial packet (1c8cba8)
  • restore the cherry-picking of the WebSocket options (4873a23)

4.0.3 (2020-11-17)

Bug Fixes

  • react-native: add a default value for the withCredentials option (ccb99e3)
  • react-native: exclude the localAddress option (177b95f)

4.0.2 (2020-11-09)

4.0.1 (2020-10-21)

3.4.4 (2020-09-30)

4.0.0 (2020-09-10)

More details about this release in the blog post: https://socket.io/blog/engine-io-4-release/

Bug Fixes

  • react-native: restrict the list of options for the WebSocket object (2f5c948)
  • use globalThis polyfill instead of self/global (#634) (3f3a6f9)

Features

  • strip debug from the browser bundle (f7ba966)

Links

3.4.1 (2020-04-17)

Bug Fixes

  • use globalThis polyfill instead of self/global (357f01d)

Links

4.0.0-alpha.1 (2020-02-12)

Bug Fixes

  • properly assign options when creating the transport (7c7f1a9)

Links

4.0.0-alpha.0 (2020-02-12)

chore

Features

  • reverse the ping-pong mechanism (81d7171)

BREAKING CHANGES

  • v3.x clients will not be able to connect anymore (they will send a ping packet and timeout while waiting for a pong packet).

  • the output bundle will now be found in the dist/ folder.

Links