Hey hey friends! Got another Truffle treat for you!
With this release Truffle has experimental support for compiling and debugging Yul. For those of you unfamiliar, Yul is Solidity's structured assembly language. Yul sources can be included in your project with the .yul extension. Remember this is experimental and there may still be warts! 🐸
We'd also like to bring your attention to a bug fix for truffle debug --fetch-external when used with Sourcify. The rest of the release includes two internal improvements and a dependency update. Special thanks to @jwendell for assistance on the latter! :fist_right: :fist_left:
Check the changelog below for details, and stay tuned for next week! Thanks everyone! 🙇
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 experimental support for Yul compilation (#3920 by @haltman-at)
Upgrade browserify to v17.0.0 and exorcist to v2.0.0 (#4003 by @jwendell)
v5.3.3 – Triple berry pie 🫐
Howdy everyone! Got another fresh Truffle release for you all today. 🥧
To get started, probably the biggest piece of this week's release is our improved support for EIP-155, which prevents cross-chain replay attacks. For those of you who have been following, Geth recently began requiring all transactions to be EIP-155 compliant, which exposed some incompatibilities for Truffle. We're still working through the finer points of this issue, but now you can use @truffle/hdwallet-provider with all the normal public networks with no problem (thank you @eggplantzzz for your grueling efforts nailing this down!)
As far as the rest of this release, we have a number of other bug fixes and some internal improvements, including a fix to the (deprecated) truffle watch command, and the beginnings of our support for Solidity v0.8.4's new custom Error objects! Custom errors won't be fully supported yet, but we're working hard to make this amazing new Solidity feature a first-class citizen of Truffle.
Besides the above, props to @haltman-at and everyone who reported issues with compilation; this has been quite elusive and we're pleased to see the community come together to help fix the problem. We've also improved support for importing contracts from non-Truffle projects, such as Uniswap.
Check the changelog below for details, and stay tuned for next week! Thanks everyone! 🙇
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps truffle from 5.3.1 to 5.3.4.
Release notes
Sourced from truffle's releases.
... (truncated)
Commits
0ccf74f
Publishe9e4643
Merge pull request #3997 from trufflesuite/remove-request0d4b4a7
Merge pull request #3920 from trufflesuite/compile-yul844d694
Merge in develop brancha505f7d
Change response type to 'text'01ebdeb
Remove request-promise-native, install@types/node
, and implement axios for s...0d01ec1
Implement axios for requests in etherscan strategy for source-fetcher9eff542
Factor out Yul compilation into its own functionb34006e
Merge pull request #4005 from trufflesuite/update-sourcify47b34fc
Fix sourcify support in source-fetcherDependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)