v3.9.1
Dead code accuracy, native query performance, and supply-chain hardening. This release significantly improves dead code detection — class instantiations via new, type-only imports, barrel re-exports, and same-file constants are now correctly tracked as consumption. The native Rust engine gains a composite fnDeps query that runs dependency resolution in a single cross-language call, and a critical 1238% incremental rebuild regression from v3.9.0 is fixed. WASM grammar validation and npm audit harden the build pipeline. CLI reliability improves with a fix for hangs in git worktree environments.
Bug Fixes
- track class instantiation (
new) as consumption for dead code detection (#861) - resolve type-only imports for dead code analysis (#862)
- trace barrel re-exports in role classification (#860)
- recognize same-file constant consumption in dead code detector (#859)
- resolve codegraph CLI hangs in git worktrees (#863)
- use shared
shouldIgnore/isSupportedFilein watcher (#864) - resolve barrel resolution quality and cycle regression (#848)
- show both engines side-by-side in README benchmark table (#826)
- release config script validation and broken postbump (#825)
- native: lower version gate for native orchestrator (#867)
- native: correct incremental purge, scoped deletion, and barrel resolution (#865)
- ci: retry npm publish on transient registry errors (#833)
- ci: upgrade publish job to Node 24 for OIDC trusted publishing (#850)
- ci: add npm auth debug step and fix publish retry logic (#835)
- perf: wire engine selection through openRepo to fix query benchmarks (#869)
- bench: attribute unified walk time to per-phase timers (#858)
Performance
Refactors
- native: decompose core Rust algorithms and pipeline (#845)
- native: extract constants and shared barrel resolution (#842)
- native: flatten and decompose extractor match arms (#844)
- DRY shared abstractions in TS features (#843)
- decompose TS complexity and build pipeline (#846)
- improve TS code quality across modules (#847)
Chores
- security: WASM grammar validation and npm audit CI (#834)
- deps: bump @modelcontextprotocol/sdk from 1.28.0 to 1.29.0 (#829)
- deps-dev: bump @huggingface/transformers from 3.8.1 to 4.0.1 (#831)
- deps-dev: bump @biomejs/biome from 2.4.9 to 2.4.10 (#828)
- deps-dev: bump tree-sitter-gleam (#830)
- deps-dev: bump tree-sitter-erlang from 0.0.0 to 0.15 (#827)