github Graphify-Labs/graphify v0.9.124

one hour ago

Extractor accuracy across Swift, Apex, Python, TypeScript and Bash, a new GitHub Actions surface, incremental-extraction correctness, and a batch of export/report hardening and performance work, landed from twenty-eight community pull requests. The Swift, Apex, Python, Bash and GitHub Actions changes alter extraction output, so the AST cache schema bumps (59 to 60) and those inputs re-extract on the first build after upgrading; everything else needs no rebuild.

Features

  • yaml GitHub Actions workflow run: steps are parsed as bash, so a step that invokes a repo script or sources a file gets the same call and import edges a real script would, with ${{ }} expressions neutralized and non-bash shells, windows runners and composite default steps skipped (#5603, thanks @m3lonxd).
  • detect Smarty .tpl templates are classified as documents (#5625, thanks @azizur100389).
  • html the community legend remembers its drag and arrow-key order, persisted per page (#5624, thanks @azizur100389).
  • install MiniMax Code is available as an install platform (#5642, thanks @SaladDay).

Extractor fixes

  • swift an identifier named like a declaration modifier (prefix, open, public) used in a switch case body is recovered instead of derailing the parse, limited to switch cases (#5641, thanks @Komorebi-GZM).
  • apex a method return type carrying a dot (Database.QueryLocator) or a comma inside a generic (Map<String, Object>) is recognized (#5627, thanks @ayushcodes10).
  • typescript a call resolves through a callable property typed via indexed access (api.dispatch() where dispatch: Store['run']), including optional-chain and inherited forms (#5604, thanks @m3lonxd); a call binds through an imported value reached by a scoped const alias, failing closed on reassignment and shadowing (#5614); and a call through a destructured method (const { close } = owner; close()) binds to the receiver type's member (#5612). Thanks @rvitaliy.
  • bash a sourced script resolves a caller-defined variable base (. "$ROOT/lib/x.sh" where $ROOT is set by the sourcing script), fail-closed on unknown bases and .. or out-of-root traversal (#5602, thanks @m3lonxd).
  • python a function-local import inside a package __init__.py is no longer treated as a package re-export (#5647, thanks @debojyoti10CC).

Resolution and incremental correctness

  • extract co-indexed symlink aliases keep source identities distinct from their resolved targets (#5617, thanks @sdivyanshu90).
  • cache same-file semantic edges with no attributed source are retained across cache round-trips (#5618, thanks @sdivyanshu90).
  • incremental an unchanged importer of a deleted file is re-extracted so its unresolved placeholder matches a full build (#5638, thanks @Aadithya-kl); the unchanged importers of a changed JS/TS barrel re-resolve through it (#5636), and an importer's include on the salted id of an out-of-batch file is preserved (#5634). Thanks @0xkaushik-ai.

Export, report and performance

  • export null and non-numeric edge weights are handled in to_canvas (#5643), null or empty _src/_tgt markers are ignored in to_cypher (#5644), and duplicate reads and JSON parses of an existing graph.json are avoided in to_json (#5646); _strip_diacritics gains an ASCII fast path (#5619). Thanks @Gaurav-meena95.
  • report missing or null corpus stats are handled in report.generate (#5645, thanks @Gaurav-meena95).
  • analyze non-string labels and source files are handled safely in the node predicates (#5620, thanks @Gaurav-meena95).
  • cluster cluster() uses an undirected view to avoid a full-graph deepcopy (#5621, thanks @Gaurav-meena95).

CLI, docs and skills

  • cli clone's own help options are listed under clone rather than merge-graphs (#5629, thanks @ayushcodes10).
  • query over-budget guidance works on document graphs, not only code graphs (#5628, thanks @azizur100389).
  • skill Graphify is found in Windows Python launcher runtimes (#5623, thanks @azizur100389).
  • docs excluding npm manifests in monorepos is documented (#5626, thanks @azizur100389).
  • tests the JS-Liquid target-path comparison is portable across path separators (#5583, thanks @m3lonxd).

Don't miss a new graphify release

NewReleases is sending notifications on new releases.