github vitali87/code-graph-rag v0.7.79

40 minutes ago

Highlights

  • Improved I/O Handling: Enhanced how the tool interacts with input and output streams, including inline reads, standard stream writes, and environment variable handling.
  • Credential Management: Introduced a unified approach to credential word lists for hardcoded secrets within pack files.
  • Performance Optimisations: Various performance improvements including faster namespace checks, optimised memory management, and refined capture scoping.
  • Enhanced Testing: Added stubs for build processes in C# guard cases and implemented isolated check helpers.
  • Improved Code Analysis: Refined how query captures are read, how calls are judged, and how dead code is identified and handled.
  • CI Improvements: Updated CI configuration to include toolchain-dependent tests with Go, .NET 10, TypeScript, and Lua.
  • Surface Definition: Introduced a mechanism to record and enforce the public surface of code, with CI failures for deviations.

What's Changed

  • fix(io): inline Path(...) reads, std stream writes, env setdefault and subprocess sinks by @vitali87 in #3109
  • fix(findings): one credential word list for every hardcoded_secret pack by @vitali87 in #3106
  • perf(registry): answer a namespace check at the first registered entry by @vitali87 in #3024
  • test(evals): stub the oracle build in the C# guard's positive SDK cases by @vitali87 in #3633
  • fix(parsers): read query captures in document order everywhere by @vitali87 in #2970
  • fix(check): judge a call by its binding before the edit when the edit left it guessed by @vitali87 in #3632
  • ci: run the toolchain-dependent tests with Go, .NET 10, tsc and Lua installed by @vitali87 in #3634
  • docs(reports): plan the Rust rewrite that keeps today's interface by @vitali87 in #3630
  • fix(dead-code): match --entry-point on whole qualified-name segments by @vitali87 in #2690
  • fix(doctor): stop counting a LOST or AMBIGUOUS gloss as an orphan node by @vitali87 in #2697
  • perf(sync): scope the inbound-edge capture to this project's modules by @vitali87 in #2978
  • fix(findings): a hardcoded secret needs a credential-named variable by @vitali87 in #3070
  • fix(calls): reference PHP and Lua closures passed as call arguments by @vitali87 in #2974
  • fix(perf): bound Pass 2 memory by the AST cache, not the repository size by @vitali87 in #3016
  • fix(ignore): a .gitignore ! line re-includes what git keeps by @vitali87 in #3088
  • fix(go): a call into a sibling in-repo module is not external by @vitali87 in #3098
  • fix(findings): run the rule packs on structural-tier files (Ruby) by @vitali87 in #3105
  • fix(io): Node fs/promises and process.stdout/stderr.write are I/O sinks by @vitali87 in #3111
  • fix(io,flow): credit I/O inside an inline callback to its enclosing caller by @vitali87 in #3114
  • fix(trace): a method running its own lambda is not a self-call by @vitali87 in #3121
  • fix(cli): send dead-code, duplicates and stats errors to stderr by @vitali87 in #2694
  • fix(dead-code): root Java methods invoked through framework annotations by @vitali87 in #2752
  • docs(mcp): describe what reingest does with a deleted path that exists by @vitali87 in #2771
  • fix(sync): hash a file changed since the last sync even with an older mtime by @vitali87 in #2910
  • fix(build): log the binary build by its name, not as "{lang} bindings" by @vitali87 in #2909
  • fix(mcp): say which project an omitted project means, and use it for duplicates by @vitali87 in #2777
  • fix(python): type Optional, Union-with-None and quoted annotations as their class by @vitali87 in #2755
  • fix(stack): refuse to move a running shared stack on an implicit start by @vitali87 in #3637
  • fix(java): a record's compact constructor is its canonical constructor by @vitali87 in #3124
  • fix(check): report a dangling caller where the call is now by @vitali87 in #3245
  • fix(graph): take a bare name, dotted suffix or path:line in relationship commands by @vitali87 in #2963
  • fix(js): bind a namespace member through the barrel it imports by @vitali87 in #2965
  • fix(dead-code): root registration decorators and keep singledispatch implementations with their generic by @vitali87 in #2741
  • fix(prompts): align agent prompts and tool descriptions with current tool contracts by @vitali87 in #2981
  • fix(memgraph): name an unsupported server version at connect and in doctor by @vitali87 in #3029
  • fix(cpp): resolve compile command paths against each entry's directory by @vitali87 in #3006
  • fix(mcp): name the workspace projects list_projects cannot list by @vitali87 in #2964
  • fix(incremental): re-walk the files that pass callables into a re-parsed function by @vitali87 in #3020
  • fix(io): Python print(file=...) writes where its file= says by @vitali87 in #3108
  • fix(types): type a call through a local declared in several blocks by the declaration in scope by @vitali87 in #3643
  • fix(findings): flag a Lua global assignment only when no local binds it by @vitali87 in #3036
  • fix(cli): say which grammars a sync lacks, and have doctor report them by @vitali87 in #3018
  • fix(go): look a typed receiver's method up on its type's other build copies before the name-only fallback by @vitali87 in #3641
  • fix(ignore): never walk .git, .hg or .svn for a negation that can match at any depth by @vitali87 in #3644
  • fix(trace): ship the C, Lua, Dart and JVM tracer agents and print where they are by @vitali87 in #2731
  • fix(cpp): bind out-of-line definitions to the class C++ looks up, whatever the file order by @vitali87 in #3645
  • fix(rename): rewrite strings that spell the symbol's dotted path by @vitali87 in #3096
  • fix(python): operators and protocols call the dunders they dispatch to by @vitali87 in #3080
  • fix(java): type a receiver declared with a nested enum by @vitali87 in #2973
  • fix(graph): state that columns are UTF-8 bytes and also return character columns by @vitali87 in #3638
  • fix(flow): give resource flows an owner and delete them with it by @vitali87 in #2759
  • fix(c): a bare call never binds another translation unit's static by @vitali87 in #3227
  • fix(setup): offer to save interactive-setup keeps to .cgrignore by @vitali87 in #2510
  • fix(mcp): clear the rename's marker when it never re-ingests by @vitali87 in #2900
  • fix(cpp): one located edge per hybrid macro call and #include by @vitali87 in #3002
  • fix(rename): refuse to silently stop an override of an outside method by @vitali87 in #3234
  • feat(surface): record the public surface and fail CI when the code drifts from it by @vitali87 in #3636
  • fix(surface): record the rename opt-in and ensure_constraints' count merged after the snapshot was taken by @vitali87 in #3651
  • test(reference): record and check the graphs of pinned public repositories by @vitali87 in #3640
  • fix(rename): accept the identifiers the target language accepts by @vitali87 in #3239
  • fix(flow): walk resource flows in flow_verdict by @vitali87 in #2762
  • test(check): isolated check helpers, refusal sites and updater scope (#1718) by @vitali87 in #2151
  • fix(calls): stop recording a returned closure as called by its maker by @vitali87 in #2966
  • fix(dead-code): a name in Python all is exported by @vitali87 in #2954
  • fix(context): keep the printed slice within its budget, and build it quickly by @vitali87 in #3318
  • fix(cli): fail startup errors without stdout pollution by @vitali87 in #3653
  • fix(cli): fail startup errors without stdout pollution by @xujiantop-crypto in #2750
  • fix(check): reach the tests of a renamed or removed symbol through its dangling callers by @vitali87 in #2913
  • feat(fuzz): harden ClusterFuzzLite harnesses, add nightly per-target batch, prune and coverage by @vitali87 in #2784
  • feat(constant): emit Python module-level Constant nodes (#1806, 2/4) by @vitali87 in #2135
  • fix(rename): rename a Python property's getter, setter and deleter together by @vitali87 in #2725
  • fix(js): resolve a directory specifier to its index module and follow namespace re-exports by @vitali87 in #3282
  • fix(prune): drop the Folders of a directory newly excluded from the walk by @vitali87 in #3042
  • fix(rust): type a match-arm binding by the variant's declared payload by @vitali87 in #3014
  • test(constant): unit tests for the Python Constant emitter (#1806, 3/4) by @vitali87 in #2137
  • test(constant): end-to-end tests for Constant nodes (#1806, 4/4) by @vitali87 in #2138
  • fix(rename): locate C/C++, PHP, Lua M.f and JS pair definition names by @vitali87 in #2895
  • fix(io): read JS/TS env through destructuring and aliases by @vitali87 in #2767
  • fix(check): count only imports that run at import time toward a new cycle by @vitali87 in #2728
  • fix(cpp): keep a lambda reachable from the function that creates it by @vitali87 in #2745
  • fix(ci): record CodeRabbit's closed nested schema, and give a NUL-byte shell path a verdict by @vitali87 in #3670

Full Changelog: v0.7.1...v0.7.79

Don't miss a new code-graph-rag release

NewReleases is sending notifications on new releases.