socket.io-client

Realtime application framework (client)

Downloads
1.9K
Stars
10.6K
Committers
135

Bot releases are hidden (Show)

socket.io-client - 3.0.0-rc3

Published by darrachequesne almost 4 years ago

Code Refactoring

  • rename ERROR to CONNECT_ERROR (13e1db7)

Features

  • add bundle with msgpack parser (71d6048)
  • add support for catch-all listeners (55f464f)
  • add volatile events (7ddad2c)

Links:

socket.io-client - 3.0.0-rc2

Published by darrachequesne about 4 years ago

Features

  • move binary detection back to the parser (1789094)

BREAKING CHANGES

  • the Socket#binary() method is removed, as this use case is now covered by the ability to provide your own parser.

Links:

socket.io-client - 3.0.0-rc1

Published by darrachequesne about 4 years ago

Features

  • add ES6 module export (cbabb03)
  • do not reuse the Engine.IO id (bbe94ad)
  • remove the implicit connection to the default namespace (249e0be)
  • split the events of the Manager and Socket (132f8ec)
  • throw upon reserved event names (6494f61)

BREAKING CHANGES

  • the Socket instance will no longer forward the events of its Manager

Those events can still be accessed on the Manager instance though:

socket.io.on("reconnect", () => {
  // ...
});
  • the slim build was removed

There is now two builds:

  • a development build, with the debug dependency: dist/socket.io.js
  • a production build, without the debug dependency: dist/socket.io.min.js

Links:

socket.io-client - 2.3.1

Published by darrachequesne about 4 years ago

The debug dependency has been reverted to ~3.1.0, as the newer versions contains ES6 syntax which breaks in IE
browsers.

Please note that this only applied to users that bundle the Socket.IO client in their application, with webpack for
example, as the "official" bundles (in the dist/ folder) were already transpiled with babel.

For webpack users, you can also take a look at the webpack-remove-debug plugin.

Bug Fixes

  • fix reconnection after opening socket asynchronously (#1253) (050108b)

Links:

socket.io-client - 2.3.0

Published by darrachequesne about 4 years ago

Links:

socket.io-client - 2.0.4

Published by darrachequesne about 4 years ago

Following server version bump.

Links:

socket.io-client -

Published by darrachequesne almost 6 years ago

Bug fixes

Links:

socket.io-client -

Published by darrachequesne almost 6 years ago

Bug fixes

  • fire an error event on middleware failure for non-root namespace (#1202)

Links:

socket.io-client -

Published by darrachequesne over 6 years ago

Matching Socket.IO 2.1.0 release notes

Features

  • add a 'binary' flag (#1194)
// 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 performance
socket.binary(false).emit('plain-object', object);

Links:

socket.io-client -

Published by darrachequesne over 7 years ago

Following server version bump.

Links:

socket.io-client -

Published by darrachequesne over 7 years ago

Bug fixes

  • do not update the opts.query reference (#1121)

Links:

socket.io-client -

Published by darrachequesne over 7 years ago

(following socket.io version bump)

Links:

socket.io-client -

Published by darrachequesne over 7 years ago

  • [feat] Move binary detection to the parser (#1103)
  • [feat] Allow the use of a custom parser (#1075)
  • [fix] Run tests on the minified files (#1042)
  • [fix] Add nsp prefix to socket.id (#1058)
  • [test] Update browsers matrix (#1059)
  • [chore] Bump engine.io-client to version 3.1.0 (#1109)
  • [chore] Bump dev dependencies (#1108)
  • [chore] Bump debug to version 2.6.4 (#1101)
  • [chore] Fix dependencies (#1096)
  • [chore] Bump engine.io-client to version 2.0.2 (#1074)
  • [chore] Bump socket.io-parser to version 2.3.2 (#1071)
  • [chore] Bump engine.io-client to version 2.0.0 (#1062)
  • [chore] Update issue template with fiddle (#1057)
  • [docs] Fix messed events documentation (#1089)
  • [docs] Fix Manager constructor documentation (#1093)
  • [docs] Fix format in API.md (#1090)
  • [docs] Add note regarding the Emitter class (#1079)
  • [docs] Add missing path option in the documentation (#1078)
  • [docs] Fix typo (#1076)
  • [docs] Fix typo (#1066)
  • [docs] Add connect_error and connect_timeout events (#1051)
  • [docs] API documentation (#1049)

Links:

socket.io-client -

Published by darrachequesne over 7 years ago

  • [chore] Bump engine.io-client to version 1.8.4
socket.io-client -

Published by darrachequesne almost 8 years ago

  • [chore] Bump engine.io-client to version 1.8.2 (#1044)
  • [chore] Speed up lint by avoiding '*/.js' matching pattern (#1043)
socket.io-client -

Published by darrachequesne almost 8 years ago

  • [docs] Add saucelabs browser matrix in README (#1035)
  • [fix] Fix json import in slim build (#1036)
socket.io-client -

Published by darrachequesne almost 8 years ago

  • [chore] Move generated files to dist folder (#1025)
  • [chore] Provide a slim build without JSON3 and debug (#1030)
  • [chore] Bump engine.io-client to 1.8.1 (#1032)
socket.io-client -

Published by darrachequesne almost 8 years ago

  • [feature] emit sourcemap for socket.io.js (#953)
  • [feature] Support minified socket.io.min.js (#1021)
  • [chore] Bump dependencies (#1026)
socket.io-client -

Published by darrachequesne almost 8 years ago

  • [chore] Disable AMD for json3 (#1005)
  • [chore] Bump socket.io-parser to 2.3.0 (#1009)
  • [chore] Bump engine.io-client to 1.7.1 (#1010)
  • [chore] Update zuul browser settings (#1011)
  • [chore] Add Github issue and PR templates (#1013)
  • [chore] Bump engine.io-client to 1.7.2 and socket.io-parser to 2.3.1 (#1015)
socket.io-client -

Published by darrachequesne about 8 years ago

  • [fix] Fix query string management (#943)
  • [chore] Add gulp & babel in the build process (#940)
  • [chore] Add eslint (#951)
  • [chore] bump zuul (#958)
  • [chore] Remove jspm browser config (#957)
  • [chore] Update zuul browser settings following EOL notices (#985)
  • [chore] Bump zuul to 3.11.0 & zuul-ngrok to 4.0.0 (#997)
  • [chore] reference build badge to master branch (#967)
  • [chore] Bump engine.io-client to 1.7.0 (#996)
  • [chore] Restrict files included in npm package (#998)