Releases: relaycorp/ws-mock-js
Releases · relaycorp/ws-mock-js
v5.2.3
5.2.3 (2023-02-09)
Bug Fixes
- deps: bump minimatch from 3.0.4 to 3.1.2 (#157) (66e00d0)
v5.2.2
5.2.2 (2022-06-23)
Bug Fixes
v5.2.1
5.2.1 (2022-06-14)
Bug Fixes
- MockPeer: Allow close() reason to be string (0146fc3)
v5.2.0
5.2.0 (2022-06-13)
Bug Fixes
- Allow close reason to be string too (37c77b5)
- MockWebSocket: Prevent ERR_STREAM_PREMATURE_CLOSE on Node.js 18+ (2e2f02b)
Features
- MockServer: Revert wrapping of client/server errors in
.use()
(ad79fdd)
v5.1.0
5.1.0 (2022-06-13)
Features
- MockServer: Distinguish client vs server errors in
.use()
(48915e9)
v5.0.1
5.0.1 (2022-03-28)
Bug Fixes
- deps: bump minimist from 1.2.5 to 1.2.6 (#125) (a1c772d)
v5.0.0
5.0.0 (2022-03-16)
Bug Fixes
- Make close reason a
Buffer
instead of a string
(d9e3eb3)
BREAKING CHANGES
- Calls to
MockServer.close()
and MockClient.close()
must now pass the reason as a buffer, if a reason is passed.
v4.2.0
4.2.0 (2021-08-11)
Features
- Implement closing handshake (3be8f92)
v4.1.2
4.1.2 (2021-08-10)
Bug Fixes
- MockPeer: Close peer when aborting (73b28e0)
v4.1.1
4.1.1 (2021-08-10)
Bug Fixes
- MockWebSocket: Catch unhandled exceptions in
.use()
(5245f90)