Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Update socket.io to the latest version 🚀 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented May 8, 2017

Version 2.0.0 of socket.io just got published.

Dependency socket.io
Current Version 1.7.4
Type dependency

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

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of socket.io.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Commits

The new version differs by 42 commits ahead by 42, behind by 4.

  • 3367eaa [chore] Release 2.0.0
  • 6c0705f [docs] Add an example of custom parser (#2929)
  • 1980fb4 [chore] Merge history of 1.7.x and 0.9.x branches (#2930)
  • 0d07c47 [chore] Added backers and sponsors on the README (#2933)
  • a086588 [chore] Bump dependencies (#2926)
  • 87b06ad [feat] Move binary detection to the parser (#2923)
  • 199eec6 [docs] Replace non-breaking space with proper whitespace (#2913)
  • f1b39a6 [docs] Update emit cheatsheet (#2906)
  • 240b154 [docs] Explicitly document that Server extends EventEmitter (#2874)
  • c5b7738 [docs] Add server.engine.generateId attribute (#2880)
  • 03f3bc9 [docs] Fix wrong space character in README (#2900)
  • e40accf [docs] Fix documentation for 'connect' event (#2898)
  • 01a4623 [feat] Allow to join several rooms at once (#2879)
  • 2d5b002 [docs] Add webpack build example (#2828)
  • 5ae06e6 [chore] Bump socket.io-adapter to version 1.0.0 (#2867)

There are 42 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

greenkeeper bot added a commit that referenced this pull request May 8, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented May 8, 2017

Version 2.0.1 just got published.

Update to this version instead 🚀

Release Notes 2.0.1
  • [fix] Update path of client file (#2934)
Commits

The new version differs by 2 commits0.

  • 832b8fc [chore] Release 2.0.1
  • a005690 [fix] Update path of client file (#2934)

false

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 1, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 1, 2017

Version 2.0.2 just got published.

Update to this version instead 🚀

Commits

The new version differs by commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 22, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 22, 2017

Version 2.0.4 just got published.

Update to this version instead 🚀

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 12 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)

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 29, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 29, 2018

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 added a commit that referenced this pull request May 17, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented May 17, 2018

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 added a commit that referenced this pull request Nov 28, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 28, 2018

  • The dependency socket.io was updated from 1.7.4 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants