Releases: opentensor/async-substrate-interface
Releases · opentensor/async-substrate-interface
v1.5.8
What's Changed
- Fix parameter name conflict in retry substrate _retry() methods by @Arthurdw in #218
- Use uv for test dependencies by @thewhaleking in #219
- Reconnection/Resubmission Logic Improved by @thewhaleking in #217
New Contributors
Full Changelog: v1.5.7...v1.5.8
v1.5.7
What's Changed
- Updates the type hint on ws_shutdown_timer in RetryAsyncSubstrate by @thewhaleking in #203
- correct type hint by @thewhaleking in #204
- Clear asyncio.Queue after retrieval by @thewhaleking in #206
- [WIP] Add the option to manually specify the Bittensor branch when running with
workflow_dispatch
by @basfroman in #208 - Subscription Exception Handling by @thewhaleking in #207
- more efficient query map by @thewhaleking in #211
- Unique keys in request manager by @thewhaleking in #212
- Adds type annotations for Runtime by @thewhaleking in #214
- Edge case ss58 decoding in decode_query_map by @thewhaleking in #213
Full Changelog: v1.5.6...v1.5.7
v1.5.6
What's Changed
- Clean Up Error Handling by @thewhaleking in #193
- Avoids ID of 'None' in queries by @thewhaleking in #196
- Allows AsyncSubstrateInterface's Websocket connection to not automatically shut down by @thewhaleking in #197
- return type annotation for
get_metadata_call_function
by @thewhaleking in #199 - Change responses["results"] to deque by @thewhaleking in #198
- do not attempt to reconnect if there are open subscriptions by @thewhaleking in #200
Full Changelog: v1.5.5...v1.5.6
v1.5.5
What's Changed
- Improve timeout task cancellation by @thewhaleking in #190
Full Changelog: v1.5.4...v1.5.5
v1.5.4
What's Changed
- Raw Websocket Logger Inconsistency Fix by @thewhaleking in #188
Full Changelog: v1.5.3...v1.5.4
v1.5.3
v1.5.2
What's Changed
- Improve test workflows by @basfroman in #173
- Adds env var support for setting cache size by @thewhaleking in #174
- Set env vars as str in unit test by @thewhaleking in #177
- DiskCachedAsyncSubstrateInterface: use aiosqlite by @thewhaleking in #176
- Additional Debug Logging by @thewhaleking in #178
- None type edge case catch by @thewhaleking in #184
Full Changelog: v1.5.1...v1.5.2
v1.5.1
What's Changed
- query multiple/decoding fix by @thewhaleking in #168
- Fix reconnection logic by @thewhaleking in #169
- Removed debug log by @thewhaleking in #172
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
- ConcurrencyError fix by @thewhaleking in #162
- Added better typing by @thewhaleking in #163
- Fix arg order in retries by @thewhaleking in #165
- removes "bool object has no attribute Metadata" errors
- Concurrency improvements by @thewhaleking in #164
- True Runtime independence in AsyncSubstrateInterface:
- ensures no need to reload types from a shared object that may interfere with concurrency
- increases memory usage slightly, but drops CPU usage dramatically by not needing to reload the type registry when retrieving from cache
- RuntimeCache improved to automatically add additional mappings
- Uses a single dispatcher queue for concurrent sending/receiving which eliminates the need for coroutines to manage their own state in regard to connection management.
- Futures from the Websocket now get assigned their own exceptions
- Overall cleaner logic flow with regard to rpc requests
- The Websocket object now handles reconnections/timeouts
- Separation of normal ping-pong calls and longer-running subscriptions
- True Runtime independence in AsyncSubstrateInterface:
Full Changelog: v1.4.3...v1.5.0
v1.4.3
What's Changed
- Add "Token" to caught error messages for extrinsic receipts by @thewhaleking in #156
- runtime version switching by @thewhaleking in #157
Full Changelog: v1.4.2...v1.4.3