Skip to content

Conversation

@fed135
Copy link
Member

@fed135 fed135 commented Jul 31, 2025

Breaking changes

  • Updated bundling for greater compatibility (exports may behave differently)
  • Deprecated the WebRTC Transport (too convoluted to fit the Kalm model)
  • Changed the signature of the frame event handler from (frame: RawFrame, payloadBytes: number) to ({ body: RawFrame, payloadBytes: number}) to ensure all event handlers only have one arguments.

Minor changes

  • Added support for the new native WS APIs in Node 22 and later
  • Removed yarn from the toolchain. There's no reason to keep it now that NPM workspaces are more mature.
  • Deprecated the agent property for the WS Transport
  • Migrated the underlying Node EventEmitter to the cross-platform EventTarget system. A translation layer should keep end-user code intact.
  • Fixed server connections not getting cleaned up
  • Removed empty channels from frame payloads, saving bandwidth
  • Changed the subscribe handler's second argument name from frame to context, to reduce confusion with its nested frame property.
  • Fixed missing UDP client connect event.
  • Removed the potentially misleading argument in the connect event since it only exposes the unbound socket.
  • Bumped engines requirement to Node 20.x

@fed135 fed135 merged commit f8816cc into master Jul 31, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants