v1.3.0
This commit is contained in:
parent
44e2366e16
commit
8716024cd2
1 changed files with 322 additions and 121 deletions
|
|
@ -1,5 +1,35 @@
|
|||
== Changelog ==
|
||||
|
||||
= 1.3.0 =
|
||||
|
||||
_Release date: 2026-11-04_
|
||||
|
||||
**Highlights**
|
||||
|
||||
* New "AI provider" setting: pin translations to a specific configured AI provider instead of relying on the WordPress AI client automatic selection.
|
||||
|
||||
**Added**
|
||||
|
||||
* "AI provider" dropdown in the site and network settings pages. Options: "Automatic (WordPress picks the provider)" (default, previous behavior) and every provider registered with the WordPress AI client that has configured credentials. The selection is applied server-side through the AI client's `using_provider()` API to every translation path (editor REST endpoints, WP-CLI, MultilingualPress integration). Submitted values are validated against the live provider list; unknown or deconfigured providers fall back to "Automatic" when the form is saved.
|
||||
|
||||
**Changed**
|
||||
|
||||
* `AI_Translator_Admin::__construct()` now requires a third parameter, `AI_Translator_Translator $translator`. Third-party code constructing this internal class directly must pass it.
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 7.0 - 7.2
|
||||
* PHP: 8.3 - 8.6
|
||||
* WP-CLI: 2.12 or newer
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHP Coding Standards: WordPress-Core, WordPress-Docs, WordPress-Extra (0 errors, 0 warnings)
|
||||
* PHPCompatibility: 8.3 - 8.6 (declared range) and 5.6 - 8.6 (informational full range) — 0 errors
|
||||
* PHPStan: level max/10, no baseline (incl. wp-compat @ Requires at least 7.0)
|
||||
* PHPUnit: 68/68 tests passing (single-site) on WordPress 7.2-beta4 / PHP 8.6, including new tests for the provider setting and the provider list helper
|
||||
* composer audit: no known CVEs
|
||||
|
||||
= 1.2.4 =
|
||||
|
||||
_Release date: 2026-11-04_
|
||||
|
|
|
|||
Loading…
Reference in a new issue