Skip to content

v3.6.1

Compare
Choose a tag to compare
@dbale-altoros dbale-altoros released this 11 Aug 17:25
· 402 commits to master since this release
48258ca

[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 only solhint: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. See foundry-test-functions. #476

Fixed

  • func-named-parameters - false positives on builtin functions #472
  • ordering - treat initializer weight same as constructor #474
  • check-send-result - false positive on `erc777.send()`` function #477
  • explicit-types - default value is now taking into account when no value is specified in config #481
  • compiler-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 new Notes 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