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

pre-release v4.5.0 #562

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 35 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,54 @@

## [4.2.0] - 2024-03-15
## [4.5.0] - 2024-03-15

### Updated
- Rule: named-return-values rule was renamed to gas-named-return-values and now it is part of Gas Consumption ruleset
- Rule: custom-errors rule was renamed to gas-custom-errors and now it is part of Gas Consumption ruleset


## [4.1.2] - 2024-02-06

### Updated
- Update references in package json [#530](https://github.com/protofire/solhint/pull/530)
- Update dependencies in package json [#548](https://github.com/protofire/solhint/pull/548)
- Custom errors rules checks from 0.8.4 forward before warning [#555](https://github.com/protofire/solhint/pull/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](https://github.com/protofire/solhint/pull/557)

#### Gas Consumption Rules
- New Rule: [GC] Mutlitoken1155 rule [#541](https://github.com/protofire/solhint/pull/541)
- New Rule: [GC] Small strings check [#542](https://github.com/protofire/solhint/pull/542)
- New Rule: [GC] Indexed events [#543](https://github.com/protofire/solhint/pull/543)
- New Rule: [GC] Calldata parameters [#544](https://github.com/protofire/solhint/pull/544)
- New Rule: [GC] Increment by one [#545](https://github.com/protofire/solhint/pull/545)
- New Rule: [GC] Struct packing [#546](https://github.com/protofire/solhint/pull/546)
- New Rule: [GC] Name Return Values [#552](https://github.com/protofire/solhint/pull/552)
- New Rule: [GC] Custom Errors #553 [#555](https://github.com/protofire/solhint/pull/553)
- New Rule: [GC] Dot Length in Loops [#559](https://github.com/protofire/solhint/pull/559)
- New Rule: [GC] Gas Strict Inequalities [#560](https://github.com/protofire/solhint/pull/560)


### Fixed
- `explicit-types` logic improved and bug free [#551](https://github.com/protofire/solhint/pull/551)
- `payable fallback` Improved behavior [#561](https://github.com/protofire/solhint/pull/561)



### BREAKING CHANGES
- `named-return-values` rule was renamed to gas-named-return-values and now it is part of Gas Consumption ruleset [#552](https://github.com/protofire/solhint/pull/552)
- `custom-errors` rule was renamed to gas-custom-errors and now it is part of Gas Consumption ruleset [#553](https://github.com/protofire/solhint/pull/553)
- Return error 0 when executed correctly [#554](https://github.com/protofire/solhint/pull/554)
- Default severity modified to `WARN` instead of `OFF` for
`foundry-test-functions` and `named-parameters-mapping` rules [#556](https://github.com/protofire/solhint/pull/556)




## [4.1.1] - 2024-01-08

### Fixed
- Fix changelog typos



## [4.1.0] - 2024-01-08

### Updated
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solhint",
"version": "4.2.0",
"version": "4.5.0",
"description": "Solidity Code Linter",
"main": "lib/index.js",
"keywords": [
Expand Down
Loading