Releases: kalm/kalm.js
Releases · kalm/kalm.js
v7.0.0
Major changes
- Added descriptions in TS definition file:
- Standardized parameter names and expected behavior
- Removed
secure
WS option, instead checking ifcert
andkey
are set - Routines.dynamic option
hz
is nowmaxInterval
and is measured in milliseconds - Renamed
provider
internally toserver
for easier understanding - Removed previously deprecated UDP
connectTimeout
option
- Removed
- 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 of0xffff
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
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
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
[v3.3.0]
[v3.2.2]
[v3.2.0]
- 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.