Skip to content

Commit

Permalink
Release 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alisinabh committed Jan 3, 2025
1 parent 916d2d4 commit 0a99433
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## v0.6.1 (2025-01-02)

### Bug Fixes

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies in your `mix.exs` file:
```elixir
def deps do
[
{:ethers, "~> 0.6.0"},
{:ethers, "~> 0.6.1"},
# Uncomment next line if you want to use local signers
# {:ex_secp256k1, "~> 0.7.2"}
]
Expand All @@ -36,17 +36,18 @@ The complete documentation is available on [hexdocs](https://hexdocs.pm/ethers).

Version 0.6.x introduces some breaking changes to improve type safety and explicitness:

* All inputs to functions now require native Elixir types (e.g. integers) instead of hex strings
* Gas limits must be set explicitly rather than estimated automatically for all calls
* Transaction struct has been split into separate EIP-1559 and Legacy types
* Some functions have been deprecated or moved - see below
- All inputs to functions now require native Elixir types (e.g. integers) instead of hex strings
- Gas limits must be set explicitly rather than estimated automatically for all calls
- Transaction struct has been split into separate EIP-1559 and Legacy types
- Some functions have been deprecated or moved - see below

Key function changes:

- Use `Ethers.send_transaction/2` instead of `Ethers.send/2`
- Use `Ethers.Transaction.from_rpc_map/1` instead of `from_map/1`
- Specify gas limits explicitly instead of using `maybe_add_gas_limit/2`
- Use `type` instead of `tx_type` in transaction overrides, with explicit struct modules:

```elixir
# Before
Ethers.send_transaction(tx, tx_type: :eip1559)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Ethers.MixProject do
use Mix.Project

@version "0.6.0"
@version "0.6.1"
@source_url "https://github.com/ExWeb3/elixir_ethers"

def project do
Expand Down

0 comments on commit 0a99433

Please sign in to comment.