osfeed.dev
Release /

code-review-graph v2.4.0

Review deleted symbols together with the callers and tests that still depend on them.

Before you upgrade to v2.4.0

9 to fix

Upgrade the package, then re-run `code-review-graph install` to refresh hooks and instruction blocks; older CLIs cannot run the new `hook-update` command.

Action requiredConfigure a coding client's MCP connection with an install command and preview its changes.Affects: Users with integrations generated by earlier releases.
Read the evidence

Call, reference and test edges report confidence tiers; unresolved targets remain guesses, and `resolution='direct'` excludes name-only matches.

Behavior changedFind callers, callees, imports and tests for indexed code symbols.Affects: Users interpreting relationship confidence or apparent coverage.
Read the evidence

Run `code-review-graph build` once to apply new formats, import/call fixes and confidence metadata to unchanged files; rebuild again after repointing Python module shims or npm aliases.

Action requiredFind callers, callees, imports and tests for indexed code symbols.Affects: Users upgrading existing graphs or changing import indirection.
Read the evidence

Java, Ruby and PHP test finding improves; guessed coverage is excluded from risk, test ordering is deterministic, unknown paths carry unknown risk and migration lifecycle methods are exempt from gaps.

Behavior changedReview changed code together with affected callers, dependencies and test gaps.Affects: Users comparing coverage, gaps or risk scores across versions.
Read the evidence

The Action cache key changes from `schema13` to `schema15`; the first upgraded run rebuilds rather than restoring the older graph cache.

Behavior changedPost an automatically updated pull-request comment with risky functions, affected flows and test gaps.Affects: GitHub Action users upgrading to v2.4.0.
Read the evidence

Search favors production code over tests unless the query asks for tests, and lowers JSON ranking unless explicitly requested.

Behavior changedSearch code entities by meaning using optional local vector embeddings.Affects: Users comparing search rankings.
Read the evidence

After rebuilding or updating renamed C# nodes, run `code-review-graph embed` to refresh embeddings and purge old vectors; a refresh on an empty index now warns to run `embed` first.

Action requiredSearch code entities by meaning using optional local vector embeddings.Affects: Users with C# embeddings or requesting refresh before initial embedding.
Read the evidence

Install adds branch-checkout, merge and post-rebase update hooks; linked worktrees remain opt-in. Source folders named `vendor` are retained unless dependency manifests justify exclusion.

Behavior changedKeep a code graph updated as source files change.Affects: Users refreshing generated hooks or indexing source directories named vendor.
Read the evidence

Build and install the separately packaged extension 0.4.0 for schema 15; extension 0.3.0 rejects the migrated database, and a Python-package upgrade does not update it.

Action requiredExplore the code graph and navigate callers and callees inside VS Code.Affects: VS Code Code Graph panel users.
Read the evidence

Schema 13→15 migrates automatically on opening. To roll back to 2.3.9, delete `.code-review-graph/graph.db` and rebuild with the older release; migrations cannot run backward.

Action requiredAffects: Users planning rollback after upgrading an existing graph.
Read the evidence

Update dependency pins to at least `mcp` 1.29.0, `anyio` 4.8.0, `tree-sitter` 0.26.0, `tree-sitter-language-pack` 0.13.0 and `pyyaml` 6.0.2.

Action requiredAffects: Installations with dependency constraints below the new minimums.
Read the evidence

Handle writer contention as CLI exit `75` or `status: contended`; use `--wait` when build, update, postprocess, forget or embed must wait for another writer.

Action requiredAffects: Scripts invoking concurrent graph-writing commands.
Read the evidence

Use positive non-boolean `limit` and `token_budget` values; zero, negatives and booleans are rejected by large-function, semantic-search and traversal tools.

Action requiredAffects: MCP callers passing formerly accepted invalid bounds.
Read the evidence

Large-function, semantic-search and traversal responses have hard ceilings; `result_count` describes the count before truncation, and large-function queries accept `detail_level`.

Behavior changedAffects: Consumers of bounded MCP query results.
Read the evidence

What changed in v2.4.0

Deletion-only diffs now report removed symbols and their risk. New indexing formats, confidence-aware relationship queries and optional context/history modes extend graph review; schema 15 requires an updated VS Code extension.

Also: Adds template and configuration indexing, multi-worktree reviews, shared HTTP serving and source-bearing search; schema and integration upgrades need attention.

Install code-review-graph 2.4.0 with pip; Python 3.10+ required. Rebuild existing graphs and refresh generated integrations; optional enrichment and embedding features need extras.

New things you can do

Fixed and improved

Adds MiMo Code and DeepSeek Harness installation, a global Codex skill, opt-in `--steering` context hooks and `--gitignore` for newly created untracked integration files.

ImprovedConfigure a coding client's MCP connection with an install command and preview its changes.
Read the evidence

Install previews per-file diffs before writing, preserves JSONC hook settings, and supports OpenCode 1.x/2.x plugin APIs; Claude Code plugin hooks load again.

Now worksConfigure a coding client's MCP connection with an install command and preview its changes.
Read the evidence

`path_to` finds a route between symbols or files, reports confidence per hop and prefers bound routes; opt-in `--enrich` uses the Jedi extra for Python receiver calls.

ImprovedFind callers, callees, imports and tests for indexed code symbols.
Read the evidence

Resolves workspace/npm alias imports, inherited methods, tsconfig `baseUrl`/`extends`, Python re-exports and literal module shims; fixes nested-class and C# identities and exact-name lookup.

Now worksFind callers, callees, imports and tests for indexed code symbols.
Read the evidence

Indexes `.cjs`, `.kts`, guarded Elixir functions, wrapped JS/TS components, generators and abstract classes; Python property reads and restored PowerShell extraction contribute relationships.

Now worksFind callers, callees, imports and tests for indexed code symbols.
Read the evidence

Oracle PL/SQL parsing includes packages, procedures, functions and their calls, with multiline string and package-boundary handling.

ImprovedInclude Nix, Verilog/SystemVerilog, SQL, ReScript and GDScript source in the graph.
Read the evidence

Static Laravel routes yield endpoint/handler links; Spring AOP advice reaches targets through supported annotation and execution pointcuts.

ImprovedTrace Spring injection, Temporal workflow calls and Kafka producer-consumer relationships.
Read the evidence

Knowledge-gap reports include import cycles, a representative loop with import lines and whether the loop can fail during loading.

ImprovedFind highly connected symbols, chokepoints, test gaps and cross-community connections.
Read the evidence

Deletion-only hunks report removed symbols still used and raise risk instead of reporting zero changes; whole deleted files remain unsupported, and old-file reads are capped.

Now worksReview changed code together with affected callers, dependencies and test gaps.
Read the evidence

Compact impact reports return ranked relative file paths and counts, with `max_files` and `unmatched_files`; MCP now honors `CRG_MAX_IMPACT_NODES`.

ImprovedReview changed code together with affected callers, dependencies and test gaps.
Read the evidence

Optional `details` sections add risk terms, communities, hubs, coupling, impact, gaps and graph metadata to folded PR comments; removal reports include a removed-symbols table.

ImprovedPost an automatically updated pull-request comment with risky functions, affected flows and test gaps.
Read the evidence

`include_source=True` attaches bounded source snippets and `expand_neighbors=True` includes direct callers/callees; source is omitted at minimal detail.

ImprovedSearch code entities by meaning using optional local vector embeddings.
Read the evidence

Opt-in `CRG_VECTOR_CACHE=1` retains vectors between searches, using additional RAM and a persistent read connection that prevents database deletion or replacement on Windows.

ImprovedSearch code entities by meaning using optional local vector embeddings.
Read the evidence

Search applies `kind` before truncating hits, including cross-repository search, so other node kinds no longer crowd out matching functions.

Now worksSearch code entities by meaning using optional local vector embeddings.
Read the evidence

Opt-in `CRG_CONTEXT_HISTORY=1` records local token estimates without source or paths; `context-history` summarizes by UTC day or tool, with day filtering and JSON output.

ImprovedCompare full and graph-filtered review context in a CLI panel and verify estimated tokens.
Read the evidence

`serve --http --multi-repo` shares one server across registered repositories; each call requires an absolute registered `repo_root`. It rejects `--repo`, auto-watch, multi-worktree and `CRG_DATA_DIR`.

ImprovedExpose selected graph tools over Streamable HTTP as an alternative to stdio MCP.
Read the evidence

With fastmcp 4, clients can use `server/discover` and the 2026-07-28 MCP protocol; older initialization remains supported.

Now worksExpose selected graph tools over Streamable HTTP as an alternative to stdio MCP.
Read the evidence

Opt-in `--follow-symlinks` follows directory links, including external targets, under repository-relative paths; capped at 10,000 files by default. Symlinked files remain excluded.

ImprovedKeep a code graph updated as source files change.
Read the evidence

Updates include untracked files and repair stale search, flows and communities; partial graphs recover without repeated full rebuilds, and edit hooks select the edited repository.

Now worksKeep a code graph updated as source files change.
Read the evidence

Daemon stop clears killed-watcher state and stops surviving watchers; Windows logs handle Unicode and vanished PIDs, and daemon termination ends child watchers.

Now worksKeep registered repository graphs updated through a supervised watch daemon.
Read the evidence

Rename includes supported import/re-export sites and exact columns, preserves aliases and text encoding, and skips stale edits; qualified targets select a specific symbol.

Now worksPreview symbol renames and identify dead-code candidates and refactoring suggestions.
Read the evidence

Seeded visualizations load nearby edges instead of the entire graph, reducing memory for bounded views; path searches still load the full graph.

ImprovedExplore a searchable HTML code graph with collapsible files and relationship filters.
Read the evidence

Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.

Share

LinkedIn takes the link and its card only; write your text there.

X LinkedIn Reddit Hacker News Bluesky