Releases: stainless-code/codemap
Release list
v0.11.3
Patch Changes
- #202
c629c55Thanks @SutuSebastian! - Add public docs site at https://stainless-code.com/codemap (guides, recipes, concepts, reference, and library API).
@stainless-code/codemap@0.11.4
Patch Changes
- #204
1359b49Thanks @SutuSebastian! - Stop repeating the brand one-liner in site, OG, and npm descriptions.
v0.11.2
Patch Changes
-
#186
cdacb91Thanks @SutuSebastian! - Refresh dependency tree to latest compatible releases. Interactivecodemap agents initnote text stays dimmed. -
#187
4afb0e2Thanks @SutuSebastian! - Publish to npm via trusted publishing (GitHub OIDC) with Sigstore provenance, so released tarballs are verifiably built from this repo. Mark the library.export as side-effect-free for bundler tree-shaking.
v0.11.1
Patch Changes
3aff237Thanks @SutuSebastian! - Refresh runtime and toolchain dependencies (better-sqlite3, oxc-parser, oxfmt, oxlint, and related dev tooling) to latest compatible releases. Pin transitive hono and js-yaml to patched versions so dependency audits report no known vulnerabilities.
v0.11.0
Minor Changes
-
#178
36106ffThanks @SutuSebastian! - Add structural duplicate detection:symbols.body_hashat index time (canonical function body AST) and bundledduplicatesrecipe. Schema version 39 — existing indexes rebuild on nextcodemaprun. Function-shaped symbols only; trivial one-line bodies skipped. Triage collisions withsnippet— shared control-flow skeletons can false-positive. -
#179
8595173Thanks @SutuSebastian! - Add churn × complexity hotspot ranking:file_churnrefreshed on every index from git history, withcodemap ingest-churn, MCP/HTTPingest_churn, and configchurn.filefor non-git repos. Schema version 40 — existing indexes rebuild on nextcodemaprun. Newchurn-complexity-hotspotsrecipe ranks files or symbols (by_symbol) by change frequency × complexity with normalized 0–100 scores andchurn_trend. Outcome aliashotspotsstill maps to fan-in. -
#173
d4982c4Thanks @SutuSebastian! - Add SonarSource cognitive complexity onsymbols(same function-shaped coverage as cyclomatic, including class methods). Schema version 38 — existing indexes rebuild on nextcodemaprun. New recipehigh-cognitive-complexity;high-complexity-untestedrows includecognitive_complexity.
Patch Changes
-
#177
bb8bae9Thanks @SutuSebastian! - Onaudit --base <ref>(CLI / MCP / HTTP), eachaddedrow carriesattribution: introduced | inherited(branch-new vs pre-existing at merge base).--summaryaddsadded_introduced/added_inheritedper delta. -
#172
cf7df2fThanks @SutuSebastian! - Addquery --format codeclimate(GitLab Code Quality JSON) andquery --format badge(markdown issue-count line orcodemap-badge/v1JSON via--badge-style json). Available on CLI, MCP, and HTTP query tools. -
#183
b509e4cThanks @SutuSebastian! - Add hash-stablemap_idandcodebase_maprouting hints tocontextresponses (CLI, MCP, HTTP). MCP initialize instructions now includemap_idand top hub paths. Opt out with--no-codebase-maporinclude_codebase_map: false; omitted whencompact. -
#176
16687a0Thanks @SutuSebastian! - Addcoverage-confirmed-deadrecipe: static dead exports withconfidence(highwhen ingested 0% coverage,mediumwhen unmeasured), plusreasonandcaller_count. -
#174
a11242eThanks @SutuSebastian! - Addreasonandevidence_jsoncolumns on high-judgment recipe rows (boundary-violations,deprecated-symbols,unimported-exports) so agents can cite detection path beforeapplyor manual edits. -
#175
af86d10Thanks @SutuSebastian! - Addhigh-crap-scorerecipe: CRAP ranking with measured coverage when ingested, or graph-estimated 85/40/0% tiers from test reachability otherwise.Extend
unimported-exportswithunresolved_import_blind_spotreason andevidence_json(unresolved import hop) so dead-export / high-CRAP triage does not over-trust the graph past alias blind spots. -
#181
aae172fThanks @SutuSebastian! - Scopecodemap impactand MCP/HTTPimpacthomonym symbols:--in/indisambiguates by defining file (same prefix/exact rules ascodemap show --in); unscoped homonyms union per-defining-file call graphs instead of merging by name only. Mismatched scope returns emptymatcheswithskipped_scope. -
#170
e74410cThanks @SutuSebastian! - MCPtools/listand HTTPGET /toolsexpose advisoryreadOnlyHint,destructiveHint, andidempotentHintper tool so clients can gate auto-approval. Apply tools carrydestructiveHint; read-only query tools carryreadOnlyHint. -
#180
a5caca8Thanks @SutuSebastian! - Harden read surfaces:codemap query --format …blocks index mutations via the same read-only guard as--json;codemap serverequires--tokenwhen--hostis not loopback (any127.0.0.0/8address counts as loopback, so--tokenstays optional on127.0.0.2and similar);codemap validate(and MCP/HTTPvalidate) can returnrejectedrows with optionalreason(path escapes project root|path escapes via symlink|path resolves outside project root) — outputpathkeys are always project-relative POSIX paths. -
#182
3568c5fThanks @SutuSebastian! -createCodemap()and the CLI now reject invalid project config at load time. A secondcreateCodemap()with a different project root in the same process throws (audit--baseworktree reindex is exempt). -
#184
fb73e0dThanks @SutuSebastian! -showandsnippetnow use fast equality lookup for exactnameand lonename:Tokenqueries (no wildcards); substring, multi-field, and FTS paths stay on the broader slow tier. CLI help, MCP tool descriptions, and bundled agent guidance document the two tiers.
v0.10.1
Patch Changes
-
#169
1632bddThanks @SutuSebastian! - Refresh runtime and toolchain dependencies (oxc-parser, oxc-resolver, oxfmt, oxlint, @clack/prompts, tinyglobby, and related dev tooling) to latest compatible releases. -
#166
4bfb067Thanks @SutuSebastian! - Addcodemap renameCLI alias for homonym-safe renames viaapply rename-preview(--define-in,--in-file,--kind). -
#167
231d6ccThanks @SutuSebastian! - Add MCP/HTTP transport parity for coverage ingest and query baselines: newingest_coveragetool (CLI twincodemap ingest-coverage --json) and optionalbaselineparam onquery/query_recipe(same diff envelope ascodemap query --baseline). Tool count 19 → 20.
v0.10.0
Minor Changes
-
#164
8c7064aThanks @SutuSebastian! - Add optional heuristic call edges (calls.provenance) for JSX parent→child composition. Schema rebuild to v37. Enable via.codemap/configsynthesis.heuristicCalls: true(default off). Bundled recipecalls-including-heuristic;call-pathexcludes heuristics by default. -
#162
6e50d77Thanks @SutuSebastian! - Add two-phase call resolution (unresolved_callsstaging,calls.callee_symbol_id/callee_resolution_kind). Schema version 36 — existing indexes rebuild on nextcodemaprun.
Patch Changes
7b0406aThanks @SutuSebastian! - Ship the apply substrate: recipe-drivencodemap applyfor stale imports, deprecated migrations, import-source moves, JSX prop renames, and scopedrename-preview(define_inhomonyms). Add--rows,--diff-input, fixpoint--until-empty, optional--commit,auto_fixable/--force, andapply.autoApplyRecipesallowlist. MCP/HTTP twins:apply,apply_rows,apply_diff_input.
v0.9.5
Patch Changes
- #160
b1e3d58Thanks @SutuSebastian! - Add CLI twins for MCP query composers and resources so shell-only consumers get the same JSON payloads:codemap query batch,trace,explore,node,file,schema,symbols, andcontext --include-snippets.
v0.9.4
Patch Changes
- #158
e8ea640Thanks @SutuSebastian! - Addcodemap agents init --targetsand--link-modefor non-interactive IDE wiring. Combine with--mcpto write MCP config only for selected integrations (e.g. Cursor + Copilot without Continue/Cline). Mutually exclusive with--interactive.
v0.9.3
Patch Changes
- #156
ae4a143Thanks @SutuSebastian! -codemap agents init --mcpnow includes--root ${workspaceFolder}in the VS Code / Copilot MCP config (.vscode/mcp.json), same as Cursor. Re-runcodemap agents init --mcpto upgrade an existing.vscode/mcp.jsonfrom older init output (or--interactiveand select Copilot only).