Skip to content

Commit 2b4bf00

Browse files
🔮 Release v2.0.4
1 parent 14c27a9 commit 2b4bf00

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
## [2.0.4] - 2026-01-09
2+
3+
This release improves **API key management** with config-based credential resolution, adds **Google/Gemini support** for parallel analysis subagents, and strengthens error handling across provider operations.
4+
5+
### Added
6+
7+
- ✨ Add Google/Gemini provider support for `parallel_analyze` subagents, enabling concurrent analysis with all three providers (14c27a9)
8+
- ✨ Add `api_key_if_set()` helper to `ProviderConfig` for cleaner empty-string handling when extracting keys
9+
- ✨ Add `ApiKeySource` enum to track API key resolution path (config → environment → client default) for debugging
10+
- ✨ Add `validate_api_key_format()` method to `Provider` for early detection of misconfigurations (prefix and length checks)
11+
- ✨ Expand OpenAI API key validation to accept both `sk-` and `sk-proj-` prefixes for project-scoped keys
12+
13+
### Changed
14+
15+
- 🔧 Pass API keys from config to provider builders instead of requiring environment variables for all clients (25e293b)
16+
- 🔧 Thread `api_key` through all agent builder paths including main agents, subagents, and debug agents
17+
- 🔧 Update `StatusMessageGenerator` to accept and use API keys from config
18+
- 🔧 Provider builder functions (`openai_builder`, `anthropic_builder`, `gemini_builder`) now accept optional API key parameters with environment fallback
19+
- 🔧 Make `resolve_api_key()` and `ApiKeySource` public in provider module for reuse across codebase
20+
21+
### Fixed
22+
23+
- 🐛 Remove silent fallback to OpenAI in `parallel_analyze` when requested provider fails—now returns clear error message (713a9fe)
24+
- 🐛 Handle errors in LLM builder functions with context-aware error returns using `anyhow` instead of panics (4019c3b)
25+
26+
### Security
27+
28+
- 🔒 Prevent API key exposure in error messages by sanitizing client creation errors (aeefd91)
29+
- 🔒 Remove key prefix display from validation errors, using generic "unexpected prefix" message
30+
- 🔒 Update test assertions to verify error messages don't contain key fragments
31+
32+
### Metrics
33+
34+
- Total Commits: 6
35+
- Files Changed: 7
36+
- Insertions: +548
37+
- Deletions: -53
38+
139
## [2.0.3] - 2025-12-31
240

341
Patch release fixing GitHub Action installation failures caused by asset naming mismatches.

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 = "git-iris"
3-
version = "2.0.3"
3+
version = "2.0.4"
44
edition = "2024"
55
authors = ["Stefanie Jane <stef@hyperbliss.tech>"]
66
description = "AI-powered Git workflow assistant for smart commits, code reviews, changelogs, and release notes"

0 commit comments

Comments
 (0)