Skip to content

Releases: dragonchain/dragonchain-sdk-python

Release 4.3.0

05 Feb 20:29
b5e4896
Compare
Choose a tag to compare

Release to support Dragonchain release 4.4.0

Changelog

  • Features:

    • Allow for deleting of smart contracts by transaction type
    • Add support for publishing signed interchain transactions
  • Development:

    • Fix tests for python 3.8.1
    • Fix integration tests for redisearch update
    • Fix installation requirements for python 3.4 testing
    • Fix linting error with new bugbear version
    • Remove duplicate integration test and fix openfaas logs schema for newer openfaas versions
    • Remove codeowners

Release 4.2.1

23 Dec 17:59
9c01c74
Compare
Choose a tag to compare

Small update to fully support the Dragonchain 4.3.1 release

Changelog

Development:

  • Modify get status integration test schema to support indexingEnabled field
  • Add/modify integration tests for new smart contract secret restrictions
  • Deprecate ETC Testnet (morden)

Release 4.2.0

04 Dec 23:38
e3e649d
Compare
Choose a tag to compare

This release supports the new api key permissioning for Dragonchain 4.3.0

Changelog

Features:

  • Add api key permissioning support

Documentation:

  • Modify various client function docstrings to be more accurate

Development:

  • Add integration tests for api key permissions
  • Modify run.sh to only act on code in dragonchain_sdk and tests

Release 4.1.0

20 Nov 19:49
5102aec
Compare
Choose a tag to compare

This release supports Dragonchain 4.2.0

Changelog

Features:

  • Add Binance interchain support
    Development:
  • Add integration tests for Binance feature
  • Add/Update integration tests for Dragonchain 4.2.0

Release 4.0.1

25 Oct 16:55
c10dddf
Compare
Choose a tag to compare

This release officially supports Python 3.8

Changelog

Packaging:

  • Officially support python 3.8 in packaged release

Development:

  • Fix unit tests for proper async context mocking with python 3.8+
  • Add integration tests for Dragonchain 4.1.0 features and changes

Release 4.0.0

24 Sep 00:02
6bed3ff
Compare
Choose a tag to compare

This release supports Dragonchain's accompanying 4.0.0 release.

Because Dragonchain has a breaking change to replace its indexing solution with 4.0.0, this is also a breaking SDK change for queries and custom indexing.

The following are worth noting when transitioning from 3.X.X to 4.X.X:

  • Custom indexes have changed for a new redisearch schema. Transaction types can no longer be updated, and custom indexes must be provided upfront when creating a transaction type or smart contract. If updating is desired, simply delete and recreate the relevant transaction type/smart contract with the new desired custom indexes.
  • A transaction type's indexes are now removed when the transaction type is deleted. You can no longer query for transactions from a deleted transaction type (or smart contract). (The transactions still exist and can be retrieved directly by transaction id, they simply can't be searched with a query)
  • Querying blocks and transactions are completely different, and now use Redisearch queries. Check their client functions for argument reference. Note the response schema of queries remain unchanged.
  • Smart contract querying has been removed, and instead replaced with a generic list_smart_contracts which simply returns all contracts.

Check the docs for more details on migrating from v3 to v4.

Changelog

Features:

  • Support new query endpoints/parameters for redisearch replacement on dragonchain
  • Support adding custom indexes for smart contracts on creation
  • Support optionally fetching ids only (not entire documents) for querying
  • Support list smart contracts
  • Support disable schedule for update_smart_contract
  • Support new smart contract logs endpoint

Documentation:

  • Added docs for migrating from v3 to v4

Development:

  • Modify integration test suite to integrate with new/modified endpoints

Packaging:

  • Update packaged metadata to indicate supported OS and stable/typed
  • Enforce stricter rules when building docs

Release 3.3.0

27 Aug 21:21
9c452b2
Compare
Choose a tag to compare

This release supports Dragonchain's new interchain network management endpoints, as well as deprecating the old ones (for new chains. Legacy chains will continue to support the old deprecated methods).

Changelog

Features:

  • Add deprecation warnings for create_bitcoin_transaction,
    create_ethereum_transaction and get_public_blockchain_addresses

  • Add support for new interchain management endpoints

    • create_bitcoin_interchain
    • update_bitcoin_interchain
    • sign_bitcoin_transaction
    • create_ethereum_interchain
    • update_ethereum_interchain
    • sign_ethereum_transaction
    • get_interchain_network
    • delete_interchain_network
    • list_interchain_networks
    • set_default_interchain_network
    • get_default_interchain_network

Packaging: