You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,43 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
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.
0 commit comments