This repository was archived by the owner on Jun 3, 2026. It is now read-only.
Releases: WordPress/wp-ai-client
Releases · WordPress/wp-ai-client
Release list
0.4.0
Breaking Changes
Important: This release includes 3 breaking changes, in light of the Core merge of most of this package:
- The 3 previously bundled providers are no longer bundled. You must install the respective provider plugins:
- If you were using the
Ability_Function_Resolverclass, you must update your plugin's code: The class was changed from static to mostly non-static (i.e. you now need to create an instance of it), and the constructor requires passing in the allowed abilities for the given context. - Since sites may use WordPress 7.0 Beta or later which already includes most of this package's code and its dependencies, it is critical that you no longer use the Composer generated autoloader file. Instead, use this custom autoloader that will handle things conditionally based on the WordPress version used:
require_once __DIR__ . '/vendor/wordpress/wp-ai-client/autoload.php';What's Changed
- Prepares for 7.0 compat and transition by @JasonTheAdams in #60
- Require providing allowed abilities in
Ability_Function_Resolver, and make it non-static (for the most part) by @felixarntz in #61 - Add example for using max tokens by @saarnilauri in #55
- Update
WordPress/php-ai-clientto 1.2.1 by @felixarntz in #63
New Contributors
- @saarnilauri made their first contribution in #55
Full Changelog: 0.3.0...0.4.0
0.3.0
What's Changed
- Update dependencies including
php-ai-clientto 0.3.1 by @felixarntz in #37 - Add REST endpoints and JS store and API to get information about AI providers and models by @felixarntz in #32
- Introduce Props Bot workflow by @jeffpaul in #47
- Update
php-ai-clientto 0.4 and provide relevant WordPress PSR implementations by @felixarntz in #46 - Adds support for restricting prompt execution by @JasonTheAdams in #49
- Force PHP 7.4 compatible version of
psr/simple-cacheby @felixarntz in #53 - Clarify
using_model_preferencebehavior and rationale by @felixarntz in #52 - Update
php-ai-clientto 1.0.0 by @felixarntz in #57
Full Changelog: 0.2.1...0.3.0
0.2.1
What's Changed
- Add
AGENTS.mdby @felixarntz in #31 - Renames
using_abilitytousing_abilitiesby @JasonTheAdams in #36
Full Changelog: 0.2.0...0.2.1
0.2.0
What's Changed
- Update PHP AI Client to 0.3.0 by @felixarntz in #28
- Set a default HTTP request timeout of 30 seconds for all AI requests by @felixarntz in #29
- Implement JS API and necessary REST endpoints by @felixarntz in #27
- Adds Abilities API support by @JasonTheAdams in #33
- Fix minor bugs in JS API by @felixarntz in #34
- Prepare 0.2.0 release by @felixarntz in #35
Full Changelog: 0.1.1...0.2.0
0.1.1
What's Changed
- Notably enhance documentation with additional code examples, including more complex ones by @felixarntz in #25
- Update to PHP AI Client 0.2.1 by @JasonTheAdams in #26
Full Changelog: 0.1.0...0.1.1
0.1.0
What's Changed
- Fix license by @felixarntz in #3
- Enhance linting setup and add basic
READMEandCONTRIBUTINGfiles by @felixarntz in #4 - Add
wp-envandplugin.phpfile to easily test package in WordPress by @felixarntz in #5 - Update license information to GPL-2.0-or-later by @jeffpaul in #7
- Implement API credentials manager with basic settings screen by @felixarntz in #6
- Adds HTTP Client Adapter by @JasonTheAdams in #2
- Git-ignore tool-specific AI config files more comprehensively by @felixarntz in #15
- Implement
Prompt_BuilderandPrompt_Builder_With_WP_Errorby @felixarntz in #13 - Simplify AI client instantiation by having a central method, and warn about missing initialization by @felixarntz in #14
- Add PHPUnit test setup and initial test (for AI_Client) by @felixarntz in #18
- Fix Prompt_Builder method chaining by @JasonTheAdams in #20
- Add comprehensive test coverage for prompt builder by @felixarntz in #21
- Enhance readme to be a bit more comprehensive and remove note on not being ready for usage by @felixarntz in #22
- Prepare initial release by bumping version to 0.1.0 by @felixarntz in #23
New Contributors
- @felixarntz made their first contribution in #3
- @jeffpaul made their first contribution in #7
- @JasonTheAdams made their first contribution in #2
Full Changelog: https://github.com/WordPress/wp-ai-client/commits/0.1.0