Skip to content

Commit cd2ffa1

Browse files
Alan Shumclaude
andcommitted
docs: add v0.5.1 and v0.6.0 changelog entries, update config defaults in README
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 050101e commit cd2ffa1

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,14 @@ On first run, a default config is created at `~/.config/semantic-diff.json`:
118118
// "preferred-ai-cli": "claude",
119119

120120
"claude": {
121-
// Model: "sonnet", "opus", "haiku"
121+
// Model: "haiku" (fast, default), "sonnet" (balanced), "opus" (powerful)
122122
// Cross-backend models mapped automatically (gemini-flash → haiku)
123-
"model": "sonnet"
123+
"model": "haiku"
124124
},
125125

126126
"copilot": {
127-
// Model: "sonnet", "opus", "haiku", "gemini-flash", "gemini-pro"
128-
"model": "sonnet"
127+
// Model: "gemini-flash" (fast, default), "sonnet", "opus", "haiku", "gemini-pro"
128+
"model": "gemini-flash"
129129
}
130130
}
131131
```
@@ -179,6 +179,17 @@ chmod +x ~/.claude/hooks/refresh-semantic-diff.sh
179179

180180
## Changelog
181181

182+
### v0.6.0
183+
184+
- **Untracked file support** — New (untracked) files are now discovered via `git ls-files --others --exclude-standard` and displayed alongside tracked changes. Shown with `[untracked]` badge in the diff view and `[U]` in the sidebar. Binary detection, 1MB size cap, and path traversal validation included.
185+
- **Smart path abbreviation** — Long file paths in the sidebar are automatically abbreviated to fit (e.g. `src/app/components/sales-assistant/routes.ts``s/a/c/s-a/routes.ts`). Filenames are always kept intact; only parent directories are shortened.
186+
- **Structural sampling for LLM** — Untracked files use head/mid/tail sampling (4 lines from each region) instead of showing just the first 4 lines, giving the LLM a better view of the file's purpose for grouping.
187+
- **Fast model defaults** — Default LLM model changed from `sonnet` to `haiku` (Claude) / `gemini-flash` (Copilot) for faster grouping. The classification task works well with fast models. Users can upgrade via `~/.config/semantic-diff.json`.
188+
189+
### v0.5.1
190+
191+
- **Fix** — Show only group-relevant hunks when selecting a file in the sidebar, instead of showing all hunks for that file.
192+
182193
### v0.5.0
183194

184195
- **Drop-in `git diff` replacement** — Use `semantic-diff` as a direct replacement for `git diff` with the same CLI arguments (`--staged`, `--cached`, revision ranges, path filters). Configure as `git config diff.external` for seamless integration.

0 commit comments

Comments
 (0)