Releases: bitcart/bitcart-sdk
Version 1.9.3.0
SDK no longer requires all event parameters to be present in handlers: it will detect which ones to pass by name.
I.e. if before you had:
def event_handler(event, address, status, status_str):
It can now be for example:
def event_handler(event, address):
Version 1.9.2.0
SmartBCH support
Version 1.9.1.1
Fix PyPi description
Version 1.9.1.0
Added BNB (Binance Smart Chain) coin
Version 1.9.0.1
Expose new symbol
field on Coin
objects and fix amount fields formatting in eth
Version 1.9.0.0
Ethereum support
Version 1.8.0.0
We now use our new universalasync package to make this library running in both sync and async contexts
Therefore get_event_loop
and idle
functions were removed. They are accessible in the universalasync
library.
Now __del__
finalizer stores a client session per event loop which should be the most correct way to handle access from many different threads and loops
Version 1.7.0.0
Major fixes for event loop handling
More exactly, our __del__
finalizer should now work in all cases
No event loop mismatch issues are possible
Added new helper functions: get_event_loop
, which gets current event loop via the following logic:
First it tries getting a running one, then main thread one, if it's not main thread or loop was stopped (i.e. not usable), it creates a new one
This function is useful as it will give a working event loop in 100% cases.
Another function added is idle
. It can be run in main thread just to block the app and make event loop running (if your code is running asynchronously in other threads).
Also our tests now test all possible usage models of the SDK, and all of them are confirmed to work without issues (even mixing threads and so on).
Version 1.6.1.0
Drop gzro support
Migrate test suite to testnet
Version 1.6.0.2
Ensure no unclosed session warnings are shown