From 6586dff9574533ee4ae875a967d7c2d9a4e16c61 Mon Sep 17 00:00:00 2001 From: Rahul Krishna Date: Sun, 6 Sep 2026 10:36:50 -0400 Subject: [PATCH] chore(release): 1.3.0 ANALYZER_VERSION moves with package.json because it is the cache-invalidation key: this release changes the cached tree shape (body nodes and parameters carry ids, modules carry INTERNAL call_sites), so a warm 1.2.0 cache must not be reused. README --help block regenerated for --program, --list-programs, --emit-ir and --no-repo-sections (#149), which shipped without it. Released as a MINOR despite one breaking-marked commit (#166: `_module` retired from the Neo4j graph, marker labels added), by the same decision as 1.2.0; the release notes lead with it and its migration. Graph contract stays 2.0.0 (#144). --- README.md | 10 ++++++++++ package.json | 2 +- src/utils/version.ts | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1094979..cbf2862 100644 --- a/README.md +++ b/README.md @@ -192,6 +192,16 @@ Options: raw text --entrypoint-rules extra entrypoint rules file(s), merged with the shipped set; repeatable + --program restrict the run to these programs, named by + scope dir relative to --input ('' for the + root program); repeatable + --list-programs list the discovered programs, one per line, and + exit + --emit-ir persist this shard's graph IR for a later + cross-shard stitch + --no-repo-sections skip artifacts/dependencies/unresolved_imports + (repo-scoped; compute them once per repository, + not once per shard) -c, --cache-dir cache/intermediate directory -v, --verbose increase verbosity (repeatable) -h, --help display help for command diff --git a/package.json b/package.json index 218e193..57df9b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeanalyzer-typescript", - "version": "1.2.0", + "version": "1.3.0", "description": "CLDK TypeScript analyzer — emits the canonical schema v2 (additive CPG: symbol table → call graph → intraprocedural dataflow → interprocedural SDG) as analysis.json and Neo4j, via ts-morph.", "type": "module", "module": "src/index.ts", diff --git a/src/utils/version.ts b/src/utils/version.ts index d9656d2..84bb6cd 100644 --- a/src/utils/version.ts +++ b/src/utils/version.ts @@ -3,4 +3,4 @@ * the analyzer invalidates stale per-file Modules (whose source is unchanged but whose extracted * shape may differ across analyzer versions). */ -export const ANALYZER_VERSION = "1.2.0"; +export const ANALYZER_VERSION = "1.3.0";