v0.96.0 - Major refactoring beta.6
Pre-release
Pre-release
What's Changed
- Add basic API integration test suite by @PabloMansanet in #119
- update docs by @aelmanaa in #121
- fix(sdk): remove .unref() from sleep for browser compatibility by @aelmanaa in #122
- feat(sdk): add named types for token pool methods by @aelmanaa in #123
- fix(sdk): add optional metadata field to CCIPRequest for API-specific data by @aelmanaa in #126
- fix: estimateGas for tokens with allowlists by @andrevmatos in #120
- feat(cli): add kebab-case aliases and move fee tokens to send command by @aelmanaa in #129
- Support ExtraArgsV3 for EVM chains by @PabloMansanet in #128
- Add CCIP send message support for TON by @Farber98 in #113
- Chain-fork tests (prool + anvil) by @PabloMansanet in #130
- fix(sdk): move allSupportedChains to separate entry point by @aelmanaa in #134
Changelog:
- SDK: Breaking: Move
allSupportedChainsto@chainlink/ccip-sdk/allentry 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-tokensflag togetSupportedTokenscommand to list fee tokens instead of transferable tokens - SDK: Breaking:
CCIPRequestnow includes optionalmetadata?: APICCIPRequestMetadatafield- API fields (
status,receiptTransactionHash,deliveryTime, etc.) moved undermetadata - Migration: Change
request.statustorequest.metadata?.status
- API fields (
- SDK: Breaking: Remove
APICCIPRequesttype - useCCIPRequestwithmetadatafield instead - SDK: Improve JSDoc for
RateLimiterState- clarify thatnullmeans rate limiting is disabled - SDK: Improve JSDoc for
getTokenPoolRemotesandTokenPoolRemote- clarify Record keys are chain names - SDK: Add named types
TokenPoolConfigandRegistryTokenConfigfor clearer IDE hints - SDK: Rename
getTokenPoolConfigstogetTokenPoolConfigfor consistency (returns single config) - SDK: Add
Chain.getTokenPoolRemotefor 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_CONFIGUREDerror code for missing TokenPool remote chain configurations - SDK: Fix EVM
getTokenPoolRemotesto throwCCIPTokenPoolChainConfigNotFoundErrorwhen remote token is not configured - SDK: Fix Aptos
getTokenPoolRemotesto throwCCIPTokenPoolChainConfigNotFoundErrorwhen remote chain config is missing - TON: Full
sendsupport
Full Changelog: v0.95.0...v0.96.0