Releases: ApeWorX/ape
Ape 0.7.9
Ape 0.7.8
Changes
- docs: readme add some links @antazoey (#1926)
- perf: lazy model extras and IPython canary short-circuitry @antazoey (#1925)
- fix(docs): minor docs fixes @mikeshultz (#1923)
- test: check that web3.py did fix geth @antazoey (#1921)
- docs: revise readme and rely more on user-guides @antazoey (#1920)
- feat: CLI help plugin organization @antazoey (#1918)
- fix: bad link in error message @fubuloubu (#1913)
- docs: add README badges @antazoey (#1916)
- fix: provider settings RPC was not being used when it was the default @antazoey (#1919)
- test: fix test causing flaky fail @antazoey (#1914)
- fix: issue with networks that started PoA but currently are not @antazoey (#1911)
- fix: configuring custom ecosystems @antazoey (#1910)
- fix: raise error when attempting to deploy a contract without init-code @antazoey (#1909)
- fix: remove mnemonic from error message @antazoey (#1902)
- docs: document forked networks @antazoey (#1901)
- fix: array of structs or tuples when only 1 element would be weird @antazoey (#1900)
- fix: issue where installing a plugin would change Ape version @antazoey (#1891)
- chore: upgrade actions @antazoey (#1899)
- fix: decoding fails when indexed values not first in log @antazoey (#1898)
- fix: issue where could not pass a tuple for an array @antazoey (#1895)
- test: adds timeout and skips some breaking integration tests @mikeshultz (#1890)
Special thanks to: @antazoey, @fubuloubu and @mikeshultz
Ape 0.7.7
Changes
- feat: adds account generation and import API functions @mikeshultz (#1887)
- fix: bump out of broken py-geth @antazoey (#1892)
- fix: more circular import issues when importing from
ape_run
@antazoey (#1889) - fix: circular import issues from accounts plugins @antazoey (#1888)
- feat: Use
eth_createAccessList
RPC in type=1 prepared transaction @antazoey (#1884) - fix: issue where
--network None
still used default network @antazoey (#1879) - fix: issue when forking past genesis @antazoey (#1885)
- feat: adds
block_number
arg to network.fork() @mikeshultz (#1883) - fix: issue when using hex-str for accessList storage keys @antazoey (#1882)
- refactor: use evmchains package for public RPCs @mikeshultz (#1880)
Special thanks to: @antazoey and @mikeshultz
Ape 0.7.6
Changes
- fix: ecosystem-level default in config for local gas limit @antazoey (#1878)
- fix: issues where was difficult to change network-config defaults in L2 sub-classes @antazoey (#1877)
- docs: multi-network scripting guide update @antazoey (#1876)
- fix: decoding of receipt data from Etherscan @mikeshultz (#1875)
- feat: add default public RPC endpoints for default configured networks @mikeshultz (#1866)
- feat: add convenience methods for selector identifiers to ContractInstance @mikeshultz (#1870)
- feat: make
.provider
on@classproperty
on all manager-access models @antazoey (#1873) - feat: allow comparing Struct types with sequence types @antazoey (#1874)
- fix: issues with custom and forked network config parsing @antazoey (#1871)
Special thanks to: @antazoey and @mikeshultz
Ape 0.7.5
Changes
- feat: Ethereum config base class and auto-fork creation @antazoey (#1869)
- fix: custom ecosystem work and custom network fixes @antazoey (#1868)
- docs: document explorer URL in custom networks @antazoey (#1867)
- feat: config-based custom networks @antazoey (#1852)
- refactor: make error more node generic @antazoey (#1863)
- chore: allow rich v13 as dependency @mikeshultz (#1862)
- docs: networks guide update @antazoey (#1859)
- feat: add more details to account transfer error @antazoey (#1860)
- docs: correct network script example @antazoey (#1861)
- docs: more updates to the deploy user guide @antazoey (#1858)
- fix: various bugs regarding
AccessList
usage in transactions (type 1 and 2) @antazoey (#1853) - feat: allow deployments from config to work @antazoey (#1839)
- fix: issue where could not create an access-list transaction @antazoey (#1851)
- docs: elaborate on deploying contracts @antazoey (#1850)
- docs: improve networks guide, specifically around L2s and custom networks @antazoey (#1849)
- fix: issue where
eth-tester
usedmax_gas
withinestimate_gas
method @antazoey (#1848) - docs: correct account
publish=True
mistake in docs @antazoey (#1847) - test: rename test contracts to be 1-to-1 with source data @antazoey (#1841)
- docs: more documentation on how
ape-accounts
plugin works with keyfiles and storage @antazoey (#1838) - docs: elaborate more on RPC connection via config file @antazoey (#1840)
- docs: improve message for adding extra account entropy upon generation @antazoey (#1834)
- docs: document difference between CALL versus TRANSACT in contract-interaction guide @antazoey (#1828)
- fix: raise error when installing a dependency results in zero sources @antazoey (#1832)
- feat: Adjust
SignatureError
with helpful tip on includingsender=
tx kwarg @miohtama (#1826) - docs: adjust tests guide fixtures section to make more sense @antazoey (#1829)
- docs: document sign message functionalities @antazoey (#1827)
- docs: exclude
model_
prefixed methods appearing in docs @antazoey (#1830) - docs: "Edit on GitHub" button @antazoey (#1831)
- chore: bump lint dependencies @antazoey (#1821)
Special thanks to: @antazoey, @mikeshultz and @miohtama
Ape 0.7.4
Changes
- feat: allow contracts-folder (with hyphen) in ape-config.yaml @antazoey (#1820)
- fix: contract type collision issues from deleted files and empty file issues @antazoey (#1818)
- fix: bug where couldn't put
contracts_folder
in dependencyconfig_override
config @antazoey (#1819) - fix: more issues with eth fee history response handling @antazoey (#1814)
Special thanks to: @antazoey
Ape 0.7.3
Ape 0.7.2
Changes
- refactor: move
__getattr__
overload to new mixin and only use where needed @antazoey (#1810) - fix: decoding issues that affects tracing features such as coverage @antazoey (#1803)
- docs: improve error message when geth binary is not found @antazoey (#1809)
- chore: bump ethpm-types to fixed version @antazoey (#1808)
- refactor: loosen up the urllib3 version requirement @mikeshultz (#1807)
- fix: issues with GitHub dependencies when not specifying
ref:
orversion:
@antazoey (#1805) - fix: ContractInstance deploy error message @antazoey (#1806)
- fix: use last frame to get locals when launching interactive test console @antazoey (#1804)
- fix: issue where
NotImplementedError
was not raised when it was supposed to @antazoey (#1802)
Special thanks to: @antazoey and @mikeshultz
Ape 0.7.1
Changes
- fix: use helpful
IndexError
inAccountManager.__getitem__()
when conversion error occurs @antazoey (#1798) - fix: issue where
@network_option
withConnectedProviderCommand
used different networks. @antazoey (#1796) - fix: issue preventing transferring a value of
0
. @antazoey (#1795) - fix: typing in method
from_rvs()
andfrom_vrs()
in signature classes @antazoey (#1793) - feat: Allow converting AddressAPI to address-int @antazoey (#1794)
- test: prove that
AddressType
works @antazoey (#1791) - fix: network choice parsing and re-parsing fix @antazoey (#1792)
- feat: allow adhoc IPC connect and show a better error for unsupported schemes @antazoey (#1789)
- fix: issue where would not get a transaction error when expected @antazoey (#1788)
- fix: issue where
ape_console_extras
file loaded with wrong namespace @antazoey (#1787) - fix: issue where user got wrong warnings when updating plugins @antazoey (#1786)
Special thanks to: @antazoey
Ape 0.7.0
Breaking Changes
fix!: Ape now uses the same HD Path as other testing environments @antazoey (#1774)
Meaning, Ape's test account keypairs are exactly the same the default Anvil and Hardhat nodes.
This makes it much easier to connect to already-running nodes!
feat!: network customization and tooling improvements @antazoey (#1764)
Now, when using the @network_option
, you can receive classes for each ecosystem
, network
, and provider
based on what you ask for in your command implementation. Also, NetworkBoundCommand
is deprecated. Please switch to ConnectedProviderCommand
, which works the same except has the new network behavior and the @network_option
is no required because it will happen automatically.
feat: from_rsv() and from_vrs() Signature class methods [APE-1600] @antazoey (#1765)
Now, it is easier to go from encoded bytes signature to MessageSignature
class using the new class methods.
This helps out with plugins like ape-safe which return signatures in the API in encoded format and Ape and other tools require the object format.
refactor!: a collection of breaking changes [APE-1417] @antazoey (#1677)
A bunch of breaking changes. Pay attention!
ape.api.providers.Web3Provider
was moved toape_ethereum.provider
.ape.utils.Aborts
is no longer a thing! Please useape.exceptions.Abort
now.- rename
ProviderAPI.get_storage_at()
toProviderAPI.get_storage
. ape.cli.get_user_selected_account()
is now deprecated. Please useape.cli.select_account
.branch
field on GitHub dependencies was officially removed. Please useref
instead.- Any ProviderAPI's that use block_identifier or
state_overrides
now mus beblock_id
orstate
and are official kwargs in each API method. ape.project.compilers_with_missing_ext
is now a Set instead of List since the data type makes more sense.ContractError
was renamed toContractDataError
and is now a base class toTransactionError
because most APIs were treating it as such anyway.- The problematic
ListTupleConverter
was deleted. - Delete gas tracking from the ReportManager - plugins should be using the test runner reference now, same as coverage.
- Unused
evm_version
was deleted from thecompile
config. It wasn't used! - Config
compiler.ignore_files
was removed. Use configcompile.exclude
instead.
refactor!: pydantic v2 upgrade [APE-1413] @antazoey (#1674)
- Ape and all its dependencies now work fully on and require Pydantic version 2.
feat!: rewrite poll methods with new API [APE-1411] @z80dev (#1673)
- Polling-based methods (blocks and events) were moved to the ProviderAPI and the ChainManager was refactored to use these methods to open the door for providers to define better options for polling.
refactor!: accept any msg type via AccountAPI.sign_message [APE-1305] @z80dev (#1614)
Account plugins now officially can decide what types of messages they can sign. This greatly increases use-cases with EIP-712 and the myriad of account APIs in various plugins.
feat!: update cached compilers improvements [APE-1500] @antazoey (#1721)
Now, Ape core offers more utilities for updating the cached manifest, including compiler-info needed for contract verification.
Ape core also now handles when Compiler plugins place compiler artifacts in the cache directory when performing verification.
Changes
- feat:
from_rsv()
andfrom_vrs()
Signature class methods [APE-1600] @antazoey (#1765) - fix: issue with interactive scripts would not be connected to right provider @antazoey (#1781)
- refactor: replace usage of
semantic_version.NpmSpec
withpackaging.version.SpecifierSet
@NotPeopling2day (#1782) - docs: fix a myriad of docs issues for 0.7 @antazoey (#1784)
- chore: upgrade
eip712
and ETH dependencies [APE-1617] @antazoey (#1773) - chore: update
setup.py
, removal ofurllib3
module version upper boundary requirement [APE-1610] @popraf (#1771)
Special thanks to: @NotPeopling2day, @antazoey, @popraf and @z80dev