This week brings some fixes and enhancements to Vyper compilation. 🐍 There were some problems with Vyper compilation if you were using Vyper 0.2.x but didn't have vyper-json installed. Now these problems have been fixed. In addition, some of the recent improvements to Vyper compilation also previously required having vyper-json installed. Now, as long as you are using Vyper 0.2.5 or later, you will get the effects of these improvements without needing to install vyper-json.
In short, the effect of this week's update is that you shouldn't need to worry too much about whether it's vyper or vyper-json installed, as Truffle will automatically handle things in the best way available to it! 🦾
We'll be back next week with further improvements, so 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
Use vyper --standard-json if vyper-json not available (#3759 by @haltman-at)
Bug Fixes
Fix several Vyper compilation bugs (specific to non-JSON Vyper and prerelease Vyper) (#3757 by @haltman-at)
Internal improvements
Allow querying @truffle/db for a project's contract instances (#3761 by @gnidan)
Expose ID generation logic as first-class interface in @truffle/db (#3754 by @gnidan)
Add test that assertion libraries compile with latest Solidity (#3758 by @haltman-at)
Extract dedicated @truffle/db Network abstraction (#3735 by @gnidan)
Add Network.genesis query to @truffle/db (#3769 by @gnidan)
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.64 to 5.1.65.
Release notes
Sourced from truffle's releases.
Commits
f404035
Publish0c1a2e7
Merge pull request #3769 from trufflesuite/db/network-genesisa2080cc
Add Network.genesis query9e11dd6
Merge pull request #3761 from trufflesuite/db/project-instances76f77f2
Merge pull request #3764 from trufflesuite/revert-web3-again-oy6fc334a
Improve code styledcd2e57
Revert "Update web3 to 1.3.4"40d434a
Revert "Update abi-coder filename in test"9ce8406
Merge pull request #3763 from trufflesuite/update-web3-finallyd89e64c
Update abi-coder filename in testDependabot 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)