All Versions
14
Latest Version
Avg Release Cycle
60 days
Latest Release
1391 days ago

Changelog History
Page 2

  • v0.7.3.0 Changes

    May 22, 2018

    ➕ Added

    • 'Network.Ethereum.ABI.Prim' meta-module as primitive types and instances aggregator.
    • 🏗 Stackage nightly build compatibility.

    🔄 Changed

    • Potential nullable web3 type ('Change', 'Block', 'Transaction', etc.) fields are encoded as 'Maybe'.
  • v0.7.2.0 Changes

    May 13, 2018

    ➕ Added

    • 📚 Generic JSON-RPC API documentation improvements.
    • 🛠 TH generator bug fixes.

    🔄 Changed

    • 🛠 Generic JSON-RPC API use fixed size byte arrays.

    ✂ Removed

    • 'BlockNumber', 'FilterId' types replaced by 'Quantity' type
  • v0.7.1.0 Changes

    May 01, 2018

    ➕ Added

    • TxReceipt and Eth.getTransactionReceipt JSON-RPC method.
    • Keyword escaper for TH generated names.
    • 🏗 Build flag to enable TLS support.

    🔄 Changed

    • 🛠 Library dependencies bounds fixed for GHC 8.2.2-8.4.2 (stackage LTS + Nightly).
  • v0.7.0.0 Changes

    April 25, 2018

    🚀 This is one of the biggest releases of hs-web3. The aim of this release is make library more easy to use and understand. In this release library modules are separated for three parts: ABI operational modules, Contract abstraction and JSON-RPC generic communication interface (Web3 module).

    Imports optimization is enabled for scenario:

    • if you need TH, just only import Network.Ethereum.Contract.TH module
    • in other cases use Network.Ethereum.Web3 module

    For using specified JSON-RPC method make qualified imports, like

    import qualified Network.Ethereum.Web3.Eth as Eth...runWeb3 Eth.accounts
    

    ➕ Added

    • Descriptive types for all JSON-RPC method parameters and returned values (#15).
    • Widely use of basement:Word256 type for encoding.
    • Full list of ethereum abi encoding types:
      • bool: Bool
      • int256: IntN
      • uint256: UIntN
      • string: Text
      • bytes: Bytes
      • bytes32: BytesN
      • dynamic array: []
      • static array: ListN

    🔄 Changed

    • 🐎 Rewriten encoding engine for best performance, it now based on cereal:Serialize instead of parsec:Parser.
    • 📇 Renamed encoding type classes and methods: ABIEncode -> ABIPut, ABIDecode -> ABIGet.
    • 🚚 Encoding related modules moved to Network.Ethereum.ABI.
    • 🚚 Primitive abi encoding types are moved to separated modules in Network.Ethereum.ABI.Prim.
    • 🚚 Contract interation related modules moved to Network.Ethereum.Contract.
    • Ethereum node communication modules stay in Network.Ethereum.Web3.
    • JSON-RPC tiny client is independent now and can be used separately.

    ✂ Removed

    • 0️⃣ Event type class, currently TH create Data.Default instance for Filter e.
    • ✅ Custom setup for live testing (it replaced by travis script).