Skip to content

v0.6.2

Choose a tag to compare

@lovestaco lovestaco released this 04 Aug 19:05
· 31 commits to main since this release

Release v0.6.2

Date: 2026-08-04

Summary

  • Blast-radius review now flags renamed symbols directly: when a hunk renames a function, method, struct, or variable, the reviewer sees a distinct "Still uses the old name" caller group for any place in the codebase that hasn't been migrated yet - instead of that risk being buried in a generic reference count.
  • The dependency graph (sunburst/flamegraph) stays exactly as accurate as before this feature: it only ever draws verified call-graph edges, never a textual old-name reference, so a rename can never make the chart claim a call that isn't real.
  • Fixed the "Callers of old name (about to break)" signal asserting an unverified compile failure; it now states only what was actually measured - a textual reference to the old name still exists - since a text-search hit can be a real call site, a comment, or a string literal.

Install and Update

New install:

# Linux/macOS
curl -L https://hexmos.com/ipm-install | bash && ipm i HexmosTech/git-lrc

# Windows
iwr https://hexmos.com/ipm-install-ps | iex; ipm i HexmosTech/git-lrc

Update:

lrc self-update

Changes

  • blastradius/client/client.go: new SearchCodeSymbols method (search_code --mode compact) resolves a grep hit for a symbol's pre-rename name back to the graph node enclosing it, rather than just counting matches.
  • blastradius/rename.go: oldNameCallers/expandPreRenameCallers build a caller list for a renamed symbol's old name (with one hop of transitive fan-in reused via score.FanIn), flagged CallerRef.PreRename; renameOldNameSignal's wording changed from "Callers of old name (about to break)" to "Still uses the old name" - scoring itself (BlastRadiusRaw, point values) is unchanged.
  • blastradius/blastradius.go: new SymbolContribution.RenamedFrom field carries the pre-rename name through to the report for both the "calls" and "text-references" scoring paths.
  • BlastRadiusPanel.js: the caller-list sidebar groups pre-rename callers separately and highlights them in red; chartSymbol filters those out before either chart renders, so the sunburst/flamegraph only ever see genuine CALLS-graph callers.
  • callgraph-utils.js: fixed a tooltip rendering bug where HTML entities (·, ↳) rendered verbatim instead of as characters, since the htm template tag doesn't decode entities in template text.

Breaking Changes

  • None.

Verification

  • lrc --version
  • lrc --help

Known Issues

  • None.