robotstxt-ai-translator/changelog.txt
2026-05-25 17:12:22 +00:00

67 lines
2.3 KiB
Text

== Changelog ==
= 1.1.0 =
_Release date: 2026-05-25_
**Highlights**
* MultilingualPress integration: new connected posts are automatically translated at creation time.
* Excerpt translation: `post_excerpt` is now a translatable field.
* Removed dependency on the third-party AI plugin — uses the native WordPress 7.0 AI client.
**Added**
* Excerpt field translation (title, content, and excerpt are now independently toggleable).
* MultilingualPress integration: opt-in "Auto-translate new connected posts" toggle in the settings pages. When enabled and MLP creates a new connected post, the plugin translates the enabled fields synchronously into the target site's language.
**Changed**
* `Requires Plugins: ai` removed from plugin headers. `wp_ai_client_prompt()` is native to WordPress 7.0 — the plugin works with any provider configured in Settings → AI.
* "AI not active" admin notice replaced by a "no provider configured" notice, which fires when no provider supports text generation.
**Compatibility**
* WordPress: 7.0 - 7.1
* PHP: 7.4 - 8.5
* WP-CLI: 2.12 or newer
* MultilingualPress: 5.x (optional)
**Tests**
* PHP Coding Standards: WordPress-Core, WordPress-Docs, WordPress-Extra
* PHPCompatibility: 7.4 - 8.5
* PHPStan: level 9
* PHPUnit: 50/50 tests passing (single-site)
= 1.0.0 =
_Release date: 2026-05-23_
**Highlights**
* Initial release of AI Translator (by ROBOTSTXT).
* Translates post title and content from the editor using the official WordPress AI plugin as backend.
* Multisite-ready with global or per-site configuration.
**Added**
* Block editor sidebar panel and Classic editor metabox with target-language selector and a Translate button.
* REST endpoint `POST /wp-json/ai-translator/v1/translate` for editor and external integrations.
* WP-CLI command `wp ai-translator translate` for single-post and bulk translation.
* Network admin settings page with global / per-site mode toggle.
* Site admin settings page with title and content translation toggles.
* Model recommendations table in the settings pages as guidance.
**Compatibility**
* WordPress: 7.0 - 7.1
* PHP: 7.4 - 8.5
* WP-CLI: 2.12 or newer
**Tests**
* PHP Coding Standards: WordPress-Core, WordPress-Docs, WordPress-Extra
* PHPCompatibility: 7.4 - 8.5
* PHPStan: level 9
* PHPUnit: 50/50 tests passing (single-site)