Skip to content

v2.168.0

Choose a tag to compare

@erossignon erossignon released this 04 Apr 07:43

Release Notes - v2.168.0

TL;DR:

Version 2.168.0 is a stability and performance release. It fixes a infinite recursion bug in response handling (#1490), fully migrates core packages from async/lodash to native modern JavaScript patterns, and introduces a more robust typed event system and certificate management architecture.


✨Features

  • Server: Added channelSecured event for post-handshake notifications [af7ef34].

🐛Bug Fixes

  • Core: Prevented infinite recursion in send_response when chunking fails (#1490) [51ef025].
  • Secure Channel: Implemented fallback to the latest valid token when a request's token expires [ae65dea].
  • Server: Deferred channel shutdown until after the ApplyChanges response is sent [8484b98].
  • Address Space: Fixed address-space-base imports and applied security hardening [d636f0c].
  • Maintenance: Resolved various TypeScript and Biome violations across the codebase [16302c4, 45a1406, 887a42d, 1372b5c].
  • Tests: Hardened server shutdown tests [c834243], added TokenStack fallback coverage [823f38d], and increased T73 secure channel renewal token lifetime to reduce flakiness [a13bbb0].

🔧 Refactoring & Improvements

  • Performance: Replaced async library [3269940] and lodash [b99520d] with native async/await, Promises, and targeted alternatives.
  • Type Safety: Unified certificate chain providers [49b8736] and implemented typed EventEmitter<T> patterns for server events [1f7040e].
  • Structure: Split conformance testing into focused modules [e4c5eb9] and cleaned up the address space conformance package [168a8f6].
  • Transport: Enhanced type safety and removed unsafe patterns in the transport layer [785d89f].
  • Security: Simplified push certificate management [dab64e9].
  • Debugability: Internal channel callbacks are now hidden from the debugger for a cleaner debugging experience [e0d2b40].
  • Testing Infrastructure: Hardened leak detector for Mocha 12 and tsx [c7170e5].

🧹 Chores

  • Updated Biome formatting [465eb93] and fixed misused Mocha timeout configurations [eac92cc].

👬🏽 Contributors

What's Changed