v5.5.22 – Sago Pudding
Hey everybody 👋 Hope you're having a great Friday afternoon. Have we got a new Truffle release for you!
Truffle console remediated the behavior for assignments with await
(e.g. foo = await bar
). We also provide a gentle error 🌱 instead of crashing on invalid Truffle commands.
Shout-out to @burz for adding a GitPOAP badge to the README, 🥳 so fun! Also @wbt for spotting and resolving the ethereumjs-util version issue! 🙌
Truffle is updated to use the latest Ganache at v7.3.2 ✨
We've also removed the truffle install
and truffle publish
commands due to a rather lackluster level of community support for EthPM. Discussion here.
Note that the debugger removed the indicateUnknown
option and defaults it to true. That's a breaking change so there's a new major for @truffle/debugger (v10.0.17 => v11.0.0
)
That's about it for this week. Tune in next week for more! 💡
How to upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Changelog
Enhancements
- Error out better on incorrect Truffle command (#5266 by @lsqproduction)
- Add Boba support to Etherscan fetcher (#5271 by @haltman-at)
- Add
debug_storageRangeAt
integration to debugger library (#5286 by @haltman-at) - Add XinFin Apothem testnet support to Sourcify fetcher (#5287 by @haltman-at)
Bug Fixes
- Correct return behavior for
await
in Truffle console (#5270 by @haltman-at) - Remove ethpm support (#5283 by @sukanyaparashar)
Internal improvements
- Better mnemonic and private key validation logic (#5261 by @eggplantzzz)
- Add integration tests for debug command (#5263 by @sukanyaparashar)
- Add dependency check to Github Actions (#5264 by @cds-amal)
- Clear
Browserslist caniuse-lite is outdated
message when building dashboard (#5273 by @cliffoo) - Add missing
buffer
import indashboard-message-bus-common
(#5274 by @cliffoo) - Add GitPOAP badge in README to show minted GitPOAPs for contributors (#5284 by @burz)
- Remove reference to leftover typings in contract's
package.json
(#5288 by @eggplantzzz) - Increase timeout on decoder test (#5291 by @haltman-at)
Dependency updates
- Upgrade ethereumjs-util to v7.1.5 (#5261 by @wbt and @eggplantzzz)
- Upgrade ganache to v7.3.2 (#5269 by @haltman-at)
- Upgrade @ensdomains/ensjs to v2.1.0 (#5289 by @eggplantzzz)
- Upgrade ethereumjs-wallet to v1.0.2 (#5303 by @eggplantzzz)
- Upgrade ethereum-cryptography to v1.1.2 (#5303 by @eggplantzzz)
- Upgrade webpack-cli to v4.10.0 (#5304 by @eggplantzzz)
- Upgrade webpack to v5.73.0 (#5304 by @eggplantzzz)