This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Releases: gakonst/ethers-rs
Releases · gakonst/ethers-rs
ethers-v2.0.11
What's Changed
- chore: remove ethers-signers from ethers-contract dev-dependencies by @DaniPopes in #2589
- chore(deps): update cargo_metadata requirement from 0.17.0 to 0.18.0 by @dependabot in #2593
- fix: Update optimism type names to be inline with reth by @refcell in #2590
- chore(deps): update serde-wasm-bindgen requirement from 0.5.0 to 0.6.0 by @dependabot in #2598
- chore(deps): update toml requirement from 0.7 to 0.8 by @dependabot in #2596
- feat: Optimism Hydrated RPC Receipt Fields by @refcell in #2591
- chore(solc): slightly improve resolution error msg by @DaniPopes in #2600
- docs: dedup docs for
ethers::{abi,types,utils}
by @DaniPopes in #2601 - fix(oracle): update helper function to use correct conversion maths by @0xfourzerofour in #2602
- fix(solc): use Solc::version_req to parse version req by @mattsse in #2607
- chore: replace Filecoin Hyperspace testnet with Calibration by @avichalp in #2584
- Correctly parse null values in 0.7.0 asts by @AmesCornish in #2608
- fix: deserialize methodId as bytes by @mattsse in #2614
- Add USDT token address by @romeobuilderotti in #2611
- added blockoverride field in geth tracing call options by @lakshya-sky in #2603
- fix: rlp decode deposit tx by @merklefruit in #2616
- chore(clippy): make clippy happy by @mattsse in #2618
- Recognize localdev.me as "local" domain by @joroshiba in #2619
- feat: add new holesky etherscan urls by @mattsse in #2620
- chore(deps): pin protobuf to 3.2.0 by @DaniPopes in #2623
- feat(chain): add mantle, mantle-testnet by @phnaharris in #2627
- feat: add error for new security challenge by @mattsse in #2630
- feat: add
dependencies
toMultiBindingsInner
by @Autoparallel in #2606 - More address conversion util methods by @prestwich in #2635
- Fix ContractRevert::decode_with_selector by @aakoshh in #2637
- Add Holesky to the Multicall supported chain id's by @nickdoherty in #2641
- fix: normalize v always returns a valid value by @prestwich in #2642
- feat: add ws subscribe example by @mattsse in #2638
- fix(ethers_solc): hardcoded import remapping fix by @plotchy in #2626
- feat: support Etherscan beacon withdrawal transactions by @Michael-A-Heuer in #2621
- FIX: Generate structs for constructor arguments by @aakoshh in #2631
- feat: improve gnosis chain configuration by @luzzif in #2640
- fix
DepositTransaction::rlp()
to match op-geth by @noot in #2644 - chore(clippy): make clippy happy by @mattsse in #2647
- Add Scroll mainnet to chain.rs by @0xfoobar in #2648
- Update solang-parser to v0.3.3 by @seanyoung in #2649
- chore: make CI green again by @mattsse in #2650
- fix typos by @GoodDaisy in #2651
- feat(etherscan): Implemented Some APIs for
stats
by @woxjro in #2653 - chore: bump solc by @mattsse in #2654
- feat: add cancun fields to Block by @Rjected in #2655
- fix: empty input in transaction rlp decoding by @rkrasiuk in #2656
- feat(arb-sepolia): Add arbitrum sepolia to chain definitions by @0xfourzerofour in #2657
- use https://api.scrollscan.com/ instead by @0xCalibur in #2659
- remove arbitrary precision feature by @mattsse in #2617
- chore(clippy): make clippy happy by @mattsse in #2663
- feat: Add fields to debug_trace_call by @sakotn in #2662
- feat(chain): add Optimism Sepolia by @PierrickGT in #2665
- docs: add deprecation notices by @DaniPopes in #2666
- chore: make ethers-ethercan optional in ethers-middleware by @DaniPopes in #2672
- Adds zkSync Era Withdrawal Finalizer to list of users in README.md by @montekki in #2673
- Apply WebSocketConfig to initial WS provider connection by @svenski123 in #2668
- test: add recover test by @DaniPopes in #2675
- Re-enable the transaction.other field for optimism feature by @mdehoog in #2622
- feat(chain): add zora networks by @mattmalec in #2677
New Contributors
- @0xfourzerofour made their first contribution in #2602
- @avichalp made their first contribution in #2584
- @romeobuilderotti made their first contribution in #2611
- @lakshya-sky made their first contribution in #2603
- @joroshiba made their first contribution in #2619
- @phnaharris made their first contribution in #2627
- @Autoparallel made their first contribution in #2606
- @nickdoherty made their first contribution in #2641
- @plotchy made their first contribution in #2626
- @Michael-A-Heuer made their first contribution in #2621
- @luzzif made their first contribution in #2640
- @noot made their first contribution in #2644
- @0xfoobar made their first contribution in #2648
- @GoodDaisy made their first contribution in #2651
- @woxjro made their first contribution in #2653
- @PierrickGT made their first contribution in #2665
- @montekki made their first contribution in #2673
- @svenski123 made their first contribution in #2668
- @mdehoog made their first contribution in #2622
- @mattmalec made their first contribution in #2677
Full Changelog: ethers-v2.0.10...ethers-v2.0.11
ethers-v2.0.10
What's Changed
- feat: holesky by @rkrasiuk in #2569
- fix: wasm ci compilation by @DaniPopes in #2570
- chore(deps): update solang-parser requirement from =0.3.1 to =0.3.2 by @dependabot in #2567
- Anvil broken link by @rodrigoherrerai in #2579
- doc: clarify docs for
ProjectCompileOutput::versioned_artifacts
by @ziyadedher in #2575 - feat(multicall): add support for Base mainnet and Goerli by @kimpers in #2574
- fix(solc): empty 'Solc error: ' message by @DaniPopes in #2582
- fix: anvil invalid chain id by @sakotn in #2573
- PubSubItem deserialize by @AmazingGame in #2578
New Contributors
- @rodrigoherrerai made their first contribution in #2579
- @ziyadedher made their first contribution in #2575
- @kimpers made their first contribution in #2574
- @sakotn made their first contribution in #2573
- @AmazingGame made their first contribution in #2578
Full Changelog: ethers-v2.0.9...ethers-v2.0.10
ethers-v2.0.9
Bug Fixes
- Skip checksums for old windows solc (#2554)
- Skip checksums on windows for now (#2553)
- Parse privat keys correctly (#2548)
Depedencies
- Bump all dependencies (#2565)
- Update num_enum requirement from 0.6 to 0.7 (#2555)
- Bump svm-rs (#2525)
- Update enr requirement from 0.8.1 to 0.9.0 (#2517)
- Update cargo_metadata requirement from 0.15.4 to 0.17.0 (#2524)
Features
- Add more borrowed artifact iterators (#2562)
- Make ethers-providers optional (#2536)
- Support state overrides for
Multicall
(#2478) - Add engine api-compatible bearer token generation (#2529)
- Add Wallet::encrypt_keystore (#2502)
- Add base network (#2516)
Miscellaneous Tasks
- Disable signers
- Fix new rustdoc lints (#2563)
- Improve ABI parser and Abigen errors (#2561)
- Add
aws
feature to ethers (#2558) - Include error in log message (#2552)
- Clippy (#2534)
- Support latest svm (#2523)
- Clippy
Other
- Update watcher.rs (#2559)
- Add Linea (#2533)
- Add aliases for TypedTransaction tags that work with Hardhat (#2518)
Performance
- Memoize
is_dirty
results (#2550) - Buffer writes when serializing json (#2549)
- Avoid
serde_json::from_reader
(#2543) - Replace
hex
withconst-hex
(#2544)
Full PRs list
- chore: support latest svm by @Evalir in #2523
- chore(deps): update cargo_metadata requirement from 0.15.4 to 0.17.0 by @dependabot in #2524
- feat: add base network by @sakulstra in #2516
- chore(deps): update enr requirement from 0.8.1 to 0.9.0 by @dependabot in #2517
- feat(signers): add Wallet::encrypt_keystore by @0xZerohero in #2502
- Add aliases for TypedTransaction tags that work with Hardhat by @aakoshh in #2518
- chore(deps): bump svm-rs by @mattsse in #2525
- feat: add engine api-compatible bearer token generation by @Rjected in #2529
- add Linea by @0xCalibur in #2533
- chore: clippy by @DaniPopes in #2534
- perf: replace
hex
withconst-hex
by @DaniPopes in #2544 - perf: avoid
serde_json::from_reader
by @DaniPopes in #2543 - fix: parse privat keys correctly by @mattsse in #2548
- perf: buffer writes when serializing json by @DaniPopes in #2549
- perf(solc): memoize
is_dirty
results by @DaniPopes in #2550 - chore: include error in log message by @mattsse in #2552
- fix: skip checksums on windows for now by @mattsse in #2553
- fix: skip checksums for old windows solc by @mattsse in #2554
- chore(deps): update num_enum requirement from 0.6 to 0.7 by @dependabot in #2555
- chore: add
aws
feature to ethers by @DaniPopes in #2558 - Update watcher.rs by @prestwich in #2559
- chore: improve ABI parser and Abigen errors by @DaniPopes in #2561
- feat(contract): support state overrides for
Multicall
by @zzhengzhuo in #2478 - feat(ethers-contract): Make ethers-providers optional by @oblique in #2536
- feat(solc): add more borrowed artifact iterators by @DaniPopes in #2562
- chore: fix new rustdoc lints by @DaniPopes in #2563
- chore(deps): bump all dependencies by @DaniPopes in #2565
New Contributors
- @0xZerohero made their first contribution in #2502
- @aakoshh made their first contribution in #2518
- @0xCalibur made their first contribution in #2533
- @zzhengzhuo made their first contribution in #2478
Full Changelog: ethers-v2.0.8...ethers-v2.0.9
ethers-v2.0.8
What's Changed
- chore: use ethers 2 by default when generating bindings by @mattsse in #2317
- fix: duplicate feature declaration by @DaniPopes in #2309
- chore: ignore another rev by @DaniPopes in #2311
- perf: early return in EthCodec derive by @DaniPopes in #2314
- docs: add erc20 token transfer example by @agostbiro in #2295
- feat(core):
Transaction::decode()
sets the hash by @achillelamb in #2303 - fix(etherscan)!: change the
GasOracle
fields to bef64
by @shekohex in #2325 - fix(middleware): no need to multiply again with
GWEI_TO_WEI_U256
by @shekohex in #2326 - feat(solc): add Settings sanitize by @mattsse in #2329
- add legacy-ws feat to meta crate by @rkrasiuk in #2328
- fix: document FilecoinMainnet as EIP-1559 compatible by @agostbiro in #2336
- feat: syn 2.0, merge eip712 crate into ethers-contract-derive by @DaniPopes in #2279
- chore: update deny config by @DaniPopes in #2330
- chore: update solang-parser by @DaniPopes in #2334
- chore: dont retain errors by @mattsse in #2332
- add scroll alpha testnet by @salman01zp in #2316
- docs: update some doctest examples by @DaniPopes in #2339
- fix: poll stream until pending by @mattsse in #2340
- feature: very permissive etherscan gwei deser by @prestwich in #2327
- fix(eip712): handle fields with raw idents by @DaniPopes in #2315
- feat: add Base Goerli chain by @taycaldwell in #2338
- chore: minify test json files by @DaniPopes in #2341
- docs: fix git-cliff tag filtering by @DaniPopes in #2343
- chore: bump coins-bip39 to 0.8.6 by @0xYYY in #2342
- fix(abigen): SolStruct derives edge case by @DaniPopes in #2335
- feat(eip712): add raw_salt attribute by @DaniPopes in #2331
- test: fix tests and dev features by @DaniPopes in #2293
- chore: add viem to wasm section on readme by @jxom in #2345
- chore: Add ZKSync into the Chain type by @syahrul12345 in #2302
- fix(core): fix decimal string IntOrHex parsing by @Rjected in #2359
- fix(core): add from_x_or_hex to remaining genesis fields by @Rjected in #2360
- test: ignore windows remapping tests by @DaniPopes in #2361
- Polygon zkevm support by @Oighty in #2367
- fix: don't panic if hex str too short by @mattsse in #2363
- feat(solc): color when formatting Error and OutputDiagnostics by @DaniPopes in #2368
- fix bug 2370 by @elizabethdinella in #2371
- fix: correctly handle Trezor One support by @prusnak in #2350
- fix: ethers_providers::is_local_endpoint with rust matching pattern on URL::parse by @lucaprov1989 in #2351
- test: add deserialize test by @mattsse in #2354
- Feat/add withdrawals root by @merklefruit in #2348
- docs: update docs and examples on derive macros by @DaniPopes in #2375
- feat: add metis support by @sakulstra in #2365
- lint: couple clippies by @prestwich in #2378
- Jepsen/mdbook by @0xJepsen in #2297
- fix: add back
ethers-solc
feature forethers
by @DaniPopes in #2376 - feat: add fn parse_checksummed by @izayl in #2372
- lint: clippy return statements by @prestwich in #2379
- Add nameless decode to BaseContract by @halo3mic in #2355
- Fix
wast
field is missing by @wtdcode in #2380 - feat: add geth debug_traceBlock methods by @bsh98 in #2366
- fix: specify sum type in abigen to avoid ambiguity by @prestwich in #2383
- feat(solc): add support for Paris and Shanghai EVM versions by @DaniPopes in #2385
- test: remove eip712 tests for ethers-signers by @DaniPopes in #2387
- chore(deps): bump all dependencies by @DaniPopes in #2388
- chore: remove unused dev dependencies on ethers by @DaniPopes in #2386
- feat: add ZkSync testnet by @agostbiro in #2391
- docs: update README.md and book ethers versions by @DaniPopes in #2403
- add mock response to test json rpc errors by @mdtanrikulu in #2396
- feat(core): export geth trace pre state types by @yahengsu in #2393
- Misc ws fixes by @jordy25519 in #2389
- chore: update examples script by @DaniPopes in #2404
- fix(types): make Arbitrum, Arbitrum Goerli, Arbitrum Nova EIP1559 comp by @fulminmaxi in #2410
- Added linea testnet by @syahrul12345 in #2407
- add ccip-read middleware into readme by @mdtanrikulu in #2402
- Remove the eip712 feature flag and have it enabled by default by @dbelv in #2409
- chore: make
abigen
offline by default, fixethers-solc
features by @DaniPopes in #2416 - test: reduce (circular) dev dependencies by @DaniPopes in #2415
- feat(ws): add methods taking in a tungstenite config by @fulminmaxi in #2373
- fix(ethers-solc): Error instead of panic when checking if the checksum was found by @Evalir in #2421
- feat(solc): set default EVM version to Shanghai by @DaniPopes in #2414
- chore: update tokio-tungstenite by @DaniPopes in #2423
- fix(
ethers-etherscan
): make typo on verify constructor arguments an alias by @Evalir in #2425 - fix: fix re-subscription on websocket reconnect by @gbrew in #2419
- feat(etherscan): Add get_block_by_timestamp to ethers-etherscan by @0xrainbowtrout in #2349
- feat: move
spoof
module toethers_core
, add stateoverrides toGethDebugTracingCallOptions
by @georgewhewell in #2406 - fix: examples tokio feature by @DaniPopes in #2427
- fix(
verify
): make verification result an option to handle blockscout's format by @Evalir in #2426 - add subscribe_full_pending_txs() by @rya0x in #2424
- chore: bump trezor-client to 0.1.0 by @DaniPopes in #2428
- feat: allow for Authorization header override with raw parameter by @kristian1108 in #2432
- feat(core): Utility to detect Shanghai-enabled chains by @Evalir in #2431
- feat: add nonce helper function by @dennohpeter in #2429
- fix: remove "js" feature from getrandom by @DaniPopes in #2433
- feat: added Optimism deposited transaction support by @merklefruit in #2390
- ci: add more feature tests and checks by @DaniPopes in #2436
- ethers::utils::format_ether should show decimal places by @0xAndoroid in #2435
- feat: Optimism deposited transactions (2nd part) by @merklefruit in #2434
- chore: remove Cargo.lock by @DaniPopes in #2443
- chore: bump criterion, solang-parser by @DaniPopes in #2447
- chore: update CI and fix clippy by @DaniPopes in #2446
- feat(abigen): emit cargo build script directives by @DaniPopes in #2449
- fix: remove deprecated mining threads arg by @Rjecte...
ethers-v2.0.6
What's Changed
- feat: add ZkSync testnet by @agostbiro in #2391
- docs: update README.md and book ethers versions by @DaniPopes in #2403
- add mock response to test json rpc errors by @mdtanrikulu in #2396
- feat(core): export geth trace pre state types by @yahengsu in #2393
- Misc ws fixes by @jordy25519 in #2389
- chore: update examples script by @DaniPopes in #2404
- fix(types): make Arbitrum, Arbitrum Goerli, Arbitrum Nova EIP1559 comp by @fulminmaxi in #2410
- Added linea testnet by @syahrul12345 in #2407
- add ccip-read middleware into readme by @mdtanrikulu in #2402
- Remove the eip712 feature flag and have it enabled by default by @dbelv in #2409
- chore: make
abigen
offline by default, fixethers-solc
features by @DaniPopes in #2416 - test: reduce (circular) dev dependencies by @DaniPopes in #2415
- feat(ws): add methods taking in a tungstenite config by @fulminmaxi in #2373
- fix(ethers-solc): Error instead of panic when checking if the checksum was found by @Evalir in #2421
- feat(solc): set default EVM version to Shanghai by @DaniPopes in #2414
- chore: update tokio-tungstenite by @DaniPopes in #2423
- fix(
ethers-etherscan
): make typo on verify constructor arguments an alias by @Evalir in #2425 - fix: fix re-subscription on websocket reconnect by @gbrew in #2419
- feat(etherscan): Add get_block_by_timestamp to ethers-etherscan by @0xrainbowtrout in #2349
- feat: move
spoof
module toethers_core
, add stateoverrides toGethDebugTracingCallOptions
by @georgewhewell in #2406 - fix: examples tokio feature by @DaniPopes in #2427
- fix(
verify
): make verification result an option to handle blockscout's format by @Evalir in #2426 - add subscribe_full_pending_txs() by @red-eth in #2424
- chore: bump trezor-client to 0.1.0 by @DaniPopes in #2428
- feat: allow for Authorization header override with raw parameter by @kristian1108 in #2432
- feat(core): Utility to detect Shanghai-enabled chains by @Evalir in #2431
- feat: add nonce helper function by @dennohpeter in #2429
- fix: remove "js" feature from getrandom by @DaniPopes in #2433
- feat: added Optimism deposited transaction support by @merklefruit in #2390
- ci: add more feature tests and checks by @DaniPopes in #2436
- ethers::utils::format_ether should show decimal places by @AndoroidX in #2435
- feat: Optimism deposited transactions (2nd part) by @merklefruit in #2434
- chore: remove Cargo.lock by @DaniPopes in #2443
- chore: bump criterion, solang-parser by @DaniPopes in #2447
- chore: update CI and fix clippy by @DaniPopes in #2446
New Contributors
- @mdtanrikulu made their first contribution in #2396
- @yahengsu made their first contribution in #2393
- @jordy25519 made their first contribution in #2389
- @fulminmaxi made their first contribution in #2410
- @Evalir made their first contribution in #2421
- @gbrew made their first contribution in #2419
- @0xrainbowtrout made their first contribution in #2349
- @red-eth made their first contribution in #2424
- @dennohpeter made their first contribution in #2429
- @AndoroidX made their first contribution in #2435
Full Changelog: ethers-v2.0.4...ethers-v2.0.6
ethers-v2.0.4
What's Changed
- docs: fix git-cliff tag filtering by @DaniPopes in #2343
- chore: bump coins-bip39 to 0.8.6 by @0xYYY in #2342
- fix(abigen): SolStruct derives edge case by @DaniPopes in #2335
- feat(eip712): add raw_salt attribute by @DaniPopes in #2331
- test: fix tests and dev features by @DaniPopes in #2293
- chore: add viem to wasm section on readme by @jxom in #2345
- chore: Add ZKSync into the Chain type by @syahrul12345 in #2302
- fix(core): fix decimal string IntOrHex parsing by @Rjected in #2359
- fix(core): add from_x_or_hex to remaining genesis fields by @Rjected in #2360
- test: ignore windows remapping tests by @DaniPopes in #2361
- Polygon zkevm support by @Oighty in #2367
- fix: don't panic if hex str too short by @mattsse in #2363
- feat(solc): color when formatting Error and OutputDiagnostics by @DaniPopes in #2368
- fix bug 2370 by @elizabethdinella in #2371
- fix: correctly handle Trezor One support by @prusnak in #2350
- fix: ethers_providers::is_local_endpoint with rust matching pattern on URL::parse by @lucaprov1989 in #2351
- test: add deserialize test by @mattsse in #2354
- Feat/add withdrawals root by @merklefruit in #2348
- docs: update docs and examples on derive macros by @DaniPopes in #2375
- feat: add metis support by @sakulstra in #2365
- lint: couple clippies by @prestwich in #2378
- Jepsen/mdbook by @0xJepsen in #2297
- fix: add back
ethers-solc
feature forethers
by @DaniPopes in #2376 - feat: add fn parse_checksummed by @izayl in #2372
- lint: clippy return statements by @prestwich in #2379
- Add nameless decode to BaseContract by @halo3mic in #2355
- Fix
wast
field is missing by @wtdcode in #2380 - feat: add geth debug_traceBlock methods by @bsh98 in #2366
- fix: specify sum type in abigen to avoid ambiguity by @prestwich in #2383
- feat(solc): add support for Paris and Shanghai EVM versions by @DaniPopes in #2385
- test: remove eip712 tests for ethers-signers by @DaniPopes in #2387
- chore(deps): bump all dependencies by @DaniPopes in #2388
- chore: remove unused dev dependencies on ethers by @DaniPopes in #2386
New Contributors
- @jxom made their first contribution in #2345
- @Oighty made their first contribution in #2367
- @prusnak made their first contribution in #2350
- @lucaprov1989 made their first contribution in #2351
- @merklefruit made their first contribution in #2348
- @sakulstra made their first contribution in #2365
- @izayl made their first contribution in #2372
- @wtdcode made their first contribution in #2380
Full Changelog: ethers-v2.0.3...ethers-v2.0.4
ethers-v2.0.3
What's Changed
- chore: use ethers 2 by default when generating bindings by @mattsse in #2317
- fix: duplicate feature declaration by @DaniPopes in #2309
- chore: ignore another rev by @DaniPopes in #2311
- perf: early return in EthCodec derive by @DaniPopes in #2314
- docs: add erc20 token transfer example by @agostbiro in #2295
- feat(core):
Transaction::decode()
sets the hash by @achillelamb in #2303 - fix(etherscan)!: change the
GasOracle
fields to bef64
by @shekohex in #2325 - fix(middleware): no need to multiply again with
GWEI_TO_WEI_U256
by @shekohex in #2326 - feat(solc): add Settings sanitize by @mattsse in #2329
- add legacy-ws feat to meta crate by @rkrasiuk in #2328
- fix: document FilecoinMainnet as EIP-1559 compatible by @agostbiro in #2336
- feat: syn 2.0, merge eip712 crate into ethers-contract-derive by @DaniPopes in #2279
- chore: update deny config by @DaniPopes in #2330
- chore: update solang-parser by @DaniPopes in #2334
- chore: dont retain errors by @mattsse in #2332
- add scroll alpha testnet by @salman01zp in #2316
- docs: update some doctest examples by @DaniPopes in #2339
- fix: poll stream until pending by @mattsse in #2340
- feature: very permissive etherscan gwei deser by @prestwich in #2327
- fix(eip712): handle fields with raw idents by @DaniPopes in #2315
- feat: add Base Goerli chain by @taycaldwell in #2338
- chore: minify test json files by @DaniPopes in #2341
New Contributors
- @achillelamb made their first contribution in #2303
- @shekohex made their first contribution in #2325
- @taycaldwell made their first contribution in #2338
Full Changelog: ethers-v2.0.2...ethers-v2.0.3
ethers-v2.0.2
What's Changed
- ci: rm celo integration test, install missing solc version by @gakonst in #2292
- fix: enable doc_cfg feature for docsrs by @DaniPopes in #2294
- fix: broken eip155 logic in aws signer by @xJonathanLEI in #2300
- chore: add eyre dependency by @kkthmyh in #2305
- fix: ambiguous_glob_reexports rustc lint by @DaniPopes in #2301
New Contributors
Full Changelog: ethers-v2.0.1...ethers-v2.0.2
ethers-v2.0.1
This is the first release using automated releases that @DaniPopes wrote in #2278. Changelog empty for now, but next releases should start being nicer.