Releases: paritytech/substrate-api-sidecar
Releases · paritytech/substrate-api-sidecar
v0.11.2
v0.11.1
- New 400 error to warn when a specified block number is too high (#131)
- Upgrade all dependencies (#90)
- Changes in
ApiHandlerandsanitizeNumbersto compensate for @polkadot-js api updates (#90) - Refactor error handling by moving it all out to middleware (#143)
- Add configuration validation to warn when a env var is not valid (#149)
v0.11.0
- Improved configuration management using
confmgr. ENV var specs are now inspecs.ymland there is improved compatibility with.envfiles. N.B. all configurable ENV var names have changed; they now include longer prefixes. You can find more details in the updated README.md - Validations for ensuring
addressURI params are in a substrate compatible SS58 format. Multiple new400errors are added in the validation process including, but not limited to, 'Invalid decoded address length' and 'Invalid decoded address checksum'. - Bump @polkadot-js deps to v1.23.0-beta.2.
v0.10.0
- New
/staking-infoendpoint to get information on the progress of the staking system components. - Bump @polkadot-js deps.
v0.9.2
v0.9.1
v0.9.0
v0.8.1
Contains a bug fix that caused two blocks on Polkadot CC1 to crash Sidecar.
v0.8.0
API Changes
- Extrinsics within a block now contain a new field,
newArgs, that contains the actual parameter names rather than an array of args. This is especially useful when acallis an argument to a function, e.g.utility.batch. The currentargsfield is left unchanged to avoid breaking production deployments, but will be removed in the future. (#62) - The Block endpoint now includes the block author's account ID for chains with accounts. (#75)
- The Staking endpoint now returns an integer,
numSlashingSpansin addition to its other fields. This value needs to be passed into thestaking.withdrawUnbondedcall. (#85)
Bug Fixes
- Kusama runtime 1062 had a bug in its
Fixed128implementation that was used to calculate fees. This introduces that bug for transactions in 1062. (#72) - The new Wasm fees work threw an error when fetching the genesis block, as it tried to query storage items from its parent. (#83)
Features
- The
main.tsnow includes reference documentation for all endpoints. We are working on improvements, e.g. markdown docs, but for now look tomainfor docs on each endpoint. (#73) - For all endpoints that accept a block number at which to query, you can query either by integer or block hash. (#77)
Other
- Dependencies bump.
v0.8.0-rc1
- Update Polkadot JS API to
v1.18.1. This is necessary to sync the chain as it includes the types for the new generalized proxies in Polkadot v5. (#71) - Adds
chainNameandspecNametotx/artifactsendpoint. (#69) - Includes new fee calculation with a Wasm executable. See the README for up-to-date instructions for installing
rustupandwasm-pack.yarnwill now compile Rust code. (#50)
Note: We are releasing this early as the current method of retrieving fees in Polkadot v5 is broken and this update fixes it. There are two transactions on Kusama that do not reconcile according to our logic. We are investigating whether this is a problem in Sidecar or the reconciliation logic.