Added ability to generate custom masking keys (#1990).
8.3.0
Features
Added ability to pause and resume a WebSocket (0a8c7a9c).
Bug fixes
Fixed a bug that could prevent the connection from being closed cleanly when
using the stream API (ed2b8039).
When following redirects, an error is now emitted and not thrown if the
redirect URL is invalid (#1980).
8.2.3
Bug fixes
When context takeover is enabled, messages are now compressed even if their size
is below the value of the perMessageDeflate.threshold option (41ae5631).
8.2.2
Bug fixes
Some closing operations are now run only if needed (ec9377ca).
8.2.1
Bug fixes
Fixed an issue where the socket was not resumed, preventing the connection
from being closed cleanly (869c9892).
8.2.0
Features
Added WebSocket.WebSocket as an alias for WebSocket and
WebSocket.WebSocketServer as an alias for WebSocket.Server to fix name
consistency and improve interoperability with the ES module wrapper (#1935).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps ws from 7.5.6 to 8.4.0.
Release notes
Sourced from ws's releases.
... (truncated)
Commits
00c34d7
[dist] 8.4.035d45c2
[perf] Skip masking and unmasking if the masking key is zeroeb2e3a8
[feature] Introduce thegenerateMask
optionc82b087
[dist] 8.3.00a8c7a9
[api] AddWebSocket#pause()
andWebSocket#resume()
ed2b803
[fix] Resume the socket in theCLOSING
stateb8186dd
[fix] Do not throw if the redirect URL is invalid (#1980)5a905e4
[minor] Add missing label to the issue form89d81e8
[minor] Fix nit4916d03
[minor] Allow to write frames with up to 2^48 - 1 bytes of data (#1973)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)