Skip to content

v1.5.0

Compare
Choose a tag to compare
@thewhaleking thewhaleking released this 04 Aug 20:06
· 57 commits to main since this release
5277621

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

Full Changelog: v1.4.3...v1.5.0