This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
v5.7.5 — Chocolate chips
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)
Dependency updates
- Update web3 to
1.8.2
(#5862 by @haltman-at) - Update highlightjs-solidity to
2.0.6
(#5865 by @haltman-at)