Skip to content

Latest commit

 

History

History
241 lines (191 loc) · 19.3 KB

File metadata and controls

241 lines (191 loc) · 19.3 KB

Changelog

All notable changes to this project will be documented in this file, per the Keep a Changelog standard, and will adhere to Semantic Versioning.

0.7.0 - 2026-04-09

Added

  • New Experiment: Content Classification to generate taxonomy terms based on post content (#313).
  • New Experiment: SEO Descriptions that provides AI-generated meta description support (#318).
  • Added a bulk "Generate Alt Text" action to Media Library to generate alt text for multiple images at once (#330).
  • Added Category filtering to the Abilities table to improve organization and discoverability (#355).
  • Added extensibility hooks for customizing system instructions, and post context during AI operations (#304).
  • Added a new wpai_has_ai_credentials filter to allow 3rd parties to modify the credential detection logic, for instance to support non-API-key connectors to report their configured status (#337).

Changed

  • Adjust Alt Text Generation to better align with the W3C Alt Text decision tree guidance (#374).
  • Updated AI settings page leveraging modern wp-build DataForm route (#340, #376).
  • Revised Feature and Experiment Lifecycle and other documentation updates (#326, #329).
  • Update some of our system instructions to prompt the LLM to return content in the same language as the original content they were given (#357).
  • Updated end-to-end tests to resolve flaky failures and account for markup changes in the Connectors screen (#360).
  • Updated preferred models to more recent ones for the three default providers (#361).
  • Updated provider compatibility checks to use the AI Client's built-in is_supported_* methods for improved validation and error reporting (#362).
  • Updated the PR preview workflow to use a preferred WordPress version for improved consistency during testing (#366).
  • Switch to using a Button component instead of a ToolbarButton component within the Title Generation Experiment when in normal editing mode (non-template mode) (#375).

Removed

  • Unneeded function_exists checks (#378).

Fixed

  • Improved error messages when Image Generation or Editing fails due to incompatible providers (#332).
  • Fixed an issue where Title Generation could fail when using the Anthropic provider (#341).
  • Invalid schema type in the summarization ability that prevented proper execution in some environments (#347).
  • Fixed an issue where the Generate Alt Text button could appear when an Image block was not selected, particularly when working with Patterns (#356).
  • Fixed an issue where repeated calls to load system instructions could return empty content (#358).
  • Fixed an issue where retrieving post content did not always return the most recently edited version (#367).

Developer

  • Bump flatted from 3.3.3 to 3.4.2 (#328).
  • Bump lodash-es from 4.17.23 to 4.18.1 (#369).
  • Bump lodash from 4.17.23 to 4.18.1 (#370).
  • Bump node-forge from 1.3.3 to 1.4.0 (#371).
  • Bump picomatch from 2.3.1 to 2.3.2 and from 4.0.3 to 4.0.4 (#372).
  • Bump yaml from 1.10.2 to 1.10.3 and from 2.8.2 to 2.8.3 (#373).
  • Updates Composer & NPM to their latest (semver-comptible) versions (#401).

0.6.0 - 2026-03-20

There are Breaking Changes in this release.

Breaking Changes

  • Refactor Experiments to be a type of Feature, improving how functionality is organized and surfaced (#316).

The following classes have been removed. Anyone that was directly using these will need to make updates to utilize the correct replacements: Abstract_Experiment, Invalid_Experiment_Metadata_Exception, Invalid_Experiment_Exception, Experiment_Loader, Experiment_Registry.

  • Standardize the Title Generation Ability to align with other registered Abilities (#227).

The ai/title-generation Ability now uses a context argument instead of a post_id argument in the input_schema. Anyone directly using this Ability will need to make updates to account for that.

Added

  • New Experiment: Image Editing via prompt-based image refining in the Post Editor and Media Library (#292).
  • New Experiment: Image Editing via expanding or removing background and removing or replacing items in the Media Libary (#305, #312).

Changed

  • Rename the plugin from "AI Experiments" to "AI" (#287).
  • Replace Invalid_Experiment_Exception with _doing_it_wrong() (#303).
  • Rename hook prefixes in helpers.php (#315).
  • Rename plugin constants to WPAI_* (#317).
  • Refactor the upgrade routine and add v0.6.0 migrations (#321).
  • Move the Generate Alt Text button to the new Content tab for improved discoverability (#306).
  • Remove stray "AI" references from UI for improved consistency (#320).
  • Update documentation (#314).

Fixed

  • Remove duplicate error display in the Generate Alt Text flow (#255).

0.5.0 - 2026-03-12

Note this version bumps the WordPress minimum supported version from 6.9 to 7.0.

Added

  • Switch to using AI Client bundled in WordPress 7.0 (#275, #301).

Changed

  • Bump WordPress minimum supported version from 6.9 to 7.0 (#272).
  • Bump WordPress tested-up-to version 7.0 (#272).
  • Migrate credentials from the AI Credentials to the new Connectors screen (#286).
  • Improve documentation and plugin assets (#280, #281, #291, #293, #296).

Removed

  • No longer using AI Client via Composer package (#271).

Developer

  • Bump simple-git from 3.30.0 to 3.33.0 (#295).

0.4.1 - 2026-03-06

Fixed

  • Issues with 0.4.0 release merge and deploy (#266).

Developer

  • Bump immutable from 5.1.4 to 5.1.5 (#273).
  • Bump svgo from 3.3.2 to 3.3.3 (#274).
  • Updated Release Instructions documentation (#277).

0.4.0 - 2026-03-05

Added

  • Inline Image Generation directly in the post editor, enabling users to generate images without leaving authoring/editing flows (#235).
  • Generate Image within the Media Library with prompt-based image generation workflows (#258).
  • Generate Review Notes experiment to analyze post content or individual blocks and suggest refinements via Notes comments in the editor (#260, #267).
  • Split editor and admin experiments within the settings page (#232).
  • Contextual help text to the Abilities Explorer screen to assist users in understanding what Abilities are and how to use them (#243).

Changed

  • Update “Generate Summary” button style to use consistent UI with other buttons in the ediot (#253).
  • Standardize Abilities invocation using the runAbility helper to improve consistency across API calls (#228).
  • Make provider labels in the Abilities Explorer translatable and adjust badge styling for clarity (#247).
  • Improve Abilities Explorer table layout by aligning spacing and styles with WordPress admin table conventions (#248).
  • Improve the Ability test page with better internationalization and add copy-to-clipboard functionality (#256).

Removed

  • Remove unused checkbox column from the Abilities Explorer table, as it was not tied to any bulk actions (#246).

Fixed

  • Fix the position and behavior of the “Copy” button in code blocks within the Abilities Explorer (#245).

Developer

  • Bump basic-ftp from 5.1.0 to 5.2.0 (#259).

0.3.1 - 2026-02-18

Fixed

  • Increased image generation request timeout from 30s to 90s to reduce failed generations on slower providers/models (#226).

Developer

  • Added Experiment lifecycle and contribution criteria documentation, plus general doc tidy-ups to better explain how experiments land in (and could eventually graduate from) the plugin (#219).
  • Updated the Pull Request template to include an “AI tools usage” disclosure section, aligned with the equivalent change in core (#217).
  • Bump qs from 6.14.1 to 6.14.2 (#229).

0.3.0 - 2026-02-09

Added

  • Content Summarization Experiment, allowing authors to generate and store AI-powered summaries directly in the post editor (#147).
  • Featured Image Generation Experiment, enabling AI-generated featured images from the editor sidebar with optional alt text and AI attribution metadata (#146).
  • Alt Text Generation Experiment, supporting images within Image blocks and Media Library workflows (#156).
  • “Experiments” and “Credentials” quick action links to the Installed Plugins screen for faster configuration (#206).

Changed

  • Replace the global “Enable Experiments” checkbox with an auto-submitting enable/disable button to reduce friction when toggling experiments (#168).

Fixed

  • Improve robustness of asset loading to handle missing or invalid built files and prevent admin and editor warnings (#175).
  • Add missing strict typing declarations in the Abilities Explorer to ensure consistency and correctness (#208).

Developer

  • Streamline and clarify Contributor and Developer documentation to improve onboarding and reduce duplication (#169).
  • Fix inline documentation issues, including missing @global tags, non-standard hook tags, and incomplete @return descriptions (#207, #210).
  • Bump phpunit/phpunit from 9.6.31 to 9.6.33 as part of ongoing test and tooling maintenance (#209).
  • Expand and align allowed open source licenses in dependency configuration to better match Gutenberg and ecosystem tooling (#212, #213, #214).

0.2.1 - 2026-01-26

Added

  • Introduced a shared AI_Service layer to standardize provider access across experiments (#101).

Changed

  • Documentation updates (#195).

Fixed

  • Guarded against preg_replace() returning null to prevent content corruption in normalize_content() (#177).

Security

  • Change our user permission checks to use edit_post instead of read_post (GHSA-mxf5-gp98-93wv).

Developer

  • Bumped diff from 4.0.2 to 4.0.4 (#196).
  • Bumped lodash-es from 4.17.22 to 4.17.23 (#198).
  • Bumped lodash from 4.17.21 to 4.17.23 (#199).

0.2.0 – 2026-01-20

Added

  • Core excerpt generation support for AI-powered summaries, including a new Excerpt Generation Experiment with editor UI (#96, #143).
  • Abilities Explorer - a new admin screen to view and interact with registered AI abilities in the plugin (#63).
  • Introduce foundational backend support for Content Summarization and Image Generation experiments (API-only; no UI yet) (#134, #136).
  • Improve plugin documentation and onboarding with expanded WP.org readme content (#135).
  • Add Playground preview support to build and PR workflows using the official WordPress action (#144).

Changed

  • Rely on the Abilities API bundled with WordPress 6.9 and remove the previously bundled dependency (minimum WP version updated) (#107).
  • Reorganize Playground blueprints and update demo paths to align with WordPress.org conventions (#137).
  • Improve and clarify plugin documentation, descriptions, screenshots, and in-context messaging (#69, #158, #161, #162, #164).
  • Update and align runtime and development dependencies, including preact, qs, express, and React overrides (#165, #166, #171).
  • Replace custom Plugin Check setup with the official GitHub workflow for more reliable enforcement (#139).

Fixed

  • Resolve UI and messaging issues on the AI Experiments settings screen (#130, #132).
  • Ensure AI Experiments are visible even when no credentials are configured (#173).
  • Fix Plugin Check, linting, and CI failures introduced by updated tooling and workflows (#150, #163, #167, #176).

Developer

  • Cleanup and standardize scaffold, linting, TypeScript, and CI configuration to better align with WordPress Coding Standards (#172).

0.1.1 - 2025-12-01

Added

  • Link to the plugin settings screen from the plugin list table (#98).
  • WordPress Playground live preview integration (#85).
  • RTL language support and inlining for performance (#113).

Changed

  • Updated namespace to ai_experiments (#111).
  • Bumped WP AI Client from dev-trunk to 0.2.0 (#118, #122, #125).

Removed

  • Valid AI credentials check from the Experiment is_enabled check (#120).
  • Example Experiment registration (#121).

Fixed

  • Bug in asset loader causing missing dependencies (#113).

Developer

  • Bumped js-yaml from 3.14.1 to 3.14.2 (#105).
  • Updated format script to only format JS to avoid random JSON file changes (#114).
  • Updated documentation (#108, #112).

0.1.0 - 2025-11-26

First public release of the AI Experiments plugin, introducing a framework for exploring experimental AI-powered features in WordPress. 🎉

Added

  • Experiment registry and loader system for managing AI features
  • Abstract experiment base class for consistent feature development
  • Experiment: Title Generation
  • Basic admin settings screen with toggle support
  • Initial integration with WP AI Client SDK and Abilities API
  • Utilities Ability for common AI tasks and testing