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:
npm uninstall -g truffle
npm install -g truffle
Changelog
Enhancement
Add block.prevrandao as globally available variable in debugger (#5866 by @haltman-at)
Internal improvement
Add appendCBOR field in metadata settings type in source fetcher (#5864 by @haltman-at)
Hi all, we've got a small release this week but it's got some useful bug 🐛 fixes!
Specifically, there was a problem where, when using abbreviated names of Truffle commands -- for instance, truffle migr instead of truffle migrate -- some command-line options might not get set properly. But this has been fixed now so you may be as terse as you please! 🏎
And -- aside from some internal improvements and dependency updates -- that's it! But we'll be back next week with more, and interesting things are brewing for later... 🫖
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.5.
Release notes
Sourced from truffle's releases.
... (truncated)
Commits
758ea22
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 inputf35bc39
Add scenario test for Help cmdDependabot 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)