Skip to content

Releases: LegacyCodeHQ/clarity-cli

v0.27.0

11 Jun 11:01

Choose a tag to compare

Changelog

✨ Features

  • Modules – List all modules with clarity modules, render a single module's view with --module, and opt into module rendering with --modules
    • Auto-discover module config from .clarity/modules.json
    • Sort the modules table by name or size with --sort-by name|size
    • See test and non-test file counts split out per module
    • Module boundaries now render as a directional box, drawn as a mermaid subgraph
  • --format option added to watch
  • Rename and move detection – Renames and moves are now detected from git status, marked with distinct icons, and collapsed to a single node across staged and unstaged changes
  • Deleted file rendering – Deleted and renamed files now appear in show and watch, with their pre-deletion edges reconstructed and deleted subtrees rendered
  • The watch web viewer now renders mermaid
  • cgo dependencies now resolve to sibling C sources
  • Cycle edges now render as solid lines

🐞 Bug Fixes

  • C# partial classes split across files now resolve correctly
  • Angle-bracket includes now resolve to project headers (C/C++)
  • Same-package Java static method call qualifiers now resolve
  • Same-package Kotlin top-level function calls now resolve
  • Bare TypeScript imports no longer incorrectly resolve to same-named local files
  • Go imports no longer resolve to sibling external test files

Full Changelog: v0.26.0...v0.27.0

v0.26.0

09 Jun 09:37

Choose a tag to compare

Changelog

✨ Features

  • Try out the new experimental cycles command to find circular dependencies in your codebase
  • Navigate the timeline using arrow keys
  • Watch archives now include commit history

🐞 Bug Fixes

  • Hardened Zig import resolution
  • Improved Java dependency resolution, including annotations and fully qualified references
  • TypeScript imports from Svelte files now resolve correctly
  • Arrow key timeline navigation now works in the web interface

Full Changelog: v0.25.0...v0.26.0

v0.25.0

04 Jun 17:54

Choose a tag to compare

Changelog

✨ Features

  • --module flag – collapse files into a single named node in your dependency graph
  • Original dependency edge labels are now preserved even when modules are collapsed
  • Module nodes can show file count and churn at a glance

🐞 Bug Fixes

  • Go types now link to their method providers defined in other files

🔒 Security

  • Bump Go toolchain to 1.26.4 to address 2 detected vulnerabilities (GO-2026-5039, GO-2026-5037)

Full Changelog: v0.24.1...v0.25.0

v0.24.1

04 Jun 02:15

Choose a tag to compare

Changelog

🔒 Security

  • Bump vite to 6.4.2 to patch CVE-2026-39363 (arbitrary file read via dev-server WebSocket).

Full Changelog: v0.24.0...v0.24.1

v0.24.0

02 Jun 13:50

Choose a tag to compare

Changelog

✨ Features

  • Hide phantom test files in Rust with the new --no-phantom flag in the show and watch commands
  • clarity watch now follows git worktrees

Full Changelog: v0.23.0...v0.24.0

v0.23.0

27 May 02:10

Choose a tag to compare

Changelog

✨ Features

  • Experimental Markdown support — Markdown files are now treated as a first-class source language in the dependency graph, including Hugo support for trailing-slash URLs and _index.md section pages

🐞 Bug Fixes

  • Python: No more self-edges when a file shares its name with a third-party package
  • TypeScript: Baseurl-relative bare imports in tsconfig now resolve correctly
  • JSX: Non-JS extensions in side-effect imports now resolve correctly

Full Changelog: v0.22.0...v0.23.0

v0.22.0

26 May 15:38

Choose a tag to compare

Changelog

✨ Features

  • Rust phantom test nodes — Test files are now detected and rendered as phantom (test-context) nodes
  • Consistent phantom rulesclarity show now uses the same phantom-classification rules as watch mode
  • Wider Rust test-region detection

🐞 Bug Fixes

  • TypeScript: Non-JS/TS imports (CSS, JSON, etc.) now resolve correctly
  • Rust: use paths resolve to the defining file instead of all module siblings
  • Watch mode: Debounce timer re-arms correctly after rebuilds
  • Mermaid: Fixed production-context edge stroke styling

💥 Breaking Changes

  • Dropped JSON support for graph output

Full Changelog: v0.21.0...v0.22.0

v0.21.0

22 May 11:36

Choose a tag to compare

Changelog

✨ Features

  • Show a splash screen when running the root command
  • Discover packages in npm, pnpm, and Yarn workspaces
  • Resolve cross-crate imports in Cargo workspaces
  • Resolve npm and pnpm workspace imports in TypeScript

🐞 Bug Fixes

  • Rust – Braced use groups now expand into one import per symbol
  • Rustpub use re-exports are now followed when resolving imports
  • Extensionless files get their own color in show and watch

⚙️ Internal

  • Add gitleaks job to the security workflow

Full Changelog: v0.20.0...v0.21.0

v0.20.0

18 May 05:15

Choose a tag to compare

Changelog

✨ Features

  • Add experimental Zig language support

🐞 Bug Fixes

  • @/ alias imports now resolve correctly via tsconfig and project-root layouts

⚙️ Internal

  • Remove build timestamp from version metadata

Full Changelog: v0.19.2...v0.20.0

v0.19.2

07 May 10:26

Choose a tag to compare

Changelog

🐞 Bug Fixes

  • Extension colors now remain stable across refreshes in the live watch viewer
  • use super:: imports from non-mod.rs files now resolve correctly between sibling submodules in Rust

🔒 Security

  • Bumped several dev dependencies in /cmd/watch/web (vite, postcss, devalue, flatted, picomatch)

Full Changelog: v0.19.1...v0.19.2