Releases: ExWeb3/elixir_ethers
Releases · ExWeb3/elixir_ethers
0.1.3
What's Changed
Bug fixes
- 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.
Pull Requests in Release
- Update ethereumex to 0.10.6 by @alisinabh in #65
- Raise on negative integer encode/decoding from hex by @alisinabh in #66
- Bump credo from 1.7.1 to 1.7.2 by @dependabot in #68
Full Changelog: v0.1.2...v0.1.3
0.1.2
Breaking Changes
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.
Pull Requests in Release
- Convert integer override values to hexadecimal as per Ethereum JSON RPC spec by @alisinabh in #64
- Bump ex_doc from 0.30.9 to 0.31.0 by @dependabot in #63
Full Changelog: v0.1.1...v0.1.2
0.1.1
Bug fixes
- Multicall: aggregate_3 decoder returns
nil
in case of failure - Multicall: Feed decoded results through
Utils.human_arg/2
Pull Requests in Release
- remove trailing " in autocreated contract docstrings by @BlazeWasHere in #58
- Fix multicall failure return value and use
Utils.human_args/2
by @alisinabh in #59 - Fix inspect break lines with empty params by @alisinabh in #60
- fix documentation typo by @masudme09 in #62
New Contributors
- @masudme09 made their first contribution in #62
Full Changelog: v0.1.0...v0.1.1
0.1.0
New Features
- Checksum address utility functions
Enhancements
- 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
Breaking Changes
- The generated contract functions no longer call or send transactions, They will only prepare parameters
To execute an explicit call toEthers.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_adress__/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
Bug fixes
- Fix event filters with mixed indexed and non-indexed arguments
Pull Requests in Release
- Bump dialyxir from 1.4.0 to 1.4.1 by @dependabot in #15
- Do not implicitly make transactions by @alisinabh in #17
- Bump ethereumex from 0.10.4 to 0.10.5 by @dependabot in #20
- Support for typed arguments and selector inferrence by @alisinabh in #21
- Bump ex_abi from 0.6.0 to 0.6.2 by @dependabot in #22
- Implement checksum address utility functions by @alisinabh in #24
- Fix Types.max value for larger bitsizes by @alisinabh in #27
- Fix default address collision by @alisinabh in #29
- Fix mixed index event filter functions by @alisinabh in #30
- Automatically convert integer block numbers by @alisinabh in #32
- Bump credo from 1.7.0 to 1.7.1 by @dependabot in #33
- Bump ex_doc from 0.30.6 to 0.30.7 by @dependabot in #35
- Bump excoveralls from 0.17.1 to 0.18.0 by @dependabot in #36
- Remove Ethers.RPC module by @alisinabh in #37
- Return structs in generated functions and event filters by @alisinabh in #39
- Support dynamic sized types in event indexed args by @alisinabh in #43
- Optional call list by @BlazeWasHere in #46
- adds more registry contract tests by @BlazeWasHere in #47
- Bump ex_doc from 0.30.7 to 0.30.9 by @dependabot in #50
- Bump dialyxir from 1.4.1 to 1.4.2 by @dependabot in #48
- Add return names in docs and TxData inspection by @alisinabh in #51
- Multicall by @BlazeWasHere in #52
- Bump ex_abi from 0.6.3 to 0.6.4 by @dependabot in #53
- Implement batch request by @alisinabh in #54
- Improve documentation by @alisinabh in #55
- Update README.md with new changes by @alisinabh in #56
New Contributors
- @BlazeWasHere made their first contribution in #46
Full Changelog: v0.0.6...v0.1.0
0.0.6
What's Changed
Enhancements
- 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
Bug fixes
- Fix RPC options and client override issue
- Do not add
nil
to address when address is not present
Full Changelog: v0.0.5...v0.0.6
0.0.5
What's Changed
- Bump ex_doc from 0.30.1 to 0.30.4 by @dependabot in #6
Full Changelog: v0.0.4...v0.0.5
0.0.4
What's Changed
- Bump ex_doc from 0.29.4 to 0.30.1 by @dependabot in #4
- Bump jason from 1.4.0 to 1.4.1 by @dependabot in #3
Full Changelog: v0.0.3...v0.0.4
v0.0.3
Added
- Better Gas Estimation API.
- Configurable default gas drift calculation.
Fixed
Type.[min/max]
functions bitsize check guard.- Generated documentation typos and general writing.
Full Changelog: v0.0.2...v0.0.3
0.0.2
v0.0.1
Initial Beta release of Ethers for Elixir. This release includes the following features:
- Contract function generation during compile time from ABIs.
- Ability to deploy a contract with its byte-code and constructor.
- Common contract interfaces like ERC20, ERC721, ERC777 and ERC1155. (built-ins)
- ENS and other name services resolve functionality and contracts.
- Implicit type conversion and common type utility functions.