From c3f1e273d4c5e7052c8a9ec6bd3109c042f3af8c Mon Sep 17 00:00:00 2001 From: Colby McHenry Date: Wed, 20 May 2026 18:41:42 -0500 Subject: [PATCH] release: 0.8.0 --- CHANGELOG.md | 15 ++++++++++++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b661dfd..321721a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ a [GitHub Release](https://github.com/colbymchenry/codegraph/releases) tagged This project follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.8.0] - 2026-05-20 ### Added - **Framework routes (NestJS)**: CodeGraph now recognises NestJS projects and @@ -91,6 +91,18 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). VS Code ~12%. Agent-trust floor still holds — the Relationships section, scored cluster selection, and structured-source output are all retained. Thanks to [@essopsp](https://github.com/essopsp) for the repro. +- **Search ranking (Kotlin / Swift / Scala / C#)**: test files in these + languages are now correctly de-prioritized in `codegraph_search`, + `codegraph_context`, and `codegraph affected`. Detection previously only + recognized `snake_case`/`.test.`-style names plus a handful of Java + suffixes, so CamelCase test files (`FooTest.kt`, `BarTests.swift`, + `BazSpec.scala`, `QuxTestCase.cs`) and Gradle / Kotlin-Multiplatform / + Xcode test source-set directories (`jvmTest/`, `commonTest/`, + `androidTest/`, `iosTest/`, `integrationTest/`) were treated as production + code and could outrank the real implementation. Detection now matches + capital-led `*Test` / `*Tests` / `*Spec` / `*TestCase` filenames and + source-set directories — deliberately capital-led so lowercase look-alikes + like `latest.kt` and `manifest.kt` are not misclassified. ### Fixed - **MCP / explore**: `codegraph_explore` output is now hard-capped to its @@ -235,6 +247,7 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). returns `null` instead of resolving to an unrelated `rollback` in the same file. +[0.8.0]: https://github.com/colbymchenry/codegraph/releases/tag/v0.8.0 [0.7.10]: https://github.com/colbymchenry/codegraph/releases/tag/v0.7.10 ## [0.7.8] - 2026-05-17 diff --git a/package-lock.json b/package-lock.json index 1b4ce89..44e4c82 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@colbymchenry/codegraph", - "version": "0.7.11", + "version": "0.8.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@colbymchenry/codegraph", - "version": "0.7.11", + "version": "0.8.0", "license": "MIT", "dependencies": { "@clack/prompts": "^1.3.0", diff --git a/package.json b/package.json index 202e9a4..58f9f0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@colbymchenry/codegraph", - "version": "0.7.11", + "version": "0.8.0", "description": "Supercharge Claude Code with semantic code intelligence. 94% fewer tool calls • 77% faster exploration • 100% local.", "main": "dist/index.js", "types": "dist/index.d.ts",