medical-appointment-scheduling-server icon indicating copy to clipboard operation
medical-appointment-scheduling-server copied to clipboard

Update socket.io to the latest version 🚀

Open greenkeeper[bot] opened this issue 6 years ago • 4 comments

Version 2.0.4 of socket.io was just published.

Dependency socket.io
Current Version 2.0.1
Type dependency

The version 2.0.4 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of socket.io.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes 2.0.4

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

Commits

The new version differs by 19 commits.

  • 1c108a3 [chore] Release 2.0.4
  • f333479 [test] Use npm scripts instead of gulp (#3078)
  • 3f61165 [docs] Fix a grammar mistake in the API docs (#3076)
  • e26b71c [docs] Fix typo in API docs (#3066)
  • 3386e15 [docs] Actually prevent input from having injected markup in chat example (#2987)
  • 3684d59 [docs] Use path.join instead of concatenating paths (#3014)
  • dd69abb [fix] Reset rooms object before broadcasting from namespace (#3039)
  • 1f0e64a [fix] Do not throw when receiving an unhandled error packet (#3038)
  • 9d170a7 [docs] Add io.emit in the cheat sheet (#2992)
  • 7199d1b [docs] Fix misnamed 'Object.keys' in API docs (#2979)
  • bf7afb1 [docs] Update Webpack server example (#2976)
  • 410f5bc [docs] Update API documentation (#2973)
  • 65ece01 [chore] Release 2.0.3
  • db0c699 [fix] Reset rooms object before broadcasting (#2970)
  • 94df7bc [fix] Fix middleware initialization (#2969)

There are 19 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot :palm_tree:

greenkeeper[bot] avatar Oct 22 '17 13:10 greenkeeper[bot]

Version 2.1.0 just got published.

Update to this version instead 🚀

Release Notes 2.1.0

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 performance
socket.binary(false).emit('plain-object', object);

// it also works at the namespace level io.binary(false).emit('plain-object', object);

  • add support for dynamic namespaces (#3195)
io.of(/^\/dynamic-\d+$/).on('connect', (socket) => {
  // socket.nsp.name = '/dynamic-101'
});

// client-side const client = require('socket.io-client')('/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/engine.io#550), 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('engine.io');
var server = engine.listen(3000, {
  wsEngine: 'uws'
});

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

Commits

The new version differs by 14 commits.

  • db831a3 [chore] Release 2.1.0
  • ac945d1 [feat] Add support for dynamic namespaces (#3195)
  • ad0c052 [docs] Add note in docs for origins(fn) about error needing to be a string. (#2895)
  • 1f1d64b [fix] Include the protocol in the origins check (#3198)
  • f4fc517 [fix] Properly emit 'connect' when using a custom namespace (#3197)
  • be61ba0 [docs] Add link to a Dart client implementation (#2940)
  • c0c79f0 [feat] Add support for dynamic namespaces (#3187)
  • dea5214 [chore] Bump superagent and supertest versions (#3186)
  • b1941d5 [chore] Bump engine.io to version 3.2.0
  • a23007a [docs] Update license year (#3153)
  • f48a06c [feat] Add a 'binary' flag (#3185)
  • 0539a2c [test] Update travis configuration
  • c06ac07 [docs] Fix typo (#3157)
  • 52b0960 [chore] Bump debug to version 3.1.0

See the full diff

greenkeeper[bot] avatar Mar 29 '18 23:03 greenkeeper[bot]

Version 2.1.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

  • e0b2cb0 [chore] Release 2.1.1
  • 1decae3 [feat] Add local flag to the socket object (#3219)
  • 0279c47 [docs] Convert the chat example to ES6 (#3227)
  • 2917942 [docs] Clarify private messaging in the emit cheatsheet (#3232)

See the full diff

greenkeeper[bot] avatar May 17 '18 21:05 greenkeeper[bot]

  • The dependency socket.io was updated from 2.0.1 to 2.2.0.

Update to this version instead 🚀

Commits

The new version differs by 10 commits.

  • df05b73 [chore] Release 2.2.0
  • b00ae50 [feat] Add cache-control header when serving the client source (#2907)
  • d3c653d [docs] Add Touch Support to the whiteboard example (#3104)
  • a7fbd1a [fix] Throw an error when trying to access the clients of a dynamic namespace (#3355)
  • 190d22b [chore] Bump dependencies
  • 7b8fba7 [test] Update Travis configuration
  • e5f0cea [docs] Use new JavaScript syntax inside the README (#3360)
  • 7e35f90 [docs] fix this scope in the chat example
  • 2dbec77 [chore] Update issue template
  • d97d873 [docs] update README.md (#3309)

See the full diff

greenkeeper[bot] avatar Nov 28 '18 23:11 greenkeeper[bot]

  • The dependency socket.io was updated from 2.0.1 to 2.3.0.

Update to this version instead 🚀

greenkeeper[bot] avatar Sep 20 '19 10:09 greenkeeper[bot]