Skip to content

1.4.0

Latest

Choose a tag to compare

@jeffpaul jeffpaul released this 05 Oct 19:52
e44ed49

Added

  • When comment moderation is run, calculate a value score, providing a relevance signal (0–1) for each comment based on how substantive and on-topic it is relative to the post it was left on. Show this score in a new column on the comment screen (#681).
  • New experiment, Markdown Feeds, that creates markdown feeds at /feed/markdown/ (available in every feed context) and of individual posts and pages via ?output_format=markdown (#855).
  • User-triggered retry for Content Translation if it fails (#941).
  • Limit comment moderation bulk analysis queue size (#972).
  • Storage and CRUD layer for embedding vectors (new wpai_embeddings table) that can be used to recording the provider and model alongside every vector (#976).
  • 9 new default target languages to the Content Translation experiment (#986).
  • Guideline categories support to the Content Translation Ability (#987).
  • New Vector_Math and Vector_Ranker classes, allowing users to run similarity and ranking queries against vectors (#993).
  • Loading indicator for type-ahead suggestion requests (#1029).
  • Integrate Alt Text Generation with the Image block’s decorative setting (#1031).

Changed

  • Bump minimum supported WordPress version to 7.0.3 (#1001).
  • Display specific taxonomy labels in Content Classification notice error messages instead of generic terminology (#916).
  • Show a notice and disable title translation when the post title is too short (#967).
  • Update to the latest version of the embedding code from the
    PHP AI Client (#975).
  • Our generate_embeddings helper function now requires a
    specific embedding model. Pass model (a model ID or a ModelInterface
    instance) and, for a model ID, the provider that offers it. This is a
    breaking change for anyone that happened to start using this function (#975).
  • Update Settings vertical ellipsis icon to tool icon (#1001).
  • The core/read-content and core/read-users abilities are renamed to core/content-query and core/users-query. The old names keep working as deprecated aliases for now (#1002).
  • Use gpt-image-2.5-flare as our default OpenAI image generation model (#1023).
  • The core/read-settings ability has been renamed to core/settings-get. The old name keeps working as a deprecated alias for now (#1087).

Deprecated

  • The ai/get-post-details ability. Use the single-post mode of core/content-query instead (#1002).

Removed

  • Unnecessary URL validation that is now handled by WordPress core (#1011).
  • The Enable AI header toggle from the AI settings page (#985).

Fixed

  • Ensure focus moves to the Accept button when content generation completes in the Content Resizing modal (#917).
  • Increase the default request timeout from 5 seconds to 30 seconds when Core revalidates API keys. If this validation request times out, Core will delete the API key so this is an attempt to fix that (#947).
  • Cached the active SEO plugin detection - with a TTL and immediate invalidation on any plugin activation/deactivation - so meta description meta-key lookups no longer re-scan active plugins on every request (#973).
  • Improves the Content Translation loading animation to preserve existing text and background colors (#977).
  • Settings page failing to render on Gutenberg 23.9+ after @wordpress/dataviews was removed from the private-apis allowlist (#989).
  • Ensure our guidelines integration reads published guideline rows from the wp_knowledge post type instead of the removed wp_guideline so those work with the latest version of Gutenberg. We don't migrate data from the old post type and taxonomy to the new so anyone that had previously set guidelines in an older version of Gutenberg will need to re-add those (#988).
  • Import core's prefixed PSR EventDispatcher in the vendored EmbeddingBuilder (#1005).
  • Reserve space for type-ahead text generation when caret is at the end (#1008).
  • Updated the settings page container min-height so that it spans the full viewport height (#1013).
  • Fix focus style on collapsible card by updating the @wordpress/dataviews package to latest version (#1035).
  • AI Request Logs now records HTTP error responses (4xx/5xx) from providers as error with the status code and message, instead of success; Gemini text generation requests are no longer mislabeled as Metadata (#1040).
  • Hide the "Suggest Reply" button when the inline comment form is in Quick Edit mode (#1049).
  • Editorial Notes only reviewing template blocks when "Show template" mode is enabled in the block editor (#1053).
  • Insert the generated summary into the post content when Show template is enabled (#1055).
  • Aligned the focus styles of Content Classification suggestion pills with the core Button component (#1060).
  • Connector Approvals no longer blocks core's connector key check by attributing it to the provider plugin or to Gutenberg (#1070).
  • Abilities Explorer no longer crashes when an ability's input property lists several types (#1073).
  • Preserve HTML entities and text between shortcodes when normalizing content, while still encoding entity-encoded tags (#1077).
  • Prevent options.php validation error when saving general settings with abilities active (#1080).
  • Ensure post titles, the site tagline and excerpts no longer contain HTML entities in the markdown feeds (#1086).
  • Ensure markdown feeds don't 404 when the rewrite rules were rebuilt without the feed in place (#1110).

Security

  • Ensure we check for the moderate_comments capability before we allow bulk comment moderation and then check for the edit_comment capability for each individual comment that is being moderated (GHSA-pjw7-q94g-4q34).
  • Harden the Playground preview publishing workflow to derive pull request and commit metadata from the triggering workflow run (#978).
  • Harden JSON data parsing on admin screen (#991).

Developer

  • Credits updates (#959).
  • Update plugin screenshots (#960).
  • Update documentation (#969, #990, #1057, #1078, #1082, #1088).
  • Add multisite PHPUnit coverage to CI (#974).
  • Stop measuring vendored SDK code as this plugin's test coverage (#1007).
  • Added unit test coverage for Admin\Deactivation, Admin\Upgrades\Abstract_Upgrade, Logging\AI_Request_Log_Page, Logging\AI_Request_Log_Schema, and Logging\Logging_Integration (#1022, #1033, #1038, #1051, #1056).
  • Update the Playground artifact helper to v4 (#1043).
  • Updated minimum Node.js version to 24.18 and npm to 11.16, matching WordPress Core and Gutenberg (#1067).
  • Shard the E2E suite across three CI jobs and cache node_modules (#1076).
  • Bump brace-expansion from 2.1.2 to 2.1.7, brace-expansion from 1.1.16 to 1.1.21, brace-expansion from 5.0.9 to 5.0.12, brace-expansion from 2.1.4 to 2.1.7 and brace-expansion from 5.0.7 to 5.0.12 (#1097).
  • Bump codecov/codecov-action from 7.0.0 to 7.1.1 (#1039).
  • Bump colord from 2.9.3 to 2.10.0 (#1093).
  • Bump concurrently from 10.0.4 to 10.0.5 (#983).
  • Bump fast-uri from 3.1.5 to 3.1.8 (#1091).
  • Bump filenamify from 7.0.2 to 7.0.3 (#1020).
  • Bump ip-address from 10.5.0 to 10.7.2 (#1094).
  • Bump js-yaml from 4.3.0 to 4.3.2 and js-yaml from 3.15.0 to 3.15.2 (#1090).
  • Bump markdown-it from 12.3.2 to 14.3.2 (#1096).
  • Bump phpstan/php-8-stubs from 0.4.36 to 0.4.43 (#1044, #1059, #1101).
  • Bump phpstan/phpstan from 2.2.9 to 2.2.15 (#1018, #1059, #1101).
  • Bump @playwright/test from 1.62.1 to 1.63.0 (#1045).
  • Bump softprops/action-gh-release from 3.0.2 to 3.0.3 (#1019).
  • Bump svgo from 3.3.4 to 3.3.5 (#1089).
  • Bump szepeviktor/phpstan-wordpress from 2.0.3 to 2.0.4 (#982).
  • Bump WordPress/action-wp-playground-pr-preview from 3.0.0 to 4.0.0 (#1039).
  • Bump @wordpress/admin-ui from 2.7.0 to 2.10.0 (#966, #998, #1046).
  • Bump @wordpress/build from 0.20.0 to 0.24.0 (#965, #997, #1045, #1102).
  • Bump @wordpress/data from 10.44.0 to 10.55.0 (#1035).
  • Bump @wordpress/dataviews from 14.1.0 to 19.0.0 (#1035).
  • Bump @wordpress/e2e-test-utils-playwright from 1.52.0 to 1.54.0 (#965, #997).
  • Bump @wordpress/env from 11.10.0 to 11.15.0 (#1020).
  • Bump wordpress/plugin-check-action from 1.1.7 to 1.1.9 (#964).
  • Bump @wordpress/prettier-config from 4.52.0 to 4.56.0 (#965, #997, #1045, #1102).
  • Bump @wordpress/scripts from 33.0.0 to 36.0.0 (#999, #1020, #1096).
  • Bump @wordpress/ui from 0.19.0 to 0.22.0 (#966, #998, #1046).
  • Bump wp-phpunit/wp-phpunit from 7.0.2 to 7.1.1 (#963, #982, #1044).

New Contributors

Full Changelog: 1.3.0...1.4.0.
View all items closed in the milestone.