Skip to content

Releases: paritytech/substrate-api-sidecar

v1.0.0

24 Oct 03:20

Choose a tag to compare

You can find the migration guide here: https://github.com/paritytech/substrate-api-sidecar/blob/master/MIGRATION_GUIDE.md

1.0.0 (2020-10-23)

⚠ BREAKING CHANGES

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

v1.0.0-rc4

23 Oct 04:56

Choose a tag to compare

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)

v1.0.0-rc3

29 Sep 22:42

Choose a tag to compare

1.0.0-rc3 (2020-09-29)

Features

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

v1.0.0-rc2

24 Sep 17:31

Choose a tag to compare

Note

This release has no affects on the API and is just being made to facilitate publishing to the npm package registry. If you are already using v1.0.0-rc1 an upgrade is not neccesary.

Internal changes

  • Releases process automation with conventional commits, including auto CHANGELOG generation
  • Convert @substrate/calc package to npm dependency
  • Prepare @substrate/calc package for publish to npm
  • Prepare @substrate/api-sidecar package for publish to npm

v1.0.0-rc1

22 Sep 19:47
715c8e8

Choose a tag to compare

Important note

This is a release candidate for v1.0.0 and it includes both v0 and v1 endpoints. The release candidate tag will be dropped from Sidecar on Friday, October 16th, 2020. After that date v0 endpoints are considered deprecated and will be removed in the next major release. To learn more about migrating to the new endpoints check out the migration guide here.

API noteworthy

  • Configurable logging with options exposed through environment variables (#270, #300)

v0.18.1

17 Sep 22:35

Choose a tag to compare

Bug fix

Fixes an internal issue accidentally introduced to the /blocks endpoint in v0.18.0. The v1 BlocksService was using ensureMeta when it was not supposed to.

v0.18.0

17 Sep 22:11
a0b39b3

Choose a tag to compare

Upgrade priority: High

Bug fix

This release includes an updated version of polkadot-js that should fix issues with decoding events on Sidecar instances that have made historic queries across runtime versions. (fixes: #290, possibly helps: #253, the fix itself: polkadot-js/api#2621)

API updates:

  • (May be breaking for some users)/blocks response update: Unsigned extrinsics and inherents will have null for nonce and tip, while
    paysFee will always be false. Previously the latter two fields were 0, while
    paysFee was often true. (#274)
  • New endpoint: /pallets/{palletId}/storage/{storageItemId} (#278)

v0.17.0

14 Sep 17:57
0daefb1

Choose a tag to compare

Breaking changes for runtimes with the new RewardDestination enum:

  • In kusama 2023 and polkadot 23, RewardDestination is now represented as { “Staked”: null } instead of simply ”Staked”. This change comes from how polkadot-js represents enums and is not a breaking change at the substrate layer. This change effects releases back to v0.15.0. (#259)

New endpoints:

  • /transaction/material (previously tx/artifacts),
  • /transaction/fee-estimate ( previously /tx/fee-estimate)
  • /accounts/{accountId}/staking-info (previously /staking/{accountId}) (#248)
  • /accounts/{accountId}/balance-info (previously /balance/{accountId}) (#248)
  • pallets/staking/progress (previously /staking-info`) (#248)
  • /accounts/{accountId}/vesting-info (previously /vesting/{accountId}) (#248)
  • / is completely reworked and now dynamically lists all endpoints and links to docs. (#273)

Endpoint modifications:

  • extrinsicDocs and eventDocs query params added to the /blocks/{ {blockId}, head } endpoint. (#260)
  • finalized query param added to the /blocks/head endpoint. (#272)

*Consult the README.md to learn more about all new paths. No endpoints have been removed, we have just added endpoints as we prepare for a v1.0.0.beta release. Look out for more details on the API transition process in the coming weeks.

Internal:

  • ensureMeta deprecated (#279)
  • Docs UI framework added (#239)
  • Templates for github issues (#223)
  • Various dep bumps (#283, #264)

v0.16.0

31 Aug 18:02
cb0114c

Choose a tag to compare

High upgrade priority due to new types:

  • Polkadot: 23
  • Kusama: 2023
  • Westend: 43

API noteworthy:

  • Support for new types (#247, #252)
  • Add at field to /runtime/spec (#245)
  • Implement /runtime/metadata (#242)
  • Implement /blocks (#250, #247, #251) N.B. While the URI will likely not break between now and v1.0.0, it is likely there may be breaking changes to the response. Note: this is different than the /block endpoint (no s), which is still available.

Internal updates:

  • Prepare v0 endpoints for deprecation. We will announce an official time line for when we will cease support soon, but for now it is ok to continue use. (#241)
  • Deprecate ensureMeta (#247)

v0.15.0

27 Aug 20:44
f2f8e0d

Choose a tag to compare

Both this release (v0.15.0) and the previous release (v0.14.0) should work with polkadot v0.8.23.

  • New /transaction/dry-run endpoint. See README.md and here for more info. (#236, #240)
  • Slight optimizations to the /block endpoint. (#233)