v5.0.10 — Enriching the debugger one release at a time, and compiler enhancements too
We have a tasty release fresh out of the oven for you today! 🧁
This release contains a whole bunch of debugger enhancements and fixes, as always. We've added support for globally-available variables, restored your ability to use an external list of breakpoints, and added a fix to properly handle failed calls. A new feature that wasn't highlighted in the last release was the ability to track storage across different calls in the same transaction. Now with this release, this feature will work properly even if one of those calls gets reverted. Yummy!
You asked, and now the time is here! We've added some compiler enhancements in this release. Artifacts now contain your solc metadata, and you'll get a sweeter error message if you have a solc version mismatch. If you've been getting a pesky error while compiling and using babel-register, you'll find that particular fix appetizing.
Shoutout to @Muhammad-Altabba for updating our readme to explain how to use truffle-hdwallet-provider with Web3. Many thanks! ✌️
How to Upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Enhancements
- Add solc metadata output (#1856 by @CruzMolina)
- Add support for globally-available variables (#1849 by @haltman-at)
- Restore ability to use external list of breakpoints (#1854 by @haltman-at)
- Improve mismatched solc version & pragma statement erroring (#1860 by @CruzMolina)
Fixes
- Alter no-source-map fallback to treat as unmapped (#1857 by @haltman-at)
- Properly handle failed calls (#1855 by @haltman-at)
- Fix compiler cache path (#1844 by @CruzMolina)
Internal Improvements
- Strip down calldata test to reduce timeouts (#1853 by @haltman-at)
- Update readme: how to use truffle-hdwallet-provider with Web3 (#1850 by @Muhammad-Altabba)