Skip to content

v0.96.0 - Major refactoring beta.6

Pre-release
Pre-release

Choose a tag to compare

@andrevmatos andrevmatos released this 10 Feb 11:34
· 315 commits to main since this release
983178a

What's Changed

Changelog:

  • SDK: Breaking: Move allSupportedChains to @chainlink/ccip-sdk/all entry point (fixes tree-shaking in esbuild/Bun/Parcel)
  • CLI: Add kebab-case aliases for multi-word commands (manual-exec, get-supported-tokens, parse-bytes, parse-data)
  • CLI: Add --fee-tokens flag to getSupportedTokens command to list fee tokens instead of transferable tokens
  • SDK: Breaking: CCIPRequest now includes optional metadata?: APICCIPRequestMetadata field
    • API fields (status, receiptTransactionHash, deliveryTime, etc.) moved under metadata
    • Migration: Change request.status to request.metadata?.status
  • SDK: Breaking: Remove APICCIPRequest type - use CCIPRequest with metadata field instead
  • SDK: Improve JSDoc for RateLimiterState - clarify that null means rate limiting is disabled
  • SDK: Improve JSDoc for getTokenPoolRemotes and TokenPoolRemote - clarify Record keys are chain names
  • SDK: Add named types TokenPoolConfig and RegistryTokenConfig for clearer IDE hints
  • SDK: Rename getTokenPoolConfigs to getTokenPoolConfig for consistency (returns single config)
  • SDK: Add Chain.getTokenPoolRemote for fetching single remote config by chainSelector
  • SDK: Fix sleep() browser compatibility - use optional chaining for .unref() which is Node.js-only
  • SDK: Add TOKEN_REMOTE_NOT_CONFIGURED error code for missing TokenPool remote chain configurations
  • SDK: Fix EVM getTokenPoolRemotes to throw CCIPTokenPoolChainConfigNotFoundError when remote token is not configured
  • SDK: Fix Aptos getTokenPoolRemotes to throw CCIPTokenPoolChainConfigNotFoundError when remote chain config is missing
  • TON: Full send support

Full Changelog: v0.95.0...v0.96.0