Skip to content

Commit a180196

Browse files
committed
chore: bump version to 0.1.0 and update CHANGELOG
1 parent bf2e581 commit a180196

4 files changed

Lines changed: 63 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 59 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,68 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.0] - 2026-04-11
11+
1012
### Added
11-
- Initial Rust implementation of codelens
12-
- High-performance parallel file traversal using `ignore` crate
13-
- Support for 70+ programming languages
14-
- Multiple output formats: Console, JSON, CSV, Markdown, HTML
15-
- Smart directory exclusion based on project type detection
16-
- Cyclomatic complexity analysis
17-
- Respects `.gitignore` rules automatically
18-
- Cross-platform support (Linux, macOS, Windows)
13+
- **`codelens health`** — Code health scoring with pluggable scoring models
14+
- Five dimensions: complexity, function size, comment ratio, file size, nesting depth
15+
- Three-level reporting: project, directory, and file
16+
- Grades from A (best) to F (worst)
17+
- `ScoringModel` trait for custom scoring strategies
18+
- **`codelens hotspot`** — Change hotspot detection via churn × complexity
19+
- Integrates git change frequency with code complexity
20+
- Risk levels: HIGH / MED / LOW
21+
- Configurable time window (`--since 30d`, `6m`, `1y`, or `YYYY-MM-DD`)
22+
- **`codelens trend`** — Codebase trend tracking with snapshots
23+
- Save snapshots with `--save` and optional `--label`
24+
- Compare snapshots with `--compare` (supports `latest`, `latest~N`, date prefix)
25+
- Per-language change tracking (Added / Removed / Changed)
26+
- Snapshots stored in `.codelens/snapshots/` as JSON
27+
- Git module (`git/`) for repository integration via system git CLI
28+
- Full output format support (console, JSON, CSV, Markdown, HTML) for all new commands
29+
- Interactive HTML reports with Chart.js (radar chart for health, bar charts for hotspot/trend)
30+
- Colored CLI help with clap Styles and grouped examples
1931

2032
### Changed
21-
- Complete rewrite from Python to Rust for 30-50x performance improvement
33+
- `OutputFormat` trait generalized with `Report` enum to support multiple report types
34+
- Project description updated to "High performance code analysis tool"
35+
- P90 percentile used for nesting depth aggregation (instead of max) to reduce outlier impact
2236

23-
## [0.1.0] - YYYY-MM-DD
37+
### Fixed
38+
- `--top` argument name conflict between subcommands and `OutputArgs`
39+
40+
## [0.0.3] - 2026-04-10
2441

2542
### Added
26-
- First release of the Rust version
43+
- Byte-level state machine counter for fast line classification
44+
- TokenTrie and ProcessMask (bloom filter) for unified token matching
45+
- Precompiled regex patterns with OnceLock caching
46+
- Criterion benchmarks for byte-level counter
47+
48+
### Changed
49+
- FileAnalyzer switched to byte-level state machine
50+
- Per-thread buffer reuse, read bytes instead of String for zero-copy processing
51+
52+
## [0.0.2] - 2026-01-26
53+
54+
### Added
55+
- Multiline string support for Python, Rust, and other languages
56+
- Improved filter rules for file exclusion
57+
58+
### Fixed
59+
- Homebrew formula update workflow
60+
61+
## [0.0.1] - 2026-01-23
62+
63+
### Added
64+
- Initial Rust implementation of codelens
65+
- High-performance parallel file traversal using `ignore` crate
66+
- Support for 70+ programming languages via TOML definitions
67+
- Multiple output formats: Console, JSON, CSV, Markdown, HTML (with Chart.js)
68+
- Smart directory exclusion based on project type detection
69+
- Cyclomatic complexity analysis (function count, nesting depth)
70+
- Respects `.gitignore` rules automatically
71+
- Cross-platform support (Linux, macOS, Windows)
72+
- Configuration file support (`.codelens.toml`)
73+
- CI/CD pipeline with GitHub Actions
74+
- Homebrew tap for macOS/Linux installation

Cargo.lock

Lines changed: 2 additions & 2 deletions
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
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["crates/*"]
44

55
[workspace.package]
6-
version = "0.0.3"
6+
version = "0.1.0"
77
edition = "2021"
88
rust-version = "1.85"
99
license = "MIT"

crates/codelens/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ name = "codelens"
1818
path = "src/main.rs"
1919

2020
[dependencies]
21-
codelens-core = { version = "0.0.3", path = "../codelens-core" }
21+
codelens-core = { version = "0.1.0", path = "../codelens-core" }
2222

2323
# CLI
2424
clap.workspace = true

0 commit comments

Comments
 (0)