This repository was archived by the owner on Feb 26, 2024. It is now read-only.
v5.0.13 — Hefty decoder improvements and some renovations to boot!
Hey there!
Spring is here 🌸, and so is a tasty Truffle release! 🍯
This release contains a fair amount of bug fixes, some documentation improvements, and a substantial update and breaking change to truffle-decoder. Thanks to @haltman-at, the truffle-decoder interface received a major overhaul 🐝. Additionally, debugger support for all data types has been enabled. 🚀
For an in-depth look at the truffle-decoder changes, check out #1900, #1908, and #1921.
Shoutouts to @mrwillis, @rgordon95, @maxsam4 & @princesinha19!
How to Upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Join us for TruffleCon 2019 August 2 - 4 at Microsoft's campus in Redmond, WA! Get Tickets | Be a Speaker
Enhancements
- Add helpful warning when both
truffle-config.js&truffle.jsare found (#1866 by @mrwillis) - Update
truffle-artifactor(docs & codebase) (#1894 by @CruzMolina) - Update
truffle-hdwallet-provider(docs & codebase) (#1897 by @CruzMolina) - Document
truffle migrate--dry-run&--skip-dry-runflags (#1901 by @eggplantzzz) - Add decoding support for external function pointers, and improved decoding for contract-type variables (#1908 by @haltman-at)
- Add decoding for internal functions (debugger only) (#1921 by @haltman-at)
Fixes
- Check for on-chain Migrations before deploying (#1890 by @CruzMolina)
- Parse string numbers from config.network_id during dry-run check (#1898 by @CruzMolina)
- Handle
nullgetBlock returns during live/testnet migrations (#1899 by @CruzMolina) - Handle unmatched solc parsing error output (#1902 by @CruzMolina)
- Fix truffle-solidity-loader bug & update pkg (docs & codebase) (#1903 by @CruzMolina)
- Fix
truffle create testimport bug (#1904 by @rgordon95) - Fix getting network in contract decoder (#1919 by @haltman-at)
Dependency Updates
- Add @babel/core@^7.0.0-0 peer dependency for truffle-hdwallet-provider (#1920 by @CruzMolina)
Internal Improvements
- Move from promise-based decoder web3 calls to generator-based decoder requests to caller (#1900 by @haltman-at)
- Refactor truffle-compile/parser & enable docker/native solc offline compilation (#1913 by @CruzMolina)