-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ws to the latest version 🚀 #6
base: master
Are you sure you want to change the base?
Conversation
Version 2.0.2 just got published. |
Version 2.0.3 just got published.Update to this version instead 🚀 Release Notes2.0.3Bug fixesCommitsThe new version differs by 9 commits .
See the full diff. |
Version 2.1.0 just got published.Update to this version instead 🚀 CommitsThe new version differs by 9 commits .
See the full diff. |
Version 2.2.0 just got published.Update to this version instead 🚀 Release Notes2.2.0Features
Bug fixes
CommitsThe new version differs by 11 commits .
See the full diff. |
Version 2.2.1 just got published.Update to this version instead 🚀 CommitsThe new version differs by 15 commits .
See the full diff. |
Version 2.2.2 just got published.Update to this version instead 🚀 Release Notes2.2.2Bug fixes |
Version 2.2.3 just got published.Update to this version instead 🚀 Release Notes2.2.3Notable changes
Bug fixes
CommitsThe new version differs by 6 commits .
See the full diff. |
Version 2.3.0 just got published.Update to this version instead 🚀 Release Notes2.3.0FeaturesCommitsThe new version differs by 16 commits .
There are 16 commits in total. See the full diff. |
Version 2.3.1 just got published.Update to this version instead 🚀 Release Notes2.3.1Bug fixes
|
Version 3.0.0 just got published.Update to this version instead 🚀 Release Notes3.0.0Breaking changesCommitsThe new version differs by 15 commits.
See the full diff |
Version 3.1.0 just got published.Update to this version instead 🚀 Release Notes3.1.0Features
Bug fixes
CommitsThe new version differs by 28 commits.
There are 28 commits in total. See the full diff |
Version 3.2.0 just got published.Update to this version instead 🚀 Release Notes3.2.0FeaturesCommitsThe new version differs by 11 commits.
See the full diff |
Version 3.3.0 just got published.Update to this version instead 🚀 CommitsThe new version differs by 22 commits.
There are 22 commits in total. See the full diff |
Update to this version instead 🚀 Release Notes for 6.1.3Bug fixes
CommitsThe new version differs by 15 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 6.1.4Bug fixes
CommitsThe new version differs by 8 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 6.2.0Features
Bug fixes
CommitsThe new version differs by 14 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 6.2.1Bug fixes
CommitsThe new version differs by 14 commits.
See the full diff |
Update to this version instead 🚀 Release Notes for 7.0.0Breaking changes
CommitsThe new version differs by 23 commits.
There are 23 commits in total. See the full diff |
|
|
|
|
|
|
|
|
|
🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚 Find out how to migrate to Snyk at greenkeeper.io
|
Version 2.0.0 of ws just got published.
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 ws.
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.
Release Notes
2.0.0Breaking changes
new
operator is now required to create all instances as we moved to ES6 classes.clients
property of theWebSocketServer
is no longer anArray
but aSet
and is only set if theclientTracking
option is truthy (#806).WebSocketServer
s when binding them to the same underlying HTTP/s server (#885).WebSocket.prototype.stream()
and ability to pass a readable stream toWebSocket.prototype.send()
(#875).handleProtocols
handler (#890).supports
property fromWebSocket
(#918).WebSocket.createServer()
,WebSocket.createConnection()
, andWebSocket.connect()
factory functions (#926).WebSocket.prototype.ping()
andWebSocket.prototype.pong()
is no longer an options object but a boolean (#951).WebSocket.prototype.close()
is called before the connection is established (#956).The following breaking changes only apply if you required the mentioned classes
directly.
Sender
inheritance fromEventEmitter
(#861).BufferPool
class (73ab370).extensions
a required argument for theReceiver
constructor (5f53194).receiver.onbinary
andreceiver.ontext
have been merged intoreceiver.onmessage
(#939).Features
WebSocketServer
(#795).checkServerIdentity
option toWebSocket
(#701).threshold
option for permessage-deflate to only compress messages whose size is bigger thanthreshold
(6b3904b).shouldHandle
method toWebSocketServer
to see if a request should be accepted or rejected. This method can be overridden by the user if a custom logic is desired (6472425).removeEventListener
method toWebSocket
(078e96a).family
option toWebSocket
(#962).Bug fixes
error
events are now emitted with a properError
instance (#789).fin
option ofWebSocket.prototype.send()
was unconditionally set totrue
(ea50be7).zlib.flush()
was called with a wrong flush level (#733).WebSocketServer.prototype.close()
is now invoked when theclose
event is emitted by the underlying HTTP/s server (#892).connection
event was emitted even if the client closed the connection during the handshake process (04530ad).crypto.randomBytes()
instead ofMath.random()
(7253f06).clients
set (#955).WebSocket.prototype.close()
now works as expected if called on the client before the connection is established (#956).WebSocket.prototype.send()
no longer mutates the options object (#968).bufferedAmount
getter now takes into account the data queued in the sender (#971).Commits
The new version differs by 266 commits (ahead by 266, behind by 2).
cb50a29
[dist] 2.0.0
236ea22
[dist] 2.0.0-beta.2
d74a32e
[fix] Take into account the data queued in the sender (#971)
bc35fa4
chore(package): update eslint to version 3.14.0 (#974)
7fb84ba
Merge pull request #965 from websockets/remove/outdated-link
42f364e
[doc] Remove outdated link and rephrase sentence accordingly
24f0903
Merge pull request #966 from websockets/add/permessage-deflate-section
e62b9ba
[dist] 2.0.0-beta.1
ac2dade
[fix] Prevent WebSocket#close() from triggering an infinite loop (#969)
bd41a05
[fix] Use
Object.assign()
forsend()
options (#968)4d92092
[doc] Add WebSocket compression section
7bec220
[doc] Modernize examples
fd910f1
[feature] Accept hostname lookup
family
option (#962)19ce183
[dist] 2.0.0-beta.0
772a814
[fix] Abort the request if
close
is called while connecting (#956)There are 250 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 🌴