Skip to content

Commit 573f181

Browse files
authored
chore: release v3.5.0 (#681)
1 parent 1a0e154 commit 573f181

7 files changed

Lines changed: 57 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,45 @@
22

33
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
44

5+
## [3.5.0](https://github.com/optave/codegraph/compare/v3.4.1...v3.5.0) (2026-03-29)
6+
7+
**Full rusqlite database migration and sub-100ms incremental rebuilds.** This release completes the migration of all SQLite operations from better-sqlite3 to native Rust/rusqlite via napi-rs, delivering major performance gains across the entire build pipeline. Incremental rebuilds drop from 466ms to 67–80ms, and bulk inserts for nodes, edges, roles, AST nodes, CFG, and dataflow all run through the native engine. better-sqlite3 is now lazy-loaded only as a fallback. Path aliases are restored with TS 6.x-compatible subpath imports, and several WASM/native parity bugs are fixed.
8+
9+
### Features
10+
11+
* **config:** restore path aliases with TS 6.x-compatible subpath imports ([#672](https://github.com/optave/codegraph/pull/672))
12+
13+
### Bug Fixes
14+
15+
* **db:** fold reverse-dep edge deletion into NativeDatabase.purgeFilesData ([#670](https://github.com/optave/codegraph/pull/670), [#679](https://github.com/optave/codegraph/pull/679))
16+
* **wasm:** extract call-site AST nodes in ast-store-visitor ([#678](https://github.com/optave/codegraph/pull/678))
17+
* **parser:** close WASM–native engine parity gap ([#649](https://github.com/optave/codegraph/pull/649), [#657](https://github.com/optave/codegraph/pull/657))
18+
* **test:** remove constant-kind exclusion from parity test ([#676](https://github.com/optave/codegraph/pull/676), [#680](https://github.com/optave/codegraph/pull/680))
19+
20+
### Performance
21+
22+
* **db:** NativeDatabase napi-rs class for rusqlite connection lifecycle (6.13) ([#666](https://github.com/optave/codegraph/pull/666))
23+
* **db:** migrate Repository read queries to NativeDatabase rusqlite (6.14) ([#671](https://github.com/optave/codegraph/pull/671))
24+
* **db:** migrate build pipeline writes to NativeDatabase (6.15) ([#669](https://github.com/optave/codegraph/pull/669))
25+
* **db:** generic query execution on NativeDatabase (6.16) ([#677](https://github.com/optave/codegraph/pull/677))
26+
* **db:** bulk CFG and dataflow DB writes via rusqlite ([#653](https://github.com/optave/codegraph/pull/653))
27+
* **build:** native Rust/rusqlite for roles & edge insertion (6.12) ([#658](https://github.com/optave/codegraph/pull/658))
28+
* **insert-nodes:** native Rust/rusqlite pipeline for node insertion ([#654](https://github.com/optave/codegraph/pull/654))
29+
* **ast:** bulk-insert AST nodes via native Rust/rusqlite ([#651](https://github.com/optave/codegraph/pull/651))
30+
* sub-100ms incremental rebuilds (466ms → 67–80ms) ([#644](https://github.com/optave/codegraph/pull/644))
31+
* **hooks:** narrow Bash hook matchers to git commands only ([#655](https://github.com/optave/codegraph/pull/655))
32+
33+
### Refactors
34+
35+
* **db:** lazy-load better-sqlite3 and remove standalone napi functions (6.17) ([#673](https://github.com/optave/codegraph/pull/673))
36+
37+
### Chores
38+
39+
* **deps:** upgrade TypeScript from 5.9 to 6.0 ([#667](https://github.com/optave/codegraph/pull/667))
40+
* **deps:** bump @modelcontextprotocol/sdk from 1.27.1 to 1.28.0 ([#664](https://github.com/optave/codegraph/pull/664))
41+
* **deps-dev:** bump @vitest/coverage-v8 from 4.1.1 to 4.1.2 ([#662](https://github.com/optave/codegraph/pull/662))
42+
* **deps-dev:** bump @biomejs/biome from 2.4.8 to 2.4.9 ([#661](https://github.com/optave/codegraph/pull/661))
43+
544
## [3.4.1](https://github.com/optave/codegraph/compare/v3.4.0...v3.4.1) (2026-03-26)
645

746
**Post-migration stabilization and native engine accuracy.** This release fixes a Rust `findCaller` bug that misattributed 68 call edges, adds compound database indexes to restore query performance after the TypeScript migration, and delivers a 96% speedup to incremental role classification (255ms → 9ms). WASM builds are more resilient, incremental rebuilds handle JSONC and version changes correctly, and error handling is safer across the board.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,8 +772,8 @@ See **[ROADMAP.md](docs/roadmap/ROADMAP.md)** for the full development roadmap a
772772
5. ~~**Architectural Refactoring**~~**Complete** (v3.1.5) — unified AST analysis, composable MCP, domain errors, builder pipeline, graph model, qualified names, presentation layer, CLI composability
773773
6. ~~**Resolution Accuracy**~~**Complete** (v3.3.1) — type inference, receiver type tracking, dead role sub-categories, resolution benchmarks, `package.json` exports, monorepo workspace resolution
774774
7. ~~**TypeScript Migration**~~**Complete** (v3.4.0) — all 271 source files migrated from JS to TS, zero `.js` remaining
775-
8. **Native Analysis Acceleration****In Progress** (7 of 8 complete) — JS-only build phases moved to Rust, sub-100ms 1-file rebuilds remaining
776-
9. **Expanded Language Support**8 new languages (11 → 19)
775+
8. ~~**Native Analysis Acceleration**~~**Complete** (v3.5.0) — all build phases in Rust/rusqlite, sub-100ms incremental rebuilds, better-sqlite3 lazy-loaded as fallback only
776+
9. **Expanded Language Support**23 new languages in 4 batches (11 → 34)
777777
10. **Runtime & Extensibility** — event-driven pipeline, plugin system, query caching, pagination
778778
11. **Quality, Security & Technical Debt** — supply-chain security (SBOM, SLSA), CI coverage gates, timer cleanup, tech debt kill list
779779
12. **Intelligent Embeddings** — LLM-generated descriptions, enhanced embeddings, module summaries

crates/codegraph-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "codegraph-core"
3-
version = "3.4.1"
3+
version = "3.5.0"
44
edition = "2021"
55
license = "Apache-2.0"
66

docs/roadmap/BACKLOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codegraph Feature Backlog
22

3-
**Last updated:** 2026-03-26
3+
**Last updated:** 2026-03-29
44
**Source:** Features derived from [COMPETITIVE_ANALYSIS.md](../../generated/competitive/COMPETITIVE_ANALYSIS.md) and internal roadmap discussions.
55

66
---

docs/roadmap/ROADMAP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codegraph Roadmap
22

3-
> **Current version:** 3.4.1 | **Status:** Active development | **Updated:** 2026-03-26
3+
> **Current version:** 3.5.0 | **Status:** Active development | **Updated:** 2026-03-29
44
55
Codegraph is a strong local-first code graph CLI. This roadmap describes planned improvements across thirteen phases -- closing gaps with commercial code intelligence platforms while preserving codegraph's core strengths: fully local, open source, zero cloud dependency by default.
66

@@ -19,7 +19,7 @@ Codegraph is a strong local-first code graph CLI. This roadmap describes planned
1919
| [**3**](#phase-3--architectural-refactoring) | Architectural Refactoring (Vertical Slice) | Unified AST analysis framework, command/query separation, repository pattern, queries.js decomposition, composable MCP, CLI commands, domain errors, builder pipeline, presentation layer, domain grouping, curated API, unified graph model, qualified names, CLI composability | **Complete** (v3.1.5) |
2020
| [**4**](#phase-4--resolution-accuracy) | Resolution Accuracy | Dead role sub-categories, receiver type tracking, interface/trait implementation edges, resolution precision/recall benchmarks, `package.json` exports field, monorepo workspace resolution | **Complete** (v3.3.1) |
2121
| [**5**](#phase-5--typescript-migration) | TypeScript Migration | Project setup, core type definitions, leaf -> core -> orchestration module migration, test migration | **Complete** (v3.4.0) |
22-
| [**6**](#phase-6--native-analysis-acceleration) | Native Analysis Acceleration | Rust extraction for AST/CFG/dataflow/complexity; batch SQLite inserts; incremental rebuilds; native DB write pipeline; full rusqlite migration so native engine never touches better-sqlite3 | **In Progress** (7 of 17 done, 1 partial) |
22+
| [**6**](#phase-6--native-analysis-acceleration) | Native Analysis Acceleration | Rust extraction for AST/CFG/dataflow/complexity; batch SQLite inserts; incremental rebuilds; native DB write pipeline; full rusqlite migration so native engine never touches better-sqlite3 | **Complete** (v3.5.0) |
2323
| [**7**](#phase-7--expanded-language-support) | Expanded Language Support | Parser abstraction layer, 23 new languages in 4 batches (11 → 34), dual-engine support | Planned |
2424
| [**8**](#phase-8--runtime--extensibility) | Runtime & Extensibility | Event-driven pipeline, unified engine strategy, subgraph export filtering, transitive confidence, query caching, configuration profiles, pagination, plugin system | Planned |
2525
| [**9**](#phase-9--quality-security--technical-debt) | Quality, Security & Technical Debt | Supply-chain security, test quality gates, architectural debt cleanup | Planned |

package-lock.json

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optave/codegraph",
3-
"version": "3.4.1",
3+
"version": "3.5.0",
44
"description": "Local code graph CLI — parse codebases with tree-sitter, build dependency graphs, query them",
55
"type": "module",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)