smartcontractkit / truffle-starter-kit

An example smart contract utilizing Chainlink
MIT License
264 stars 102 forks source link

Bump truffle from 5.1.65 to 5.2.1 #57

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps truffle from 5.1.65 to 5.2.1.

Release notes

Sourced from truffle's releases.

v5.2.1 – Patched pragmatic pudding

Oops! We messed up @truffle/db-kit so you couldn't actually run the binary 🤭! This release fixes that.

Please see the Truffle v5.2.0 release notes for details about Truffle v5.2.

How to upgrade

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

npm uninstall -g truffle
npm install -g truffle

Changelog

Fixes

  • Add missing shebang to @truffle/db-kit and chmod +x (#3894 by @gnidan)
  • Allow missing AST in @truffle/db-kit (#3891 by @gnidan)

v5.2.0 – Pragmatic pudding

Hello! 👋

We're excited to bring you this release with a few experimental new features 🎏:

  • Truffle now supports smart contracts with more than one Solidity version at the same time! This means you can more easily include files from other projects and interact with them more easily. See below for some caveats, but we know you've asked for this and hope you enjoy it!
  • We're pleased to finally introduce a new record-keeping system, @truffle/db! This will eventually become the way Truffle keeps track of all the information it maintains (and thus eliminate a large number of longstanding technical limitations!), but for now we've left it as opt-in for those that want to try out the capabilities it brings. To show this off, we've published the demo utility @truffle/db-kit, which you can use to decode transactions and contract storage.

Multiple Solidity versions

If you now specify version: "pragma" in your solc configuration, Truffle will figure out all your source files and use the latest compatible versions based on all the pragma solidity statements in those files. This will look something like this:

module.exports = {
  // ... rest of truffle-config.js ...
  compilers: {
    solc: {
      version: "pragma"
    }
  }
}

This works even if you use Docker for solc (i.e., configure docker: true).

Note that all files that import each other will need to have compatibility between them, so you can't have a file with pragma solidity ^0.8.1 import a file with pragma solidity ^0.7.6. To get around this, define a Solidity interface for the imported file and ensure this interface file uses a pragma compatible with the importing file. We hope to make this process automatic in the future!

... (truncated)

Commits
  • 0df0014 Publish
  • d87d38a Add missing json-stable-stringify
  • f71f08b Publish
  • 0bc129d Merge pull request #3894 from trufflesuite/missing-shebang
  • fe61c91 Merge pull request #3891 from trufflesuite/db-kit/missing-ast
  • 6f269ce Add missing shebang and chmod +x
  • 524caa9 Allow missing AST in @truffle/db-kit
  • 5bb77e2 Publish
  • 9f01402 Merge pull request #3890 from trufflesuite/revert-3783-ethersize
  • 7b1540b Revert "Internal improvement: Add compatibleNativize function (and some missi...
  • Additional commits viewable in compare view


Dependabot compatibility score

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)
dependabot-preview[bot] commented 3 years ago

Superseded by #58.