Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 18, 2024

Bumps solhint from 4.1.1 to 4.5.2.

Release notes

Sourced from solhint's releases.

v4.5.2

[4.5.2] - 2024-03-15

Updated

  • Update Readme file to include all autofix rules
  • Update docker file
  • Update package json file

[4.5.0] - 2024-03-15

Updated

  • Update dependencies in package json #548
  • Custom errors rules checks from 0.8.4 forward before warning #555
  • Parser support up to Solidity 0.8.22 (*)

(*) Note: Solhint can work with latest Solidity versions. If new grammar/syntax is added or changed, it could give some false positives or miss a rule. But overall functionality will work as expected.

Added

  • New Rule: Interface starts with i #557

Gas Consumption Rules

  • New Rule: [GC] Mutlitoken1155 rule #541
  • New Rule: [GC] Small strings check #542
  • New Rule: [GC] Indexed events #543
  • New Rule: [GC] Calldata parameters #544
  • New Rule: [GC] Increment by one #545
  • New Rule: [GC] Struct packing #546
  • New Rule: [GC] Name Return Values #552
  • New Rule: [GC] Custom Errors #553 #555
  • New Rule: [GC] Dot Length in Loops #559
  • New Rule: [GC] Gas Strict Inequalities #560

Fixed

  • explicit-types logic improved and bug free #551
  • payable fallback Improved behavior #561

BREAKING CHANGES

  • named-return-values rule was renamed to gas-named-return-values and now it is part of Gas Consumption ruleset #552
  • custom-errors rule was renamed to gas-custom-errors and now it is part of Gas Consumption ruleset #553
  • Return error 0 when executed correctly #554
  • Default severity modified to WARN instead of OFF for foundry-test-functions and named-parameters-mapping rules #556

... (truncated)

Changelog

Sourced from solhint's changelog.

[4.5.2] - 2024-03-15

Updated

  • Update Readme file to include all autofix rules
  • Update docker file
  • Update package json file

[4.5.0] - 2024-03-15

Updated

  • Update dependencies in package json #548
  • Custom errors rules checks from 0.8.4 forward before warning #555
  • Parser support up to Solidity 0.8.22 (*)

(*) Note: Solhint can work with latest Solidity versions. If new grammar/syntax is added or changed, it could give some false positives or miss a rule. But overall functionality will work as expected.

Added

  • New Rule: Interface starts with i #557

Gas Consumption Rules

  • New Rule: [GC] Mutlitoken1155 rule #541
  • New Rule: [GC] Small strings check #542
  • New Rule: [GC] Indexed events #543
  • New Rule: [GC] Calldata parameters #544
  • New Rule: [GC] Increment by one #545
  • New Rule: [GC] Struct packing #546
  • New Rule: [GC] Name Return Values #552
  • New Rule: [GC] Custom Errors #553 #555
  • New Rule: [GC] Dot Length in Loops #559
  • New Rule: [GC] Gas Strict Inequalities #560

Fixed

  • explicit-types logic improved and bug free #551
  • payable fallback Improved behavior #561

BREAKING CHANGES

  • named-return-values rule was renamed to gas-named-return-values and now it is part of Gas Consumption ruleset #552
  • custom-errors rule was renamed to gas-custom-errors and now it is part of Gas Consumption ruleset #553
  • Return error 0 when executed correctly #554
  • Default severity modified to WARN instead of OFF for foundry-test-functions and named-parameters-mapping rules #556
Commits

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 [solhint](https://github.com/protofire/solhint) from 4.1.1 to 4.5.2.
- [Release notes](https://github.com/protofire/solhint/releases)
- [Changelog](https://github.com/protofire/solhint/blob/develop/CHANGELOG.md)
- [Commits](protofire/solhint@v4.1.1...v.4.5.2)

---
updated-dependencies:
- dependency-name: solhint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 18, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8320760994

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 7861242372: 0.0%
Covered Lines: 12
Relevant Lines: 12

💛 - Coveralls

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2024

Superseded by #173.

@dependabot dependabot bot closed this Apr 11, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/solhint-4.5.2 branch April 11, 2024 03:18
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant