Skip to content

Commit 0e2b15e

Browse files
Alan Shumclaude
andcommitted
chore: bump version to v0.4.0 for release
Changelog: adaptive dark/light theme with OSC 11 terminal detection, light theme palette, and CI/pipe-safe startup guards. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 6451d7f commit 0e2b15e

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "semantic-diff"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2021"
55
description = "A terminal diff viewer with AI-powered semantic grouping (Claude CLI / Copilot)"
66
license = "MIT"

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ chmod +x ~/.claude/hooks/refresh-semantic-diff.sh
179179

180180
## Changelog
181181

182+
### v0.4.0
183+
184+
- **Adaptive dark/light theme** — Auto-detects terminal background color via OSC 11 protocol (supports iTerm2, Ghostty, kitty, WezTerm, Alacritty, xterm, VS Code terminal). Falls back to `COLORFGBG` env var. Override with `"theme": "dark"` or `"light"` in config.
185+
- **Light theme** — Full light-background palette with pastel diff colors, dark text, and blue accents for readability on white/light terminals.
186+
- **Terminal detection guards** — Skips background detection in CI, piped stdin, and `TERM=dumb` environments for zero startup overhead.
187+
182188
### v0.3.0
183189

184190
- **Security hardening** — Secure PID file management with atomic writes and ownership validation, path traversal protection in diff parser and config/cache paths, bounded LLM response reading with validated deserialization, UTF-8 safe truncation.

0 commit comments

Comments
 (0)