v5.7.6 – Classic chocolate fondue
Hi folks! Nice seeing you today 🤩
This week's Truffle release brings you fixes to some bugs that got surfaced internally. Hopefully these bugs didn't affect you, or maybe you were too busy dipping pieces of fruit into melted chocolate to open an issue 😮 🍍 🍓. In any case, we recommend reading on and upgrading!
Most notably: you can now switch accounts between transactions in Truffle Dashboard. This wasn't working correctly, which meant problems if (e.g.) your deployment process requires multiple accounts to sign different transactions... not great 🙀! Fortunately, this is now fixed and you can feel free to use Truffle Dashboard for all your CLI-driven signature needs, no matter how many counter-parties you want to involve in your smart contracts. 📄 🖊️
Besides that, Truffle's interactive console (i.e., in truffle develop
and truffle console
) now properly interprets quoted strings... e.g., now "two words"
gets treated as only one string, the way you'd expect! We've also fixed the behavior of our help system inside the interactive console, so now help
inside Truffle's console behaves the same as truffle help
on the command line. ℹ️
Special shout-out to @sukanyaparashar for updating our truffle init
output to the latest Solidity! Thanks for getting that for us 🙏.
Scroll down for all the details if you'd like... regardless, take care and thanks for reading! 👋
How to upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Changelog
Bug fixes
- Fix help in
truffle develop
andtruffle console
(#5871 by @eggplantzzz) - Support switching accounts between signature requests in Truffle Dashboard (#5846 by @cliffoo)
- Properly handle quotes, backslashes, etc in commands at console (#5861 by @haltman-at)
Internal improvements
- Improve CompilerSupplier via memoization and async filesystem access (#5829 by @eggplantzzz)
- Ensure @truffle/from-hardhat specifies
--no-compile
(#5872 by @kevinbluer)
Dependency updates
- Upgrade solc version to v0.8.18 in truffle init (#5870 by @sukanyaparashar)