85 lines
3.5 KiB
Markdown
85 lines
3.5 KiB
Markdown
# Mock Socket Changelog
|
|
|
|
### v9.3.1 (Sep 11th, 2023)
|
|
|
|
- [#383](https://github.com/thoov/mock-socket/pull/383) [BUGFIX] Calling close in the CONNECTING state should not cause onopen to be called #383
|
|
|
|
### v9.3.0 (Sep 5th, 2023)
|
|
|
|
- [#382](https://github.com/thoov/mock-socket/pull/382) The send() method now only throws when the socket is in the CONNECTING state
|
|
|
|
### v9.2.1 (Feb 14th, 2023)
|
|
|
|
- [#376](https://github.com/thoov/mock-socket/pull/376) Do not normalize data when emitting to socket.io sockets
|
|
|
|
### v9.2.0 (Feb 9th, 2023)
|
|
|
|
- [#373](https://github.com/thoov/mock-socket/pull/373) Handle proxy events properly
|
|
- [#370](https://github.com/thoov/mock-socket/pull/370),
|
|
[#368](https://github.com/thoov/mock-socket/pull/368),
|
|
[#313](https://github.com/thoov/mock-socket/pull/313),
|
|
[#333](https://github.com/thoov/mock-socket/pull/333),
|
|
[#334](https://github.com/thoov/mock-socket/pull/334),
|
|
[#369](https://github.com/thoov/mock-socket/pull/369),
|
|
[#375](https://github.com/thoov/mock-socket/pull/375) Bump dependencies
|
|
|
|
### v9.1.5 (June 5th, 2022)
|
|
|
|
- [#362](https://github.com/thoov/mock-socket/pull/362) [BUGFIX] Event handler getters should return a single function
|
|
|
|
### v9.1.4 (May 25th, 2022)
|
|
|
|
- [#298](https://github.com/thoov/mock-socket/pull/298) [BUGFIX] close listener of the socket isn't called when client close
|
|
|
|
### v9.1.3 (April 20th, 2022)
|
|
|
|
- [#355](https://github.com/thoov/mock-socket/pull/355) Bump url-parse from 1.5.2 to 1.5.9
|
|
|
|
### v9.1.2 (January 25th, 2022)
|
|
|
|
- [#352](https://github.com/thoov/mock-socket/pull/352) fix SocketIO types
|
|
|
|
### v9.1.1 (January 25th, 2022)
|
|
|
|
- [#351](https://github.com/thoov/mock-socket/pull/351) add types for SocketIO
|
|
|
|
### v9.1.0 (January 13th, 2022)
|
|
|
|
- [#348](https://github.com/thoov/mock-socket/pull/348) [BUGFIX] Address misspelling of cancelBuble
|
|
- [#349](https://github.com/thoov/mock-socket/pull/349) add mock options param to prevent stubbing global
|
|
|
|
### v9.0.8 (November 15th, 2021)
|
|
|
|
- [#343](https://github.com/thoov/mock-socket/pull/343) trim query params for attachServer method lookup
|
|
- [#335](https://github.com/thoov/mock-socket/pull/335) Update type of url parameter of websocket constructor
|
|
|
|
### v9.0.7 (November 1st, 2021)
|
|
|
|
- [#342](https://github.com/thoov/mock-socket/pull/342) Accessing to websocket proxy via server clients
|
|
|
|
### v9.0.6 (October 18th, 2021)
|
|
|
|
- [#338](https://github.com/thoov/mock-socket/pull/338) [BUGFIX] Use default codes for close event
|
|
- [#340](https://github.com/thoov/mock-socket/pull/340) Build optimisations
|
|
|
|
### v9.0.5 (September 30th, 2021)
|
|
|
|
- [#312](https://github.com/thoov/mock-socket/pull/312) [BUGFIX] Fix null pointer exceptions
|
|
- [#296](https://github.com/thoov/mock-socket/pull/296) [BUGFIX] Add the hasListeners method to client socket
|
|
- [#314](https://github.com/thoov/mock-socket/pull/314), \#316, \#318, \#321, \#323, \#330, \#331, \#332 Bump versions
|
|
- [#336](https://github.com/thoov/mock-socket/pull/336) Remove src folder from npm
|
|
|
|
### v9.0.4 (September 27th, 2021)
|
|
|
|
- [#240](https://github.com/thoov/mock-socket/pull/240) [BUGFIX] Fixed undefined readyState for WebSockets after closing connection in Server
|
|
- [#328](https://github.com/thoov/mock-socket/pull/328) [BUGFIX] Use native typed arguments for WebSocket event handlers
|
|
|
|
### v9.0.2 (October 9th, 2019)
|
|
|
|
- [#285](https://github.com/thoov/mock-socket/pull/285) [BUGFIX] Removing .git directory from npm package + cleanup
|
|
|
|
### v9.0.1 (October 5th, 2019)
|
|
|
|
- [#281](https://github.com/thoov/mock-socket/pull/281) [BUGFIX] Updating the workflow
|
|
- [#276](https://github.com/thoov/mock-socket/pull/276) [BUGFIX] Export ES Module format with .mjs extension
|