Skip to content

Commit 3fdd858

Browse files
committed
Merge branch 'main' into develop
2 parents 3fc7673 + ab5d63b commit 3fdd858

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,43 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.7.0] – 2025-08-09
8+
9+
### Added
10+
- **JSON translation**
11+
- New `--format=json` in CLI and API.
12+
- `JsonValidator` (syntax) and `Schema` (structure capture/compare) for pre- and post-translation checks of JSON containers.
13+
- DeepLDriver: JSON support via safe punctuation placeholders and restoration on parse.
14+
- Samples: added some JSON samples.
15+
- **Multiple prompt templates**
16+
- `promptKey` in `Bblslug::translate()` and CLI flag `--prompt-key`.
17+
- `Bblslug::listPrompts()` and `--list-prompts` to inspect available templates.
18+
- All drivers aligned to the new templating.
19+
- **Progress callback**
20+
- `onFeedback(?callable)` progress callback with levels `info|warning|error`, wired to `--verbose` in CLI.
21+
- **Input length guard**
22+
- `TextLengthValidator` — early check of prepared input against model limits (`max_tokens`, `max_output_tokens`, `estimated_max_chars`, ~4 chars/token heuristic).
23+
- **Models**
24+
- OpenAI: add GPT-5 family (`gpt-5`, `gpt-5-mini`, `gpt-5-nano`).
25+
- X.ai: removed deprecated `grok-3-fast` and `grok-3-mini-fast` due to anouncement.
26+
27+
### Changed
28+
- **Registry & usage metrics**
29+
- OpenAI: expose reasoning tokens (`completion_tokens_details.reasoning_tokens`); set explicit limits for GPT-4o / GPT-4o-mini / GPT-4 / GPT-4-turbo.
30+
- Google: account for `thoughts` in usage; keep `gemini-2.0-flash` defined and listed after the 2.5 family.
31+
- xAI: normalized usage keys; explicit limits for `grok-4`, `grok-3`, `grok-3-mini`.
32+
- **Docs & CLI**
33+
- README updated: model list, `onFeedback`, examples with `promptKey` and `--list-prompts`.
34+
- CLI: shows progress messages when `--verbose` is enabled.
35+
36+
### Fixed
37+
- **Truncation handling**
38+
- OpenAI & Anthropic: detect `finish_reason=length` and fail fast with a clear error.
39+
40+
### Breaking changes
41+
- **X.ai Grok models**
42+
- Models `grok-3-fast` and `grok-3-mini-fast` has been completely removed.
43+
744
## [0.6.0] – 2025-08-01
845

946
### Added

0 commit comments

Comments
 (0)