v0.1.0
Stable release candidate promoted from the v0.1.0.alpha.
Performance Improvements
- Reduced binary data-channel send overhead.
- Reduced binary message copies in the native bridge.
- Added native batching for data-channel message dispatch.
- Improved data-channel message throughput and setup latency.
- Sped up peer setup and data-channel ID checks.
- Deferred native data-channel close handling to reduce close-path overhead.
Correctness Fixes
- Preserved data-channel batch ordering.
- Fixed empty message batch flush indexing.
- Restored per-send
bufferedAmountbehavior. - Synced
bufferedAmountduring paired local delivery. - Stabilized data-channel close timing.
- Gated initial data-channel messages so early bursts are delivered correctly.
- Fixed message listeners added during
onmessageso they receive later messages in the same burst.
Native Layer
- Improved Node-API event dispatch internals.
- Batched native data-channel message events before crossing into JavaScript.
- Reduced ArrayBuffer copying by moving binary payload ownership into the JavaScript-facing event object.
- Tuned libdatachannel configuration for the data-channel profile.
Testing
- Added regression coverage for message listeners registered during message dispatch.
- Kept the selected WPT data-channel profile as the conformance target.
Full Changelog: v0.1.0-alpha.0...v0.1.0