Skip to content

Releases: relaycorp/ws-mock-js

v4.1.0

10 Aug 14:51
Compare
Choose a tag to compare

4.1.0 (2021-08-10)

Features

  • MockWebSocket: Implement "ready states" (ebe95a3)

v4.0.2

10 Aug 14:03
Compare
Choose a tag to compare

4.0.2 (2021-08-10)

Bug Fixes

  • MockWebSocket: Require connection to be open when calling makeDuplex() (93289b9)

v4.0.1

10 Aug 12:41
Compare
Choose a tag to compare

4.0.1 (2021-08-10)

Bug Fixes

  • MockServer: Avoid closing connection if client already did (bdaea3e)

v4.0.0

10 Aug 11:23
Compare
Choose a tag to compare

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

09 Aug 16:43
Compare
Choose a tag to compare

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

09 Aug 16:31
Compare
Choose a tag to compare

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

09 Aug 16:10
Compare
Choose a tag to compare

2.5.1 (2021-08-09)

Bug Fixes

  • MockServerAction: Use events instead of setImmediate() (5a86ccf)

v2.5.0

09 Aug 14:04
a5bcf93
Compare
Choose a tag to compare

2.5.0 (2021-08-09)

Features

v2.4.1

28 Jul 20:14
Compare
Choose a tag to compare

2.4.1 (2021-07-28)

Bug Fixes

  • Close connection with 1005 status if no error occurred (2947d99)

v2.4.0

28 Jul 19:44
Compare
Choose a tag to compare

2.4.0 (2021-07-28)

Features

  • Close writable stream too when it's closed (95bf3f3)