v2.168.0
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
channelSecuredevent for post-handshake notifications [af7ef34].
🐛Bug Fixes
- Core: Prevented infinite recursion in
send_responsewhen 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
ApplyChangesresponse is sent [8484b98]. - Address Space: Fixed
address-space-baseimports 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
asynclibrary [3269940] andlodash[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
👬🏽 Contributors
- Special thanks to @RatishKashyap of #1490 for their detailed report
What's Changed
- Refactor server by @erossignon in #1491
Full Changelog: v2.167.0...v2.168.0