Releases: hswick/exw3
Stability
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 fromExW3.block_number/1
v0.4.4
v0.4.3
v0.4.2
v0.4.0
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
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
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
v0.1.5
v0.1.4
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.