Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Releases: WordPress/wp-ai-client

0.4.0

Choose a tag to compare

@felixarntz felixarntz released this 01 Mar 20:30
f53a17e

Breaking Changes

Important: This release includes 3 breaking changes, in light of the Core merge of most of this package:

  1. The 3 previously bundled providers are no longer bundled. You must install the respective provider plugins:
  2. If you were using the Ability_Function_Resolver class, 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.
  3. 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-client to 1.2.1 by @felixarntz in #63

New Contributors

Full Changelog: 0.3.0...0.4.0

0.3.0

Choose a tag to compare

@felixarntz felixarntz released this 20 Feb 04:23
ae559d9

What's Changed

  • Update dependencies including php-ai-client to 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-client to 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-cache by @felixarntz in #53
  • Clarify using_model_preference behavior and rationale by @felixarntz in #52
  • Update php-ai-client to 1.0.0 by @felixarntz in #57

Full Changelog: 0.2.1...0.3.0

0.2.1

Choose a tag to compare

@JasonTheAdams JasonTheAdams released this 04 Dec 20:15
3abf133

What's Changed

Full Changelog: 0.2.0...0.2.1

0.2.0

Choose a tag to compare

@JasonTheAdams JasonTheAdams released this 02 Dec 00:20
152992c

What's Changed

Full Changelog: 0.1.1...0.2.0

0.1.1

Choose a tag to compare

@JasonTheAdams JasonTheAdams released this 21 Nov 22:58
3c1f14f

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

Choose a tag to compare

@felixarntz felixarntz released this 14 Nov 22:00
9037ede

What's Changed

  • Fix license by @felixarntz in #3
  • Enhance linting setup and add basic README and CONTRIBUTING files by @felixarntz in #4
  • Add wp-env and plugin.php file 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_Builder and Prompt_Builder_With_WP_Error by @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

Full Changelog: https://github.com/WordPress/wp-ai-client/commits/0.1.0