Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

v5.4.2 – Mixed berry pie

Compare
Choose a tag to compare
@gnidan gnidan released this 24 Jul 03:03
· 3813 commits to develop since this release

Good day, folks! 👋

Here's a long-absent command line option: truffle test --grep (or -g), to match Mocha's --grep option for filtering tests by name. Glad we finally added that—it'll come in handy when you want to run only a subset of your tests at a time. Check out those linked Mocha docs to see how it works!

Apart from that, we've got a few bug fixes, mostly related to how Truffle keeps track of files paths for import statements in Solidity. We've been coordinating with @cameel from the Solidity team to align Truffle's integration with solc best practices moving forward, and there's been a bit of fallout from that. We should have the worst of these bugs fixed now, though! (Please do let us know you run into any problems with things like contracts getting compiled twice in the same truffle compile run, or if you encounter any errors that shouldn't happen. We'll be on the lookout! 🔎 🐛) All-in-all, we're rather excited about these changes - see Solidity's docs about Import Path Resolution, namely how the Solidity compiler's "virtual filesystem" ensures compilation results are the same across different machines/platforms/etc.

As always, it's our pleasure to bring you this week's Truffle release. We hope you enjoy.

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

Bug fixes

Internal improvements

Dependency updates