Closed greenkeeper[bot] closed 6 years ago
Update to this version instead π
The new version differs by 30 commits.
d390dc5
[dist] 4.1.0
a70bd65
[test] Fix typo
d8da1b2
[doc] Add missing zlibInflateOptions
option
053a322
[minor] Add zlib{Deflate,Inflate}Options
options (#1306)
f2b5105
chore(package): update eslint-plugin-import to version 2.9.0 (#1309)
84fa837
chore(package): update eslint-config-standard to version 11.0.0 (#1307)
36f249d
chore(package): update eslint to version 4.18.0 (#1304)
563edbd
[test] Use WebSocketServer#address()
75b6397
[fix] Ensure that the status code is not incorrectly overwritten
c8408c0
[doc] Fix docs for onerror
listener
9194770
[doc] Fix typo
98d1955
[doc] Add a link to isomorphic-ws (#1298)
8281940
chore(package): update eslint-plugin-node to version 6.0.0 (#1295)
8d61fa0
[api] Add WebSocketServer.prototype.address()
(#1294)
66b0d55
[minor] Use do...while
in Receiver#startLoop()
There are 30 commits in total.
See the full diff
Update to this version instead π
net.Socket
errors are no longer re-emitted (a4050db).The new version differs by 10 commits.
d3af506
[dist] 5.0.0
7abe823
[minor] Rename abortConnection
to abortHandshake
7fb82a3
[fix] Rename the 'close'
event to 'conclude'
fb05059
[test] Fix faulty test
3f80ab7
[major] Drop support for Node.js < 4.5.0 (#1313)
14538db
[major] Fix subprotocol handling (#1312)
3913c59
[benchmark] Fix parser benchmark
a4050db
[major] Do not re-emit net.Socket
errors
aa2c423
[minor] Do not use Readable.prototype.pipe()
70fff53
[minor] Make Receiver
inherit from stream.Writable
See the full diff
Update to this version instead π
address
argument of the WebSocket
constructor can now be a URL
options
argument of the WebSocket
constructor now accepts any TLShttps.request()
(#1332).The new version differs by 7 commits.
7c74567
[dist] 5.1.0
9e152f9
[feature] Allow all options accepted by http{,s}.request()
(#1332)
938cdde
chore(package): update eslint to version 4.19.0 (#1330)
1504d67
[fix] Allow URL instances as URL in WebSocket constructor (#1329)
57d3dbb
chore(package): update nyc to version 11.6.0 (#1326)
23f5957
[fix] Remove buffer noAssert
argument (#1324)
2a55dda
chore(package): update eslint-plugin-promise to version 3.7.0 (#1321)
See the full diff
Update to this version instead π
The new version differs by 5 commits.
10c92ff
[dist] 5.1.1
f335d79
[fix] Add default value for servername
option (#1347)
2d7bf88
[perf] Use js version of {un,}mask()
for very small frames (#1348)
f52debe
[doc] Explain the behavior of server.close()
more precisely (#1342)
83ce534
chore(package): update eslint-plugin-import to version 2.10.0 (#1340)
See the full diff
Update to this version instead π
The new version differs by 14 commits.
e4d032c
[dist] 5.2.0
e7bfe5f
chore(package): update mocha to version 5.2.0 (#1385)
6dae94b
chore(package): update eslint-plugin-import to version 2.12.0 (#1384)
aebda2b
chore(package): update nyc to version 11.8.0 (#1382)
d871bdf
[feature] Add headers
argument to verifyClient()
callback (#1379)
bb9c21c
[test] Fix failing test on node 10
6d8f1f4
[ci] Test on node 10
4385c78
[doc] Add request
to emit arguments in shared server example (#1372)
690b3f2
[minor] Replace bound function with arrow function
9dc25a3
chore(package): update nyc to version 11.7.1 (#1364)
a81e580
chore(package): update mocha to version 5.1.0 (#1362)
3215cf3
chore(package): update eslint-plugin-import to version 2.11.0 (#1361)
0100d82
[doc] Improve FAQ example for X-Forwarded-For header (#1360)
c801e99
[doc] Improve docs and examples (#1355)
See the full diff
Update to this version instead π
The new version differs by 5 commits.
175ce46
[dist] 5.2.1
307be7a
[fix] Remove the 'data'
listener when the receiver emits an error
6046a28
[fix] Do not prematurely remove the listener of the 'data'
event
bf9b2ec
chore(package): update nyc to version 12.0.2 (#1395)
bcab531
chore(package): update eslint-plugin-promise to version 3.8.0 (#1389)
See the full diff
Update to this version instead π
maxPayload
option on the client. Defaults to 100 MiB (#1402).memLevel
and level
options. UsezlibDeflateOptions
instead. (80e2002).The new version differs by 15 commits ahead by 15, behind by 2.
1ee42fd
[dist] 6.0.0
d963003
[example] Update dependencies
38d2e8b
chore(package): update eslint-plugin-node to version 7.0.0 (#1420)
fc95793
[fix] Fix use after invalidation bug
fbd4391
[fix] Fix compatibility with Node.js 6
b354cd1
[minor] Remove no longer needed workaround for socketPath
option
ef5a8f5
[pkg] Update eslint-plugin-standard to version 3.1.0
80e2002
[major] Drop support for the memLevel
and level
options
92d0a2e
[major] Add maxPayload
option for the client (#1402)
9f87842
[major] Make bundlers use a browser shim that throws an error (#1345)
72bfbe8
chore(package): update bufferutil to version 4.0.0 (#1413)
5bb29ed
chore(package): update utf-8-validate to version 5.0.0 (#1415)
3bc6b96
chore(package): update eslint to version 5.0.0 (#1403)
d73885c
[major] Drop support for Node.js 4
5d90141
chore(package): update eslint-plugin-import to version 2.13.0 (#1405)
See the full diff
Version 4.0.0 of ws was just published.
The version 4.0.0 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 ws.
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
4.0.0Breaking changes
no status code (a31b1f6).
onerror
event handler now receives anErrorEvent
instead of JavaScripterror (63e275e).
WebSocket.prototype.ping()
andWebSocket.prototype.pong()
is no longer a boolean but an optional callback(30c9f71).
protocolVersion
andbytesReceived
attributes have beenremoved (7f8ebc6...ee9b5f3).
extensions
attribute is no longer an object but a string representingthe extensions selected by the server (fdec524).
'headers'
event on the client has been renamed to'upgrade'
. Listenersof this event now receive only the
response
argument (1c783c2).WebSocket.prototype.pause()
andWebSocket.prototype.resume()
methodshave been removed to prevent the user from interfering with the state of the
underlying
net.Socket
stream (a206e98).Commits
The new version differs by 19 commits.
a04d985
[dist] 4.0.0
d03ada2
[minor] Rename some variables for clarity
a206e98
[major] Remove
WebSocket#pause()
andWebSocket#resume()
1c783c2
[major] Rename the 'headers' event to 'upgrade'
9bbc978
[test] Reorganize tests
fdec524
[fix] Fix
extentions
property type46461a9
[minor] Refactor server client initialization
ee9b5f3
[major] Remove non-standard
bytesReceived
attribute7f8ebc6
[major] Remove non-standard
protocolVersion
attribute30c9f71
[major] Make
WebSocket#p{i,o}ng()
accept an optional callback63e275e
[fix] Pass an
ErrorEvent
to theonerror
event handler3936f3a
[major] Rename modules files
63ce954
[major] Remove ErrorCodes module
695c5ea
[major] Improve error messages and use specific error types
a31b1f6
[fix] Use 1005 status code if close frame payload length is 0
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: