Releases: ApeWorX/ape
Ape 0.5.2
Changes
- fix: remove
ropsten
,kovan
, andrinkeby
@unparalleled-js (#1093) - fix: Improve error log when no tracing support during gas profile display in tests @unparalleled-js (#1094)
- feat: add
--gas
flag toape test
command to output gas reports after tests @unparalleled-js (#1083) - feat: update error message when missing compilers @sabotagebeats (#1087)
- docs: correct command
ape --verbosity DEBUG run
@hydroxyphthalimide (#1088) - fix:
PluginInstallRequest
object has no attributerequested_version
@sabotagebeats (#1085) - fix: update web3 dependency @helloibis (#1082)
- feat: adds
chain.get_receipt()
method @unparalleled-js (#1074) - feat:
recover_signer()
utility method inape.types.signature
@sabotagebeats (#1076) - fix: use python3 as pre-commit default language @helloibis (#1077)
- feat: address more trace feedback @unparalleled-js (#1073)
- feat: Add
source_path
property toContractContainer
@sabotagebeats (#1054) - feat: use minimal box @unparalleled-js (#1070)
- feat: add
supports_tracing()
calculated property toProviderAPI
andWeb3ProviderAPI
@unparalleled-js (#1067) - refactor: use
is_file()
andis_dir()
overexists()
whenever makes sense @unparalleled-js (#1069) - fix: use
get_repo
cache inGithubClient
when callingget_release()
@unparalleled-js (#1066) - feat: custom exceptions for when block and transaction not found @unparalleled-js (#1065)
- fix: round floats in gas report @unparalleled-js (#1063)
- test: verify receiver on
get_receipt()
call @unparalleled-js (#1064) - test: prevent actually cloning repo in tests @unparalleled-js (#1061)
- fix: strange error when getting logs from multiple addresses when addresses list empty @unparalleled-js (#1060)
- feat: show gas reports from Ethereum transaction receipts @unparalleled-js (#1050)
- fix: issues with getting transactions in a block @unparalleled-js (#1058)
- chore: update gas limit type hints @helloibis (#1053)
- fix: issue with caching local proxies @unparalleled-js (#837)
- feat: add gas limit configuration @helloibis (#1009)
- feat: allow custom plugin specification in Docker file and other Docker / plugin improvements @unparalleled-js (#1029)
- fix: validate Ape has connected to the right network and client @fubuloubu (#1038)
- fix: allow ecosystems to still load when default provider or network not found @unparalleled-js (#1049)
- fix: properly calling receipt transaction objects in tests @johnson2427 (#1043)
- test: fix flakey tests @unparalleled-js (#1048)
- fix: broken url @wavey0x (#1047)
Special thanks to: @fubuloubu, @helloibis, @hydroxyphthalimide, @johnson2427, @sabotagebeats, @unparalleled-js and @wavey0x
Ape 0.5.1
Ape 0.5.0
Breaking Changes
-
feat!: make
ProviderAPI.is_connected()
abstract @unparalleled-js (#1033)
API update -
refactor!: rename
LogInputABICollection.data
and.topics
to.data_abi_types
and.topic_abi_types
@unparalleled-js (#1035)
Clearer naming for expected return data -
refactor!: rename
ProviderAPI.get_transaction()
toget_receipt()
@unparalleled-js (#1037)
This is to lessen the confusion of the return type being aReceiptAPI
and not aTransactionAPI
-
refactor!: remove python 3.7 range support @unparalleled-js (#1034)
Updating to Python 3.8 or later -
feat!: publish contracts to explorer @unparalleled-js (#1008)
Adds new API methodpublish_contract()
toExplorerAPI
and changes the type of contract address from str toAddressType
-
refactor!: optimize ReceiptAPI for better management of transaction data @johnson2427 (#1015)
Removed transaction related properties from baseReceiptAPI
and addedtransaction
field to linkTransactionAPI
Changes
- chore: pin evm-trace @NotPeopling2day (#1041)
- test: ability to run subprocess tests @unparalleled-js (#1002)
- refactor: Use
AddressType
instead ofstr
when possible @unparalleled-js (#1039) - feat: support default=None for network option @unparalleled-js (#1028)
- docs: update
poll_logs
example @fubuloubu (#1027) - feat: add return value @fubuloubu (#1018)
- fix: check sender for already-cached receipt instead of address key @unparalleled-js (#1026)
- feat: support querying properties of Blocks and Events @fubuloubu (#1017)
- fix: ignore exceptions when given a contract type during
instance_at
/Contract
@unparalleled-js (#1022) - refactor: make stdout-logger only log debug, not info @fubuloubu (#1024)
- docs: update contracts user guide to include
at()
method reference @unparalleled-js (#1019) - chore: removed unused exception @NotPeopling2day (#1020)
- fix: bug when cached sources contain deleted references @unparalleled-js (#1021)
Special thanks to: @NotPeopling2day, @fubuloubu, @johnson2427 and @unparalleled-js
Ape 0.4.5
Changes
- feat: add
ape
to console namespace @delaaxe (#1012) - chore: update draft comment @NotPeopling2day (#1014)
- fix: handle another strange edition of editable plugin installations not registering @unparalleled-js (#1011)
- fix: filter sources when passing to compiler methods @unparalleled-js (#1010)
- chore: add CodeQL Analysis to Repo @fubuloubu (#1003)
- fix: issue with decoding None block hashes @unparalleled-js (#1007)
- fix: issue with editable plugins @unparalleled-js (#993)
- feat: added ape cache plugin @johnson2427 (#680)
Special thanks to: @NotPeopling2day, @delaaxe, @fubuloubu, @johnson2427 and @unparalleled-js
Ape 0.4.4
Changes
- fix: issue with networks context when networks shared chain ID @unparalleled-js (#980)
- feat: compiler settings @sabotagebeats (#979)
- fix: issue where repr on test accounts manager was misleading @unparalleled-js (#981)
- fix: update
copy_on_model_validation
expected value @unparalleled-js (#982) - feat: support nested array @yuntai (#976)
- docs: better warning when multiple installation paths @unparalleled-js (#977)
- fix: issue with editable installs of plugins @unparalleled-js (#978)
- feat: required param in network option @unparalleled-js (#983)
- fix: fix a broken link in the docs @folkyatina (#975)
- test: use x-dist in tests @unparalleled-js (#974)
Special thanks to: @folkyatina, @sabotagebeats, @unparalleled-js and @yuntai
Ape 0.4.3
Changes
- docs: fix web3 link and doc web3 prop @unparalleled-js (#973)
- fix: warning from using LegacyVersion @unparalleled-js (#971)
- fix: bug where plugin config would not update when default was empty dict @unparalleled-js (#972)
- test: ensure contract log str and repr work @unparalleled-js (#969)
- fix: handle repr on network API when no connected @unparalleled-js (#968)
- feat: track deployments @unparalleled-js (#961)
- docs: document differing web3provider behavior @unparalleled-js (#966)
- fix: the example scheme for networks @Ninjagod1251 (#963)
Special thanks to: @Ninjagod1251 and @unparalleled-js
Ape 0.4.2
Ape 0.4.1
Changes
- fix: issue where setting a config item would remove defaults of the other items @unparalleled-js (#958)
- feat: add
receipt
/txn_hash
toContractInstance
@unparalleled-js (#955) - test: update
test_parse_type()
regex @helloibis (#954) - chore: remove usage of deprecated eth-abi methods @unparalleled-js (#951)
- fix: resolve pytest collection warning with TestAccountManager @unparalleled-js (#952)
- refactor: change
deployments_map
contract type entries to be list of dicts instead of list of addresses @unparalleled-js (#940) - fix: issue where web3.py used the wrong chain ID for eth-tester @unparalleled-js (#943)
- docs: add links to the reference page @challet (#934)
- fix: add argument conversion to contract estimate gas API @unparalleled-js (#939)
- fix: issue preventing provider context manager from switching in test fixtures @unparalleled-js (#933)
- feat: compiler data in manifest @sabotagebeats (#871)
- docs: remove non-existent CLI flag from README example @fubuloubu (#936)
- feat: added contract event query to default query provider @johnson2427 (#923)
- feat: support compiling contract type JSONs @unparalleled-js (#925)
- test: make tests run better locally @unparalleled-js (#920)
- fix: log printing and decoding @banteg (#924)
- fix: prevent unnecessary API call when decoding events from ABI @unparalleled-js (#921)
Special thanks to: @banteg, @challet, @fubuloubu, @helloibis, @johnson2427, @sabotagebeats and @unparalleled-js
Ape 0.4.0
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 theEcosystemAPI.decode_logs()
method to change. -
feat!: support per network defaults for txn acceptance timeout @unparalleled-js (#911)
Thetransaction_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 theAccountAPI
sub-type. -
refactor!: contract event querying revamp @unparalleled-js (#852)
ContractLog
objects now requirelog_index
andtransaction_index
, and the fieldaddress
was renamed tocontract_address
. Additionally, the signature toProviderAPI.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 methodscreate_contract()
andcreate_contract_container()
. Those have been removed in favor of methods in theChainManager.contracts.instance_at()
andChainManager.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
Ape 0.3.5
Changes
- feat: add networks fixture automatically to pytest integration @unparalleled-js (#835)
- chore: remove empty CHANGELOG.md @helloibis (#851)
- fix: issue where address values were not 0x prefixed in event query filters @banteg (#845)
- feat: add set_balance test provider API @unparalleled-js (#823)
- fix: issue where subprocess provider would crash in the background @unparalleled-js (#847)
- fix: issue preventing importing local packages in ape console @unparalleled-js (#848)
- chore: fix .md and small changes to docs @Ninjagod1251 (#815)
- chore: update testing doc examples @helloibis (#840)
- feat: support ENS domains when initializing contracts @unparalleled-js (#839)
- fix: decode string type for events @banteg (#836)
- fix: prevent TimestampConverter from accepting single integer strings @helloibis (#832)
Special thanks to: @Ninjagod1251, @banteg, @helloibis and @unparalleled-js