Skip to content

Releases: litert/websocket.js

v0.2.3

08 Apr 07:28
v0.2.3
c1ed695
Compare
Choose a tag to compare

Changes

  • fix(connection): added default write-callback in case of missing uncaught exception.

Full Changelog: v0.2.2...v0.2.3

v0.2.2

31 Mar 16:05
v0.2.2
459f6a4
Compare
Choose a tag to compare

CHANGES

  • feat(connection): added drain event supports.
  • feat(connection): added maxMessageSize readonly property on connections.
  • feat(connection): now createMessageWriter method returns a Writable stream.
  • feat(connection): all write method supports callback parameter for draining.
  • feat(connection): refactored the writing logic.
  • fix(connection): close the connection correctly on received CLOSE opcode.
  • fix(encoding): simplified the code of encoder.
  • fix(encoding): failed to decode an empty FIN frame under SIMPLE mode.
  • fix(encoding): failed to decode an empty FIN frame under STANDARD mode.
  • fix(encoding): a message will be consume multiple times under STANDARD mode.

Full Changelog: v0.2.1...v0.2.2

v0.2.1

22 Mar 14:31
v0.2.1
4163ee9
Compare
Choose a tag to compare

Changes

  • fix(client): connection close during handshaking should throw an error.

v0.2.0

18 Feb 04:34
v0.2.0
7e4324b
Compare
Choose a tag to compare

CHANGES

Notable

  • Added full CONTINUATION frame supprots.

Details

  • build(project): use term message instead of frame.
  • feat(connection): added MessageWriter for writing fragmented messages.
  • feat(encoding): added simple mode for decoding with CONTINUATION frames.
  • fix(client): add websocket handshake headers to the request automatically.
  • fix(encoding): finish decoding empty frame immediately when full header is received.
  • fix(connection): renamed frame event to message.

Full Changelog: v0.1.2...v0.2.0

v0.1.2

06 Feb 13:38
v0.1.2
b3bdde6
Compare
Choose a tag to compare

Changes

  • fix(connection): should send TEXT frame with writeText method.

v0.1.1

16 Dec 07:18
v0.1.1
308dfe2
Compare
Choose a tag to compare

Changes

  • fix(connection): did not reset timeout if it is zero.

v0.1.0

03 Nov 02:34
v0.1.0
007217a
Compare
Choose a tag to compare

First release