Releases: cosmocoder/CodeCritique
v1.2.4
1.2.4 (2026-03-08)
Bug Fixes
-
embeddings: make incremental generation content-hash based and project-safe (8a2f025)
- use content hashes as the source of truth for incremental freshness instead of relying on mtimes
- distinguish full scans from partial file updates so stale embeddings are only pruned when safe
- prune deleted file and document embeddings during full scans to keep review context current
- scope project structure embeddings and retrieval by project path to avoid cross-project collisions
- harden retrieval and summary invalidation so code review uses up-to-date project context
v1.2.3
1.2.3 (2026-03-08)
Bug Fixes
-
enhance chunk processing with error handling (946e84b)
- Updated
reviewLargePRInChunksto usePromise.allSettledfor better error handling during chunk processing. - Implemented logic to preserve successful chunk results even when some chunks fail, ensuring comprehensive results are returned.
- Updated
-
ensure markdown output is shown when
--output-fileoption is set to markdown (42f830d) -
normalize reviewFiles result shape (4da4693)
- Flatten file-level results when aggregating multi-file reviews so output formatters receive consistent entries.
- Also wrap skipped single-file results with file metadata.
-
preserve partial context retrieval results (dbd1c37)
- Handle context retrieval failures per source so one rejected lookup does not discard successful PR comments, guidelines, code examples, or custom document results.
v1.2.2
1.2.2 (2026-03-04)
Bug Fixes
-
actions: remove eval from CI action command execution (472b81f)
Harden composite actions by building CLI arguments as arrays and invoking
nodedirectly, eliminating eval-based command construction. -
add line numbers to code content for improved review context (362a0c4)
- Implemented
addLineNumbersfunction to prepend line numbers to source code, enhancing clarity during code reviews. - Updated
rag-analyzer.jsandprompt-cache.jsto utilize line numbers in displayed content for better reference.
- Implemented
-
custom-docs: use canonical cache-manager custom chunk APIs (7958578)
Remove now-unused alias methods and update custom document processor/tests to rely on the existing custom chunk cache interfaces.
-
git: harden diff execution and avoid branch checkout side effects (5cc7a53)
Use safely escaped git diff invocation and create tracking branches without switching the working tree during branch preparation.
-
rag: prevent parse fallback crash on non-string LLM responses (2ff1f16)
Serialize fallback raw responses safely so malformed analysis payloads no longer throw during reconstruction.
-
runtime: harden cleanup paths and status query fallbacks (993eb22)
Ensure temporary DB connections and progress timers are always cleaned up, guard missing review output paths in the PR comment action, and use table query APIs for last-analysis lookups.
v1.2.1
v1.2.0
1.2.0 (2026-02-07)
Features
-
add support for prompt caching (0f92f56)
- Introduced
cache-ttloption for LLM prompts, allowing users to specify a cache duration of5m(default) or1h(extended). - Updated README and action.yml to reflect the new option.
- Enhanced prompt caching mechanism in the LLM module to optimize token usage.
- Adjusted related code to support the new caching feature across various components.
- Introduced
v1.1.1
v1.1.0
v1.0.0
1.0.0 (2026-02-01)
Initial release
- v1 release of
codecritique