Happy Friday all! We're back this week with some bug fixes ๐ฆ and improvements ๐ง.
First, when --stacktrace was used with Truffle test, contract.method() wouldn't return a receipt in the proper format. ๐งพ This is fixed now!
Second, Truffle v5.1.66 broke compilation because of an erroneously removed dependency. We re-introduced the missing dependency and your compilations should go swimmingly ๐ now!
Finally, we made a significant improvement to Truffle's build speed! ๐๏ธ We upgraded to webpack 5, which along with configuration changes, shaved off 62% of the overhead required to run the bundled truffle command. As a bonus,, the total size of the build directory is reduced significantly. ๐
That's all for this week. See you next week for a new version of Truffle! ๐ซ
How to upgrade
We recommend upgrading to the latest version of Truffle by running:
npm uninstall -g truffle
npm install -g truffle
Changelog
Improvements
Upgrade to webpack 5: significantly speed up runtime and reduce bundle size (#3794 by @tcoulter)
Bug Fixes
Make receipts work properly with --stacktrace (#3816 by @haltman-at)
Re-add missing solc dependency in compile-solidity (#3802 by @haltman-at)
Internal improvements
Prevent txlog from being confused by unmapped code in function startup (#3814 by @haltman-at)
Avoid logging jumps to contract node regardless of context (#3813 by @haltman-at)
v5.1.66 โ Chocolate Laboratory
Hello all, we're back this week with some bug fixes for Truffle Test! ๐ฆ
First off, the exit code wasn't being set properly when there were failed tests. Now Truffle Test will properly exit with a status equal to the number of failed tests. ๐งช
Secondly, events weren't decoding properly for upgradeable contracts (or when other manual delegatecalls were involved); now events should decode properly in this case. ๐ฌ
Finally, truffle test --stacktrace wouldn't work properly when run with Ethereum clients other than Ganache; now this incompatibility has been fixed. ๐ก
That's all for this week, but we'll be back once again with a new version of Truffle for next week! โ
How to upgrade
We recommend upgrading to the latest version of Truffle by running:
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.1.65 to 5.1.67.
Release notes
Sourced from truffle's releases.
... (truncated)
Commits
63841f5
Publish7bdc4ac
Merge pull request #3816 from trufflesuite/trace-receiptsd206a3f
Merge pull request #3814 from trufflesuite/stay-on-target949b4a6
Avoid removing listener that doesn't exist744a3bb
Invoke existing handler instead of new functiond947ee7
Make receipts work properly with --stacktrace42a8bac
Prevent txlog from being confused by unmapped code in function startup783c7c4
Merge pull request #3813 from trufflesuite/empty-hop51eed4a
Avoid logging jumps to contract node regardless of context94ab187
Merge pull request #3794 from trufflesuite/webpack-upgradeDependabot 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)