From 3b622c9652d27efe76e999f0c2f4a372dfcb0efd Mon Sep 17 00:00:00 2001 From: dbale-altoros Date: Thu, 17 Aug 2023 14:11:43 -0300 Subject: [PATCH] updated changelog --- CHANGELOG.md | 11 +++++++++++ docs/rules/best-practises/custom-errors.md | 2 +- docs/rules/naming/foundry-test-functions.md | 2 +- docs/rules/naming/named-return-values.md | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92070ed1..350f6628 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [3.6.2] - 2023-08-17 +### Added +- New Rule: `one-contract-per-file` - Enforces the use of ONE contract per file [#487](https://github.com/protofire/solhint/pull/487) + + +### Fixed +- `foundry-test-functions` - Modified regex to include invariant and statefulFuzz tests [#484](https://github.com/protofire/solhint/pull/484) +- `quotes` - To allow quotes inside double quotes and viceversa [#485](https://github.com/protofire/solhint/pull/485) +- `JSON` - Formatter returning JS object instead of standard json [#490](https://github.com/protofire/solhint/pull/490) + + ## [3.6.1] - 2023-08-11 ### BREAKING CHANGE diff --git a/docs/rules/best-practises/custom-errors.md b/docs/rules/best-practises/custom-errors.md index afe5b3c7..18330416 100644 --- a/docs/rules/best-practises/custom-errors.md +++ b/docs/rules/best-practises/custom-errors.md @@ -63,7 +63,7 @@ revert("Insufficient Balance"); ``` ## Version -This rule is introduced in the latest version. +This rule was introduced in [Solhint 3.6.1](https://github.com/protofire/solhint/tree/v3.6.1) ## Resources - [Rule source](https://github.com/protofire/solhint/tree/master/lib/rules/best-practises/custom-errors.js) diff --git a/docs/rules/naming/foundry-test-functions.md b/docs/rules/naming/foundry-test-functions.md index 0f20475a..164d66ea 100644 --- a/docs/rules/naming/foundry-test-functions.md +++ b/docs/rules/naming/foundry-test-functions.md @@ -65,7 +65,7 @@ function numberIs42() public {} ``` ## Version -This rule is introduced in the latest version. +This rule was introduced in [Solhint 3.6.1](https://github.com/protofire/solhint/tree/v3.6.1) ## Resources - [Rule source](https://github.com/protofire/solhint/tree/master/lib/rules/naming/foundry-test-functions.js) diff --git a/docs/rules/naming/named-return-values.md b/docs/rules/naming/named-return-values.md index be9ce471..660fba64 100644 --- a/docs/rules/naming/named-return-values.md +++ b/docs/rules/naming/named-return-values.md @@ -42,7 +42,7 @@ function checkBalance(address wallet) external view returns(uint256) {} ``` ## Version -This rule is introduced in the latest version. +This rule was introduced in [Solhint 3.6.1](https://github.com/protofire/solhint/tree/v3.6.1) ## Resources - [Rule source](https://github.com/protofire/solhint/tree/master/lib/rules/naming/named-return-values.js)