Skip to content

Releases: paritytech/asset-transfer-api

v1.1.1

29 Aug 08:18
d320f80

Choose a tag to compare

Changelog

v1.1.1

Docs

  • docs: Update README with a deprecation notice (#653)

v1.1.0

26 Aug 12:58
70919be

Choose a tag to compare

v1.1.0

Chore

  • chore(deps-dev): bump tsx from 4.20.3 to 4.20.5 (#659)
  • chore(deps): bump the pjs group with 6 updates (#658)
  • chore(deps-dev): bump typedoc from 0.28.10 to 0.28.11 (#657)
  • chore(deps-dev): bump knip from 5.62.0 to 5.63.0 (#656)
  • chore(deps-dev): bump @types/node from 24.2.1 to 24.3.0 (#655)
  • chore(deps): bump amannn/action-semantic-pull-request from 5 to 6 (#654)
  • chore(deps): bump actions/checkout from 4 to 5 (#651)
  • chore(deps-dev): bump @types/node from 24.2.0 to 24.2.1 (#650)
  • chore(deps): bump the pjs group with 3 updates (#649)
  • chore(deps-dev): bump typedoc from 0.28.9 to 0.28.10 (#648)
  • chore(deps): bump the pjs group with 6 updates (#645)
  • chore(deps-dev): bump typescript from 5.8.3 to 5.9.2 (#644)
  • chore(deps-dev): bump typedoc from 0.28.8 to 0.28.9 (#643)
  • chore(deps-dev): bump @types/node from 24.1.0 to 24.2.0 (#642)
  • chore(deps-dev): bump @types/node from 24.0.15 to 24.1.0 (#638)
  • chore(deps): bump the pjs group with 9 updates (#637)
  • chore(deps-dev): bump typedoc from 0.28.7 to 0.28.8 (#636)
  • chore(deps-dev): bump @types/node from 24.0.14 to 24.0.15 (#631)
  • chore(deps-dev): bump knip from 5.61.3 to 5.62.0 (#630)
  • chore(deps-dev): bump @acala-network/chopsticks-testing from 1.2.0 to 1.2.1 (#629)
  • chore(deps-dev): bump @acala-network/chopsticks-utils from 1.2.0 to 1.2.1 (#628)
  • chore(deps-dev): bump @acala-network/chopsticks from 1.2.0 to 1.2.1 (#627)
  • chore(deps): bump the pjs group across 1 directory with 5 updates (#624)
  • chore(deps-dev): bump @types/node from 24.0.10 to 24.0.13 (#622)
  • chore: yarn dedupe (#618)
  • chore(deps-dev): bump knip from 5.61.2 to 5.61.3 (#615)
  • chore(deps-dev): bump @types/node from 24.0.4 to 24.0.10 (#614)
  • chore(deps): bump the pjs group with 9 updates (#613)
  • chore(deps-dev): bump @acala-network/chopsticks-testing from 1.1.0 to 1.1.1 (#606)
  • chore(deps-dev): bump typedoc from 0.28.5 to 0.28.7 (#605)

Feat

  • feat: Verify originChainId matches the chain id looked up from specName (#647)
  • feat: Add runtime validation for XcmMultiLocation (#641)
  • feat: Make Registry options optional (#633)
  • feat: Add example for getDestinationXcmWeightToFeeAsset (#617)

Fix

  • fix: PJS version mismatches (#646)
  • fix: Typo in error; "assetIid" -> "assetId" (#639)
  • fix: Check assets individually in claimAssets(...) (#635)
  • fix: Update sanitizeKeys to match polkadot-sdk XCM types (#600)

Refactor

  • refactor: transferAssetsUsingTypeAndThenCleanup (#634)
  • refactor: Remove parseLocationStrToLocation (#612)
  • refactor: parseLocationStrToLocation to require xcmCreator (#610)
  • refactor: Remove benficiary types as they are just MultiLocations (#608)
  • refactor: Use knip to remove dead code and clean up dependencies (refactoring along the way) (#604)
  • refactor: Consolidate some duplicated tests and remove a few redundant files (#603)

Test

  • test: Consolidate resolveMultiLocation tests (#640)
  • test: Improve xcm version handling in getAssetId unit tests (#632)
  • test: Asset Hub <-> Astar e2e tests (#626)
  • test: Skip flaky integration test. (#616)

V1.0.0

26 Jun 11:15
cc5d059

Choose a tag to compare

1.0.0

Breaking Changes

  • No longer implicitly change XCM version when dealing with ForeignAssets
  • Changed default XCM version to 4

Feat

  • feat: Improve fetchSafeXcmVersion to throw error on unsupported versions (#589)
  • feat: XCM v5 (#590)
  • feat: Add CI job to unit test code across node versions. (#583)

Refactor

  • refactor: Decouple XCM versioning from Direction logic handlers (#598)
    • BREAKING CHANGE: xcmVersion is no longer implicitly change to V4 when dealing with ForeignAssets transfers. xcmVersion must be explicitly set to V4 or greater.
  • refactor: Consolidate FungibleStrAssetType and FungibleObjAssetType (#596)
  • refactor: Remove isForeignAssetsTransfer from fetchCallType (#585)
  • refactor: Move to object params for private methods with many arguments (#584)

Fix

  • fix: example building + add CI step to catch failure of any example code (#581)
  • test: fix failing integration test (#580)

Docs

  • docs: add top level NOTICE and remove individual copyright headers (#601)

Chore

  • chore(deps-dev): bump vitest from 3.2.3 to 3.2.4 (#599)
  • chore(deps): bump the pjs group across 1 directory with 6 updates (#595)
  • chore(deps-dev): bump @acala-network/chopsticks-core from 1.0.6 to 1.1.0 (#593)
  • chore(deps): bump the pjs group with 4 updates (#594)
  • chore(deps-dev): bump tsx from 4.19.4 to 4.20.3 (#592)
  • chore(deps-dev): bump @acala-network/chopsticks-testing from 1.0.6 to 1.1.0 (#591)
  • chore: Update default xcm version from v2 to v4. (#588)
    • BREAKING CHANGE: Default behaviour may change if xcmVersion has not been explicitly set.
  • chore(deps-dev): bump vitest from 3.2.0 to 3.2.3 (#587)
  • chore(deps): bump @polkadot/types-codec from 16.1.1 to 16.1.2 in the pjs group (#586)

Test

  • test: refactor e2e + add simple westend / westend asset hub e2e test (#579)

v0.7.2

03 Jun 07:25
f8eebf5

Choose a tag to compare

0.7.2

Fix

  • fix: replace assert with with to support newer node versions (#577)
  • fix: dryRun requires xcmVersion, so use safeXcmVersion if none given (#571)

Chore

  • chore(deps-dev): bump @acala-network/chopsticks-core from 1.0.5 to 1.0.6 (#576)
  • chore(deps-dev): bump @acala-network/chopsticks-testing from 1.0.5 to 1.0.6 (#575)
  • chore(deps): bump @polkadot/types-codec from 16.0.1 to 16.1.1 in the pjs group (#574)
  • chore(deps-dev): bump vitest from 3.1.4 to 3.2.0 (#573)
  • chore(deps-dev): bump vitest from 3.1.3 to 3.1.4 (#568)
  • chore(deps): bump the pjs group with 6 updates (#567)
  • chore(deps-dev): bump typedoc from 0.28.4 to 0.28.5 (#566)
  • chore(deps): bump @polkadot/types-codec from 15.9.2 to 15.10.2 in the pjs group (#564)

Test

  • test: Remove moonbeam e2e tests involving asset (+ lint ignore fix) (#572)

v0.7.1

19 May 20:13
52a057f

Choose a tag to compare

0.7.1

Fix

  • feat: Add ESM support while maintaining CJS support (#561)

v0.7.0

12 May 18:23
v0.7.0
7628dc4

Choose a tag to compare

Fix

  • fix: add xcmVersion arg to DryRunCall (#553)(5cda6e6)

    BREAKING CHANGE

    • The DryRunCall now takes also the xcmVersion as an argument.

Docs

  • docs: fix broken relative path to e2e examples (#555)(820003d)

Chore

  • chore(deps): update deps (#554)(04e3de3)
  • chore(deps-dev): bump typedoc from 0.28.3 to 0.28.4 (#552)(6eede23)
  • chore(deps-dev): bump vitest from 3.1.2 to 3.1.3 (#551)(5ea1dd8)

v0.6.1

01 May 19:57
v0.6.1
56c8f4e

Choose a tag to compare

Chore

  • chore(deps): update non pjs deps (#549)(67e9f94)
  • chore(deps): update polkadot-js deps (#548)(45e93fe)
  • chore(deps): bump the pjs group across 1 directory with 6 updates (#542)(26fc6e0)
  • chore(deps-dev): bump typedoc from 0.28.2 to 0.28.3 (#541)(fe6713e)
  • chore(deps-dev): bump vitest from 3.1.1 to 3.1.2 (#543)(04a32e5)
  • chore(deps): bump @acala-network/chopsticks-core from 1.0.3 to 1.0.4 (#537)(e5d923e)
  • chore(deps-dev): bump typedoc-theme-hierarchy from 5.0.5 to 6.0.0 (#535)(6007bb0)
  • chore(deps): bump @acala-network/chopsticks-testing from 1.0.3 to 1.0.4 (#536)(16f0dc5)
  • chore(deps-dev): bump typedoc from 0.28.1 to 0.28.2 (#534)(c0c4495)
  • chore(deps-dev): bump typedoc-theme-hierarchy from 5.0.4 to 5.0.5 (#532)(7e36951)
  • chore(deps-dev): bump vitest from 3.0.9 to 3.1.1 (#531)(1459c8b)
  • chore(deps): bump the pjs group with 4 updates (#530)(e9dde78)
  • chore(deps-dev): bump typedoc-plugin-missing-exports from 3.1.0 to 4.0.0 (#529)(5708aa2)
  • chore(deps-dev): bump typedoc from 0.28.0 to 0.28.1 (#528)(4411500)
  • chore(deps-dev): bump vitest from 3.0.8 to 3.0.9 (#525)(70f1bd8)
  • chore(deps-dev): bump typedoc from 0.27.9 to 0.28.0 (#524)(4e95b4d)

Fix

  • fix: check if X1 exists in multilocation (#546)(17874c9)
  • fix: add type guards to fix error from getDestinationXcmWeightToFeeAsset (#540)(a19b5fc)
  • fix: handle error when xcmpaymentapi is not found (#533)(8d62f7d)
  • fix: Change package entry point (#527)(901482f)

v0.6.0

14 Mar 05:03
39aae8b

Choose a tag to compare

Feat

  • feat: add dest xcm fee check for forwarded xcms (#519)(2a70a42)

Chore

  • (#522)(81db2f8)
  • chore(deps-dev): bump vitest from 3.0.7 to 3.0.8 (#521)(9484b42f)
  • chore(deps): bump the pjs group with 4 updates (#520)(8581846)
  • chore(deps-dev): bump vitest from 3.0.6 to 3.0.7 (#518)(0ba31ab)
  • chore(deps): bump @acala-network/chopsticks-core from 1.0.2 to 1.0.3 (#517)(6ec3325)
  • chore(deps-dev): bump typedoc from 0.27.8 to 0.27.9 (#516)(7da05a6)
  • chore(deps): bump @acala-network/chopsticks-testing from 1.0.2 to 1.0.3 (#515)(73e5f9a)
  • chore(deps): bump the pjs group with 4 updates (#514)(48e3fb7)
  • chore(deps-dev): bump vitest from 3.0.5 to 3.0.6 (#513)(c175a97)
  • chore(deps-dev): bump typedoc from 0.27.7 to 0.27.8 (#512)(b57809d)
  • chore(deps): bump the pjs group with 4 updates (#511)(465d2af)
  • chore(deps): bump the pjs group with 2 updates (#510)(7d9e3b8)
  • chore(deps-dev): bump typedoc from 0.27.6 to 0.27.7 (#509)(fc0871a)
  • chore(deps-dev): bump vitest from 3.0.4 to 3.0.5 (#508)(21a13e8)
  • chore(deps): bump the pjs group with 4 updates (#507)(8928c27)
  • chore(deps-dev): bump vitest from 3.0.2 to 3.0.4 (#506)(765f73b)
  • chore(deps): bump @acala-network/chopsticks-core from 1.0.1 to 1.0.2 (#505)(88c04cc)
  • chore(deps): bump @acala-network/chopsticks-testing from 1.0.1 to 1.0.2 (#504)(ba16c37)
  • chore(deps): bump the pjs group with 4 updates (#503)(3d99714)
  • chore(deps): update asset transfer api registry (#502)(ed76677)
  • chore(deps-dev): bump vitest from 2.1.8 to 3.0.2 (#500)(e88d93c)
  • chore(deps): bump the pjs group with 4 updates (#499)(3f9648d)

Test

v0.5.0

08 Jan 00:09
f9360ec

Choose a tag to compare

Chore

  • chore(deps): update pjs (#496)(fa010be)
  • chore(deps-dev): bump typedoc from 0.27.5 to 0.27.6 (#494)(b39abae)
  • chore(deps-dev): bump chalk from 5.3.0 to 5.4.1 (#492)(040adb4)
  • chore(deps-dev): bump typedoc-theme-hierarchy from 5.0.3 to 5.0.4 (#491)(3a9afd1)

Fix

Test

Feat

v0.4.5

19 Dec 07:05
3be6c47

Choose a tag to compare

Test

Fix

Docs

  • docs: Update README.md and add installation instructions for examples (#454)(029ec73)

Chore

  • chore(deps): update pjs (#484)(664ba3c)
  • chore(deps-dev): bump typedoc from 0.27.2 to 0.27.4 (#480)(710ab6e)
  • chore(deps-dev): bump typedoc from 0.26.11 to 0.27.2 (#479)(44f4ef8)
  • chore(deps): bump the pjs group with 4 updates (#478)(21359a7)
  • chore(deps-dev): bump typedoc-plugin-missing-exports from 3.0.0 to 3.1.0 (#477)(5d12392)
  • chore(deps): bump the pjs group across 1 directory with 6 updates (#476)(54f46b5)
  • chore(deps): revert bump @substrate/asset-transfer-api-registry from 0.2.24 to 0.2.25 (#472)(b1f004c)
  • chore(deps-dev): bump @substrate/dev from 0.8.0 to 0.9.0 (#471)(e5c0881)
  • chore(deps-dev): bump typedoc from 0.26.10 to 0.26.11 (#470)(a104c49)
  • chore(deps): bump the pjs group with 6 updates (#469)(7c87c81)
  • chore(deps): bump @substrate/asset-transfer-api-registry from 0.2.24 to 0.2.2 (#468)(9ad862a)
  • chore(deps-dev): bump chalk from 4.1.2 to 5.3.0 (#467)(65e9f5f)
  • chore(deps-dev): bump typedoc-theme-hierarchy from 4.0.0 to 5.0.3 (#466)(601026b)
  • chore(deps): bump the pjs group across 1 directory with 6 updates (#465)(630624d)
  • chore(deps-dev): bump @types/cli-progress from 3.11.5 to 3.11.6(#463)(d8c6de2)
  • chore(deps-dev): bump typedoc from 0.25.4 to 0.26.10 (#462)(4c42bf5)
  • chore(deps-dev): bump typedoc-plugin-missing-exports from 1.0.0 to 3.0.0 (#461)(1d9dccb)
  • chore(deps-dev): bump @substrate/dev from 0.7.1 to 0.8.0 (#460)(b66d5a7)
  • chore: declare explicit pjs dependencies (#458)(151f964)
  • chore: enable dependabot (#457)(b5af4c6)
  • chore: run prettier format (#456)(d13b8a0)
  • chore(deps): bump tar from 6.1.13 to 6.2.1 (#453)(da25d80)
  • chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#452)(ab5e927)
  • chore(deps): bump braces from 3.0.2 to 3.0.3 (#451)(7704d7f)