- Support EIP-1191: Add chain id to mixed-case checksum address encoding
- Add EIP-4844 transaction support
- Remove leading zeros from signature r and s values
- Support hex decoded raw transaction in
Ethers.Transaction.decode/1
- 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
.
- 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
- 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
- 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
- Handle
nil
values when decoding transaction values for RLP encoding
- Make event filter arguments optional in typespecs
- Handle
{:ok, nil}
from RPC get block by number request
- Enable raw use of
Ethers.call/2
(usage without function selector) - Add optional backoff to
Ethers.Utils.date_to_block_number/3
- Mark
ex_keccak
as optional using SKIP_EX_KECCAK environment variable
- Rename
NotERC165CompatibleError
toErrors.NotERC165CompatibleError
- Handle unexpected errors in ExecutionError exceptions
- Add
Ethers.NameService.reverse_resolve/2
to reverse resolve addresses to domains
- 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
- Fix
Ethers.Multicall
typespecs
- Support sending raw transactions using
Ethers.send/2
- Add
Ethers.get_transaction_count/2
- Add support of getting current
max_priority_fee_per_gas
- Use latest
max_priority_fee_per_gas
from the chain as default value in transactions
- Custom errors will be returned as error structs instead of raw RPC response
- Updated ERC20, ERC721 and ERC1155 ABIs to Openzeppelin 5.x
- Generate error structs from ABI and decode custom errors when error data is available
- Use JsonRPC signer as a default signer in
Ethers.sign_transaction/2
- Fix trimmed zeros in transaction encoder with unified hex encoding for transaction
- Removed
signature_v
,signature_recovery_id
andsignature_y_parity
fromEthers.Transaction
struct and introduce newsignature_v_or_y_parity
value - Update
ex_abi
to 0.7.0 with newmethod_id
logic for event selectors and use its value
- Cleanup implementation of Transaction encoders and value decoder
- Add
Ethers.get_transaction_receipt/2
function to query native chain transaction receipt by transaction hash.
- Add more metadata to
Ethers.Transaction
struct. - Return
Ethers.Transaction
struct inEthers.get_transaction/2
function. - Support
get_transaction
in batch requests.
- Add
Ethers.get_transaction/2
function to query native chain transaction by transaction hash.
- Add
Ethers.get_balance/2
function to query native chain balance of accounts.
- Encode integers to hex even when they are part of params
Ethers.sign_transaction/2
function- Signer behaviour
- Local Signer implementation
- JsonRPC Signer implementation
Ethers.Transaction
struct and helper functions
- unsized integer encoding to hex will now raise if given negative numbers.
Utils.date_to_block_number/3
going to negative block numbers issue fixed.
TxData.to_map/2
now returns hex values for all integers.Utils.maybe_add_gas_limit/2
now adds hex gas limit value instead of integer.
- Multicall: aggregate_3 decoder returns
nil
in case of failure - Multicall: Feed decoded results through
Utils.human_arg/2
- Checksum address utility functions
- Use zip_reduce for event generators
- Move documentation generators to ContractHelpers
- Display message for empty parameters or return types
Ethers.call/2
andEthers.get_logs/2
now automatically convert integer block numbers to hex values- Return structs as a result in generated functions and event filter with Inspection protocols implemented for better development experience
- Support dynamically sized indexed event filters (bytes, strings, arrays and structs)
Ethers.call/2
now only returns as a list if the return type is either a solidity array or tuple- Add return names in documentations and TxData inspection
- Added an interface for
Multicall3
throughEthers.Contracts.Multicall3
- Added
Ethers.Multicall
as an abstraction forEthers.Contracts.Multicall3
- Added batching functionality using
Ethers.batch/2
- The generated contract functions no longer call or send transactions, They will only prepare parameters
To execute an explicit call to
Ethers.send/2
orEthers.call/2
is required - Events no longer accept
address
overrides. Overriding now happens atEthers.get_logs/2
- Function
Ethers.get_logs/3
is now changed toEthers.get_logs/2
- Generated contract modules and EventFilter modules
default_address/0
function is now renamed to__default_address__/0
to prevent collision - Removal of
Ethers.RPC
module - Remove
Ethers.Types.dynamically_sized_types/0
function Ethers.call/2
response is not always a listEthers.deploy/4
is now removed and replaced withEthers.deploy/2
- Fix event filters with mixed indexed and non-indexed arguments
- Update
dialyxir
dependency to 1.4.0 - Update
ex_doc
to 0.30.6 - Add more function to
Utils
module - Improve failure return values of deployment functions
- Fix RPC options and client override issue
- Do not add
nil
to address when address is not present
- Add ENS (Ethereum name service) contracts and helper functions
- Update
ex_doc
dependency to 0.30.4 - Address
Logger.warn
deprecation
- Update
ex_doc
dependency to 0.30.1 - Update
jason
dependency to 1.4.1
- Improved generative documentation for modules
- Improved gas estimation API
- Add gas limit to sending transactions
- Remove redundant gas estimation function
- Fix bitsize check guard to include all available solidity bitsizes
- Include the priv directory in mix releases
First Release