CHANGELOG.md 151 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.

## [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)

### Fix

- fix: staking-payouts for legacy types ([#1394](https://github.com/paritytech/substrate-api-sidecar/pull/1394)) ([e91a913](https://github.com/paritytech/substrate-api-sidecar/commit/e91a913a91050b8b6779c526d344294225c9ef64))

## Compatibility

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

## [17.5.0](https://github.com/paritytech/substrate-api-sidecar/compare/v17.4.0..17.5.0)(2024-02-06)

### Feat

- feat: add `at` query param for staking-payouts ([#1388](https://github.com/paritytech/substrate-api-sidecar/pull/1388)) ([a8b96ff](https://github.com/paritytech/substrate-api-sidecar/commit/a8b96ff55afba56325ee4df6c2f9ac6dfcc0e418))
- feat: Add endpoint `/accounts/{accountId}/proxy-info` ([#1387](https://github.com/paritytech/substrate-api-sidecar/pull/1387)) ([9addf07](https://github.com/paritytech/substrate-api-sidecar/commit/9addf07743940b314259ceac73310fad823e2ec8))

### Fix

- fix: add asset conversion pallet to Kusama Asset Hub ([#1389](https://github.com/paritytech/substrate-api-sidecar/pull/1389)) ([3b447c6](https://github.com/paritytech/substrate-api-sidecar/commit/3b447c60c1fcbc51c0c0a4f0efb2cfb817bd2a04))
- fix: added decodedXcmMsgs in 'blocks/head' endpoint ([#1385](https://github.com/paritytech/substrate-api-sidecar/pull/1385)) ([90b89de](https://github.com/paritytech/substrate-api-sidecar/commit/90b89de069b6658e7355e57c0f7e36a338e00950))

### Docs

- docs(calc): Updated README for calc package ([#1386](https://github.com/paritytech/substrate-api-sidecar/pull/1386)) ([cc80227](https://github.com/paritytech/substrate-api-sidecar/commit/cc802273cc81164a07658eb579548288335d39bd))

### Ci

- ci: Replace helm deploy with argo cd ([#1391](https://github.com/paritytech/substrate-api-sidecar/pull/1391)) ([1bd0cda](https://github.com/paritytech/substrate-api-sidecar/commit/1bd0cda9f471a344b0edbb9822cdfa45f41d67a3))

### Chore

- chore(deps): update swagger-ui to resolve braintree dep ([#1392](https://github.com/paritytech/substrate-api-sidecar/pull/1392)) ([3a42a38](https://github.com/paritytech/substrate-api-sidecar/commit/3a42a38162b7f928e8ae4a7c56811ffba2a02cb0))
- chore(yarn): update yarn to 4.1.0 ([#1390](https://github.com/paritytech/substrate-api-sidecar/pull/1390)) ([02166de](https://github.com/paritytech/substrate-api-sidecar/commit/02166de48d3eb386024d6c34cdf635a51112431f))

## Compatibility

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

## [17.4.0](https://github.com/paritytech/substrate-api-sidecar/compare/v17.3.5..v17.4.0) (2024-01-24)

### Features

- feat: add decoded XCM data in blocks endpoint ([#1364](https://github.com/paritytech/substrate-api-sidecar/pull/1364)) ([555817c](https://github.com/paritytech/substrate-api-sidecar/commit/555817c888c5d4b124d1d891404472c436a4a812))

### Fix

- fix: generated a custom key for the cache in blocks endpoint ([#1381](https://github.com/paritytech/substrate-api-sidecar/pull/1381)) ([17cbd2c](https://github.com/paritytech/substrate-api-sidecar/commit/17cbd2cd6af98a826ee5f64d2868e014a3249bdb))

### Docs

- docs: correct the /transaction/material docs for metadata ([#1377](https://github.com/paritytech/substrate-api-sidecar/pull/1377)) ([ca163c7](https://github.com/paritytech/substrate-api-sidecar/commit/ca163c74e485c13b0d084d8ce8c004e3c92ee592))

### Chore

- chore(deps): bump Swatinem/rust-cache from 2.7.1 to 2.7.2 ([#1380](https://github.com/paritytech/substrate-api-sidecar/pull/1380)) ([8eca817](https://github.com/paritytech/substrate-api-sidecar/commit/8eca8172dbbac90e4c8ea0f6a89716710a6b91cf))
- chore(deps): bump Swatinem/rust-cache from 2.7.2 to 2.7.3 ([#1382](https://github.com/paritytech/substrate-api-sidecar/pull/1382)) ([792d5bb](https://github.com/paritytech/substrate-api-sidecar/commit/792d5bb4b4d84d8c5ac598771b21a1a1ec4d00d8))
- chore(deps): bump actions/cache from 3 to 4 ([#1383](https://github.com/paritytech/substrate-api-sidecar/pull/1383)) ([95987f5](https://github.com/paritytech/substrate-api-sidecar/commit/95987f55645463b43570ba8879f807d29162b02a))

## Compatibility

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

## [17.3.5](https://github.com/paritytech/substrate-api-sidecar/compare/v17.3.4..v17.3.5) (2024-01-10)

### Fix

- fix: changed how claimed variable is set in staking-payouts ([#1378](https://github.com/paritytech/substrate-api-sidecar/pull/1378)) ([0560806](https://github.com/paritytech/substrate-api-sidecar/commit/056080636e11ceea2364e59bb769bea1be3429a4))

### Perf

- perf: add additional high load benchmarks for /blocks ([#1372](https://github.com/paritytech/substrate-api-sidecar/pull/1372)) ([c3d9d01](https://github.com/paritytech/substrate-api-sidecar/commit/c3d9d012762f5c93fca3d274fa08388d70296737))

### Docs

- docs: update node compatibility ([#1373](https://github.com/paritytech/substrate-api-sidecar/pull/1373)) ([51353c0](https://github.com/paritytech/substrate-api-sidecar/commit/51353c0eee1ced554c8d8c9a0067af69b8e2574c))

### Chore

- chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /docs ([#1376](https://github.com/paritytech/substrate-api-sidecar/pull/1376)) ([b2aab7d](https://github.com/paritytech/substrate-api-sidecar/commit/b2aab7dd5ae93b1270e8baba4e2ac7e0c8d3e8ed))

## Compatibility

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

## [17.3.4](https://github.com/paritytech/substrate-api-sidecar/compare/v17.3.3..v17.3.4) (2024-01-05)

### Fix

- fix: ensure statemine, and statemint are still supported ([#1374](https://github.com/paritytech/substrate-api-sidecar/pull/1374)) ([ca5079a](https://github.com/paritytech/substrate-api-sidecar/commit/ca5079a037b8911c6c6d0f8900f0ef6beec369f9))

### Chore

- chore(pjs): update polkadot-js, and fix staking ledger types ([#1371](https://github.com/paritytech/substrate-api-sidecar/pull/1371)) ([ceea8eb](https://github.com/paritytech/substrate-api-sidecar/commit/ceea8ebad59581118b061846c01ed0a80db78ae9))

## Compatibility

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

## [17.3.3](https://github.com/paritytech/substrate-api-sidecar/compare/v17.3.2..v17.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

- perf: transactionPaidFee event optimization ([#1367](https://github.com/paritytech/substrate-api-sidecar/pull/1367)) ([2883249](https://github.com/paritytech/substrate-api-sidecar/commit/288324918b7445fce8be6c4606c41058c66cdf69)) 
- perf: add concurrency to fee calls ([#1368](https://github.com/paritytech/substrate-api-sidecar/pull/1368)) ([0980d1e](https://github.com/paritytech/substrate-api-sidecar/commit/0980d1e0766f1e416883c8e68ebcf04ca8ecd2fc))

### Fix

- fix: add finalizedKey query param to /blocks/{blockId} ([#1362](https://github.com/paritytech/substrate-api-sidecar/pull/1362)) ([ecd1518](https://github.com/paritytech/substrate-api-sidecar/commit/ecd1518a1e7f6b4465e90cd7ff8f6fd7a115b88b))
- fix: added query to calc fees ([#1366](https://github.com/paritytech/substrate-api-sidecar/pull/1366)) ([203a257](https://github.com/paritytech/substrate-api-sidecar/commit/203a257bea3c150ac09d7b7fa956d68e524969bc))
    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](https://github.com/paritytech/substrate-api-sidecar/pull/1363)) ([2a38b2e](https://github.com/paritytech/substrate-api-sidecar/commit/2a38b2e652bf621bf6cc450ce5fdacf5656d9c8c))

## Compatibility

Tested against:
- Polkadot v10400
- Kusama v10400
- Westend v10400

## [17.3.2](https://github.com/paritytech/substrate-api-sidecar/compare/v17.3.1..v17.3.2) (2023-11-26)

### Fix

- fix: add override types for asset hub conversation pallet ([#1354](https://github.com/paritytech/substrate-api-sidecar/pull/1354)) ([21e016d](https://github.com/paritytech/substrate-api-sidecar/commit/21e016d990ab0edd6cc322dc073ab576552a1320))

### Test

- test: add test for frozen deprecation in runtime ([#1353](https://github.com/paritytech/substrate-api-sidecar/pull/1353)) ([1a249a3](https://github.com/paritytech/substrate-api-sidecar/commit/1a249a3fcca5df21a85a035d49c422b265bdc2e4))

### CI

Loading full blame...