Skip to content

Ape 0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Jul 19:32
· 738 commits to refs/heads/main since this release
091a650

Breaking Changes

BREAKING CHANGES

  • feat!: support decoding multiple ABIs at the same time, including ds-note library logs @banteg (#757)
    This required the signature of the EcosystemAPI.decode_logs() method to change.

  • feat!: support per network defaults for txn acceptance timeout @unparalleled-js (#911)
    The transaction_acceptance_timeout config item was removed and replaced by network-specific configurations.

  • refactor!: change order of parameters in ape.cli.get_user_selected_account() @unparalleled-js (#894)
    Now, you place the message first instead of the AccountAPI sub-type.

  • refactor!: contract event querying revamp @unparalleled-js (#852)
    ContractLog objects now require log_index and transaction_index, and the field address was renamed to contract_address. Additionally, the signature to ProviderAPI.get_contract_logs() changed to support a class-based argument instead of individual arguments; this support allows for multiple contract addresses to be queried at once.

  • refactor!: move contract instance and container helper utilities to chain.contracts @unparalleled-js (#898)
    Before, each base model had methods create_contract() and create_contract_container(). Those have been removed in favor of methods in the ChainManager.contracts.instance_at() and ChainManager.contracts.get_container() instead.

Changes

  • fix: custom config number of test accounts @NotPeopling2day (#918)
  • feat: adhoc network support @unparalleled-js (#913)
  • fix: issue where parity style traces did not work in ape-geth provider @banteg (#907)
  • test: add test for getting failed receipt @unparalleled-js (#910)
  • fix: handle more array situations @unparalleled-js (#909)
  • fix: fix for docker issue AttributeError: module 'rlp' has no attribute 'Serializable' @sabotagebeats (#891)
  • feat: get multiple contracts method in contract cache @unparalleled-js (#897)
  • test: put type decoding test in test_type module @unparalleled-js (#902)
  • test: ensure support for eip712 @unparalleled-js (#900)
  • feat: estimate fee support for calls @unparalleled-js (#888)
  • feat: support request kwargs in web3 provider API methods @unparalleled-js (#865)
  • fix: better handling of closing stream queues in SubprocessProvider @unparalleled-js (#889)
  • feat: add timeout kwarg on Web3provider.get_transaction in @unparalleled-js (#866)
  • fix: regressions with poll_logs @unparalleled-js (#860)
  • fix: bug where geth provider would not use URI from provider_settings dict @unparalleled-js (#886)
  • feat: stream traces in geth provider @banteg (#885)
  • test: include uncompiled contract types in tests' data directory for reference purposes. @unparalleled-js (#869)
  • feat: strip uri credentials from logs @banteg (#884)
  • fix: disable console history in tests @helloibis (#882)
  • fix: get_virtual_machine_error() message extract @helloibis (#877)
  • fix: grab results list from trace_transaction response @unparalleled-js (#863)
  • fix: issue where account would remain unlocked when disabling auto-sign @unparalleled-js (#859)
  • fix: detect contracts folder automatically when default in local dependencies @unparalleled-js (#861)
  • feat: contract deployment map caching @PatrickAlphaC (#856)
  • refactor: avoid attr dicts when making requests for tracing @unparalleled-js (#858)

Special thanks to: @NotPeopling2day, @PatrickAlphaC, @banteg, @helloibis, @sabotagebeats and @unparalleled-js