v5.0.12 – Sweet fixes and an enhancement too
Have you had your dessert today? 🍰
We have several fixes in today’s release: an error will now be thrown if the setUpBox method fails during unboxing, the readme in truffle-decode-utils now reflects the proper package name, and we added code to ensure that the truffle-decode-utils and truffle-decoder packages are built properly in each release.
We also included a debugger fix. If you place a breakpoint on an empty line or variable declaration, it will now be moved down to a line the debugger will actually stop at.
This release contains a tasty enhancement as well. If you attempt to unbox into a directory that is not empty, you will now get a warning and an opportunity to cancel.
Enjoy this bite-sized release with a glass of milk! 🥛
How to Upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Enhancement
- Add check for unboxing in a non-empty directory(#1712 by @adrianmcli)
Fixes
- Throw error upon
setUpBoxmethod failure instead of catching and hiding it (#1885 by @eggplantzzz) - Move down breakpoints when placed on empty/skipped lines(#1882 by @haltman-at)
- Update readme to correct title (#1887 by @davidmurdoch)
- Add prepare step to package.json in truffle-decode-utils and truffle-decoder(#1888 by @fainashalts)
Internal Improvements
- Rework context system in preparation for external function decoding(#1872 by @haltman-at)