|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. |
4 | 4 |
|
| 5 | +## [20.4.0](https://github.com/paritytech/substrate-api-sidecar/compare/v20.3.2..v20.4.0) (2025-07-24) |
| 6 | + |
| 7 | +### Features |
| 8 | + |
| 9 | +- feat: Support /rc for remaining endpoints ([#1713](https://github.com/paritytech/substrate-api-sidecar/pull/1713)) ([82fd9b2](https://github.com/paritytech/substrate-api-sidecar/commit/82fd9b2)) |
| 10 | + - Adds comprehensive RC (Relay Chain) pallet endpoints including storage, constants, dispatchables, errors, and events |
| 11 | +- feat: Add RC Runtime Endpoints for Relay Chain Access ([#1708](https://github.com/paritytech/substrate-api-sidecar/pull/1708)) ([3e38c0f](https://github.com/paritytech/substrate-api-sidecar/commit/3e38c0f)) |
| 12 | + - Introduces `/rc/runtime/code`, `/rc/runtime/metadata`, and `/rc/runtime/spec` endpoints |
| 13 | +- feat: Add RC Node Endpoints for Relay Chain Access ([#1710](https://github.com/paritytech/substrate-api-sidecar/pull/1710)) ([3b14547](https://github.com/paritytech/substrate-api-sidecar/commit/3b14547)) |
| 14 | + - Adds `/rc/node/network`, `/rc/node/transaction-pool`, and `/rc/node/version` endpoints |
| 15 | +- feat: Asset Hub migration and elastic scaling preparation - Array responses for `useRcBlock`, remove `rcAt` in favor of `useRcBlock` ([#1709](https://github.com/paritytech/substrate-api-sidecar/pull/1709)) |
| 16 | +([1c97088](https://github.com/paritytech/substrate-api-sidecar/commit/1c97088)) |
| 17 | + - Standardizes relay chain block queries using `useRcBlock` parameter across all endpoints |
| 18 | +- feat: Add remaining Accounts endpoints with `/rc` prefix ([#1704](https://github.com/paritytech/substrate-api-sidecar/pull/1704)) ([1376c35](https://github.com/paritytech/substrate-api-sidecar/commit/1376c35)) |
| 19 | + - Introduces `/rc/accounts/:address/balance-info` and `/rc/accounts/:address/proxy-info` endpoints |
| 20 | +- feat: Support `rcAt` for `/pallets/*` endpoints ([#1703](https://github.com/paritytech/substrate-api-sidecar/pull/1703)) ([00f8311](https://github.com/paritytech/substrate-api-sidecar/commit/00f8311)) |
| 21 | + - Enables relay chain block queries for pallet endpoints using `rcAt` parameter |
| 22 | +- feat: support `useRcBlock` for `/blocks/*` endpoints ([#1702](https://github.com/paritytech/substrate-api-sidecar/pull/1702)) ([c350c7e](https://github.com/paritytech/substrate-api-sidecar/commit/c350c7e)) |
| 23 | + - Adds relay chain block support for block-related endpoints |
| 24 | +- feat: Support `rcAt` for all applicable `/accounts/*` endpoints ([#1701](https://github.com/paritytech/substrate-api-sidecar/pull/1701)) ([9fcddc9](https://github.com/paritytech/substrate-api-sidecar/commit/9fcddc9)) |
| 25 | + - Extends relay chain block queries to account endpoints |
| 26 | +- feat: Add `rcAt` query parameter support for Asset Hub Migration ([#1700](https://github.com/paritytech/substrate-api-sidecar/pull/1700)) ([9febf6e](https://github.com/paritytech/substrate-api-sidecar/commit/9febf6e)) |
| 27 | + - Initial implementation of relay chain block querying functionality |
| 28 | +- feat: post AHM historical support for `/pallets/staking/progress` using local BABE calculations ([#1695](https://github.com/paritytech/substrate-api-sidecar/pull/1695)) |
| 29 | +([e3948b7](https://github.com/paritytech/substrate-api-sidecar/commit/e3948b7)) |
| 30 | + - Adds historical staking progress support after Asset Hub Migration |
| 31 | +- feat: `/rc/accounts/:accountId/balance-info` endpoint ([#1692](https://github.com/paritytech/substrate-api-sidecar/pull/1692)) ([a90ec1e](https://github.com/paritytech/substrate-api-sidecar/commit/a90ec1e)) |
| 32 | + - First RC endpoint implementation for relay chain account balance queries |
| 33 | + |
| 34 | +### Fix |
| 35 | + |
| 36 | +- fix: tests in controllerInjection ([#1715](https://github.com/paritytech/substrate-api-sidecar/pull/1715)) ([6dca5f8](https://github.com/paritytech/substrate-api-sidecar/commit/6dca5f8)) |
| 37 | +- fix: Ensure `rcBlockNumber` is always a number ([#1714](https://github.com/paritytech/substrate-api-sidecar/pull/1714)) ([02f4788](https://github.com/paritytech/substrate-api-sidecar/commit/02f4788)) |
| 38 | + - Ensures `rcBlockNumber` returns actual block numbers instead of hashes or "latest" |
| 39 | +- fix: Fixes authorId for chains using the nimbus consensus engine ([#1698](https://github.com/paritytech/substrate-api-sidecar/pull/1698)) ([c71bc54](https://github.com/paritytech/substrate-api-sidecar/commit/c71bc54)) (Thanks to https://github.com/RomarQ) |
| 40 | +- fix: remove unneccessary logging ([#1689](https://github.com/paritytech/substrate-api-sidecar/pull/1689)) ([b5f276a](https://github.com/paritytech/substrate-api-sidecar/commit/b5f276a)) |
| 41 | + |
| 42 | +### Chores |
| 43 | + |
| 44 | +- chore(deps): upgrade chopsticks, and polkadot-js, remove resolutions ([#1685](https://github.com/paritytech/substrate-api-sidecar/pull/1685)) ([cfd18b8](https://github.com/paritytech/substrate-api-sidecar/commit/cfd18b8)) |
| 45 | + |
| 46 | +## Compatibility |
| 47 | + |
| 48 | +Tested against the following node releases: |
| 49 | +- Polkadot v1.18.0 (Polkadot stable2503-5) |
| 50 | +- Kusama v1.18.0 (Polkadot stable2503-5) |
| 51 | +- Westend v1.18.0 (Polkadot stable2503-5) |
| 52 | + |
| 53 | +Tested against the following runtime releases: |
| 54 | +- Polkadot v1006001 |
| 55 | +- Kusama v1006001 |
| 56 | +- Westend v1018013 |
| 57 | +- Polkadot Asset Hub v1005001 |
| 58 | +- Kusama Asset Hub v1006000 |
| 59 | +- Westend Asset Hub v1018013 |
| 60 | + |
| 61 | +### Extra Notes |
| 62 | + |
| 63 | +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 |
| 64 | + |
| 65 | +#### Endpoints Supporting `useRcBlock` Query Parameter |
| 66 | + |
| 67 | +**Account Endpoints:** |
| 68 | +- `/accounts/:address/balance-info` |
| 69 | +- `/accounts/:address/asset-balances` |
| 70 | +- `/accounts/:address/asset-approvals` |
| 71 | +- `/accounts/:address/pool-asset-balances` |
| 72 | +- `/accounts/:address/pool-asset-approvals` |
| 73 | +- `/accounts/:address/proxy-info` |
| 74 | +- `/accounts/:address/staking-info` |
| 75 | +- `/accounts/:address/staking-payouts` |
| 76 | +- `/accounts/:address/vesting-info` |
| 77 | + |
| 78 | +**Block Endpoints:** |
| 79 | +- `/blocks` |
| 80 | +- `/blocks/head` |
| 81 | +- `/blocks/:number` |
| 82 | +- `/blocks/head/header` |
| 83 | +- `/blocks/:number/header` |
| 84 | +- `/blocks/:blockId/extrinsics/:extrinsicIndex` |
| 85 | +- `/blocks/:blockId/extrinsics-raw` |
| 86 | + |
| 87 | +**Pallet Endpoints:** |
| 88 | +- `/pallets/:palletId/storage` |
| 89 | +- `/pallets/:palletId/storage/:storageItemId` |
| 90 | +- `/pallets/:palletId/consts` |
| 91 | +- `/pallets/:palletId/consts/:constantItemId` |
| 92 | +- `/pallets/:palletId/events` |
| 93 | +- `/pallets/:palletId/events/:eventItemId` |
| 94 | +- `/pallets/:palletId/errors` |
| 95 | +- `/pallets/:palletId/errors/:errorItemId` |
| 96 | +- `/pallets/:palletId/dispatchables` |
| 97 | +- `/pallets/:palletId/dispatchables/:dispatchableItemId` |
| 98 | +- `/pallets/assets/:assetId/asset-info` |
| 99 | +- `/pallets/pool-assets/:assetId/asset-info` |
| 100 | +- `/pallets/asset-conversion/*` |
| 101 | +- `/pallets/on-going-referenda` |
| 102 | + |
| 103 | +#### Endpoints with `/rc` Prefix |
| 104 | + |
| 105 | +**RC Account Endpoints:** |
| 106 | +- `/rc/accounts/:address/balance-info` |
| 107 | +- `/rc/accounts/:address/proxy-info` |
| 108 | + |
| 109 | +**RC Block Endpoints:** |
| 110 | +- `/rc/blocks` |
| 111 | +- `/rc/blocks/head` |
| 112 | +- `/rc/blocks/:number` |
| 113 | +- `/rc/blocks/head/header` |
| 114 | +- `/rc/blocks/:number/header` |
| 115 | +- `/rc/blocks/:blockId/extrinsics/:extrinsicIndex` |
| 116 | +- `/rc/blocks/:blockId/extrinsics-raw` |
| 117 | + |
| 118 | +**RC Pallet Endpoints:** |
| 119 | +- `/rc/pallets/:palletId/storage` |
| 120 | +- `/rc/pallets/:palletId/storage/:storageItemId` |
| 121 | +- `/rc/pallets/:palletId/consts` |
| 122 | +- `/rc/pallets/:palletId/consts/:constantItemId` |
| 123 | +- `/rc/pallets/:palletId/events` |
| 124 | +- `/rc/pallets/:palletId/events/:eventItemId` |
| 125 | +- `/rc/pallets/:palletId/errors` |
| 126 | +- `/rc/pallets/:palletId/errors/:errorItemId` |
| 127 | +- `/rc/pallets/:palletId/dispatchables` |
| 128 | +- `/rc/pallets/:palletId/dispatchables/:dispatchableItemId` |
| 129 | +- `/rc/pallets/on-going-referenda` |
| 130 | + |
| 131 | +**RC Runtime Endpoints:** |
| 132 | +- `/rc/runtime/code` |
| 133 | +- `/rc/runtime/metadata` |
| 134 | +- `/rc/runtime/spec` |
| 135 | + |
| 136 | +**RC Node Endpoints:** |
| 137 | +- `/rc/node/network` |
| 138 | +- `/rc/node/transaction-pool` |
| 139 | +- `/rc/node/version` |
| 140 | + |
| 141 | + |
5 | 142 | ## [20.3.2](https://github.com/paritytech/substrate-api-sidecar/compare/v20.3.1..v20.3.2) (2025-06-16) |
6 | 143 |
|
7 | 144 | ### Fix |
|
0 commit comments