Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Releases: trufflesuite/truffle

v5.5.21 – Mango Falooda

07 Jul 20:45
Compare
Choose a tag to compare

Hello everyone!👋 Happy summer!☀️

It is a fresh new week with a few new delicious treats for you, an enhancement, a dependency update and a couple of important internal improvements.

First up is an enhancement which adds new Sourcify networks for the month of July. Next is a dependency update for abi-to-sol. We have updated the version of abi-to-sol used in @truffle/resolver package, so importing ABI JSON files in your Solidity projects will work better! 🎉

Thank you @s1na for fixing the GETH docker in our CI and @eltociear for fixing a typo in our documentation. We love contributions from our users.🙏🏻

That is all for this week and we hope to bring some more sweet delicacies for you next week. Stay tuned!

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

Internal improvements

Dependency updates

v5.5.20 – Maple Bacon Bar

01 Jul 21:17
Compare
Choose a tag to compare

Hello everyone. 🎇 Happy July!
We've got a few tasty treats and an important bug fix for you. 👩🏻‍💻
Starting off, we added a --url option to truffle console command.
It untethers the truffle console from a truffle project, allowing interactions with any chain when connected to a node. Say hello to flexibility. All the nice things that Truffle Console provides you for free (such as a web3 object and accounts)are available, except of course that if you're outside of a Truffle project there won't be any contracts.
Next up, hdwallet-provider now supports the signTypedData_v4 adding the capability to work with EIP712 domains.

We want to take a moment to thank our community for opening the issues regarding missing modules and dependencies. Thank you for contributing and helping us to resolve the issue, now we correctly import the required packages.

That's all and more to come next week!
🕺🏻💃

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

Bug Fixes

Internal improvements

Dependency updates

v5.5.19 – Kesar Gulab Jamun

23 Jun 23:01
Compare
Choose a tag to compare

Hey everyone! 👋

Fresh off of our team powwow, we've got a release for you! We offer a number of improvements this week. 🦾 Dashboard is more mature now with improvements under the hood. ⛓ A weird error in the deployment promise chain flow has been resolved.

Thanks to @swisstackle for discovering and fixing a Windows compatibility issue when building Dashboard locally, and @vdamle for tracking down and bumping a vulnerable pouchdb version. Your contributions are always appreciated. 🙏

Also note that truffle init will now use solc version 0.8.15 by default.

