Skip to content

Releases: RaoFoundation/async-substrate-interface

v2.2.1

Choose a tag to compare

@basfroman basfroman released this 29 Jun 18:34
4670087

What's Changed

  • Fix websocket poison connection and leaks on failed requests by @basfroman in #367
  • Update CHANGELOG.md + bumping version by @basfroman in #368

Full Changelog: v2.2.0...v2.2.1

v2.2.0

Choose a tag to compare

@thewhaleking thewhaleking released this 11 Jun 18:50
4f6fe9e

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

Choose a tag to compare

@thewhaleking thewhaleking released this 01 Jun 18:17
a52f924

What's Changed

Full Changelog: v2.0.4...v2.1.0

v2.0.4

Choose a tag to compare

@thewhaleking thewhaleking released this 14 May 19:51
8a58c5c

What's Changed

New Contributors

Full Changelog: v2.0.3...v2.0.4

v2.0.3

Choose a tag to compare

@thewhaleking thewhaleking released this 29 Apr 16:00
87873f2

What's Changed

Full Changelog: v2.0.1...v2.0.3

v2.0.2

Choose a tag to compare

@thewhaleking thewhaleking released this 24 Apr 16:26
60b9d96

What's Changed

Full Changelog: v2.0.1...v2.0.2

v2.0.1

Choose a tag to compare

@thewhaleking thewhaleking released this 23 Apr 19:26
781bbfa

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

Choose a tag to compare

@thewhaleking thewhaleking released this 21 Apr 16:53
9638b09

Breaking changes:

  • SS58 format now defaults to 42 instead of None. It can still be manually set to None, which will trigger the chain
    pull.

  • query now always returns a ScaleType object. Previously it could return ScaleObj | None | dict. The underlying data
    has not changed, but always needs to be retrieved by the .value (or .value_object or .value_serialized).

  • runtime_call now always returns the decoded value. Previously it could return the decoded object, or a ScaleObj. This
    was done for consistency, as legacy methods (pre-v15 metadata) required their own predefined decoders, and the
    decoders did not give a ScaleType object, so to keep things consistent, it's always the decoded value.

  • query_multi previously returned [(StorageKey, ScaleType), ...], now returns [(StorageKey, decoded value), ...]. We
    made significant speed improvements in cyscale with batch-decoding, and this works great here.

  • query_map.records previously returned [(key, ScaleObj), ...]. Now returns [(key, decoded value), ...] for the same
    reasons as listed in the query_multi note.

  • query_multiple: removed, was not so useful

  • reuse_block_hash: removed, was not so useful

  • SS58 addresses are always decoded now. No more need to manually decode after retrieving results.

  • For instantiation of any of the *Substrate classes, only the uri is a positional argument. All other arguments are
    keyword-only.

Non-breaking improvements:

  • Better DiskCached behavior. Loading from cache is 2-3x faster, and dumping to cache 3-∞ faster (does not dump if the
    object is unchanged).

  • Mypy support added.

Important for upgrade:

Because of the change from the combination py-scale-codec and bt-decode to cyscale, we no longer support having the
py-scale-codec installed (cyscale fits the same namespace, scalecodec). If you attempt to run ASI with py-scale-codec
installed, you will receive an error and instructions to uninstall that first. To prevent this, before upgrade, you can
remove it as such:

pip uninstall scalecodec -y
pip install -U cyscale


v1.6.4

Choose a tag to compare

@thewhaleking thewhaleking released this 25 Mar 16:37
837af16

What's Changed

Full Changelog: v1.6.3...v1.6.4

v1.6.3

Choose a tag to compare

@ibraheem-abe ibraheem-abe released this 24 Feb 22:13
745cf67

1.6.3 /2025-02-24

What's Changed

Full Changelog: v1.6.2...v1.6.3