@@ -5,6 +5,48 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.4.6] - 2026-01-19
9+
10+ ### Added
11+
12+ #### New Detectors
13+
14+ ** Low**
15+ - ` constant-decimals ` - prefer constants for decimals
16+
17+ ** NC (Non-Critical)**
18+ - ` abstract-in-separate-file ` - abstract contracts should be in separate files
19+ - ` array-ranged-getter ` - use ranged getter for array access
20+ - ` bool-init-false ` - unnecessary boolean initialization to false
21+ - ` nc-combine-mappings ` - mappings with same key can be combined into struct
22+ - ` complex-require ` - complex require statements should be simplified
23+ - ` constant-expression ` - expressions that could be constants
24+ - ` constructor-emit-event ` - constructors should emit events
25+ - ` delete-instead-of-false ` - use delete instead of setting to false
26+ - ` delete-instead-of-zero ` - use delete instead of setting to zero
27+ - ` duplicate-string-literal ` - duplicate string literals in code
28+ - ` empty-blocks ` - empty code blocks
29+ - ` error-definition-no-args ` - error definitions without arguments
30+ - ` external-call-in-modifier ` - external calls in modifiers
31+ - ` floating-pragma ` - floating pragma version
32+ - ` initialism-capitalization ` - incorrect capitalization of initialisms (URL, ID)
33+ - ` initializer-emit-event ` - initializers should emit events
34+ - ` interfaces-contracts-same-file ` - interfaces and contracts in same file
35+ - ` library-in-separate-file ` - libraries should be in separate files
36+ - ` many-function-params ` - functions with too many parameters
37+ - ` many-return-values ` - functions with too many return values
38+ - ` mixed-int-uint-style ` - mixed int/uint and int256/uint256 style
39+ - ` multiple-abstract-contracts ` - multiple abstract contracts in one file
40+ - ` multiple-contracts ` - multiple contracts in one file
41+ - ` multiple-interfaces ` - multiple interfaces in one file
42+ - ` multiple-libraries ` - multiple libraries in one file
43+ - ` named-function-args ` - use named function arguments for clarity
44+ - ` named-returns ` - use named returns for clarity
45+ - ` prefer-custom-errors ` - use custom errors instead of require/assert
46+ - ` unnamed-revert ` - revert without custom error identifier
47+ - ` unused-private-function ` - unused private functions
48+ - ` zero-argument ` - literal zero as function argument
49+
850## [ 0.4.5] - 2026-01-15
951
1052### Changed
@@ -141,7 +183,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
141183- CLI with configuration file support
142184- Basic detectors for common vulnerabilities
143185
144- [ Unreleased ] : https://github.com/slvDev/weasel/compare/v0.4.5...HEAD
186+ [ Unreleased ] : https://github.com/slvDev/weasel/compare/v0.4.6...HEAD
187+ [ 0.4.6 ] : https://github.com/slvDev/weasel/compare/v0.4.5...v0.4.6
145188[ 0.4.5 ] : https://github.com/slvDev/weasel/compare/v0.4.0...v0.4.5
146189[ 0.4.0 ] : https://github.com/slvDev/weasel/compare/v0.3.1...v0.4.0
147190[ 0.3.1 ] : https://github.com/slvDev/weasel/compare/v0.3.0...v0.3.1
0 commit comments