v5.1.43
Hello all! 👋 It's another week 📅 and that means another Truffle release!
This release brings us some improvements to truffle unbox
, truffle test
, and import parsing. Thanks to @tomlinton, Truffle can now parse Solidity imports even when they don't fit on a single line! 🦕 Also, it's now possible to use truffle unbox /path/to/local/box
to unbox a Truffle project you have stored locally rather than downloading a prepared one; thanks to @troggy for that one. Finally, truffle test
should now work better when using a local soljson or natively-installed solc! There are some other changes too, particularly ones to better support Solidity 0.7.x, including to better support free functions, which are new in Solidity 0.7.1. 🏃
That's all for now, but we'll see you again next week!
How to upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Changelog
Enhancements
- Debugger/decoder support for free functions (#3338 by @haltman-at)
- Allow unboxing from local folder (#3281 by @troggy)
- Put (encoded) constructor arguments in affectedInstances (#3325 by @haltman-at)
- Add selfdestruct recipients to addresses affected (#3323 by @haltman-at)
Bug fixes
- Fix for multiline import parsing (#3324 by @tomlinton)
- Remove
now
identifier from debugger on Solidity 0.7.x (#3337 by @haltman-at) - Improve version checking during testing (#3300 by @haltman-at)
Internal improvements
- Add missing
--compile-none
flag to docs for migrate (#3334 by @eggplantzzz) - Fix sandbox resolution, update debugger tests to 0.7.0 (#3336 by @haltman-at)
- Add typeroots empty array to error and provisioner tsconfig.json files (#3330 by @fainashalts)
- Delete unused file Bundled.js (#3326 by @haltman-at)