Skip to content
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!

Choose a tag to compare

@CruzMolina CruzMolina released this 17 Apr 17:55
· 10286 commits to develop since this release

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.js are 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-run flags (#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

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)