
CodeGraph v1.6.2 Released: Symbol resolution adheres to language scope; significant reduction in cross-language error linking
CodeGraph v1.6.2 was released on 2026-10-03. The core focus is to ensure that symbol resolution accurately follows the naming scope rules of each language, with corrections made to reloads, `super`, and recursive parsing, as well as the addition of route recognition for frameworks such as Angular, Rails, FastEndpoints, and Vapor. After upgrading, you need to rebuild the index for the changes to take effect.
Related tags
Release Overview
CodeGraph v1.6.2 was released on October 3, 2026. CodeGraph is a local semantic code graph tool for AI programming assistants – it provides pre-built symbols, call edges and dependency graphs for agents such as Claude Code, Cursor, Codex, OpenCode, Gemini, Antigravity, Kiro, and GitHub Copilot, allowing agents to obtain “precise context” with a single API call, without having to manually grep/glob/read files.
This version focuses on “accuracy,” primarily by ensuring that symbol parsing strictly adheres to the naming scope rules of each language – by using import, package, namespace, and the class in which it resides, to parse calls, imports, or type references once, thus preventing “name collisions from linking to unrelated symbols.” This change affects TypeScript/JavaScript, Python, Java, Kotlin, Scala, C#, VB.NET, Swift, Objective-C, Go, Rust, C, C++, PHP, Ruby, Dart, Lua, R and more, significantly improving the trustworthiness of callers, impact, and answers provided by codegraph_explore.
Important Note: After upgrading, please re-index your project – most of these fixes are effective after indexing.
Key Highlights
Significant Reduction in Incorrect Links per Language
Now, calls, imports, or type references are parsed according to the naming scope rules of the specific language, rather than simply linking to a “same name” unrelated symbol. For example: In C# / VB.NET, types like
List<int>, andType sourceTypeare no longer linked to properties of the same name in a test class; in Go, packages likecontext.Context,http.ResponseWriter, andrequire.Containsthat come from outside the module are no longer pointed to symbols with the same name within the project; in Rust,Self::Errorcorrectly parses associated types of the current impl or trait, whileV::Valueno longer points to a unrelated struct.This results in substantial improvements:
- Over 1200 instances of
io::Resultand 600 instances ofContextreferences, previously linked to private types within the project, are now fixed in Tokio. - 8832 instances of
supercall reaches the method in the parent class without looping back to the original caller. Calls to the same method with different overloads or calls to the same method in another object are no longer mistakenly identified as “calling themselves.” Improved Route Recognition for More Frameworks
The tool now recognizes route files for more web frameworks, connecting URL patterns with actual handlers:
- Support added for Angular (including Nx libraries), Vue Router backend applications, Rails nested routes, Flask’s
add_url_rule, ASP.NET FastEndpoints, Play sub-projects, Vapor closure routing, Expo Router API routing. - Routes in NestJS and Laravel are now named based on “the actual path taken by the request.”
- Calling routes with URLs in Spring or Laravel will also be treated as a successful route mapping.
- Examples: ardalis/CleanArchitecture goes from “zero routing” to 24 routes; playframework’s samples repository goes from zero routing to over 130 routes.
- Support added for Angular (including Nx libraries), Vue Router backend applications, Rails nested routes, Flask’s
More Code Included in the Graph
Now, files using file-based routing like Nuxt / Astro will link to the component defined in the file; endpoints in Astro will link to exported HTTP verb handlers (e.g.,
export const GET); React Router’s configuration object syntax (likepaths.app.discussion.getHref(id),navigate(…), and the arrow function property before<Link>), are all recognized. Vue Options API components, Java/Kotlin enum constants with body, Flow type annotations in JavaScript, Kotlin infix calls, React Native native views and events, Expo Modules, CFML using labels, Delphi’smetadata.framework, such asswift-objc-bridge,react-native-bridge).**Windows: No More Console Window Flashing, No More Random Crashes
- Over 1200 instances of
More News
Want to see more quality content?
Browse all news