Skip to content
CHANGELOG.md 163 KiB
Newer Older
Zeke Mostov's avatar
Zeke Mostov committed
# Changelog

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.

## [19.2.0](https://github.com/paritytech/substrate-api-sidecar/compare/v19.1.0..v19.2.0) (2024-09-23)

### Feat

- feat: add loki functionality to transport logs ([#1479](https://github.com/paritytech/substrate-api-sidecar/pull/1479)) ([85a4cca](https://github.com/paritytech/substrate-api-sidecar/commit/85a4cca46ea9102c18e6369bcda62e812c7aeadd))
- feat: Inject metrics registry in route controllers ([#1477](https://github.com/paritytech/substrate-api-sidecar/pull/1477)) ([11c0173](https://github.com/paritytech/substrate-api-sidecar/commit/11c0173ab1a79cf7cc464b1ad8446d367fd2bb16))

### Fix

- fix: Moves the LRUcache to Controller level ([#1489](https://github.com/paritytech/substrate-api-sidecar/pull/1489)) ([890c06b](https://github.com/paritytech/substrate-api-sidecar/commit/890c06ba185da796f9d731b8beb766a788b38076))
- fix: dependabot yaml ([#1482](https://github.com/paritytech/substrate-api-sidecar/pull/1482)) ([2e6efc0](https://github.com/paritytech/substrate-api-sidecar/commit/2e6efc07a717c1ddc44cfa59e2d28649f4585914))
- fix: Improve performance of blocks service by dependency injection ([#1483](https://github.com/paritytech/substrate-api-sidecar/pull/1483)) ([6eaca88](https://github.com/paritytech/substrate-api-sidecar/commit/6eaca881c570efbeb978ba959d09ebe830f526b4))

### Chore

- chore(deps): update polkadot-js deps ([#1496](https://github.com/paritytech/substrate-api-sidecar/pull/1496)) ([112994e](https://github.com/paritytech/substrate-api-sidecar/commit/112994e6d2d814aa037d72dcad4914251cb7a478))
- chore(deps): update polkadot-js deps ([#1495](https://github.com/paritytech/substrate-api-sidecar/pull/1495)) ([0115afc](https://github.com/paritytech/substrate-api-sidecar/commit/0115afcbbbf6b6157df9e057465c25f779813fbe))
- chore(deps): update non pjs deps & in docs ([#1494](https://github.com/paritytech/substrate-api-sidecar/pull/1494)) ([968f522](https://github.com/paritytech/substrate-api-sidecar/commit/968f522193292d4dc21478bfd813336ee49499cb))
- chore(deps): bump express from 4.19.2 to 4.20.0 ([#1491](https://github.com/paritytech/substrate-api-sidecar/pull/1491)) ([a5b8a36](https://github.com/paritytech/substrate-api-sidecar/commit/a5b8a3673bc130f8edddb3e9dbe83335ecbf2f53))
- chore: bump express from 4.19.2 to 4.21.0 in /docs ([#1490](https://github.com/paritytech/substrate-api-sidecar/pull/1490)) ([02a3797](https://github.com/paritytech/substrate-api-sidecar/commit/02a37973d414e32516a7d1d743396d2be5e2a3fb))
- chore: bump webpack from 5.93.0 to 5.94.0 in /docs ([#1484](https://github.com/paritytech/substrate-api-sidecar/pull/1484)) ([6286442](https://github.com/paritytech/substrate-api-sidecar/commit/628644297ff05cceec5ec87c1c617be13d9c5ec4))
- chore(deps): bump micromatch from 4.0.5 to 4.0.8 ([#1481](https://github.com/paritytech/substrate-api-sidecar/pull/1481)) ([373ec9b](https://github.com/paritytech/substrate-api-sidecar/commit/373ec9b8f45a22f6c0157e96d0546d6f9f522f3d))
- chore: bump micromatch from 4.0.4 to 4.0.8 in /docs ([#1480](https://github.com/paritytech/substrate-api-sidecar/pull/1480)) ([1ca7f9b](https://github.com/paritytech/substrate-api-sidecar/commit/1ca7f9b913ce74a538e46b3ae2ca24f47bbd36f4))


## Compatibility

Tested against the following node releases:
- Polkadot v1.15.2 (Polkadot stable2407-2)
- Kusama v1.15.2 (Polkadot stable2407-2)
- Westend v1.15.2 (Polkadot stable2407-2)

Tested against the following runtime releases:
- Polkadot v1003000
- Kusama v1003000
- Westend v1016000

## [19.1.0](https://github.com/paritytech/substrate-api-sidecar/compare/v19.0.2..v19.1.0) (2024-08-15)

### Feat

- feat: add pallets/on-going-referenda endpoint ([#1471](https://github.com/paritytech/substrate-api-sidecar/pull/1471)) ([386fbb3](https://github.com/paritytech/substrate-api-sidecar/commit/386fbb360b60ee92f5ca9e543532f0d0092f995f))
- feat: Add route based metrics across API ([#1465](https://github.com/paritytech/substrate-api-sidecar/pull/1465)) ([a4bbcb8](https://github.com/paritytech/substrate-api-sidecar/commit/a4bbcb8ff2de3257fa012d832e853cedb67a0508))

### Docs

- docs: Remove old stable version note ([#1466](https://github.com/paritytech/substrate-api-sidecar/pull/1466)) ([250b613](https://github.com/paritytech/substrate-api-sidecar/commit/250b6133d78375a95f2d4ac125cb1b3bb8312fb2))
- docs: add maintenance guide ([#1460](https://github.com/paritytech/substrate-api-sidecar/pull/1460)) ([58bf51d](https://github.com/paritytech/substrate-api-sidecar/commit/58bf51dbce8f522ac34c48c127ef9b0a634f66e2))

### Chore

- chore(deps): update all non polkadot-js deps in root & docs folder ([#1475](https://github.com/paritytech/substrate-api-sidecar/pull/1475)) ([c766c1d](https://github.com/paritytech/substrate-api-sidecar/commit/c766c1df8757d44aa0263b4ca296f6d43363dfe2))
- chore: bump axios from 1.6.7 to 1.7.4 in /docs ([#1474](https://github.com/paritytech/substrate-api-sidecar/pull/1474)) ([82c61df](https://github.com/paritytech/substrate-api-sidecar/commit/82c61df511ad1a56c62f80d0ca8bb6051dfd20ec))
- chore(deps): update polkadot-js deps ([#1473](https://github.com/paritytech/substrate-api-sidecar/pull/1473)) ([0317ec9](https://github.com/paritytech/substrate-api-sidecar/commit/0317ec9fab569c6f560db313a3aa20ef2265a5ec))


## Compatibility

Tested against the following node releases:
- Polkadot v1.15.0 (Polkadot stable2407)
- Kusama v1.15.0 (Polkadot stable2407)
- Westend v1.15.0 (Polkadot stable2407)

Tested against the following runtime releases:
- Polkadot v1002007
- Kusama v1002006
- Westend v1015000

## [19.0.2](https://github.com/paritytech/substrate-api-sidecar/compare/v19.0.1..v19.0.2) (2024-06-27)

### Fix

- fix: add nominations in staking-info endpoint ([#1448](https://github.com/paritytech/substrate-api-sidecar/pull/1448)) ([b048648](https://github.com/paritytech/substrate-api-sidecar/commit/b04864823e16e4a450b76c9d6c9953b13bc9baaf))

### Chore

- chore(deps): update polkadot-js deps ([#1458](https://github.com/paritytech/substrate-api-sidecar/pull/1458)) ([2f7a4f1](https://github.com/paritytech/substrate-api-sidecar/commit/2f7a4f116e3405148f5742e65d2a1178bc8240f1))
- chore(deps): bump ws from 8.16.0 to 8.17.1 ([#1456](https://github.com/paritytech/substrate-api-sidecar/pull/1456)) ([92f39d0](https://github.com/paritytech/substrate-api-sidecar/commit/92f39d05269cbf7aa0e8abf522177f22186dae68))
- chore: bump ws from 8.5.0 to 8.17.1 in /docs ([#1455](https://github.com/paritytech/substrate-api-sidecar/pull/1455)) ([2b63e9b](https://github.com/paritytech/substrate-api-sidecar/commit/2b63e9b785d8d603dece2588f8bd7c19d4c553cf))
- chore(deps): bump braces from 3.0.2 to 3.0.3 ([#1451](https://github.com/paritytech/substrate-api-sidecar/pull/1451)) ([9fffaff](https://github.com/paritytech/substrate-api-sidecar/commit/9fffaff4af4f53a7be662575dd8ce5394b4249e4))
- chore: bump braces from 3.0.2 to 3.0.3 in /docs ([#1450](https://github.com/paritytech/substrate-api-sidecar/pull/1450)) ([edb6049](https://github.com/paritytech/substrate-api-sidecar/commit/edb604910f8a03255b2cc34524bdb47d4edd4703))
- chore(yarn): bump yarn to 4.2.2 ([#1444](https://github.com/paritytech/substrate-api-sidecar/pull/1444)) ([1fe1b46](https://github.com/paritytech/substrate-api-sidecar/commit/1fe1b46f9529f50e9256016a74284c796e288245))

## Compatibility

Tested against:
- Polkadot v11300
- Kusama v11300
- Westend v11300
## [19.0.1](https://github.com/paritytech/substrate-api-sidecar/compare/v19.0.0..v19.0.1) (2024-05-24)

### Fix

- fix: duplicate payouts in staking-payouts endpoint ([#1439](https://github.com/paritytech/substrate-api-sidecar/pull/1439)) ([b751ca4](https://github.com/paritytech/substrate-api-sidecar/commit/b751ca4302d4497712be6d6128f771628f268947))
- fix: add asset conversion pallet to Polkadot Asset Hub ([#1437](https://github.com/paritytech/substrate-api-sidecar/pull/1437)) ([1c42f70](https://github.com/paritytech/substrate-api-sidecar/commit/1c42f70650fc56d27d59ef30ec3735546286eff1))

### Chore

- chore(deps): update all non polkadot-js deps ([#1442](https://github.com/paritytech/substrate-api-sidecar/pull/1442)) ([bb83189](https://github.com/paritytech/substrate-api-sidecar/commit/bb831899d1e44b1602dee6d5d5b920d98c385a24))
- chore(deps): update polkadot-js deps & README ([#1441](https://github.com/paritytech/substrate-api-sidecar/pull/1441)) ([7fb4844](https://github.com/paritytech/substrate-api-sidecar/commit/7fb4844c119d1d18ee8ce19bb302bd7548de144e))

## Compatibility

Tested against:
- Polkadot v11200
- Kusama v11200
- Westend v11200

## [19.0.0](https://github.com/paritytech/substrate-api-sidecar/compare/v18.0.0..v19.0.0) (2024-04-24)

### Breaking Changes

- fix!: add new staking storage items ([#1432](https://github.com/paritytech/substrate-api-sidecar/pull/1432)) ([317edba](https://github.com/paritytech/substrate-api-sidecar/commit/317edba2c78dd181b2d0acbf335b412a3355a282))
  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
    1. The payouts are retrieved by using the new storage items `erasStakersPaged` and `erasStakersOverview`
    1. The use of `erasStakersClipped` is deprecated but still supported. It will be completely removed in the future
- fix!: staking payouts change claimed value ([#1429](https://github.com/paritytech/substrate-api-sidecar/pull/1429)) ([abf4d9d](https://github.com/paritytech/substrate-api-sidecar/commit/abf4d9df7b647955d135fbc93084e565d402bdd1))
  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
    1. Payouts are now retrievable from any block height within the queried era

### Feat

- feat: add metadata versions endpoints ([#1424](https://github.com/paritytech/substrate-api-sidecar/pull/1424)) ([beb02ba](https://github.com/paritytech/substrate-api-sidecar/commit/beb02ba1debb637b212e2032934f628724089912))

### Fix

- fix: add deprecation note for paras endpoints ([#1428](https://github.com/paritytech/substrate-api-sidecar/pull/1428)) ([3ed7cbe](https://github.com/paritytech/substrate-api-sidecar/commit/3ed7cbecd177e5aa367ea4bbd27ccd1c62bce03e))
- fix: define query param depth in Staking Payouts for all chains ([#1422](https://github.com/paritytech/substrate-api-sidecar/pull/1422)) ([c73c801](https://github.com/paritytech/substrate-api-sidecar/commit/c73c801b77d74db0bca4c4b50deada26c39becc5))

### Chore

- chore(deps): update polkadot-js deps ([#1434](https://github.com/paritytech/substrate-api-sidecar/pull/1434)) ([d2c05f2](https://github.com/paritytech/substrate-api-sidecar/commit/d2c05f2941e62b341f068e117df30fe72325eb7a))
- chore(deps): update polkadot-js deps ([#1430](https://github.com/paritytech/substrate-api-sidecar/pull/1430)) ([80571f8](https://github.com/paritytech/substrate-api-sidecar/commit/80571f840f1f62789a9b2ee0c41486ae2c46c24d))
- chore(deps): bump tar from 6.1.15 to 6.2.1 ([#1427](https://github.com/paritytech/substrate-api-sidecar/pull/1427)) ([395b39b](https://github.com/paritytech/substrate-api-sidecar/commit/395b39b84ba66a853e464a0c2856718acfe69eff))
- chore: bump tar from 6.1.12 to 6.2.1 in /docs ([#1426](https://github.com/paritytech/substrate-api-sidecar/pull/1426)) ([467ecdd](https://github.com/paritytech/substrate-api-sidecar/commit/467ecddb79a6303572e09e7675e4c94ac98e6870))
- chore: bump undici from 5.28.3 to 5.28.4 in /docs ([#1425](https://github.com/paritytech/substrate-api-sidecar/pull/1425)) ([360b6ab](https://github.com/paritytech/substrate-api-sidecar/commit/360b6abe633301d60132801132c85d9081c39a52))
- chore(deps): bump express from 4.18.3 to 4.19.2 ([#1420](https://github.com/paritytech/substrate-api-sidecar/pull/1420)) ([5951085](https://github.com/paritytech/substrate-api-sidecar/commit/59510850ff8f71bef4bd403420c1625498ad342d))
- chore(deps): bump express from 4.18.1 to 4.19.2 in /docs ([#1419](https://github.com/paritytech/substrate-api-sidecar/pull/1419)) ([d4ceb44](https://github.com/paritytech/substrate-api-sidecar/commit/d4ceb44283fa9493f89dc9b93a95e7074ce51f53))
- chore(deps): bump webpack-dev-middleware from 5.3.1 to 5.3.4 in /docs ([#1418](https://github.com/paritytech/substrate-api-sidecar/pull/1418)) ([51a4a68](https://github.com/paritytech/substrate-api-sidecar/commit/51a4a68f089580adc29f97b5bf22de1753df5020))

## Compatibility

Tested against:
- Polkadot v11000
- Kusama v11000
- Westend v11000

## [18.0.0](https://github.com/paritytech/substrate-api-sidecar/compare/v17.5.2..v18.0.0) (2024-03-21)

### Breaking Changes

- feat!: add in-transit XCM msgs in blocks endpoint ([#1412](https://github.com/paritytech/substrate-api-sidecar/pull/1412)) ([6028086](https://github.com/paritytech/substrate-api-sidecar/commit/6028086ee3e236476c7b7ce5a8db4efe50875e7d))
  - 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
     1. `paraId` was renamed to `originParaId`

### Fix

- fix: add Kusama chain check in historic blocks ([#1415](https://github.com/paritytech/substrate-api-sidecar/pull/1415)) ([cfbcddd](https://github.com/paritytech/substrate-api-sidecar/commit/cfbcddd3e1019949dc3bb9fb12e420bde9af47bf))
- fix: multilocation type in pallets/foreign-assets ([#1408](https://github.com/paritytech/substrate-api-sidecar/pull/1408)) ([b7136d0](https://github.com/paritytech/substrate-api-sidecar/commit/b7136d0a8442532f9a4b5896ef061df6b870db03))

### Chore

- fix(deps): update pjs deps, and fixing types ([#1416](https://github.com/paritytech/substrate-api-sidecar/pull/1416)) ([b5eded8](https://github.com/paritytech/substrate-api-sidecar/commit/b5eded8909afb533d023073a5cdf1f230c9cfe06))
- chore(deps): bump follow-redirects from 1.15.5 to 1.15.6 in /docs ([#1414](https://github.com/paritytech/substrate-api-sidecar/pull/1414)) ([e20f782](https://github.com/paritytech/substrate-api-sidecar/commit/e20f78249ce7e70aaa90a985cb375b8f39db2cda))
- chore(deps): update non-pjs deps ([#1407](https://github.com/paritytech/substrate-api-sidecar/pull/1407)) ([96c9f11](https://github.com/paritytech/substrate-api-sidecar/commit/96c9f11d7c4142c6f8a145eb932fb650941ade50))

## Compatibility

Tested against:
- Polkadot v10800
- Kusama v10800
- Westend v10800

## [17.5.2](https://github.com/paritytech/substrate-api-sidecar/compare/v17.5.1..v17.5.2) (2024-03-01)

### Fix

- fix: add more historic support for staking-payouts ([#1397](https://github.com/paritytech/substrate-api-sidecar/pull/1397)) ([b1e84be](https://github.com/paritytech/substrate-api-sidecar/commit/b1e84beb5c4883ca78981a064f4dc4f80fac0f97))

### Chore

- chore(deps): bump ip from 1.1.8 to 1.1.9 in /docs ([#1399](https://github.com/paritytech/substrate-api-sidecar/pull/1399)) ([b7480fb](https://github.com/paritytech/substrate-api-sidecar/commit/b7480fbc7826b27f8732824a43e4f8b094fd9d50))
- chore(deps): bump ip from 2.0.0 to 2.0.1 ([#1398](https://github.com/paritytech/substrate-api-sidecar/pull/1398)) ([d751ba8](https://github.com/paritytech/substrate-api-sidecar/commit/d751ba8518074bd28cbffc94c91156fa45652350))

## Compatibility

Tested against:
- Polkadot v10500
- Kusama v10500
- Westend v10500

## [17.5.1](https://github.com/paritytech/substrate-api-sidecar/compare/v17.5.0..v17.5.1)(2024-02-07)
Loading full blame...