Add the ability to remove confidential headers on a per-redirect basis (#2030).
8.5.0
Features
Added the ability to use a custom WebSocket class on the server (#2007).
Bug fixes
When following redirects, the Authorization and Cookie headers are no
longer sent if the redirect host is different from the original host (#2013).
8.4.2
Bug fixes
Fixed a data framing issue introduced in version 8.4.1 (#2004).
8.4.1
Notable changes
To improve performance, strings sent via websocket.ping(),
websocket.pong(), and websocket.send() are no longer converted to
Buffers if the data does not need to be masked (#2000).
8.4.0
Features
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).
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.4.3 to 8.6.0.
Release notes
Sourced from ws's releases.
... (truncated)
Commits
ba214d9
[dist] 8.6.08e3f118
[feature] Introduce the'redirect'
event (#2030)69e6828
[ci] Test on node 180b6eb71
[ci] Do not test on node 17d062ded
[example] Fix require path2cf6202
[example] Use theWebSocket.WebSocket{,Server}
aliases62e9b19
[doc] Fix nits2619c00
[minor] Fix nit in commentd086f4b
[minor] MakeabortHandshake()
emit the error in the next tickff80d66
[test] Do not use a relative URLDependabot 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)