Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump solidity-coverage from 0.8.5 to 0.8.7 #441

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 19, 2024

Bumps solidity-coverage from 0.8.5 to 0.8.7.

Release notes

Sourced from solidity-coverage's releases.

0.8.7

What's Changed

viaIR now allowed

This release (hopefully) fixes a long-running problem solidity-coverage had with solc's viaIR compilation mode - It's now possible to use it without any special configuration. (Please report any ongoing issues with this to issue #861)

If you've been using .solcover.js options like configureYulOptimizer and solcOptimizerDetails as a work around, you should remove them when upgrading. (Don't forget to run the hardhat clean task after updating any coverage config stuff).

--network no longer allowed

Sadly the ganache client has been deprecated. The coverage plugin never worked with its latest major version and the network flag only existed for its sake. Going forward, the network option throws an error notifying the user that coverage only uses the HardhatEVM network.

--sources cli option

You can now select a single file (or folder) at the command line to generate coverage for. This option should speed things up if you've been waiting for the plugin to instrument everything in a large project whenever you run the command.

$ npx hardhat coverage --sources MyFile.sol
$ npx hardhat coverage --sources MyFolder

(Thanks so much @​clauBv23 for adding this!)

Funding

OpenZeppelin has very generously funded recent work at solidity-coverage via DRIPS, a public goods protocol which helps you direct money to projects in your dependency tree. Thanks so much! ❤️

Links to relevant PRs

Full Changelog: sc-forks/solidity-coverage@v0.8.6...v0.8.7

v0.8.6

What's Changed

Fixes

Documentation

... (truncated)

Changelog

Sourced from solidity-coverage's changelog.

0.8.7 / 2024-02-09

0.8.6 / 2024-01-28

Commits
  • 931645a Update changelog: 0.8.7
  • ec5a296 0.8.7
  • 0ab1282 Documentation Cleanup & Improvements for 0.8.7 release (#859)
  • 44a999f Add tests for file-level function declarations (#858)
  • 042a99e Add try / catch unit tests (#857)
  • 01ab173 Fix test project configs for viaIR detection in overrides (#856)
  • 4f007c7 Enable coverage when viaIR compiler flag is true (#854)
  • d3a5b37 Small API docs edits
  • ca695f0 Add missing onPreCompile stage hook (#851)
  • dc9d976 Use Node 20.11.0 in CircleCI for unit and integration tests (#850)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [solidity-coverage](https://github.com/sc-forks/solidity-coverage) from 0.8.5 to 0.8.7.
- [Release notes](https://github.com/sc-forks/solidity-coverage/releases)
- [Changelog](https://github.com/sc-forks/solidity-coverage/blob/master/CHANGELOG.md)
- [Commits](sc-forks/solidity-coverage@v0.8.5...v0.8.7)

---
updated-dependencies:
- dependency-name: solidity-coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from DimaStebaev as a code owner February 19, 2024 14:01
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 19, 2024
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (35148f2) 95.69% compared to head (729e9d0) 95.69%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #441   +/-   ##
========================================
  Coverage    95.69%   95.69%           
========================================
  Files            6        6           
  Lines           93       93           
  Branches        12       12           
========================================
  Hits            89       89           
  Misses           4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 26, 2024

Superseded by #447.

@dependabot dependabot bot closed this Feb 26, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/solidity-coverage-0.8.7 branch February 26, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants