Releases: RaoFoundation/async-substrate-interface
Release list
v2.2.1
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
What's Changed
- iscoroutinefunction deprecation by @thewhaleking in #362
- New Method:
runtime_callsby @thewhaleking in #361 - Batch StorageKey creation by @thewhaleking in #363
- fix(pyproject): drop unused wheel dep, update setuptools by @kilyanni in #364
New Contributors
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- Cache inflight current chain-head requests by @thewhaleking in #357
- Run bittensor e2e concurrently by @thewhaleking in #358
Full Changelog: v2.0.4...v2.1.0
v2.0.4
What's Changed
- Bumps wheel for CVE-2026-24049 by @thewhaleking in #340
- Bump pytest for consistency with bittensor by @thewhaleking in #343
- Raises correct exception for Storage Function Not Found by @thewhaleking in #342
- Fixes return type hint for
get_extrinsicsby @thewhaleking in #341 - Bumps workflow versions by @thewhaleking in #351
- Batches the query_map decoding during fully_exhaust=True. by @thewhaleking in #349
- Respects max_results in query_map results by @thewhaleking in #350
- fix:auto-signed extrinsics to use account_nextIndex by @zeus1959 in #345
- Correctly handle nonce is get_payment_info by @thewhaleking in #355
New Contributors
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- use cyscale 0.3.1 by @thewhaleking in #332
- Removes the potential of a None result. by @thewhaleking in #335
- Updates README regarding cyscale by @thewhaleking in #334
- Bumps cyscale + cache version by @thewhaleking in #338
Full Changelog: v2.0.1...v2.0.3
v2.0.2
v2.0.1
What's Changed
- Bump aiohttp from 3.13.3 to 3.13.4 by @dependabot[bot] in #325
- Improves the scalecodec conflict detected message by @thewhaleking in #329
- Restricts the pickling to certain classes by @thewhaleking in #328
New Contributors
- @dependabot[bot] made their first contribution in #325
Full Changelog: v2.0.0...v2.0.1
v2.0.0
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_objector.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
What's Changed
- Better typing for ScaleObj by @thewhaleking in #278
- Faster startup by @thewhaleking in #277
- DNS/SSL Caching by @thewhaleking in #279
- Added info about signed commits by @thewhaleking in #280
- [fix] change legacy (old) runtimeApi params encoding by @camfairchild in #194
- Prefer v15 metadata when available by @thewhaleking in #282
Full Changelog: v1.6.3...v1.6.4
v1.6.3
1.6.3 /2025-02-24
What's Changed
- Fix for support of third-party runtimes by @ibraheem-abe in #274
- Extend
get_account_next_indexlogic by @basfroman in #273
Full Changelog: v1.6.2...v1.6.3