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

v5.3.0 – Preserves 🍓

Compare
Choose a tag to compare
@gnidan gnidan released this 31 Mar 23:28
· 4252 commits to develop since this release

Another feature release, so soon! Hi everyone! 👋. We're excited to bring you Truffle v5.3.0 today, officially adding the new truffle preserve command.🥫

Have you ever needed to come up with a creative solution to manage your dapp assets? Well, good news: Truffle now introduces a mechanism to manage these assets for you, allowing you to focus on building your application instead of configuring new tools.

This means: you can now use Truffle to upload your static assets to IPFS, Filecoin, and/or Textile Buckets. To get started, please see the new Filecoin box and corresponding announcement blogpost to learn more, or just run truffle unbox filecoin after upgrading Truffle 😄. For detailed information, refer to the corresponding truffle preserve documentation.

Beyond just the functionality above, this new command expands Truffle's plugin system entirely: the services listed above are themselves just Truffle plugins that we're including by default. (Heck, even the "arbitrary files and directories" functionality is provided by a plugin!) We'll be documenting how to create a truffle preserve plugin in the coming weeks, so stay tuned there. We're excited that this release brings support for this foundational use case, and we can't wait to see this same system get used for others (verify contracts on Etherscan, anyone? 😉).

See truffle preserve in action

preserve

One other note, before we go: this release also downgrades @ethereumjs/tx for the time being to address a large number of reported issues about incompatibilities. Hope this solves the problem for you!

We hope you enjoy!

How to upgrade

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

npm uninstall -g truffle
npm install -g truffle

Changelog

New features

Internal improvements

Dependency updates