Skip to content

Releases: kalm/kalm.js

v7.0.0

23 Nov 05:53
Compare
Choose a tag to compare

Major changes

  • Added descriptions in TS definition file:
    kalm-descriptions
  • Standardized parameter names and expected behavior
    • Removed secure WS option, instead checking if cert and key are set
    • Routines.dynamic option hz is now maxInterval and is measured in milliseconds
    • Renamed provider internally to server for easier understanding
    • Removed previously deprecated UDP connectTimeout option
  • Added UDP idle timeout behavior, configurable with socketTimeout
  • Added WS idle timeout behavior, configurable with socketTimeout
  • Added WS agent option for passing a custom https.Agent.
  • frameId counter now goes up to 0xffffffff before cycling instead of 0xffff

Bug fixes

  • Fixed an issue in Routines.tick where all queues shared the same frameId counter
  • Routines.tick option seed now correctly sets the frameId and starts the counter to match the expected pace
  • Fixed references to Node modules in TS definitions

Housekeeping

  • Updated dependencies
  • Removed extraneous linting packages (using recommended instead)
  • Better ts definition management

Full Changelog: v6.0.0...v7.0.0

v6.0.0

27 Apr 04:39
47b810d
Compare
Choose a tag to compare

Features

  • Client reference in subscribe callback is now fully featured instead of a shallow config object.
  • Client.remote is now a const instead of a function (breaking change)
  • Client.local is now a const instead of a function (breaking change)
  • Bumped ws version

Bug fixes

  • Fixed importing when using typescript (breaking change)
  • Fixed socket remote info
  • Fixed multiple types, including opening port value to be a string

v5.0.0

06 Aug 13:16
Compare
Choose a tag to compare

This build focuses on streamlining serialisation to increase performance, now properly fixing multiplexing and reducing the bundle size.

Features

  • Fixed multiplexing

Breaking changes

  • Changed default packet framing to be a pure json object
  • Removed custom framing
  • Added packet message hard cap (0xFF) across all channels for a client
  • Frame Ids now cycle from 0-0xFFFF instead of 0-0xFF

v4.0.0

23 Jun 15:59
731491d
Compare
Choose a tag to compare

Added

  • Added more error messages
  • Added tests for transport packages
  • Added CHANGELOG and LICENSE to all packages
  • Added 'framing' option to set packet framing to be a pure json object

[v3.3.0]

17 Mar 22:41
Compare
Choose a tag to compare
  • Removes home implementation of EventEmitter in favor of Node's
  • Adds webrtc package and examples
  • Adds the getChannels method on Client

[v3.2.2]

03 Jan 20:04
Compare
Choose a tag to compare
  • Adds funding info
  • Migrated from Travis to Github actions
  • Small bug fixes

[v3.2.0]

11 Oct 20:25
55ce276
Compare
Choose a tag to compare
  • Reworked the entire typescript implementations
  • Changed bundle module spec (exnext & rollup'd -> none)
  • Centralized test tooling
  • Fixed linting in the project
  • Reworked documentation, naming and tooling
  • Deprecated a few stats events, formally introduced frames as a consumable event for decoded frames.

[v2.6.1]

17 Mar 22:46
7393d17
Compare
Choose a tag to compare
  • small bug fix on reply method

[v2.6.0]

17 Mar 22:47
5b71784
Compare
Choose a tag to compare
  • Adds documentation
  • Updated Provider output, adding the server property

[v2.5.1]

13 Oct 02:29
Compare
Choose a tag to compare

Performances are looking better.
The API is more solid.
Dependencies are secure.

This library is damn near close to perfection!