Releases: paritytech/substrate-api-sidecar
v20.4.1
Fix
Compatibility
Tested against the following node releases:
- Polkadot v1.18.0 (Polkadot stable2503-5)
- Kusama v1.18.0 (Polkadot stable2503-5)
- Westend v1.18.0 (Polkadot stable2503-5)
Tested against the following runtime releases:
- Polkadot v1006001
- Kusama v1006001
- Westend v1018013
- Polkadot Asset Hub v1005001
- Kusama Asset Hub v1006000
- Westend Asset Hub v1018013
v20.4.0
Features
- feat: Support /rc for remaining endpoints (#1713) (82fd9b2)
- Adds comprehensive RC (Relay Chain) pallet endpoints including storage, constants, dispatchables, errors, and events
- feat: Add RC Runtime Endpoints for Relay Chain Access (#1708) (3e38c0f)
- Introduces
/rc/runtime/code
,/rc/runtime/metadata
, and/rc/runtime/spec
endpoints
- Introduces
- feat: Add RC Node Endpoints for Relay Chain Access (#1710) (3b14547)
- Adds
/rc/node/network
,/rc/node/transaction-pool
, and/rc/node/version
endpoints
- Adds
- feat: Asset Hub migration and elastic scaling preparation - Array responses for
useRcBlock
, removercAt
in favor ofuseRcBlock
(#1709)
(1c97088)- Standardizes relay chain block queries using
useRcBlock
parameter across all endpoints
- Standardizes relay chain block queries using
- feat: Add remaining Accounts endpoints with
/rc
prefix (#1704) (1376c35)- Introduces
/rc/accounts/:address/balance-info
and/rc/accounts/:address/proxy-info
endpoints
- Introduces
- feat: Support
rcAt
for/pallets/*
endpoints (#1703) (00f8311)- Enables relay chain block queries for pallet endpoints using
rcAt
parameter
- Enables relay chain block queries for pallet endpoints using
- feat: support
useRcBlock
for/blocks/*
endpoints (#1702) (c350c7e)- Adds relay chain block support for block-related endpoints
- feat: Support
rcAt
for all applicable/accounts/*
endpoints (#1701) (9fcddc9)- Extends relay chain block queries to account endpoints
- feat: Add
rcAt
query parameter support for Asset Hub Migration (#1700) (9febf6e)- Initial implementation of relay chain block querying functionality
- feat: post AHM historical support for
/pallets/staking/progress
using local BABE calculations (#1695)
(e3948b7)- Adds historical staking progress support after Asset Hub Migration
- feat:
/rc/accounts/:accountId/balance-info
endpoint (#1692) (a90ec1e)- First RC endpoint implementation for relay chain account balance queries
Fix
- fix: tests in controllerInjection (#1715) (6dca5f8)
- fix: Ensure
rcBlockNumber
is always a number (#1714) (02f4788)- Ensures
rcBlockNumber
returns actual block numbers instead of hashes or "latest"
- Ensures
- fix: Fixes authorId for chains using the nimbus consensus engine (#1698) (c71bc54) (Thanks to https://github.com/RomarQ)
- fix: remove unneccessary logging (#1689) (b5f276a)
Chores
Compatibility
Tested against the following node releases:
- Polkadot v1.18.0 (Polkadot stable2503-5)
- Kusama v1.18.0 (Polkadot stable2503-5)
- Westend v1.18.0 (Polkadot stable2503-5)
Tested against the following runtime releases:
- Polkadot v1006001
- Kusama v1006001
- Westend v1018013
- Polkadot Asset Hub v1005001
- Kusama Asset Hub v1006000
- Westend Asset Hub v1018013
Extra Notes
This release introduces comprehensive Relay Chain (RC) endpoint support for Asset Hub instances. For detailed documentation on the useRcBlock
parameter and RC endpoints, see: https://hackmd.io/bsNiDWbMRROB4olHbUtuaA
Endpoints Supporting useRcBlock
Query Parameter
Account Endpoints:
/accounts/:address/balance-info
/accounts/:address/asset-balances
/accounts/:address/asset-approvals
/accounts/:address/pool-asset-balances
/accounts/:address/pool-asset-approvals
/accounts/:address/proxy-info
/accounts/:address/staking-info
/accounts/:address/staking-payouts
/accounts/:address/vesting-info
Block Endpoints:
/blocks
/blocks/head
/blocks/:number
/blocks/head/header
/blocks/:number/header
/blocks/:blockId/extrinsics/:extrinsicIndex
/blocks/:blockId/extrinsics-raw
Pallet Endpoints:
/pallets/:palletId/storage
/pallets/:palletId/storage/:storageItemId
/pallets/:palletId/consts
/pallets/:palletId/consts/:constantItemId
/pallets/:palletId/events
/pallets/:palletId/events/:eventItemId
/pallets/:palletId/errors
/pallets/:palletId/errors/:errorItemId
/pallets/:palletId/dispatchables
/pallets/:palletId/dispatchables/:dispatchableItemId
/pallets/assets/:assetId/asset-info
/pallets/pool-assets/:assetId/asset-info
/pallets/asset-conversion/*
/pallets/on-going-referenda
Endpoints with /rc
Prefix
RC Account Endpoints:
/rc/accounts/:address/balance-info
/rc/accounts/:address/proxy-info
RC Block Endpoints:
/rc/blocks
/rc/blocks/head
/rc/blocks/:number
/rc/blocks/head/header
/rc/blocks/:number/header
/rc/blocks/:blockId/extrinsics/:extrinsicIndex
/rc/blocks/:blockId/extrinsics-raw
RC Pallet Endpoints:
/rc/pallets/:palletId/storage
/rc/pallets/:palletId/storage/:storageItemId
/rc/pallets/:palletId/consts
/rc/pallets/:palletId/consts/:constantItemId
/rc/pallets/:palletId/events
/rc/pallets/:palletId/events/:eventItemId
/rc/pallets/:palletId/errors
/rc/pallets/:palletId/errors/:errorItemId
/rc/pallets/:palletId/dispatchables
/rc/pallets/:palletId/dispatchables/:dispatchableItemId
/rc/pallets/on-going-referenda
RC Runtime Endpoints:
/rc/runtime/code
/rc/runtime/metadata
/rc/runtime/spec
RC Node Endpoints:
/rc/node/network
/rc/node/transaction-pool
/rc/node/version
v20.3.2
v20.3.1
Fix
Compatibility
Tested against the following node releases:
- Polkadot v1.18.0 (Polkadot stable2503-5)
- Kusama v1.18.0 (Polkadot stable2503-5)
- Westend v1.18.0 (Polkadot stable2503-5)
Tested against the following runtime releases:
- Polkadot v1005001
- Kusama v1005001
- Westend v1018011
v20.3.0
Features
- feat: AHM support for staking routes (part 1) (#1636) (819c3df)
- This also introduces the addition of
SAS_SUBSTRATE_MULTI_CHAIN_URL
- This also introduces the addition of
- feat: Add historic compatibility to staking AHM (part 2) (#1671) (7c29820)
Fix
- fix: add xcmVersion in DryRunCall (#1649) (b2fee7d)
- fix: Polymesh chain spec names + add controllers (31655) ()
Chores
- chore(deps): bump @substrate/calc from 0.3.1 to 0.3.2 (#1634) (3310e20)
- chore(deps): bump express from 5.0.1 to 5.1.0 (#1633) (6b43d6f)
- chore(deps): bump docker/build-push-action from 6.15.0 to 6.16.0 (#1640) (9cc1e37)
- chore(deps): bump the pjs group across 1 directory with 7 updates (#1638) (e6e91f0)
- chore(deps): bump http-proxy-middleware from 2.0.7 to 2.0.9 in /docs (#1643) (9b4aa7e)
- chore(deps): bump the pjs group with 5 updates (#1648) (8e4051d)
- chore(deps): bump docker/build-push-action from 6.16.0 to 6.17.0 (#1650) (faa9cf1)
- chore(deps-dev): bump @types/express from 5.0.1 to 5.0.2 (#1651) (46c2d32)
- chore(deps): bump docker/build-push-action from 6.17.0 to 6.18.0 (#1654) (23f536f)
- chore(deps): bump the pjs group with 7 updates (#1652) (6ffa1aa)
- chore(deps): update polkadot-js deps to v16.0.1 (#1656) (e4c4d42)
- chore(deps): bump the pjs group with 5 updates (#1657) (549bc51)
- chore(deps-dev): bump webpack-dev-server from 5.2.0 to 5.2.1 in /docs (#1659) (fa64739)
Compatibility
Tested against the following node releases:
- Polkadot v1.18.0 (Polkadot stable2503-5)
- Kusama v1.18.0 (Polkadot stable2503-5)
- Westend v1.18.0 (Polkadot stable2503-5)
Tested against the following runtime releases:
- Polkadot v1005001
- Kusama v1005001
- Westend v1018011
v20.2.2
Fix
- fix: small updates in injection tests (#1629) (f2066e0)
- fix: replace unavailable endpoint (#1627) (dbdb1d6)
Chores
- chore(deps-dev): bump @types/express from 5.0.0 to 5.0.1 (#1623) (bd0b57a)
- chore(deps): bump lru-cache from 11.0.2 to 11.1.0 (#1624) (0ca4fcf)
- chore(deps): bump actions/create-github-app-token from 1 to 2 (#1626) (f7dc001)
- chore(deps): bump Swatinem/rust-cache from 2.7.7 to 2.7.8 (#1621) (6f6ae64)
- chore(deps): bump the pjs group with 5 updates (#1625) (d9c832e)
- chore(deps): update deps & small fixes in calc (#1628) (219b8ad)
Compatibility
Tested against the following node releases:
- Polkadot v1.18.0 (Polkadot stable2503-3)
- Kusama v1.18.0 (Polkadot stable2503-3)
- Westend v1.18.0 (Polkadot stable2503-3)
Tested against the following runtime releases:
- Polkadot v1004001
- Kusama v1004001
- Westend v1018001
v20.2.1
Perf
Fix
Chores
- chore(deps): update deps in /docs (#1619) (37a3ebb)
- chore(deps): bump axios from 1.7.7 to 1.8.3 in /docs (#1618) (dec24d7)
- chore(deps): bump @babel/runtime-corejs3 from 7.26.0 to 7.26.10 in /docs (#1617) (01670c1)
- chore(deps): bump @babel/runtime from 7.23.9 to 7.26.10 in /docs (#1616) (b980479)
- chore(deps): update polkadot-js deps to v15.8.1 (#1615) (8a79dcc)
Compatibility
Tested against the following node releases:
- Polkadot v1.17.3 (Polkadot stable2412-3)
- Kusama v1.17.3 (Polkadot stable2412-3)
- Westend v1.17.3 (Polkadot stable2412-3)
Tested against the following runtime releases:
- Polkadot v1004001
- Kusama v1004001
- Westend v1018001
v20.2.0
Features
- feat: inject controllers using metadata's definition of pallets (#1592) (2aa6e6a)
- feat: [AHM] - Add AH Next Westend chain (#1586) (7217e6e)
Fix
- fix: foreign asset multilocation as hex (#1605) (e65ba2b)
- fix: asset-hub-next specName (#1604) (38a3f84)
Chores
- chore(deps): update polkadot-js deps to v15.7.1 (#1606) (0ad81d1)
- chore(deps): bump docker/build-push-action from 6.14.0 to 6.15.0 (#1603) (e665b7a)
- chore(deps): bump docker/build-push-action from 6.13.0 to 6.14.0 (#1598) (2c926c7)
- chore(deps): bump rxjs from 7.8.1 to 7.8.2 (#1602) (18b0014)
Compatibility
Tested against the following node releases:
- Polkadot v1.17.2 (Polkadot stable2412-2)
- Kusama v1.17.2 (Polkadot stable2412-2)
- Westend v1.17.2 (Polkadot stable2412-2)
Tested against the following runtime releases:
- Polkadot v1004000
- Kusama v1004001
- Westend v1017001
v20.1.0
Features
- feat: add
accounts/compare
endpoint (#1597) (191e68a) - feat: add
includeClaimedRewards
query param in staking-info (#1593) (ed8b04a)
Chores
Compatibility
Tested against the following node releases:
- Polkadot v1.17.1 (Polkadot stable2412-1)
- Kusama v1.17.1 (Polkadot stable2412-1)
- Westend v1.17.1 (Polkadot stable2412-1)
Tested against the following runtime releases:
- Polkadot v1003004
- Kusama v1004000
- Westend v1017001
v20.0.0
Breaking Changes
-
fix: claimed in staking info endpoint (#1445) (e11955a)
NOTE: This PR introduces breaking changes in the
staking-info
endpoint. More specifically:- The field
claimed
in the endpoint's response has changed structure and now we have a separate status for each era returned. - The status values are different for validator and nominator account.
- The logic that calculates the era status was completely refactored.
Please refer to the documents mentioned in the related PR for more details:
- The field
Fix
- fix: make scripts executable again in benchmark workflow (#1589) (22db863)
- fix: benchmark-publish job (github action) (#1585) (d87bc07)
Chores
- chore(deps-dev): bump @types/express-serve-static-core from 5.0.5 to 5.0.6 (#1588) (2ad52e0)
- chore(deps): bump the pjs group with 5 updates (#1587) (274e844)
- chore(deps): update polkadot-js deps to v15.5.1 (#1583) (fd7d7b7)
- chore(deps): bump docker/build-push-action from 6.11.0 to 6.13.0 (#1580) (18f33f4)
- chore(deps-dev): bump @types/express-serve-static-core from 5.0.4 to 5.0.5 (#1578) (398a98c)
- chore(deps-dev): bump @types/express-serve-static-core from 5.0.3 to 5.0.4 (#1574) (194f3e7)
- chore(deps): bump the pjs group with 5 updates (#1573) (fc95cd0)
- chore(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 (#1572) (51ab44b)
Compatibility
Tested against the following node releases:
- Polkadot v1.17.1 (Polkadot stable2412-1)
- Kusama v1.17.1 (Polkadot stable2412-1)
- Westend v1.17.1 (Polkadot stable2412-1)
Tested against the following runtime releases:
- Polkadot v1003004
- Kusama v1003003
- Westend v1017001