Skip to content

Commit 1cf8c87

Browse files
authored
chore(release): 20.4.0 (#1716)
* chore(release): 20.4.0 * Adjust changelog * contribution thanks
1 parent 6dca5f8 commit 1cf8c87

4 files changed

Lines changed: 140 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,143 @@
22

33
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.
44

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+
5142
## [20.3.2](https://github.com/paritytech/substrate-api-sidecar/compare/v20.3.1..v20.3.2) (2025-06-16)
6143

7144
### Fix

docs/dist/app.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/src/openapi-v1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
license:
99
name: GPL-3.0-or-later
1010
url: https://github.com/paritytech/substrate-api-sidecar/blob/master/LICENSE
11-
version: 20.3.2
11+
version: 20.4.0
1212
servers:
1313
- url: https://polkadot-public-sidecar.parity-chains.parity.io/
1414
description: Polkadot Parity public sidecar

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "20.3.2",
2+
"version": "20.4.0",
33
"name": "@substrate/api-sidecar",
44
"description": "REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.",
55
"homepage": "https://github.com/paritytech/substrate-api-sidecar#readme",

0 commit comments

Comments
 (0)