Skip to content

Commit fbdee89

Browse files
docs: Update CHANGELOG
1 parent 2dad1ab commit fbdee89

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,30 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
- Added JSON request body support to `HttpContent` and `HttpClientWrapper`, enabling
10+
JSON-encoded API calls via `sendJsonRequestWithBackoff()` and `sendJsonPatchRequestWithBackoff()`.
11+
- Added support for style rules CRUD endpoints in the `DeepLClient` class:
12+
`createStyleRule()`, `getStyleRule()`, `updateStyleRuleName()`,
13+
`updateStyleRuleConfiguredRules()`, and `deleteStyleRule()`.
14+
- Added support for style rule custom instruction CRUD endpoints in the
15+
`DeepLClient` class: `createStyleRuleCustomInstruction()`,
16+
`getStyleRuleCustomInstruction()`, `updateStyleRuleCustomInstruction()`,
17+
and `deleteStyleRuleCustomInstruction()`.
18+
Please refer to the README for usage instructions.
19+
820
### Changed
921
- Updated formality tests to accept either formal or informal output when using default formality,
1022
since the default formality is automatic.
1123
- Updated `testModelType()` to just check if the `model_type_used` is non-null if the `model_type` is specified in the request
1224
- Updated `testMixedDirectionText()` to add a missing `</p>` tag
1325
- Improved `NotFoundException` error message by removing the misleading "check server_url" suggestion.
1426

27+
### Fixed
28+
- Fixed PATCH requests (`sendPatchRequestWithBackoff`) not retrying on 429/5xx errors despite
29+
the method name promising backoff behavior. PATCH requests now use the same retry logic as all
30+
other HTTP methods.
31+
1532
## [1.14.0] - 2025-12-10
1633
### Added
1734
- Added `setTagHandlingVersion()` method to `TextTranslationOptions` to specify which version of the tag handling algorithm to use. Options are `v1` and `v2`.

0 commit comments

Comments
 (0)