Releases: relaycorp/ws-mock-js
Releases · relaycorp/ws-mock-js
v4.1.0
4.1.0 (2021-08-10)
Features
- MockWebSocket: Implement "ready states" (ebe95a3)
v4.0.2
4.0.2 (2021-08-10)
Bug Fixes
- MockWebSocket: Require connection to be open when calling makeDuplex() (93289b9)
v4.0.1
4.0.1 (2021-08-10)
Bug Fixes
- MockServer: Avoid closing connection if client already did (bdaea3e)
v4.0.0
4.0.0 (2021-08-10)
Features
- MockServer: Replace action classes with procedural approach (67fa931)
BREAKING CHANGES
- MockServer: Execute server actions within function passed to
MockServer.use()
.
- MockServer:
MockPeer.wasConnectionClosed
is now MockPeer.didPeerCloseConnection
.
v3.0.0
3.0.0 (2021-08-09)
Bug Fixes
- MockServer: Expose mock client with correct type (a810bae)
BREAKING CHANGES
- MockServer: Also rename property from
mockClientWebSocket
to client
.
v2.5.2
2.5.2 (2021-08-09)
Bug Fixes
- EmitClientErrorAction: Call parent's run() method (06f253a)
- MockServerAction: Revert use events instead of setImmediate() (2bd2792)
v2.5.1
2.5.1 (2021-08-09)
Bug Fixes
- MockServerAction: Use events instead of setImmediate() (5a86ccf)
v2.5.0
2.5.0 (2021-08-09)
Features
v2.4.1
2.4.1 (2021-07-28)
Bug Fixes
- Close connection with 1005 status if no error occurred (2947d99)
v2.4.0
2.4.0 (2021-07-28)
Features
- Close writable stream too when it's closed (95bf3f3)