Skip to content

Releases: scs/substrate-api-client

v0.9.0

04 Jan 10:09
7e5962b
Compare
Choose a tag to compare

For polkadot-v0.9.41 use branch polkadot-v0.9.41-tag-v0.9.0
For polkadot-v0.9.40 use branch polkadot-v0.9.40-tag-v0.9.0
For polkadot-v0.9.39 use branch polkadot-v0.9.39-tag-v0.9.0
For polkadot-v0.9.38 use branch polkadot-v0.9.38

🎉 Featuring

  • Newly introduced rpc clients:
    • tungstenite client
    • jsonrpsee client. With this client, the issue with too many node requests has finally been solved. See #366.
  • Enhanced no_std support: Everything is now no_std compatible, except for the rpc clients. See #377.
  • The Api is finally abstracted behind traits, allowing easy mocking and exchanges. See #363.
  • New functionalities, such as submit_and_watch_extrinsic_until_success, get_storage_keys_paged and several system-getter helpers.

What's Changed since v0.8.0

⚡ Breaking API changes

  • SubmitAndWatch: Return ExtrinsicReport instead of block hash (#386) @haerdib
  • Clean up pub exports and rename Api Result and Error (#376) @haerdib
  • Enhance rpc interface and simplify ws client (#354) @haerdib

🌈 Features

  • Add get_storage_keys_paged (#403) @haerdib
  • Add submit_and_watch_extrinsic_until_success method (#398) @haerdib
  • Add some system helper functions (#402) @haerdib
  • Add helper methode api.compose_extrsinic_offline (#394) @haerdib
  • SubmitAndWatch: Return ExtrinsicReport instead of block hash (#386) @haerdib
  • Make api/rpc interfaces no_std compatible (#384) @haerdib
  • Add api traits (#363) @haerdib
  • Add jsonrpsee as default rpc client (#366) @haerdib
  • Enhance rpc interface and simplify ws client (#354) @haerdib
  • Support tungstenite-rs rpc client (#355) @zhizming-zhong

🐛 Bug Fixes

Miscellaneous

23 changes

v0.8.0

07 Dec 07:58
a92f2ca
Compare
Choose a tag to compare

🎉 Featuring

  • Generic Api - finally compatible with all possible Substrate runtimes
  • New functionality: update_runtime function, allowing the api client to follow the nodes runtime upgrades.

What's Changed since v0.7.0

⚡ Breaking API changes

  • Make api and primitives generic over Runtime (#340) @haerdib
  • [Api] add update_runtime function and return metadata from cache (#337) @haerdib
  • Decouple RpcClient and Api (#336) @haerdib

🌈 Features

  • Make api and primitives generic over Runtime (#340) @haerdib
  • [Api] add update_runtime function and return metadata from cache (#337) @haerdib
  • Make primitives generic over Index, Hash and Balance (#334) @haerdib

Miscellaneous

10 changes

v0.7.0

21 Nov 10:09
f46480f
Compare
Choose a tag to compare

For polkadot-v0.9.39 use branch polkadot-v0.9.39-tag-v0.7.0
For polkadot-v0.9.38 use branch polkadot-v0.9.38-tag-v0.7.0
For polkadot-v0.9.37 use branch polkadot-v0.9.37-tag-v0.7.0

🎉 Featuring

  • Several Bugs fixed, such as wrong error messages, calculating the InclusionFee and input params.
  • Support of Substrate nodes that use asset tip payment.
  • no_std compatible metadata and node_api
  • Several new functionalities, such as get_constant, get_block_hash, ..

What's Changed since v0.5.0

⚡ Breaking API changes

🌈 Features

🐛 Bug Fixes

Miscellaneous

70 changes

upgrade to substrate 3.0.0

09 Mar 14:30
a08d8ae
Compare
Choose a tag to compare
  • no more pinned revisions of substrate. You'll have to handle dependencies with
cargo update -p sp-std --precise 743accbe3256de2fc615adcaa3ab03ebdbbb4dbd

wss:// fix

18 Oct 17:34
Compare
Choose a tag to compare
wss:// fix Pre-release
Pre-release
v0.4.10-sub2.0.0

fix #101 wss://

upgrade to substrate 2.0.0

13 Oct 13:39
Compare
Choose a tag to compare
v0.4.9-sub2.0.0

upgrade to substrate 2.0.0

upstream upgrade 2.0.0-rc5

12 Sep 17:54
cad765f
Compare
Choose a tag to compare
Pre-release
Upgrade upstream v2.0.0 rc5 (#99)

* upgrade toml and lock

* upgrade some dependencies. builds now. xtrinsic fails with bad signature

* panic upon invalid extrinsic with more verbose message

* include transaction_version in extrinsic signature. See paritytech/substrate@ea501c2d

* fix no_std test Cargo.lock

* fix unit tests by moving panic and adjusting error types

* fmt

upgrade to substrate 2.0.0-alpha.6

28 Apr 12:41
40c90f3
Compare
Choose a tag to compare
Pre-release
v0.4.0-sub2.0.0-alpha.6

more doc update

no_std support for substraTEE M5

03 Oct 09:52
c28e6ae
Compare
Choose a tag to compare
Merge pull request #28 from scs/no_std_rstd

no_std support