From 7efa3d470492bf0e256cfb20f2a168356c932e59 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sat, 15 Jul 2017 14:56:36 -0700 Subject: [PATCH] deps: upgrade to socket.io 2.0 --- NEWS.md | 13 +++++++++++++ package.json | 5 ++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index e6f91143..5b8876b3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,16 @@ +2017-07-15 +========== + +The latest commit upgrades `socket.io` to version 2.0, a major version change +from 1.4. This release improves performance by switching to `uws` for the +websocket transport, and fixes several bugs; you can read about it +[here](https://github.com/socketio/socket.io/releases/tag/2.0.0). + +For browser clients, the upgrade should basically just work with no +intervention. For node.js clients, all that is needed is to upgrade +`socket.io-client` to 2.0. For other clients, work required may vary depending +on whether the implementation has compatibility problems with 2.0. + 2017-06-20 ========== diff --git a/package.json b/package.json index e06099dd..2422b134 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.40.1", + "version": "3.41.0", "repository": { "url": "http://github.com/calzoneman/sync" }, @@ -38,8 +38,7 @@ "redis": "^2.4.2", "sanitize-html": "^1.14.1", "serve-static": "^1.10.0", - "socket.io": "^1.4.0", - "socket.io-redis": "^1.0.0", + "socket.io": "^2.0.3", "source-map-support": "^0.4.0", "sprintf-js": "^1.0.3", "status-message-polyfill": "git://github.com/calzoneman/status-message-polyfill",