Releases: ExWeb3/elixir_ethers
Releases · ExWeb3/elixir_ethers
v0.6.1
What's Changed
Bug Fixes
- Remove leading zeros from signature r and s values
- Support hex decoded raw transaction in
Ethers.Transaction.decode/1
Pull Requests in Release
- Remove leading zeros from signature r and s by @alisinabh in #173
- Fix decode to work with decoded binaries by @alisinabh in #172
Full Changelog: v0.6.0...v0.6.1
0.6.0
What's Changed
Breaking Changes
- Removed
Ethers.Transaction
struct and replaced with separate EIP-1559 and Legacy transaction structs for improved type safety - Deprecated
Ethers.Transaction.from_map/1
- useEthers.Transaction.from_rpc_map/1
instead for RPC response parsing - Deprecated
Ethers.Utils.maybe_add_gas_limit/2
- gas limits should now be set explicitly - Changed input format requirements: All inputs to
Ethers
functions must use native types (e.g., integers) instead of hex strings encoded values - Removed auto-gas estimation from send_transaction calls
tx_type
option in transaction overrides has been replaced withtype
, now requiring explicit struct modules (e.g.Ethers.Transaction.Eip1559
,Ethers.Transaction.Legacy
)- Moved
Ethers.Transaction.calculate_y_parity_or_v/1
toEthers.Transaction.Signed
module - Deprecate
Ethers.send/2
in favor ofEthers.send_transaction/2
for clarity and prevent collision withKernel.send/2
.
New features
- Added EIP-3668 CCIP-Read support via
Ethers.CcipRead
module for off-chain data resolution - Extended NameService to handle off-chain and cross-chain name resolution using CCIP-Read protocol
- Introduced
Ethers.Transaction.Protocol
behaviour for improved transaction handling - Added dedicated EIP-1559 and Legacy transaction struct types with validation
- New address utilities:
Ethers.Utils.decode_address/1
andEthers.Utils.encode_address/1
- Added
Transaction.decode/1
to decode raw transactions
Enhancements
- Improved error handling and reporting in
Ethers.deploy/2
- Enhanced NameService with ENSIP-10 wildcard resolution support
- Use checksum addresses when decoding transactions
- Add bang versions of
Ethers
top module functions which were missing
Pull Requests in Release
- Implement CCIP Read by @alisinabh in #158
- Improve name service + offchain lookup support by @alisinabh in #159
- Fix the typos in README.md by @caicaishmily in #162
- Bump req from 0.5.1 to 0.5.8 by @dependabot in #161
- Improve Transaction handling by @alisinabh in #164
- Implement
Transaction.decode/1
by @alisinabh in #166 - Use checksummed addresses when possible by @alisinabh in #167
- Bump ex_doc from 0.35.1 to 0.36.1 by @dependabot in #169
- Bump credo from 1.7.10 to 1.7.11 by @dependabot in #170
- Rename
Ethers.send/2
toEthers.send_transaction/2
by @alisinabh in #171 - Add missing bang functions by @alisinabh in #168
New Contributors
- @caicaishmily made their first contribution in #162
Full Changelog: v0.5.5...v0.6.0
0.5.5
What's Changed
Enhancements
- Add
from_block
andto_block
options toEthers.get_logs/2
- Add RPC adapter behaviour and proxy for Ethereumex.HttpClient
- Move and export abi decode functionality to
Ethers.TxData
module - Export
Ethers.TxData.to_map/2
in docs - Add
Ethers.Event.find_and_decode/2
function
Pull Requests in Release
- Bump credo from 1.7.8 to 1.7.10 by @dependabot in #150
- Add Adapter for RPC client by @joaop21 in #152
- Bump dialyxir from 1.4.4 to 1.4.5 by @dependabot in #153
- Improve
Ethers.TxData
module by @alisinabh in #155 - Bump ex_doc from 0.34.2 to 0.35.1 by @dependabot in #154
- Add
Ethers.Utils.find_and_decode/2
function by @alisinabh in #156
New Contributors
Full Changelog: v0.5.4...v0.5.5
0.5.4
0.5.3
What's Changed
Enhancements
- Make event filter arguments optional in typespecs
Pull Requests in Release
- Bump excoveralls from 0.18.2 to 0.18.3 by @dependabot in #140
- Bump credo from 1.7.7 to 1.7.8 by @dependabot in #142
- Bump dialyxir from 1.4.3 to 1.4.4 by @dependabot in #143
- Bump ex_abi from 0.8.0 to 0.8.1 by @dependabot in #141
- Support optional fields in EventFilter typespecs by @NduatiK in #144
Full Changelog: v0.5.2...v0.5.3
0.5.2
What's Changed
Bug fixes
- Handle
{:ok, nil}
from RPC get block by number request
Enhancements
- Enable raw use of
Ethers.call/2
(usage without function selector) - Add optional backoff to
Ethers.Utils.date_to_block_number/3
Pull Requests in Release
- Support raw results in
Ethers.call/2
by @alisinabh in #137 - Refactor
Utils.date_to_block_number/3
by @alisinabh in #138
Full Changelog: v0.5.1...v0.5.2
0.5.1
What's Changed
Enhancements
- Mark
ex_keccak
as optional using SKIP_EX_KECCAK environment variable
Pull Requests in Release
- Target Elixir 1.17 and OTP 27 in tests by @alisinabh in #129
- Bump jason from 1.4.1 to 1.4.3 by @dependabot in #131
- Bump ex_doc from 0.34.0 to 0.34.2 by @dependabot in #133
- Bump excoveralls from 0.18.1 to 0.18.2 by @dependabot in #136
- Bump jason from 1.4.3 to 1.4.4 by @dependabot in #135
Full Changelog: v0.5.0...v0.5.1
0.5.0
What's Changed
Breaking Changes
- Rename
NotERC165CompatibleError
toErrors.NotERC165CompatibleError
Bug fixes
- Handle unexpected errors in ExecutionError exceptions
Pull Requests in Release
- Add Errors Prefix to NotERC165CompatibleError by @alisinabh in #121
- Switch test-rpc provider to Anvil by @alisinabh in #120
- Bump ex_doc from 0.32.1 to 0.32.2 by @dependabot in #123
- Bump credo from 1.7.5 to 1.7.6 by @dependabot in #124
- Fix anvil eip1559 signed payload signature in test by @alisinabh in #125
- Handle unexpected errors in ExectionError exceptions by @alisinabh in #126
- Bump ex_doc from 0.32.2 to 0.33.0 by @dependabot in #127
Full Changelog: v0.4.5...v0.5.0
0.4.5
0.4.4
What's Changed
Enhancements
- Add ERC-165 contract and behaviour
- Add
skip_docs
option for contract module doc and typespec generation - Allow skipping checksum address in
Ethers.Utils.public_key_to_address/2
Pull Requests in Release
- Bump ex_secp256k1 from 0.7.2 to 0.7.3 by @dependabot in #114
- Bump ex_abi from 0.7.1 to 0.7.2 by @dependabot in #113
- Bump excoveralls from 0.18.0 to 0.18.1 by @dependabot in #112
- Implement ERC-165 support by @alisinabh in #115
- Allow skipping checksum address in
Utils.public_key_to_address
by @alisinabh in #116
Full Changelog: v0.4.3...v0.4.4