Skip to content

Commit aeb6237

Browse files
committed
chore: release v0.4.6
1 parent 9017f91 commit aeb6237

3 files changed

Lines changed: 46 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,48 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and 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

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "weasel"
3-
version = "0.4.5"
3+
version = "0.4.6"
44
edition = "2021"
55
description = "Smart Contract Static Analysis Tool"
66
authors = ["slvDev"]

0 commit comments

Comments
 (0)