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 and truffle 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)
Hey everyone! 🫠 This week we're back with another release that mostly takes care of some good old fashioned housekeeping. 🧹
So Solidity 0.8.18 was recently released and there are a couple of updates here to keep up with them. The one of the two worth mentioning is the new block.prevrandao alias (for block.difficulty). This has been added as a globally available variable in the debugger. Additionally, we bumped highlightjs-solidity (which will yield better syntax highlighting) and web3 (woohoo!🎉). We hope you enjoy and we'll see you next time! 👋
How to upgrade
We recommend upgrading to the latest version of Truffle by running:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps truffle from 5.1.48 to 5.7.6.
Release notes
Sourced from truffle's releases.
... (truncated)
Commits
3130426
Publish758ea22
Publish6285bae
Update web3 to 1.8.2dbefdcb
Publishb04cb5b
Publish37db8eb
Merge pull request #5706 from trufflesuite/betterHelp5dd04a6
Update Ganache to 7.7.3e3cd436
expand test cases for --help56f4106
refactor test for help commandb0f9f7b
refactor logic to process help inputDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)