Open greenkeeper[bot] opened 6 years ago
Update to this version instead 🚀
// 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);
io.of(/^\/dynamic-\d+$/).on('connect', (socket) => {
// socket.nsp.name = '/dynamic-101'
});
// client-side
const client = require('socket.io-client')('/dynamic-101');
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'
});
pingTimeout
now defaults to 5 seconds (instead of 60 seconds): socketio/engine.io#551Milestone: 2.1.0
Diff: 2.0.4...2.1.0
Engine.IO version: 3.2.x
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
dependency
socket.io was updated from 2.0.1
to 2.2.0
.Update to this version instead 🚀
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
dependency
socket.io was updated from 2.0.1
to 2.3.0
.
Version 2.0.4 of socket.io was just published.
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.4Bug fixes
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](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: