Skip to content

v0.4.0

Choose a tag to compare

@philanton philanton released this 14 Oct 10:39
· 375 commits to main since this release
ba6f478

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.4 protocol 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.12.37.6) and zod (3.25.673.25.76) for improved security and performance.
  • Updated SDK version to 0.4.0 to reflect the major protocol enhancements.

Clearnode

  • Implemented app protocol enforcement: developers can no longer use the protocol field inside app sessions as custom values. Only two protocol versions are now supported: NitroRPC/0.2 (maintains the same app sessions functionality as before) and NitroRPC/0.4 (introduces new functionality).
  • Introduced NitroRPC/0.4 protocol 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: version and intent.
  • 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-compose configuration for simplified local development setup.
  • Upgraded to Go 1.25 and updated multiple dependencies for improved performance and security.

The v0.4.0 API documentation can be found in the API docs of the ClearNode.