Skip to content

Releases: hswick/exw3

Stability

31 Dec 05:44
4c79b7f
Compare
Choose a tag to compare

Added

  • ExW3.get_logs/2

Changes

  • Refactor library to use a main facade and separate utility modules
  • Support HTTP url option in ExW3.accounts/1, ExW3.balance/2, ExW3.block_number/1
  • Switch CI from Travis to Github Actions
  • Fix encode_event
  • Fix load_abi
  • Fix load_bin
  • Fix Contract.at clearing registered state
  • Fix to_checksum_address

Breaking Changes

  • Return :ok/:error tuple from ExW3.block_number/1

v0.4.4

29 May 21:23
Compare
Choose a tag to compare

Looks like I get my release versions mixed. This is what I meant to do with 0.4.3. This release will be latest version, with correct version number.

v0.4.3

29 May 21:13
572ff5b
Compare
Choose a tag to compare

Includes the exth crypto as an explicit dependency in order to fix install issues.

v0.4.2

18 Oct 18:28
Compare
Choose a tag to compare

This release includes a number of small changes.

Fixes issue with using IPC client in 0.4.0
Encodes options besides gas in Contract send_transaction
As well as includes the entire personal api as well as eth_sign

v0.4.0

10 Oct 16:13
Compare
Choose a tag to compare

This new release is a major upgrade in that it includes:

The new IPC client from ethereumex. Which decreased test times by 5x

ExW3.tx_receipt now returns an {:ok, receipt} tuple

call_async/send_async were removed. The reason being that the blockchain connection is always the bottleneck, and users can figure out their own concurrency approach. If there is a solution that people converge on, I'm happy to incorporate it.

v0.3.0

29 Sep 17:45
ad595b5
Compare
Choose a tag to compare

Version 0.2.0 had a short life, but good life. The reason I pushed this change, was that I had been thinking about how to simplify the event handling. This included a breaking change, hence the number change. However, I'm happy with this overhaul as the API has improved and I was able to remove 2 unnecessary modules.

Changes:
ExW3.Contract.filter returns a tuple with {:ok, filter_id}
EventListener has been entirely replaced with ExW3.Contract.get_filter_changes(filter_id)
ExW3.Contract.uninstall_filter now exists and removes the filter from the Contract process state as well from the Ethereum node.

0.2.0

27 Sep 20:51
e9498bc
Compare
Choose a tag to compare

This is the first breaking change I have released, but I have also included a handful of goodies as well.

The breaking change is related to the Contract module, which instead of having one process per contract. It is one process for ALL contracts. This is more inline with OTP design patterns.

Some enhancements are now exw3 supports indexed topics for events.
And I added call_async and send_async which both return Tasks to be awaited on.

This also includes the latest version of ethereumex which allows for configuring GenServer timeouts

v0.1.6

03 Sep 17:32
Compare
Choose a tag to compare

This release includes:

  • eth unit conversion methods
  • compliant gas encoding for transaction options (Thanks @pik694)
  • Updated elixir and ethereumex dependency

v0.1.5

30 Aug 19:43
Compare
Choose a tag to compare

First off big shout out to @pik694 for this work.

The tuple returned from ExW3.Contract.deploy now returns a tx_hash
ExW3 throws an error message if you do not include from or gas in a sendTransaction

v0.1.4

28 Jun 03:26
Compare
Choose a tag to compare

This new release includes quite a range of changes.

I'm very happy to announce that this release includes support for event log filtering. Which means ExW3 can now be a viable contender for actually building applications.

Notably, switched from ganache-cli to parity for testing. Should've done this earlier, because ganache-cli seems to be okay with non 0x prepended data... After switching to parity these bugs were found. Once again big shout out to @wonjun with his simple commit. I wouldn't have thought about checking such a disastrous bug until I noticed his fork.

Also added a helper for keccak256 hashing.