Skip to content

Release/1.2.0 - #46

Merged
jeffpaul merged 5 commits into
trunkfrom
release/1.2.0
Sep 21, 2026
Merged

jeffpaul merged 5 commits into
trunkfrom
release/1.2.0

Conversation

@jeffpaul

Copy link
Copy Markdown
Member

This pull request releases version 1.2.0 of the AI Provider for Google plugin, introducing new features, compatibility updates, and several bug fixes. The most important changes are summarized below.

New features:

  • Added support for text-to-speech conversion via the new GoogleTextToSpeechConversionModel class. This enables generating WAV audio files from text using Gemini, including handling raw PCM audio and wrapping it in a usable format.
  • Introduced a WordPress Playground preview blueprint to streamline testing and demonstration of the plugin, including automatic installation, activation, and configuration for provider requests.

Compatibility and testing:

  • Updated the supported baseline to PHP AI Client 1.3.1 and added automated compatibility testing across PHP 7.4–8.4 with both the lowest and latest supported dependencies.

Bug fixes and improvements:

  • Fixed Google thought signature round-tripping and improved thought token usage compatibility for tool-calling requests, ensuring function calls remain valid in multi-step Gemini conversations. [1] [2] [3]
  • Improved Gemini usage parsing to use Google’s authoritative totalTokenCount when available, with a backward-compatible fallback for older responses. [1] [2] [3] [4]

Documentation and versioning:

  • Updated version numbers and changelog entries throughout the codebase and documentation to reflect the 1.2.0 release. [1] [2] [3] [4] [5]

These changes collectively improve the plugin's feature set, reliability, and compatibility with the latest PHP and WordPress AI Client releases.

@jeffpaul jeffpaul added this to the 1.2.0 milestone Sep 18, 2026
@jeffpaul
jeffpaul requested a review from dkotter September 18, 2026 19:44
@jeffpaul jeffpaul self-assigned this Sep 18, 2026
@jeffpaul
jeffpaul requested a review from a team September 18, 2026 19:44
@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: jeffpaul <jeffpaul@git.wordpress.org>
Co-authored-by: dkotter <dkotter@git.wordpress.org>
Co-authored-by: saarnilauri <laurisaarni@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@saarnilauri saarnilauri left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed in this PR before merging:

  1. tests/ and phpunit.xml.dist will ship to WordPress.org and to Composer consumers.

Both files were added in #40, after 1.1.1. So 1.2.0 is the first release that would carry them. Neither .distignore nor .gitattributes excludes them.

  1. readme.txt Features list doesn't mention text-to-speech.

TTS (#31) is the headline feature of this release, but the Description section still reads "text generation, image generation, and other AI capabilities" with a bullet list of Text generation / Image generation / Function calling / Automatic provider registration. Users browsing the WP.org listing won't see the new capability. It's only in the changelog. Worth adding a * Text to speech conversion with Gemini bullet and touching the intro sentence.

jeffpaul and others added 2 commits September 21, 2026 13:03
Co-Authored-By: Lauri Saarni <36833033+saarnilauri@users.noreply.github.com>
Co-Authored-By: Lauri Saarni <36833033+saarnilauri@users.noreply.github.com>
@jeffpaul
jeffpaul merged commit 69aa003 into trunk Sep 21, 2026
14 checks passed
@jeffpaul
jeffpaul deleted the release/1.2.0 branch September 21, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants