Skip to content

Commit

Permalink
chore(release): 20.0.0 (#1590)
Browse files Browse the repository at this point in the history
  • Loading branch information
Imod7 authored Feb 10, 2025
1 parent 22db863 commit b2b0389
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 3 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,51 @@

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.

## [20.0.0](https://github.com/paritytech/substrate-api-sidecar/compare/v19.4.0..v20.0.0) (2025-02-10)

### Breaking Changes

- fix: claimed in staking info endpoint ([#1445](https://github.com/paritytech/substrate-api-sidecar/pull/1445)) ([e11955a](https://github.com/paritytech/substrate-api-sidecar/commit/e11955aa8a204fe95585556952c679673aa44a57))

NOTE: This PR introduces breaking changes in the `staking-info` endpoint. More specifically:

- The field `claimed` in the endpoint's response has changed structure and now we have a separate status for each era returned.
- The status values are different for validator and nominator account.
- The logic that calculates the era status was completely refactored.

Please refer to the documents mentioned in the related PR for more details:
- [Staking PR - claimed field - Guide](https://hackmd.io/@LwMsxe3-SFmNXxugAXOKgg/ryPwFoezyl)
- [STAKING_IMPLEMENTATION_DETAILS.md](https://github.com/paritytech/substrate-api-sidecar/pull/1445/files)

### Fix

- fix: make scripts executable again in benchmark workflow ([#1589](https://github.com/paritytech/substrate-api-sidecar/pull/1589)) ([22db863](https://github.com/paritytech/substrate-api-sidecar/commit/22db86313c62399649b351a1715b783ef29c2d55))
- fix: benchmark-publish job (github action) ([#1585](https://github.com/paritytech/substrate-api-sidecar/pull/1585)) ([d87bc07](https://github.com/paritytech/substrate-api-sidecar/commit/d87bc079049a37d81c0fd77ab540618e60a0b8b1))

### Chores

- chore(deps-dev): bump @types/express-serve-static-core from 5.0.5 to 5.0.6 ([#1588](https://github.com/paritytech/substrate-api-sidecar/pull/1588)) ([2ad52e0](https://github.com/paritytech/substrate-api-sidecar/commit/2ad52e0d5b53c78551dc51a1d895521b09a3d9c8))
- chore(deps): bump the pjs group with 5 updates ([#1587](https://github.com/paritytech/substrate-api-sidecar/pull/1587)) ([274e844](https://github.com/paritytech/substrate-api-sidecar/commit/274e8442425a69d4397b44db19ed8750e6d03bea))
- chore(deps): update polkadot-js deps to v15.5.1 ([#1583](https://github.com/paritytech/substrate-api-sidecar/pull/1583)) ([fd7d7b7](https://github.com/paritytech/substrate-api-sidecar/commit/fd7d7b7ad12130af095f07559f8e09d4422d8153))
- chore(deps): bump docker/build-push-action from 6.11.0 to 6.13.0 ([#1580](https://github.com/paritytech/substrate-api-sidecar/pull/1580)) ([18f33f4](https://github.com/paritytech/substrate-api-sidecar/commit/18f33f4f570f3ec30f1e47e0d2f93180dfb62dfe))
- chore(deps-dev): bump @types/express-serve-static-core from 5.0.4 to 5.0.5 ([#1578](https://github.com/paritytech/substrate-api-sidecar/pull/1578)) ([398a98c](https://github.com/paritytech/substrate-api-sidecar/commit/398a98cc2b4c3c143824c162d28d7136e4a0e61d))
- chore(deps-dev): bump @types/express-serve-static-core from 5.0.3 to 5.0.4 ([#1574](https://github.com/paritytech/substrate-api-sidecar/pull/1574)) ([194f3e7](https://github.com/paritytech/substrate-api-sidecar/commit/194f3e795e6a698d49acab73e8965f6dcbda3b35))
- chore(deps): bump the pjs group with 5 updates ([#1573](https://github.com/paritytech/substrate-api-sidecar/pull/1573)) ([fc95cd0](https://github.com/paritytech/substrate-api-sidecar/commit/fc95cd0460abb6816cd0e3a5ecd5f45199104d22))
- chore(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 ([#1572](https://github.com/paritytech/substrate-api-sidecar/pull/1572)) ([51ab44b](https://github.com/paritytech/substrate-api-sidecar/commit/51ab44b7536376f3583e18333b3e9e8332f498cc))


## Compatibility

Tested against the following node releases:
- Polkadot v1.17.1 (Polkadot stable2412-1)
- Kusama v1.17.1 (Polkadot stable2412-1)
- Westend v1.17.1 (Polkadot stable2412-1)

Tested against the following runtime releases:
- Polkadot v1003004
- Kusama v1003003
- Westend v1017001

## [19.4.0](https://github.com/paritytech/substrate-api-sidecar/compare/v19.3.1..v19.4.0) (2025-01-07)

### Features
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ _Estimated Time Needed: Depending on your machine and the syncing mode you choos
1. Make sure to be in the `master` branch, and `git pull origin master`.

1. Ensure that all CI/CD jobs from the last merged commit are passing. You can verify this by checking the [commits](https://github.com/paritytech/substrate-api-sidecar/commits/master/) on the master branch, where a green check (✅) should be present. If you see a red cross (❌) then you can click on it and do the following checks:
- If the failed job is related to benchmarks, e.g. `continuous-integration/gitlab-bench-polkadot` or `continuous-integration/gitlab-push-benchmark`, it is not critical, and you can proceed with the next steps of the release.
- If the failed job is related to benchmarks, e.g. `Benchmark / benchmark (push)` or `Benchmark / benchmark publish (push)`, it is not critical, and you can proceed with the next steps of the release. At a later time though, it is worth checking why they are not pushed / published [here](https://paritytech.github.io/substrate-api-sidecar/dev/bench/).
- If the failed job is related to staging deployment, e.g. `continuous-integration/gitlab-deploy-staging`, this is critical. In this case, you should check with the CI/CD team to get the relevant logs and fix the issue before continuing with the release.

1. Make sure that you've run `yarn` in this folder, and run `cargo install wasm-pack` so that binary is available on your `$PATH`.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/openapi-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ info:
license:
name: GPL-3.0-or-later
url: https://github.com/paritytech/substrate-api-sidecar/blob/master/LICENSE
version: 19.4.0
version: 20.0.0
servers:
- url: https://polkadot-public-sidecar.parity-chains.parity.io/
description: Polkadot Parity public sidecar
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "19.4.0",
"version": "20.0.0",
"name": "@substrate/api-sidecar",
"description": "REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.",
"homepage": "https://github.com/paritytech/substrate-api-sidecar#readme",
Expand Down

0 comments on commit b2b0389

Please sign in to comment.