v0.4.0
This release introduces the NitroRPC/0.4 protocol version with enhanced app session management, expanded network support, and improved infrastructure components for the Clearnode API.
Changelog
Nitrolite SDK
- Introduced
NitroRPC/0.4protocol version for improved communication between clients and servers. - Added support for app session deposits and withdrawals, enabling more flexible fund management within active sessions.
- Implemented app protocol enforcement to ensure consistent behavior across different client implementations.
- Upgraded critical dependencies including
viem(2.24.1→2.37.6) andzod(3.25.67→3.25.76) for improved security and performance. - Updated SDK version to
0.4.0to reflect the major protocol enhancements.
Clearnode
- Implemented app protocol enforcement: developers can no longer use the
protocolfield inside app sessions as custom values. Only two protocol versions are now supported:NitroRPC/0.2(maintains the same app sessions functionality as before) andNitroRPC/0.4(introduces new functionality). - Introduced
NitroRPC/0.4protocol version with support for app session deposits and withdrawals, enabling dynamic fund management during active sessions. When using this protocol version, two new required fields must be specified:versionandintent. - Enabled Flow and XRPL EVM network support on production, expanding the platform's blockchain compatibility.
- Exported RPC node, client, and dialer implementations in a public package for external integrations.
- Introduced comprehensive infrastructure improvements:
- Chain-agnostic signing package for multi-blockchain support
- Dedicated logging package for better debugging and monitoring
- RPC protocol package for standardized communication
- User action log store for audit trails and analytics
- Patched a security vulnerability when it was possible to challenge the channel with an older state. Clearnode now listens to such events and checkpoints with a newer valid state.
- Added
docker-composeconfiguration for simplified local development setup. - Upgraded to Go
1.25and updated multiple dependencies for improved performance and security.
The v0.4.0 API documentation can be found in the API docs of the ClearNode.