Skip to content

Latest commit

 

History

History
2332 lines (1399 loc) · 156 KB

CHANGELOG.md

File metadata and controls

2332 lines (1399 loc) · 156 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

19.0.1 (2024-05-24)

Fix

  • fix: duplicate payouts in staking-payouts endpoint (#1439) (b751ca4)
  • fix: add asset conversion pallet to Polkadot Asset Hub (#1437) (1c42f70)

Chore

  • chore(deps): update all non polkadot-js deps (#1442) (bb83189)
  • chore(deps): update polkadot-js deps & README (#1441) (7fb4844)

Compatibility

Tested against:

  • Polkadot v11200
  • Kusama v11200
  • Westend v11200

19.0.0 (2024-04-24)

Breaking Changes

  • fix!: add new staking storage items (#1432) (317edba) NOTE: This PR introduces breaking changes in the staking-payouts endpoint. More specifically:
    1. The payouts for eras after the v1.2.0 runtime upgrade are now retrieved and returned in the endpoint's response
    2. The payouts are retrieved by using the new storage items erasStakersPaged and erasStakersOverview
    3. The use of erasStakersClipped is deprecated but still supported. It will be completely removed in the future
  • fix!: staking payouts change claimed value (#1429) (abf4d9d) NOTE: This PR introduces breaking changes in the staking-payouts endpoint. More specifically:
    1. Payouts with claimed false are now retrieved and returned in the endpoint's response
    2. Payouts are now retrievable from any block height within the queried era

Feat

Fix

  • fix: add deprecation note for paras endpoints (#1428) (3ed7cbe)
  • fix: define query param depth in Staking Payouts for all chains (#1422) (c73c801)

Chore

  • chore(deps): update polkadot-js deps (#1434) (d2c05f2)
  • chore(deps): update polkadot-js deps (#1430) (80571f8)
  • chore(deps): bump tar from 6.1.15 to 6.2.1 (#1427) (395b39b)
  • chore: bump tar from 6.1.12 to 6.2.1 in /docs (#1426) (467ecdd)
  • chore: bump undici from 5.28.3 to 5.28.4 in /docs (#1425) (360b6ab)
  • chore(deps): bump express from 4.18.3 to 4.19.2 (#1420) (5951085)
  • chore(deps): bump express from 4.18.1 to 4.19.2 in /docs (#1419) (d4ceb44)
  • chore(deps): bump webpack-dev-middleware from 5.3.1 to 5.3.4 in /docs (#1418) (51a4a68)

Compatibility

Tested against:

  • Polkadot v11000
  • Kusama v11000
  • Westend v11000

18.0.0 (2024-03-21)

Breaking Changes

  • feat!: add in-transit XCM msgs in blocks endpoint (#1412) (6028086)
    • NOTE: This PR introduces breaking changes in the blocks endpoint when decoded XCM messages are enabled. More specifically:
      1. The structure of the Upward Messages response has changed
      2. paraId was renamed to originParaId

Fix

  • fix: add Kusama chain check in historic blocks (#1415) (cfbcddd)
  • fix: multilocation type in pallets/foreign-assets (#1408) (b7136d0)

Chore

  • fix(deps): update pjs deps, and fixing types (#1416) (b5eded8)
  • chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 in /docs (#1414) (e20f782)
  • chore(deps): update non-pjs deps (#1407) (96c9f11)

Compatibility

Tested against:

  • Polkadot v10800
  • Kusama v10800
  • Westend v10800

17.5.2 (2024-03-01)

Fix

  • fix: add more historic support for staking-payouts (#1397) (b1e84be)

Chore

  • chore(deps): bump ip from 1.1.8 to 1.1.9 in /docs (#1399) (b7480fb)
  • chore(deps): bump ip from 2.0.0 to 2.0.1 (#1398) (d751ba8)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.5.1(2024-02-07)

Fix

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.5.0(2024-02-06)

Feat

  • feat: add at query param for staking-payouts (#1388) (a8b96ff)
  • feat: Add endpoint /accounts/{accountId}/proxy-info (#1387) (9addf07)

Fix

  • fix: add asset conversion pallet to Kusama Asset Hub (#1389) (3b447c6)
  • fix: added decodedXcmMsgs in 'blocks/head' endpoint (#1385) (90b89de)

Docs

  • docs(calc): Updated README for calc package (#1386) (cc80227)

Ci

Chore

  • chore(deps): update swagger-ui to resolve braintree dep (#1392) (3a42a38)
  • chore(yarn): update yarn to 4.1.0 (#1390) (02166de)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.4.0 (2024-01-24)

Features

  • feat: add decoded XCM data in blocks endpoint (#1364) (555817c)

Fix

  • fix: generated a custom key for the cache in blocks endpoint (#1381) (17cbd2c)

Docs

  • docs: correct the /transaction/material docs for metadata (#1377) (ca163c7)

Chore

  • chore(deps): bump Swatinem/rust-cache from 2.7.1 to 2.7.2 (#1380) (8eca817)
  • chore(deps): bump Swatinem/rust-cache from 2.7.2 to 2.7.3 (#1382) (792d5bb)
  • chore(deps): bump actions/cache from 3 to 4 (#1383) (95987f5)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.3.5 (2024-01-10)

Fix

  • fix: changed how claimed variable is set in staking-payouts (#1378) (0560806)

Perf

  • perf: add additional high load benchmarks for /blocks (#1372) (c3d9d01)

Docs

Chore

  • chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /docs (#1376) (b2aab7d)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.3.4 (2024-01-05)

Fix

  • fix: ensure statemine, and statemint are still supported (#1374) (ca5079a)

Chore

  • chore(pjs): update polkadot-js, and fix staking ledger types (#1371) (ceea8eb)

Compatibility

Tested against:

  • Polkadot v10500
  • Kusama v10500
  • Westend v10500

17.3.3 (2023-12-21)

NOTE This release focuses on improving the performance of the tool resolving a regression where blocks were overwhelmed with transactions. The noFees query parameter focuses on removing fee info for the blocks if the user does not intend on needing fees. For more general cases where fees are necessary we have increased the performance of querying /blocks while also calculating fees. This was done with 2 cases: ensuring transactionPaidFee, and ExtrinsicSuccess or ExtrinsicFailure info is used to its fullest so we can avoid making any additional rpc calls, as well as ensuring the extrinsic's are called concurrently.

Perf

Fix

  • fix: add finalizedKey query param to /blocks/{blockId} (#1362) (ecd1518)
  • fix: added query to calc fees (#1366) (203a257) NOTE: this added the noFees={bool} query param to specify whether to retrieve or not the fees information of the block for the /blocks/* endpoint

Test

  • test(e2e): replace tests pointing to deprecated pallets (#1363) (2a38b2e)

Compatibility

Tested against:

  • Polkadot v10400
  • Kusama v10400
  • Westend v10400

17.3.2 (2023-11-26)

Fix

  • fix: add override types for asset hub conversation pallet (#1354) (21e016d)

Test

  • test: add test for frozen deprecation in runtime (#1353) (1a249a3)

CI

  • ci: fixing gitspiegel trigger workflow (bdb9271)
  • ci: switch e2e-tests endpoints (#1350) (644b475)
  • ci: adding gitspiegel-trigger workflow (#1348) (87f47a5)

Compatibility

Tested against:

  • Polkadot v10300
  • Kusama v10300
  • Westend v10300

17.3.1 (2023-10-30)

Fix

  • fix: bifrost type issue & small fixes in tests (#1345) (567170b)

Chore

  • chore(deps): bump actions/setup-node from 3 to 4 (#1343) (8fa49aa)
  • chore(deps): bump Swatinem/rust-cache from 2.7.0 to 2.7.1 (#1344) (47a47da)

Compatibility

Tested against:

  • Polkadot v10200
  • Kusama v10200
  • Westend v10200

17.3.0 (2023-10-23)

Features

The following endpoints are now available:

  • /blocks/:blockId/extrinsics-raw
  • /pallets/pool-assets/{assetId}/asset-info
  • /accounts/{accountId}/pool-asset-balances
  • /accounts/{accountId}/pool-asset-approvals

Chore

  • chore(yarn): bump yarn (#1341) (052aaa1)
  • chore(deps): update polkadot-js deps (#1339) (2978d1a)
  • chore: bump Swatinem/rust-cache from 2.6.2 to 2.7.0 (#1332) (2d1d82d)
  • chore: bump postcss from 8.4.14 to 8.4.31 in /docs (#1337) (39d016a)
  • chore(deps): bump @babel/traverse from 7.22.11 to 7.23.2 (#1340) (b59bb90)

Docs

  • docs: fix regex under the pattern keyword (#1335) (fbdca75)

Compatibility

Tested against:

  • Polkadot v10200
  • Kusama v10200
  • Westend v10200

17.2.0 (2023-09-11)

Features

Bug Fixes

CI

  • ci: add semantic title check, and cleanup actions (#1325) (7098710) Contribute by: benxiao
  • ci: use buildah image defined in gitlab group vars (#1327) (37344bf)

Chore

Test

  • test(fix-dev): update appropriate type packages (#1318) (d0b2959)
  • test(calc): add test for calc_payout (#1317) (b105cd3)

Docs

Compatibility

Tested against:

  • Polkadot v10000
  • Kusama v10000
  • Westend v10000

17.1.2 (2023-08-16)

Bug Fixes

  • fix: query info feature detection (#1305) (3c768e3) Contributed by xlc
  • fix: change error&error codes returned from /transaction/* related endpoints (#1312) (797c421)

Chores

  • chore(deps): bump semver from 6.3.0 to 6.3.1 (#1304) (62b97f3)
  • chore(yarn): bump yarn (#1303) (e4d42af)
  • chore(dev): switch from tsc-watch to ts-node-dev (#1307) (83d201a)
  • chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#1309) (573d083)
  • chore: bump Swatinem/rust-cache from 2.5.1 to 2.6.0 (#1310) (28e6078)
  • chore: bump Swatinem/rust-cache from 2.6.0 to 2.6.1 (#1313) (9fcda59)

Compatibility

Tested against:

  • Polkadot v10000
  • Kusama v10000
  • Westend v10000

17.1.1 (2023-07-05)

Bug Fixes

  • fix: rename wsurl endpoints to asset hub (#1301) (7a7e7de)
  • fix: /accounts/{accountId}/convert encoding for ecdsa (#1280) (86edf0b)
  • fix: rename statemint/statemine/westmint to asset-hub-polkadot/kusama/westend (#1296) (362e912)

Chores

  • chore: bump Swatinem/rust-cache from 2.5.0 to 2.5.1 (#1300) (45d8ecf)
  • chore: bump semver from 7.3.5 to 7.5.3 in /docs (#1298) (45eee30)
  • chore: bump Swatinem/rust-cache from 2.4.0 to 2.5.0 (#1297) (2579500)

Compatibility

Tested against:

  • Polkadot v9420
  • Kusama v9420
  • Westend v9420

17.1.0 (2023-06-13)

Features

  • feat: add prometheus metrics in dedicated port (#1232) (a256790)

Bug Fixes

CI

Docs

Compatibility

Tested against:

  • Polkadot v9420
  • Kusama v9420
  • Westend v9420

17.0.0 (2023-05-29)

Breaking Changes

  • fix(deps)!: update polkadot-js, and adjust for breaking changes (isFrozen compatibility fix) & kusama test removed (#1285) (110b01a) NOTE: In the endpoint /accounts/{accountId}/asset-balances, the field isFrozen will now give new outputs when it is no longer supported.

Chores

  • chore: bump Swatinem/rust-cache from 2.3.0 to 2.4.0 (#1284) (e5e5987)
  • chore: bump Swatinem/rust-cache from 2.2.1 to 2.3.0 (#1283) (fa9d52f)

Compatibility

Tested against:

  • Polkadot v9420
  • Kusama v9420
  • Westend v9420

16.0.0 (2023-05-08)

Breaking Changes

  • fix!: removes metadata v13 (#1272) (287d8e3) NOTE: This removes adjustMetadataV13 query parameter from /pallets/{palletId}/storage.
  • fix!: remove noMeta query param from /transaction/materials (#1275) (1d20501) NOTE: This removes noMeta from /transaction/materials. Please refer to the PR for more information.
  • fix!: minimum nodejs version (#1278) (05628da) NOTE: We want this library to be in sync with polkadot-js so it's important for us to also be in line with node-js versions. The version we specify is a minimum of v18.14.

Test

  • test: add acala & karura to e2e tests and some improvements (#1273) (44e2da4) Contributed by (xlc)

CI

Chores

Docs

Compatibility

Tested against:

  • Polkadot v9420
  • Kusama v9420
  • Westend v9420

15.0.0 (2023-04-19)

BREAKING CHANGES

  • fix!: update polkadot-js, and adjust for breaking changes (/accounts/{accountId}/balance-info) (#1255) (8964882) NOTE: The endpoint /accounts/{accountId}/balance-info has a new field called frozen, while miscFrozen, and feeFrozen will now give new outputs when they are no longer supported. Important: These changes are not yet reflected in a runtime release on polkadot, kusama, and westend, but are applied in sidecar to ensure support is there. Please look into the docs and or the above PR to see the changes in more depth.

Bug Fixes

  • fix: incorrect finalization when head blocks are cached and polled (#1265) (d498206) NOTE: This patches a bug related to /blocks/head.

Test

  • test(scripts): change historical e2e-tests endpoints to parity hosted nodes (#1261) (bfe2976)

Compatibility

Tested against:

  • Polkadot v9400
  • Kusama v9400
  • Westend v9400

14.5.3 (2023-04-11)

Bug Fixes

  • fix: validator staking endpoint with more info, and correct docs (#1258) (e0024e5) NOTE: This ensures that the pallets/staking/validators endpoint has the at key, and adds the validatorsToBeChilled key. Please read the PR for more info.

CI

Compatibility

Tested against:

  • Polkadot v9400
  • Kusama v9400
  • Westend v9400

14.5.2 (2023-04-04)

Bug Fixes

  • fix: invalid validator active set (#1256) (a13269b)
    • NOTE: This ensure that /pallets/staking/validators returns the correct amount of active validators in the set.

Compatibility

Tested against:

  • Polkadot v9400
  • Kusama v9400
  • Westend v9400

14.5.1 (2023-03-23)

Chores

Compatibility

Tested against:

  • Polkadot v9390
  • Kusama v9390
  • Westend v9390

14.5.0 (2023-03-15)

Features

CI

Test

  • test: fix benchmark url calls for pallets keys (#1240) (e4e4cac)

Chores

  • chore: bump Swatinem/rust-cache from 2.2.0 to 2.2.1 (#1241) (190c713)
  • chore(deps): update polkadot-js deps (#1247) (5c4449c)
  • chore: add inspect mode script (#1248) (4f40666)
  • chore: bump webpack from 5.68.0 to 5.76.0 in /docs (#1249) (783ef9b)

Compatibility

Tested against:

  • Polkadot v9390
  • Kusama v9390
  • Westend v9390

14.4.1 (2023-02-27)

CI

Chores

Compatibility

Tested against:

  • Polkadot v9380
  • Kusama v9380
  • Westend v9380

14.4.0 (2023-02-14)

Features

Perf

Tests

  • tests: fix e2e tests, add kusama westend, and remove ws check (#1223) (fb35b6b)

Chores

  • chore: add e2e-tests to single lint configuration (#1226) (f546abc)
  • chore(deps): update pjs, add small e2e-config (#1225) (80f4e2c)
  • chore(deps): update pjs deps (#1221) (10930b2)
  • chore(tech-debt): cleanup type assignment for consoleOverride (#1215) (520631c)
  • chore:(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#1217) (fe6ee23)
  • chore: bump http-cache-semantics from 4.1.0 to 4.1.1 in /docs (#1216) (2f2b513)

Compatibility

Tested against:

  • Polkadot v9370
  • Kusama v9370
  • Westend v9370

14.3.1 (2023-02-01)

Bug Fixes

  • fix: update errors endpoint to use latest error metadata for fetchErrorItem (#1205) (a13e8ca)
  • fix: rename nomination-pools to be to standard (#1203) (7d8ac10) NOTE: This renames /pallets/nominationPools/* to /pallets/nomination-pools/*.

Chores

  • chore(deps): updated to new version of confmgr (#1207) (a0f7d78)
  • chore(deps): update polkadot-js deps (#1206) (1cb3d22)
  • chore(deps): update polkadot-js api to most recent patch (#1211) (cffc235)

Compatibility

Tested against:

  • Polkadot v9370
  • Kusama v9370
  • Westend v9370

14.3.0 (2023-01-25)

Features

Chores

  • chore(deps): update polkadot-js deps (#1183) (e2d64ed)
  • chore(yarn-dev): update yarn to 3.3.1, and substrate/dev to 0.6.6 (#1185) (c7461c6)
  • chore(lint): adjust lint script (#1184) (325e80a)
  • chore: bump bumpalo from 3.6.0 to 3.12.0 in /calc (#1192) (93e7d36)
  • chore(deps): update polkadot-js deps (#1193) (ee64335)
  • chore(scripts): cleanup package.json scripts (#1200) (1585605)

Docs

Compatibility

Tested against:

  • Polkadot v9370
  • Kusama v9370
  • Westend v9370

14.2.3 (2023-01-10)

Bug Fixes

  • fix: replace rpc calls for fees and give support for weight v1 and v2 (1177) (9bdaf45) Note: This fixes a current bug where the includeFee queryParam was no longer working, and compatible with WeightsV2.

Chores

  • chore: bump json5 from 1.0.1 to 1.0.2 in /docs (1178) (94a2ed9)
  • chore: bump fast-json-patch from 3.1.0 to 3.1.1 in /docs (1175) (76629d3)
  • chore:(deps): bump json5 from 2.2.0 to 2.2.3 (1179) (d05f716)
  • chore(deps): update polkadot-js api, and util-crypto (1181) (7ccec7a)

Compatibility

Tested against:

  • Polkadot v9360
  • Kusama v9360
  • Westend v9360

14.2.2 (2022-12-27)

Bug Fixes

  • fix: use local version of wasm-pack (#1168) (f922247) Contributed by: xlc
  • fix: avoid use queryInfo rpc call (#1169) (907ba92) Contributed by: xlc
  • fix: set rpc to call for queryInfo in transaction/fee-estimate (#1170) (7334599)
  • fix: revert polkadot-js deps to 9.10.3 (#1173) (df6bc32)

Chores

  • chore(deps): update polkadot-js api, and api-contracts (#1171) (97b427c)

Test

  • test(e2e-tests): add e2e-tests for latest runtimes, and blocks (#1155) (095f57f)

Compatibility

Tested against:

  • Polkadot v9360
  • Kusama v9360
  • Westend v9360

14.2.1 (2022-12-14)

Bug Fixes

  • chore(deps): update polkadot-js deps (1163) (ca97b2c)
    • This fixes an issue where unapplies slashes will not appear in /pallets/staking/progress when necessary.

Docs

  • docs: update node stability for versions (1162) (e4305b6)

Compatibility

Tested against:

  • Polkadot v9330
  • Kusama v9330
  • Westend v9330

14.2.0 (2022-12-07)

Features

  • feat: add support for ink! contracts (1015) (f6499fa)

Bug Fixes

  • fix(calc): remove sp-arithmetic-legacy (1146) (92f02dc)

Chores

  • chore: bump loader-utils from 1.4.1 to 1.4.2 in /docs (1140) (71456c4)
  • chore: bump minimatch from 3.0.4 to 3.1.2 in /docs (1148) (442e045)
  • chore: bump tar from 6.1.0 to 6.1.12 in /docs (1149) (e319b88)
  • chore: bump jetli/wasm-pack-action from 0.3.0 to 0.4.0 (1156) (21894e6)
  • chore(release-calc): 0.3.1 (1157) (af85128)
  • chore: change main code owner integrations-tools-js-ts (1159) (bbbe90b)
  • chore(deps): update substrate/calc and polkadot-js deps (1158) (dc50726)

Docs

Tests

  • test: optimize test runner for e2e-tests and ci (1142) (f635d59)
  • test(e2e-tests): reorg the e2e-tests to be under a historic folder to prepare for current tests (1147) (6a4249e)

Compatibility

Tested against:

  • Polkadot v9330
  • Kusama v9330
  • Westend v9330

14.1.2 (2022-11-21)

Bug Fixes

  • fix: update polkadot-js api, and util-crypto (#1139) (9cf2597)
    • Note: This resolves an issue when querying a node with 0.9.32 ex: Struct: Cannot decode value <number> (typeof number), expected an input object, map or array. See the tracking issue here

CI

Compatibility

Tested against:

  • Polkadot v9320
  • Kusama v9320
  • Westend v9320

14.1.1 (2022-11-11)

Chores

  • chore: bump Swatinem/rust-cache from 2.0.1 to 2.1.0 (#1129) (4007a21)
  • chore: bump follow-redirects from 1.14.7 to 1.15.2 in /docs (#1118) (b5a991b)
  • chore:(deps): bump tmpl from 1.0.4 to 1.0.5 (#1122) (927c88f)
  • chore: bump Swatinem/rust-cache from 2.1.0 to 2.2.0 (#1131) (cf272f1)
  • chore: bump loader-utils from 1.4.0 to 1.4.1 in /docs (#1130) (8b5c4f7)
  • chore(deps): update polkadot-js deps (#1133) (9300c63)

CI

  • ci: break checks ci job into separate jobs (#1114) (e687e79)

Compatibility

Tested against:

  • Polkadot v9320
  • Kusama v9320
  • Westend v9320

14.1.0 (2022-11-03)

Features

  • feat: include balance-info support for statemine and statemint (#1126) (a171305)

Chores

  • chore(deps): bump @polkadot/api from 9.5.2 to 9.6.1 (#1098) (35ea356)
  • chore(deps): dedupe deps (#1100) (0307ee7a)
  • chore: bump terser from 5.10.0 to 5.15.1 in /docs (#1117) (799e1a5)
  • chore(deps): bump minimist from 1.2.5 to 1.2.7 (#1113) (27cd745)
  • chore(deps-dev): bump @types/express-serve-static-core (#1111) (77db77a)
  • chore(deps): bump winston from 3.8.1 to 3.8.2 (#1109) (1c8cfc2)
  • chore(deps): bump lru-cache from 7.13.1 to 7.14.0 (#1107) (5cbc2d5)
  • chore(deps-dev): bump @substrate/dev from 0.6.4 to 0.6.5 (#1106) (5a20fdf)
  • chore(deps): bump express and @types/express (#1105) (7187a15)
  • chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#1120) (a0e69dc)
  • chore(deps): bump tar from 6.1.0 to 6.1.11 (#1119) (c6ca7b1)
  • chore(deps): update polkadot-js deps (#1124) (8cd3084)

CI

Bug Fixes

Compatibility

Tested against:

  • Polkadot v9300
  • Kusama v9300
  • Westend v9310

14.0.1 (2022-10-19)

Chores

CI

  • ci: bump Swatinem/rust-cache from 2.0.0 to 2.0.1 (#1084) (aa2c9cb)
  • ci: push metrics to prometheus-pushgateway (#1086) (9284bd1)

Docs

Tests

Compatibility

Tested against:

  • Polkadot v9290
  • Kusama v9290
  • Westend v9300

14.0.0 (2022-10-03)

⚠ BREAKING CHANGES ⚠

Features

  • feat: add /accounts/:accountId/convert endpoint (#1007) (e2d6fae)

Chores

Compatibility

Tested against:

  • Polkadot v9290
  • Kusama v9290
  • Westend v9290

13.1.0 (2022-09-19)

Features

  • feat: validateBooleanMiddleware for controllers (#1023) (fc74d4a)

Chores

CI

  • ci: use polkadot node managed by argo-cd (#1051) (d67d3a5)

Bug Fixes

  • fix: add TransactionPayment::TransactionPaidFee support (#1040) (108a93b)

Tests

  • test: fix deprecated lruCache.size deprecation (#1042) (4820342)

Docs

Compatibility

Tested against:

  • Polkadot v9290
  • Kusama v9290
  • Westend v9290

13.0.0 (2022-08-31)

⚠ BREAKING CHANGES ⚠

  • fix!: integrate @substrate/calc@0.3.0 for partial fees (#1017) (92e3e1d)
    • Note: This removes the query param feeByEvent for all /blocks/* endpoints. Fee's are correctly calculated by default and dont require a secondary way of retrieving the partialFee. For historical blocks, an error might be logged and emitted for chains that don't have TransactionPaymentApi::query_feeDetails in their runtime API. The error is emitted by polkadot-js regardless of catching it, but it does not affect fee calculation as also logged by a follow up warning. Please refer to the PR for more information.
  • feat!: add support for http provider using SAS_SUBSTRATE_URL (#1001) (b12daa8)
    • Note: This replaces the standard SAS_SUBSTRATE_WS_URL with SAS_SUBSTRATE_URL. It's important when updating to sidecar v13.0.0 to replace all instances of the env variable with the new one.

Bug Fixes

CI

Chores

  • chore(deps): update polkadot-js api and util-crypto (#1030) (f59b7db)
  • chore(deps): update @substrate/dev (#1028) (4443924)
  • chore(deps): update polkadot api, and util-crypto (#1024) (62b028e)
  • chore(deps): update api, and util-crypto (#1019) (d12b2f7)

Compatibility

Tested against:

  • Polkadot v9270
  • Kusama v9270
  • Westend v9280

12.4.3 (2022-08-09)

Bug Fixes

Chores

  • chore(deps): update polkadot-js api, and util-crypto (8164281)

Compatibility

Tested against:

  • Polkadot v9270
  • Kusama v9270
  • Westend v9270

12.4.2 (2022-08-03)

Bug Fixes

  • fix(logging): replace TransformableInfo with ITransformableInfo type (#994) (c058904)
  • fix(feeByEvent): use registry to convert hex to string (#997) (13ca62f)
  • fix(feeByEvent): handle tip for partialFee (#1003) (6e60aa9)

Chores

Compatibility

Tested against:

  • Polkadot v9250
  • Kusama v9250
  • Westend v9250

12.4.1 (2022-07-28)

Bug Fixes

  • fix(feeByEvent): fix tip inclusion for partialFee (#986) (91dda83)
  • fix(feeByEvent): sanitize fee for hex values (#990) (3f9a2c3)

Chores

  • chore(deps): update polkadot-js api, and util-crypto (#987) (f80666a)
  • chore(deps): update all non polkadot-js deps (#988) (0facebf)

Docs

  • docs(readme): remove mention of apps-config (#985) (e003e93)

Compatibility

Tested against:

  • Polkadot v9250
  • Kusama v9250
  • Westend v9250

12.4.0 (2022-07-13)

Features

  • feat: support for feeByEvent query param which will abstract the fees by events (#970) (92c155d)

Chores

  • chore(deps): update polkadot-js api, and util-crypto (#982) (c34bdde)

Tests

Compatibility

Tested against:

  • Polkadot v9250
  • Kusama v9250
  • Westend v9250

12.3.0 (2022-07-06)

Features

  • feat: Added the network and accountId to the response of validate endpoint (#926) (ef513cc) Contributed by Imod7

Bug Fixes

  • fix(pallets): deprecation warning adjustment (#973) (5514631)

Chores

  • chore(deps): update polkadot.js, and fix type compilation (#972) (67f5bad)
  • chore(deps): update polkadot-js api, and util-crypto (#976) (0dd3f63)
  • chore(dev): update @substrate/dev (#977) (2c3ce3e)

Compatibility

Tested against:

  • Polkadot v9240
  • Kusama v9240
  • Westend v9240

12.2.0 (2022-06-22)

Features

  • feat: add /blocks that enforces range query param (#954) (f8ab1ec)
    • This Feature provides a new endpoints called /blocks which allows you to query a range of blocks maxing out at 500. An example query would be /blocks?range=0-499.

Bug Fixes

  • fix: set minCalcFee runtime to 1058 for kusama (#966) (e3adacc)
  • fix(scripts): jest pass-fail bug (#944) (44482aa)

Chores

  • chore(deps): update polkadot-js api, and util-crypto (#967) (5dd8332)

CI

Docs

Compatibility

Tested against:

  • Polkadot v9240
  • Kusama v9240
  • Westend v9240

12.1.1 (2022-06-14)

Bug Fixes

Chore

Docs

Compatibility

Tested against:

  • Polkadot v9230
  • Kusama v9230
  • Westend v9230

12.1.0 (2022-06-07)

Features

  • feat: add query param to add a tip, partialFee, and priority field to each extrinsic for /node/transaction-pool (#931) (8241d34)

Bug Fixes

  • fix(polkadot-js): update api, and common deps (#934) (fd7021c)

Test

  • test: silence unnecessary logging for tests (#916) (9633480)

Compatibility

Tested against:

  • Polkadot v9230
  • Kusama v9230
  • Westend v9230

12.0.1 (2022-06-03)

Bug Fixes

  • fix(calc): rework calculating fees (#937) (3306466)
  • fix(imports): chains-config imports (#932) (f4f531a)
  • fix(imports): NodeTransactionPoolService response import (#929) (ad2fbaa)

Chore

  • chore(license): append the license to the top of each file (#927) (8906816)

Compatibility

Tested against:

  • Polkadot v9230
  • Kusama v9230
  • Westend v9230

12.0.0 (2022-05-24)

Breaking Changes

Notes: Substrate API Sidecar will no longer support pulling custom types from @polkadot/apps-config. For all of the current endpoint's in sidecar there should be no effect, but if there are any methods or types that can't be decorated from the metadata you will see warning's emitted from the logger. You may still apply your own custom types in sidecar, please refer to the custom substrate types portion of the readme, and if you would like more information please refer the to PR below. If you see any issues, or need additional guidance feel free to file an issue here.

  • fix(apps-config)!: remove apps-config from sidecar (#924) (e2e8b59)

Bug Fixes

11.4.1 (2022-05-18)

Upgrade Priority High (Required for users looking to update to 11.3.18, 11.3.19, or 11.4.0)

Bug Fixes

  • fix: revert apps-config to stable version (#921) (faf1595)

11.4.0 (2022-05-18)

Upgrade Priority low

Features

  • feat(balance-info): add query param to convert free balance to human readable format (#914) (f1e03d6)

Bug Fixes

  • fix(deps): update polkadot.js common, api, type interfaces (#918) (6baf526)
  • fix(dev): updates substrate-js-dev, and fixes latest eslint rules (#913)(12c5914)

Compatibility

Tested against:

  • Polkadot v9210
  • Kusama v9210
  • Westend v9210

11.3.19 (2022-05-10)

Upgrade Priority Low

Bug Fixes

Compatibility

Tested against:

  • Polkadot v9200
  • Kusama v9200
  • Westend v9200

11.3.18 (2022-05-03)

Upgrade Priority Medium (For users querying /runtime/metadata. Fixes decoding all constants for V14)

Bug Fixes

  • fix(deps): update pjs api (#906) (528420c)
  • fix: decode Bytes types for /runtime/metadata correctly (#907) (ce48c14)
  • fix: update substrate-js-dev, add update-pjs script (#904) (59aabc3)

Compatibility

Tested against:

  • Polkadot v9190
  • Kusama v9190
  • Westend v9190

11.3.17 (2022-04-21)

Upgrade Priority High (For users querying chains using v9190, and need partialFee information)

Bug Fixes

  • fix(bug): handle lengthToFee given runtime v9190 (#900) (992b458)
  • fix(deps): update pjs api (#897) (511fcf9)

Compatibility

Tested against:

  • Polkadot v9190
  • Kusama v9190
  • Westend v9190

11.3.16 (2022-04-13)

Upgrade Priority Low

Bug Fixes

  • fix(deps): update pjs common, api, wasm-crypto (#895) (c09a869)
  • fix: remove blockWeightsStore (#891) (ce701a0)
  • fix: update polkadot-js deps, adjust tests for getWeight (#890) (c348363)

Docs

  • docs(release): abstract the release process into its own file (#894) (eece110)
  • docs: updated README with trace endpoints & requirements note (#872) (d323857) Contributed by (Imod7)

Compatibility

Tested against:

  • Polkadot v9180
  • Kusama v9180
  • Westend v9180

11.3.15 (2022-03-30)

Upgrade Priority Low

Bug Fixes

  • fix: update polkadot-js deps and rxjs (#882) (9455397)
  • fix: update polkadot deps, util-crypto, api, wasm-crypto (#878) (db74ab4)
  • fix: add 9180 for metadata-consts (#879) (a2daf75)

Tests

Compatibility

Tested against:

  • Polkadot v9180
  • Kusama v9180
  • Westend v9180

11.3.14 (2022-03-16)

Upgrade Priority Low

Bug Fixes

  • fix: enable experimental trace endpoints for polkadot (868) (37c35ae)
  • fix: bump yarn (#869) (a904962)
  • fix: update polkadot api, apps-config, and util-crypto (#871) (ff0cef5)
  • fix: add runtime 9170, and 700 to metadata consts (#873) (dcce39e)

Compatibility

Tested against:

  • Polkadot v9170
  • Kusama v9170
  • Westend v9170

11.3.13 (2022-03-08)

Upgrade Priority Low

Bug Fixes

  • fix: update api to 7.11.1, and apps config 0.108.1 (#862) (222a258)
  • fix: update substrate/calc to 0.2.8 (#861) (3ade139)
  • fix: update api to 7.10.1, and apps config to 0.107.1 (#859) (7f29c46)

Calc

Compatibility

Tested against:

  • Polkadot v9170
  • Kusama v9170
  • Westend v9170

11.3.12 (2022-02-28)

Upgrade Priority Low (Fixes Docker release, and CI Build. This is a mirror release of 11.3.11)

CI

Compatibility

Tested against:

  • Polkadot v9160
  • Kusama v9160
  • Westend v9160

11.3.11 (2022-02-24)

Upgrade Priority Low

Bug Fixes

  • fix: update polkadot-js deps (#850) (db9eb36)
  • fix(devDep): update @substrate/dev (#838) (b710b23)
  • fix: Abstract error handling for addresses into AbstractService (#842) (88e176b)

Docs

  • docs: fix methodName -> method (#848) (10008c1)
  • docs: seperate the release process from updating polkadot-js deps (#837) (268de8d)
  • docs: transition to webpack 5, and bump deps (#839) (248642d)

CI

Compatibility

Tested against:

  • Polkadot v9160
  • Kusama v9160
  • Westend v9160

11.3.10 (2022-02-16)

Upgrade Priority High (For users who leverage /blocks, and require the call data for multiSig extrinsics)

Bug Fixes

  • fix: update polkadot-js deps, and bn.js (71edc3c) (#843)
  • fix: correctly serialize a multsig call, then parse WrapperKeepOpaque, and WrapperOpaque (#840) (60826c0)

CI

Compatibility

Tested against:

  • Polkadot v9160
  • Kusama v9160
  • Westend v9160

11.3.9 (2022-02-09)

Upgrade Priority Medium (With the oncoming runtime upgrade to v9160 it's wise to update)

Bug Fixes

  • fix: update block weight store for v9160 (#834) (0b0d3cc)
  • fix: update polkadot-js api, and apps-config (#836) (1be7938)

Compatibility

Tested against:

  • Polkadot v9160
  • Kusama v9160
  • Westend v9160

11.3.8 (2022-02-02)

Upgrade Priority High (For users that leverage /paras/auctions/current)

Bug Fixes

  • fix: update polkadot-js/api, and rxjs (#830) (90083d1)
  • fix: retrieving public endpoints with createWsEndpoints function (#829) (a019c8b) Contributed by: (Imod7)
  • fix: ?at bug and endingOffset conditionals (#824) (1774e90)
  • fix: update all polkadot-js deps (#828) (23d4cec)

Tests

  • fix(e2e-tests): update e2e tests for kusama auctions (#831) (7ad75aa)

Compatibility

Tested against:

  • Polkadot v9151
  • Kusama v9151
  • Westend v9150

11.3.7 (2022-01-26)

Upgrade Priority Low

Bug Fixes

  • fix: update polkadot-js api to 7.2.1 (#809) (3553fb8)
  • fix: error handling on account balances (#813) (05f97bb)
  • fix: add 9150, and 9151 to kusama blockWeightsStore (#819) (cda73a0)

Substrate/Calc

Security

  • fix: cleanup unused dependencies, and sec updates for node-forge (#817) (7a8ba0f)
  • fix(security): Update follow-redirects (#816) (ed50064)

Compatibility

Tested against:

  • Polkadot v9151
  • Kusama v9151
  • Westend v9150

11.3.6 (2022-01-12)

Upgrade Priority Low (Important for users using /paras/leases/current, /paras/{para-id}/lease-info)

Bug Fixes

  • fix: add leaseOffset to leasesCurrent end calc (#801) (4d83dcb) Contributed by: (sawvox)
  • fix: set min calc fee runtime version to 601 for statemint (#806) (3136399)
  • fix(tsc): explicitly define typescript version (#804) (c86d0c8)

Tests

  • fix: add v9140 to blocksWeightStore for parity chains (#798) (bbc7fbd)
  • fix: add statemint, and update with 9130 runtime tests (#807) (c6ec7be)

Docs

Chore

  • fix: Update license with new year (2022) (#810) (2c0bd28)

Compatibility

Tested against:

  • Polkadot v9130
  • Kusama v9130
  • Westend v9130

11.3.5 (2021-12-21)

Upgrade Priority Low

Bug Fixes

  • fix: bump polkadot-js deps (796) (c79d126)
  • fix: add blockWeightStore and fee calc support for common good parachains (1059c1a)

Compatibility

Tested against:

  • Polkadot v9130
  • Kusama v9130
  • Westend v9130

11.3.4 (2021-12-16)

Upgrade priority Medium (Security: Important for users who fork from sidecar, and use the docs directory)

Bug Fixes

Security

  • fix(security): address security advisory on swagger-ui dependency (790) (f6158af)

Compatibility

Tested against:

  • Polkadot v9130
  • Kusama v9130
  • Westend v9130

11.3.3 (2021-12-09)

Upgrade priority Low

Bug Fixes

Compatibility

Tested against:

  • Polkadot v9122
  • Kusama v9130
  • Westend v9130

11.3.2 (2021-12-01)

Upgrade priority

Bug Fixes

  • fix: update websocket addresses used for e2e tests (#780) (b7743f4)
  • fix: bump polkadot-js/api to 6.10.3 (#779) (a97ca77)
  • fix: update polkadot-js deps, and fix tests and types for assets (#777) (51eaa91)
  • fix: add v3101 to calamari blockWeightsStore (#776) (5bf57b4) Contributed by: grenade
  • fix: add v9130 to kusama blockWeightsStore (#775) (212de6d)
  • fix: add v3100 to calamari blockWeightsStore (#773) (85e18e1) Contributed by: grenade

Chores

Docs

  • docs: Update readme with node compatibility chart (#774) (5a0430b)

11.3.1 (2021-11-23)

Upgrade priority: Low

Bug Fixes

  • fix: support manta parachain fee calculations (#767) (3f68052) Contribute by grenade
  • chore(release-calc): v0.2.6 (#768) (cee6b8b)
  • fix: bump polkadot-js deps (#769) (3eda242)
  • fix: staking payouts historicApi, and add tests #762

Compatibility

Tested against:

  • Polkadot v9122
  • Kusama v9122
  • Westend v9122

11.3.0 (2021-11-16)

Upgrade priority: Low

Features

  • feat: transition /paras/* off of /experimental (#765) (d63fa15)
    • NOTE: The /experimental/paras/* endpoints are going to be left available too allow users time to transition. They are subject to removal in future releases.

Bug Fixes

  • fix: removed legacy pacakge-lock (#763) (a07dd7d)
  • fix: bump polkadot-js deps (#764) (ceb8cba)
  • fix: update PalletsStakingProgressService to use historicApi (#761) (9e53d2a)

Compatibility

Tested against:

  • Polkadot v9122
  • Kusama v9122
  • Westend v9122

11.2.0 (2021-11-11)

Upgrade Priority: Medium (For users using the /experimental/paras endpoint)

Features

  • feat: add query param metadata for /transaction/material (#746) (273cac2)
    • Note: In future releases the query parameter noMeta will be deprecated, and then removed.

Bug Fixes

  • fix: update blockWeightStore for polkadot v9122 (#755) (2e43b05)
  • fix: support calc fee for Karura Acala (#754) (42ae857) Contributed by xlc
  • fix(ParasService): adjust endpoint to use historicApi, fix endingOffset bug, and leasePeriodIndex (#735) (ce2ff0b)
    • Note: In the next weekly release we will migrate off of /experimental/paras to /paras
  • fix(e2e-tests): add kusama e2e tests for paras endpoint (#736) (54d0939)
  • fix(e2e-tests): update scripts to use --log-level=http (#758) (2e527d3)

Compatibility

Tested against:

  • Polkadot v9122
  • Kusama v9122
  • Westend v9122

11.1.2 (2021-11-08)

Upgrade priority: Low (Performance increase via polkadot-js, and calamari-chain fee support)

Bug Fixes

  • fix: bump polkadot-js dependencies, and @substrate/calc (#752) (f01003d)
  • fix: support calamari parachain fee calculations (#749)(1e2f4a5)
  • chore(release-calc): 0.2.4 (#751) (7f950c9)

Compatibility:

Tested against:

  • Polkadot v9122
  • Kusama v9122
  • Westend v9122

11.1.1 (2021-11-04)

Upgrade priority: Low

Bug Fixes

  • fix: bump polkadot deps (#745) (8e62030)
  • fix: confirm session module before block retrieval (#744) (e6613a0)
  • fix(e2e-tests): tests for staking-info endpoint (#742) (facc58c)
  • fix: Update blockstore for westend and kusama (#740) (4686634)
  • fix(StakingInfo): add historicApi to staking-info (#741) (bb679ed)

Optimizations

-fix: optimize pallets-storage (#739) (30d446)

Compatibility:

Tested against:

  • Polkadot v9110
  • Kusama v9122
  • Westend v9122

11.1.0 (2021-10-28)

Upgrade priority: Low

Features

  • feat: add /accounts/:address/validate endpoint (#726) (77bf8ed)

Bug fixes

  • fix: remove unnecessary awaits in pallets (#729) (f8f7cd5)
  • fix(security): ua-parser-js resolution for docs (#733) (8cfe930)
  • fix(AccountsAssets): historicApi for AccountsAssets, bug fixes, error handling, e2e-tests (#721) (583936d)
  • fix: bump polkadot-js deps, and substrate/dev (#734) (ac48534)
  • fix(e2e-tests): add e2e-tests for /accounts/{accoundId}/validate (#731) (2f115b3)

Compatibility:

Tested against:

  • Polkadot v9110
  • Kusama v9110
  • Westend v9112

11.0.0 (2021-10-20)

Upgrade priority: Medium (High for users leveraging /accounts/{accountId}/vesting-info)

⚠ BREAKING CHANGES ⚠

  • fix: Support multiple vesting schedules, vesting-info now returns an array. (#717) (8b9866d)

Bug Fixes

  • fix: add v9111 runtime to the blockstore for westend (#718) (a8835c2)
  • fix: bump polkadot js deps (#720) (5864465)
  • fix: update accounts balance-info and vesting-info to use historicApi (#709) (d527bbf)
  • fix: update apps-config to get the latest substrate types (#725) (64f331e)

Compatibility

This version of Sidecar has been tested against:

  • Polkadot v9110
  • Kusama v9110

10.0.0 (2021-10-13)

⚠ BREAKING CHANGES ⚠

  • fix: update 'PalletStorageService' to use V14 Metadata. See release notes for further info. (#710) (199ddcf)

Bug Fixes

  • fix: add 9111 runtime for westend. (#705) (a51f4af)
  • fix: bump polkadot deps (#707) (b7335b7)
  • fix(BlocksService): refactor api.derive for performance, and add historicApi to BlocksService (#699) (5861cb1)
  • fix: update blockstores with 9110 runtime (#704) (35b7132)
  • fix: cleanup pallets docs, and naming (#713) (cc600d6)

Tests

  • fix(tests): restructure mockApi tests to integrate with historical api. (#702) (2bf71ad)
  • fix(e2e-tests): add --log-level flag for e2e-tests (#703) (b9404ff)
  • fix(e2e-tests): fix adjust values in some e2e tests (#700) (f52fac6)

9.2.0 (2021-10-06)

Bug Fixes

  • fix: metadata V12 bug in /pallets/{palletId}/storage, and update with V13 (#695) (ac033ce)
  • fix: decorating metadata bug by now using an historicApi to attach historic registries when retrieving block weights for calculating fees (#692) (ed389a4)
  • fix: bump @polkadot/api to v6.1.2, and cleanup the resolutions (#691) (2707ef4)
  • fix: refactor e2e tests to use scriptsApi (#687) (db18f02)
  • fix: add blockweights for the shiden network (#688) (701ecef) Contributed by: hoonsubin
  • fix: bump @substrate/calc to v0.2.3 in order to update calculating fees for shiden block weights.

CI

  • ci(helm): increase liveness and rediness probe timeouts (#686) (1e744bf)
  • ci: script for npm dry-run release checks (#684) (9936df1)

Features

  • feat: add era field within extrinsics. Check the docs here and look under GenericExtrinsicEra. (#685) (4362347)

9.1.11 (2021-09-27)

Bug Fixes

  • types Bump @polkadot/apps-config to fix npm build issue for @substrate/api-sidecar@9.1.10 (#681) (ece2075)

9.1.10 (2021-09-23)

  • types Bump @polkadot-js deps for the latest substrate based types. (#677) (f14f2c2)
  • fix: resolution versioning (#665) (5b6d9b3)
  • fix: remove --create-namespace from Gitlab CI (#666) (86bb4d6)
  • fix(docs): correct Chain Integration Guide link (#668) (5405710)
  • fix(docs): Update versioning in docs (#671) (f4556ae)
  • fix: update readme for open api docs (#672)(770ba1d)
  • tests(e2e): Add spec, code, metadata endpoints to Kusama, Polkadot and Westend e2e tests (#674) (ddb8e45)
  • ci: Add a test to build the docs in CI. (#675) (fcf60ee)

9.1.9 (2021-09-13)

  • types Bump @polkadot-js/deps for the latest substrate based types. In particular, bump @polkadot/apps-config to the latest beta (^0.95.2-114) for compatibility reasons.
  • fix: README link to FRAME (660) (5c304a2)

9.1.8 (2021-09-07)

  • types Bump @polkadot-js/deps for the latest substrate based types.
  • fix: add accounts endpoints to the e2e tests (#646) (4d86a4a)
  • fix: workflows for wasm-pack (#657) (5723f108)
  • feat: add helm chart to the project (#654) (7a924ec3)

9.1.7 (2021-09-02)

Bug Fixes

  • Update /accounts/{accountId}/balance-info to correctly query historical blocks. (#653)(e9d7d7b)

9.1.6 (2021-08-30)

Bug Fixes

  • Bump @polkdot/api and @polkadot/apps-config to get the latest patch on proxy events, and receive latest chain specific types (#650)(0cfc6e9) Contribution by joelamouche
  • Improve the security of the docker container (#648)(bca36aa) Contribution by chevdor
  • Update dev and non polkadot deps (#647)(e6ebda7) Contribution by chevdor

9.1.5 (2021-08-23)

  • types Bump @polkadot-js/deps for the latest substrate based types.
  • Add an LRU cache to the /blocks/head, and /blocks/{blockId} endpoints. (#630)(9f7a29f)
  • Bump Yarn (#643)(12c8fd7)

Bug Fixes

  • Update the error message for parachain endpoints for when parachains are not supported (#642)(1f5f6b7)

9.1.4 (2021-08-19)

Bug Fixes

  • Update @polkadot/deps in order to fix decoding ParachainsInherent type.
  • Update @polkadot/deps, and fix metadata imports and tests (#637)(c143107)

CI

  • Remove the workaround of a buildah action bug (#619)(0562e07)

9.1.3 (2021-08-10)

  • fix: substrate/dev dep, update changelog (#632) (8e8153f)
  • fix: finalization for /blocks/head (#631) (8d0d538)
  • docs(ChainType): fix docs for chaintype return value (#626) (f20b033)

9.1.2 (2021-08-02)

Bug Fixes

  • Patch global package binary

9.1.1 (2021-08-02)

  • fix: add --version flag (#620) (9d8bb98)
  • fix: Added SORA network controller (#625) (f1511c4)
  • docs: alphabetical order for schema types (#623) (d4258e0)
  • Update @polkadot/api to get the latest substrate specific upgrades.
  • Update @polkadot/apps-config to get latest chain specific upgrades.

9.1.0 (2021-07-27)

  • feat: add /blocks/:number/header, and /blocks/head/header (615) (b7c2818)
  • feat: Basic support for H160 and H256 accounts. (596) (bddc2a2)
  • Update @polkadot/api to get the latest substrate specific upgrades.

Bug Fixes

9.0.0 (2021-07-20)

⚠ BREAKING CHANGES

To reflect changes in @polkadot/api@5.1.1 changes have been made to 2 of the endpoints specifically, and 1 implicitly (#616) (7942cd3).

  1. /pallets/{palletId}/storage The documentation field under each item in the items field will now be docs.

  2. /pallets/{palletId}/storage/{storageItemId} The documentation field under each item in the items field will now be docs.

  3. /runtime/metadata Similar to the above the metadata returned here just follows the most up to date metadata in polkadot-js so this route will implicitly have the same result as above.

Bug Fixes

  • fix: support for calculating fees for statemint, and statemine and their test nets. (613) (cea7c36)

8.0.4 (2021-07-14)

  • Update @polkadot/apps-config to get latest chain specific upgrades, and add resolutions in line with those from polkadot-js to avoid issues duplicate package versions (#607) (86f99c2)

8.0.3 (2021-07-13)

  • Updates to address the breaking changes that @polkadot/api@5.0.1 introduces for metadata (no breaking changes to the API introduced in this). (#603) (9fface1)
  • Update types for Dock (#600) (0300941)

8.0.2 (2021-07-07)

Bug Fixes

  • Update @polkadot/apps-config to get latest chain specific upgrades.

8.0.1 (2021-07-06)

  • Update @polkadot/api to get the latest substrate specific upgrades.

  • Update @polkadot/apps-config to get latest chain specific upgrades.

8.0.0 (2021-07-01)

⚠ BREAKING CHANGES

  • Update /experimental/paras/auctions/current to correctly reflect the newly added AuctionStatus enum in polkadot. The phase field within the response will now return either startPeriod, endPeriod, or vrfDelay. (#593) (b4d8662)

Chore

  • Update the cached runtime versions for Polkadot and Kusama chain configs with the most recent versions. (#592) (4e42877).

7.0.5 (2021-06-27)

Bug Fixes

  • types Bump polkadot-js/api to decode electionProviderMultiPhase.

7.0.4 (2021-06-23)

Bug Fixes

  • Fix: fee calculation bug with ancient runtimes (#587)

Docs

  • Extracting winners from a closed auction guide (#577)

7.0.3 (2021-06-21)

Bug Fixes

  • Fix: update dependencies.

7.0.2 (2021-06-14)

Bug Fixes

  • Fix: update deps, reconfigure tests to reflect most recent polkadot-js changes (#584)

7.0.1 (2021-06-07)

Bug Fixes

  • Fix: Update deps, add westmint, and westmine (#575) (8c53b44)

  • Fix: Remove assets endpoint from chains config for relay chains. Add statemint, and statemine (#573) (0878a3c)

7.0.0 (2021-05-31)

⚠ BREAKING CHANGES

  • Changes the fields firstSlot and lastSlot to firstPeriod and lastPeriod within the FundInfo type to match the type generated from @polkadot/api. This effects the /experimental/paras/:paraId/crowdloans-info endpoint. (#570) (0c73631)

Bug Fixes

test Turns runtime tests into e2e tests. (#561) (0c73631)

Types

6.2.3 (2021-05-27)

NOTE: No changes or fixes to the API for this release. v6.2.3 is a replacement for v6.2.2 due to an error during the NPM release process when it comes to pulling the @substrate/api-sidecar package from NPM. Please see v6.2.2 changelog for the most recent updates.

6.2.2 (2021-05-27)

Features

Bug Fixes

  • docs Update release docs to use yarn dedupe, fix util-crypto packaging (#565) (87a828f)

6.2.1 (2021-05-24)

Bug Fixes

  • types Asset approval parameter change, bump polkadot-js/api (#559) (c523244)

  • test Integrate runtime-tests as a helper library (#549) (ea904f3)

  • docs Update controller config in the chain integration guide (#556) (3ae0c3f)

  • Reduce controller config boilerplate (#555) (59795b3)

6.2.0 (2021-05-16)

Features

  • State tracing for balance reconciliation (#383) (bf47b11)

Bug Fixes

  • types Bump polkadot-js/api to decode CompactSolution for 24 noms (#553) (c67ae2f)

6.1.0 (2021-05-11)

Features

  • Add Asset specific endpoints to /accounts and /pallets in order to query Asset based information from Statemint(polkadot) and Statemine(kusama) Parachains. (#533) (e83bc7e)

  • Add support for the KILT chain. Contribution by Dudleyneedham. (#542) (01ae7ac)

Bug Fixes

  • docs Improve release build & process instructions (#540) (ea5b40e)

6.0.0 (2021-05-03)

⚠ BREAKING CHANGES

  • Changes to serialization of ConsensusEngineId in block digest logs. Check spec diffs for details. (#535)

Types

  • Bump @polkadot/api for the latest parachain support. (#535) (7b96c21)

5.0.1 (2021-05-03)

Bug Fixes

  • docs: update release and publishing instructions (#529) (da33c7f)

  • fix: readme docs for node version 14 (#526) (409b611)

  • fix: remove dependabot and add upgrade-interactive plugin (#531) (f22cf3f)

  • deps: update @polkadot/api for the latest parachain support.

  • deps: Update @polkadot/apps-config to get latest chain specific upgrades.

  • deps: update @http/errors 1.8.0

5.0.0 (2021-04-26)

⚠ BREAKING CHANGES

  • Update the required node version as >= 14.0.0. This is to reflect the most recent updates with @polkadot/api (#521) (f50431c)

Bug Fixes

  • Update @polkadot/api to get the latest substrate specific upgrades.

  • Update @polkadot/apps-config to get latest chain specific upgrades.

4.0.8 (2021-04-21)

Experimental Feature

  • PLO endpoints Adds a set of endpoint's in order to query information regarding parachains, parathreads, and the parachain lease offering (PLO) system. These endpoints are marked as experimental because we may break their APIs without bumping this service's major version. Expect changes as polkadot's PLO system develops. (#509)(1fa4f94)

    • /experimental/paras/
    • /experimental/paras/crowdloans
    • /experimental/paras/:paraId/crowdloan-info
    • /experimental/paras/:paraId/lease-info
    • /experimental/paras/leases/current
    • /experimental/paras/auctions/current

    Please see the docs here for more information

4.0.7 (2021-04-19)

Bug Fixes

  • Update @polkadot/api to get the corrected Kusama/Polkadot runtime 30 session key definitions

  • Update @polkadot/apps-config to get latest chain specific upgrades

4.0.6 (2021-04-12)

Bug Fixes

  • types Update @polkadot/api to get latest substrate types for Parachains

  • types Update @polkadot/apps-config to get latest chain specific types

  • Add Dock Mainnet weight's to Metadata Consts (#511) (7b7451d)

CI

  • Update docker publish realease container to workaround the buildas gha bug (#506) (6294925)

4.0.5 (2021-04-05)

Bug Fixes

  • types Update @polkadot/api to get latest substrate types for MultiLocation

  • types Update @polkadot/apps-config to get latest chain specific types

  • Add a defensive check in createCalcFee to make sure weightToFee is not mapped over when it is undefined (#501) (8347b67)

4.0.4 (2021-03-29)

Bug Fixes

  • Removes a stray console log that made its way into the npm build of v4.0.3. Otherwise read v4.0.3 to see the most recent updates

4.0.3 (2021-03-29)

Optimizations

  • Refactor the ControllerConfigs, and BlocksService to store/cache relevant weight fee calculation data in order to optimize expandMetadata calls. The design will now allow chains to store their relevant weight data inside of metadata-consts but is not required. This fixes a regression seen in this commit. (#478) (610db42)

Bug Fixes

  • types Update @polkadot/api to get latest substrate ParaInfo type update (#496) (d566e31)
  • types Update @polkadot/apps-config to get latest chain specific types (#497) (6e58b51)
  • Reconfigure eraElectionStatus inside PalletsStakingProgressService to continue to work with parachains and older runtimes as it will be deprecated with the upcoming runtime v30 (#485) (415f030)

4.0.2 (2021-03-22)

Bug Fixes

  • types Update @polkadot/api to get latest substrate types for Extender{Header, SignedBlock}, and updated metadata
  • types Update @polkadot/apps-config to get latest chain specific types

Packaging

  • build Update all configuration packages to pull from a universal config @substrate/dev (#472)(68db176)

4.0.1 (2021-03-15)

Bug Fixes

  • types Update @polkadot/api to get latest substrate types for crowdloans (#474)(91f7dfa)
  • types Update @polkadot/apps-config to get latest substrate types for crowdloans (#473) (dfeec8c)

CI

  • Update release-container for tags list (#470) (8c9bbe9)

4.0.0 (2021-03-10)

⚠ BREAKING CHANGES

  • Enums in responses serialize with camelCase variants. Check spec diffs for details (#467)

Features

  • types camelCase enum serialization; Bump polkadot/api@v4 w. ESM (#467) (179642b)

Bug Fixes

  • types Update @polkadot/apps-config to get latest chain specific types (#463) (8357b33)

CI

3.0.5 (2021-03-01)

Bug Fixes

  • types: Update @polkadot/api to get latest substrate types (#449) (6120dca)
  • types: Update @polkadot/apps-config to get latest chain specific types (#451) (226bbc0)

3.0.4 (2021-02-23)

Bug Fixes

  • types: Update @polkadot/api to get latest fixes for polkadot 0.8.28 (#446) (67302ff)

3.0.3 (2021-02-15)

Bug Fixes

  • types: Update @polkadot/{apps-config, api} to get latest type definitions (#434) (e02818f)

3.0.2 (2021-02-09)

Bug Fixes

  • discriminate extrinsic_base_weight based on dispatch class (#414) (ff98c76)

3.0.1 (2021-02-02)

Bug Fixes

  • types: Bump polkadot-js/api to so we have type definitions for runtimes associated with polkadot 0.8.28 (#410) (6a1cd8b)

3.0.0 (2021-01-27)

⚠ BREAKING CHANGES

  • Update polkadot-js/api and account for chainProperties updates (#402)
  • Type definition specification with env vars and JSON files (#399)

Features

  • Type definition specification with env vars and JSON files (#399) (8c621b0)
  • Add finalized tag when querying blocks (#386) (b95f913)
  • Add route /blocks/{blockId}/extrinsics/{extrinsicIndex} (#400) (6507ce7)

Bug Fixes

  • Update polkadot-js/api and account for chainProperties updates (#402) (37acc7e)

CI

2.1.2 (2021-01-18)

Upgrade priority: High; this version is required for Polkadot 27, Kusama 2027, and Westend 47. This release ensures correct fee calculations and decoding of all blocks in the aforementioned runtimes.

Bug Fixes

  • fix: Use correct registry when creating calls; Remove usage of derive.chain.getBlock (#391) (f961cae)
  • fix: Revert stack limit increase and use updated polkadot-js/api instead (#394) (bcd6b40)
  • fix: Update fee calc to use system::constants::BlockWeights.per_class.normal.base_extrinsic (#388) (5ec24e6)

2.1.1 (2021-01-07)

Optimizations

  • refactor: Optimize accounts/{accountId}/staking-payouts blocking query complexity (#372) (b3cbf61)

Bug Fixes

  • Account for polkadot-js changes; Harden createCalcFee (#376) (fdee04c)

2.1.0 (2020-12-18)

Features

  • chainSpec based controller config; Types from apps-config (#351) (5936a1c)
  • Impl /pallets/{pallets}/storage; Impl index lookup for /pallets/{palletId}/storage/{, storageItemId} (#356) (a8387df)
  • Support Dock's multiplier & add Dock controller config (#365) (fb5df84)

Bug Fixes

  • env: typo SAS_EXPRESS_BIND_PORT -> SAS_EXPRESS_PORT in .env.docker (#364) (8cbafea)
  • Bump polkadot-js and adjust imports; Update specs (#344) (eeea29b)
  • Catch errors decoding opaque calls (#347) (d128e54)
  • Use http BadRequest (400) when balance-info not found (#355) (c2a4937)

2.0.0 (2020-11-19)

⚠ BREAKING CHANGES

  • Bump polkadot-js and document runtime/metadata API regression (#338)

Features

  • Bump polkadot-js and document runtime/metadata API regression (#338) (effc5eb). Regression diff; removes polkadot-js type aliases from metadata.

Bug Fixes

  • Bump polkadot-js and adjust imports; Update specs (#344) (eeea29b)

1.0.0 (2020-10-23)

⚠ BREAKING CHANGES

  • Remove all v0 routes to prepare for v1 release (410a2e9)

1.0.0-rc4 (2020-10-21)

Features

Bug Fixes

  • Find pallets with index 0 (#321) (ee0a048)
  • Use correct registry when parsing extrinsic call arguments (#323) (b4678e1)

1.0.0-rc3 (2020-09-29)

Features

  • types: Bump polkadot-js to v2.0.1 for new treasuary types (#310) (6d0daf7)

1.0.0-rc2 (2020-09-24)