Stay tuned for more next week!

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

  • Ensure errors are re-thrown in deferred-chain deployment (#5216 by @haltman-at)

Internal improvements

Dependency updates

v5.5.18 – The Cronut 🥐 🍩

09 Jun 22:41
Compare
Choose a tag to compare

Hello all! 👋

This week's release is named in honor of the cronut, a croissant-doughnut hybrid that is the "stuff of legend" in New York City, where it originated from in early 2013. On the subject of NYC, a number of Trufflers will be in NYC through NFT.NYC, give us a shout if you're around 🗽

Onwards to the release! This week's contains a number of small quality of life improvements including the decoding of multicalls in Truffle Decoder and minor bug fixes.

We also have a fix for Truffle Contract's behavior when attempting to send transactions that will necessarily revert. Truffle Contract was supposed to error out before sending the transaction, preventing gas from being spent on it, but instead it sent the transaction anyway. Now it will error out before sending the transaction (except in the context of truffle test --stacktrace, so you can get a proper stacktrace of how it failed). Lastly, a big thanks to @eltociear for the contribution this week too!

That's all for now. See you next week for the next installment.

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

Bug Fixes

Internal improvements

  • Replace dry-run supported networks list with one from Ganache (#5183 by @haltman-at)

Dependency updates

v5.5.17 – Caramel Apple

03 Jun 21:25
Compare
Choose a tag to compare

Hello all! 👋

This week we have some debugger improvements. We've fixed the behavior of the step over 🩴 and step out 🥾 commands so that they behave more consistently and intuitively, and we've increased the number of networks supported by truffle debug --fetch-external. 🐕

Also, thanks to @swisstackle for helping us to get our CONTRIBUTING.md up to date. If you've got your own idea 💡 for how to improve Truffle, hopefully you will find these clarifications helpful!

Finally, this release removes the default plugins for truffle preserve. In our research, we found that very few people made use of this feature, and the removal of these plugins from Truffle’s bundle improves installation time and other issues by a factor of >10x. 🏎 Starting today, you should notice a significant performance improvement and reduction in NPM warnings. For those of you affected by this change, please see the preserve example box for information on how to install these plugins yourself.

That's all for this week, but as always, we'll be back next week with 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

Bug Fixes

  • Fix behavior of stepOver and stepOut on function definitions (#5143 by @haltman-at)

Internal improvements

Dependency updates

v5.5.16 – Soan Papdi

27 May 18:41
Compare
Choose a tag to compare

Hello once more! 🍧

Back at it again with our weekly release. 🍾
🕶 We made the Truffle commands faster. 🚀
An added goodness 🥁🥁 The truffle debug --fetch-external command can now fetch sources verified on Etherscan for the Sepolia network.

Our community has pointed out that the types on @truffle/contract are not usable; as such, we've removed them. We hope to add usable types at a later time.

⏰ A friendly reminder for everyone that with Node 12 coming to end of life at the end of the month, we will be dropping support for it on May 31, 2022. The recommended Node versions are 14, 16, & 18 with NPM 6. 👩🏻‍💻

🌈 See you in June!

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

Bug Fix

Internal improvements

v5.5.15 – Classic Cannoli

20 May 18:41
Compare
Choose a tag to compare

Hello again 👋


We have a small offering this week. Besides the house cleaning improvements, we added new network capabilities to our source fetching capabilities, as well as an improvement to the debugger's txlog which now includes events 🎉! Please note, projects generated with truffle init 🏗️ will now use solc 0.8.14 by default.

We'd also like to remind everyone that with Node 12 coming to end of life at the end of the month, we will be dropping support for it on May 31, 2022. As such, please prepare accordingly.

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

Enhancements

Internal improvements

v5.5.14 – Lemon Lavender Cupcakes 🧁

13 May 04:03
Compare
Choose a tag to compare

Hi again! 👋


This week's release has a little bit of everything, including two enhancements. Of particular note, you can now compile specified sources! For instance, if you wish to compile only your SimpleStorage.sol contract, simply type truffle compile SimpleStorage.sol. 🎉

We’ve also changed the way the @truffle/resolver package is exported, favoring the ES6 syntax. Resolver is now the default export of the package.



That’s it for this week! Please enjoy and let us know if you have any feedback or questions! 💻


How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

Bug fixes

  • Add nonstandard inspect method to ContractInfoInspector (#5104 by @gnidan)

Internal improvements

Dependency updates

v5.5.13 – Piñata Cake 🍰

06 May 16:02
Compare
Choose a tag to compare

Hello again! 👋

This week’s release contains a smattering of improvements and updates. Notably, the Truffle source-fetcher now supports many more networks! If Etherscan or Sourcify supports a network, you should be able to use source-fetcher with it as well.

We've also made it so that you can consistently set Ganache options in truffle test and truffle develop by setting them in the test and develop networks (respectively) in your config. Previously the options the two accepted were different and a bit spotty; now they're consistent and more expansive.

Additionally, we updated Truffle's dependency on the reselect-tree package, which should address issues some users have reported with the Truffle Debugger. Give it a try! 👩‍💻

A special thank you to @GitHubPang for fixing a typo in our Codec readme. 🙇‍♂️ External contributions are always welcome and appreciated!

We'd also like to remind everyone that with Node 12 coming to end of life at the end of the month, we will be dropping support for it on May 31, 2022. As such, please prepare accordingly.

That’s it for this week. Please enjoy and let us know if you have any feedback or questions! 🥳

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

Internal Improvements

Dependency Updates

v5.5.12 - Ganache-alicious ✨

28 Apr 22:29
Compare
Choose a tag to compare

Hey y'all!

This week's release is named in honor of Ganache's shiny new "VM overrides during eth_call" feature. In slightly less technospeak, Ganache now supports overriding the contract code and storage and the account balance and nonce for simulations with eth_call. What's more it ships directly in this release! More details and an example of it in action available in Ganache's v7.1.0 release notes.


Also available in this week's release is a new interface for fetch-and-compile that removes the need for a Truffle config file. A big thanks to @GitHubPang for a number of wording improvements and squashing of typos.

In other news, with Node 12 coming to end of life at the end of the month, we will be dropping support for it on May 31, 2022. As such, please prepare accordingly.

That’s it for now, please enjoy and as always we love your feedback ❤️

How to upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

  • Add new interface for fetch-and-compile that doesn't require a Truffle config (#5054 by @haltman-at)

Bug fixes

  • Allow use of ENS with mapping key watching in decoder (#5057 by @haltman-at)
  • Prevent intermediate state from appearing in final txlog (#5048 by @haltman-at)
  • Ensure all contracts get primary source id attached in shimContracts (fix phantom stackframes, again) (#5040 by @haltman-at)

Internal improvements

Dependency updates

Deprecations