From 5e01982a568eb7556d9fd9177f26d77795410c97 Mon Sep 17 00:00:00 2001 From: dbale-altoros Date: Tue, 31 Dec 2024 14:22:55 -0300 Subject: [PATCH] 5.04 pre-release --- CHANGELOG.md | 19 ++++++++++++++++++- docker/Dockerfile | 2 +- package.json | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1434efe8..1ed59d9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,21 @@ +## [5.0.4] - 2024-12-31 +### Fixed +- `imports-order` [#595](https://github.com/protofire/solhint/pull/595) - Replaced single quotes with double quotes +- `gas-custom-errors` [#613](https://github.com/protofire/solhint/pull/613) - Allows the use of Requirement with Custom Errors +- Typos and broken links [#611](https://github.com/protofire/solhint/pull/611) - [#617](https://github.com/protofire/solhint/pull/617) +- Upgraded `solidity-parser` dependency [#612](https://github.com/protofire/solhint/pull/612) + + +### Added +- `.pre-commit-hooks.yaml` to allow projects to run Solhint via pre-commit [#596](https://github.com/protofire/solhint/pull/596) (Thanks to [@dbast](https://github.com/dbast)) +- Removed `husky` since it is not needed [#612](https://github.com/protofire/solhint/pull/612) + +

+ + ## [5.0.3] - 2024-08-03 ### Fixed -- New Rule: Imports order [#593](https://github.com/protofire/solhint/pull/593) +- `imports-order` [#593](https://github.com/protofire/solhint/pull/593)

@@ -20,6 +35,7 @@ Fixed an issue on the returning values where only was evaluating the first repor

+ ## [5.0.0] - 2024-05-11 ### BREAKING CHANGES @@ -37,6 +53,7 @@ QUIET mode (-c quiet) option now works with the warnings and may exit with 1 if Thanks to [@juanpcapurro](https://github.com/juanpcapurro) for providing the code

+ ## [4.5.4] - 2024-04-10 ### Fixed - `gas-custom-errors` improved logic to ranged pragma versions [#573](https://github.com/protofire/solhint/pull/573) diff --git a/docker/Dockerfile b/docker/Dockerfile index 61c9a8c3..a520a3f2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,5 @@ FROM node:20-alpine LABEL maintainer="diego.bale@protofire.io" -ENV VERSION=5.0.3 +ENV VERSION=5.0.4 RUN npm install -g solhint@"$VERSION" \ No newline at end of file diff --git a/package.json b/package.json index 506d4cc5..dcaaa8c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "solhint", - "version": "5.0.3", + "version": "5.0.4", "description": "Solidity Code Linter", "main": "lib/index.js", "keywords": [