v3.6.1
[3.6.1] - 2023-08-11
BREAKING CHANGE
- RULE:
not-rely-on-time
was REMOVED from RECOMMENDED ruleset
This was long overdue.
Beware!! If you are relying on this rule and it is not explicitly configured (meaning there's onlysolhint:recommended
option).
You should add this rule manually:
{
"extends": "solhint:recommended",
"rules": {
"not-rely-on-time": "warn",
"compiler-version": "off"
},
}
If not explicitly added, this rule will not be executed.
SPECIAL ATTENTION
- RULE:
compiler-version
default was updated from ^0.5.2 to ^0.8.0
Added
- New Rule: Enforces the use of Custom Errors over Require and Revert statements #475
- New Rule: Enforces the test_ prefix on a file for Foundry users #476
- New Rule: Enforces the naming of function return values #478
Notes
option on docs to add more information of each rule. Seefoundry-test-functions
. #476
Fixed
func-named-parameters
- false positives on builtin functions #472ordering
- treat initializer weight same as constructor #474check-send-result
- false positive on `erc777.send()`` function #477explicit-types
- default value is now taking into account when no value is specified in config #481compiler-version
- default value is now taking into account when no value is specified in config #483
Updates
- Rule:
check-send-result
added config clarification in the newNotes
section #482 - Rule:
compiler-version
default was updated from ^0.5.2 to ^0.8.0 #483
Full Changelog: 3.5.1...3.6.1