Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Update socket.io packages to v2.3.0 #24

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 11, 2018

This PR contains the following updates:

Package Type Update Change
socket.io dependencies minor 2.0.4 -> 2.3.0
socket.io (source) minor 2.1.0 -> 2.3.0
socket.io-client dependencies minor 2.1.1 -> 2.3.0

Release Notes

socketio/socket.io

v2.3.0

Compare Source

v2.2.0

Compare Source

Features

  • add cache-control header when serving the client source (#​2907)

Bug fixes

  • throw an error when trying to access the clients of a dynamic namespace (#​3355)

Milestone: 2.2.0
Diff: 2.1.1...2.2.0
Client release: 2.2.0
Diff engine.io: socketio/engine.io@3.2.0...3.3.1
Diff ws: https://github.com/websockets/ws/compare/3.3.1..6.1.2

v2.1.1

Compare Source

Features

(server) add local flag to the socket object (#​3219)

socket.local.to('room101').emit(/* */);

Bug fixes

(client) fire an error event on middleware failure for non-root namespace (socketio/socket.io-client#​1202)

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

v2.1.0

Compare Source

Features

// 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

Automattic/socket.io-client

v2.3.0

Compare Source

v2.2.0

Compare Source

Bug fixes

Milestone: 2.2.0
Diff: 2.1.1...2.2.0
Server release: 2.2.0
Diff engine.io-client: socketio/engine.io-client@3.2.0...3.3.1
Diff ws: https://github.com/websockets/ws/compare/3.3.1..6.1.2


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/socket.io-packages branch from 64181f8 to 4e2bbe0 Compare October 4, 2019 11:57
@renovate renovate bot changed the title Update socket.io packages to v2.2.0 Update socket.io packages to v2.3.0 Oct 4, 2019
@renovate renovate bot force-pushed the renovate/socket.io-packages branch from 4e2bbe0 to 11f5b26 Compare February 21, 2020 06:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant