Skip to content

Releases: ashbuilds/payload-ai

3.2.24

09 Dec 23:11

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.2.23-beta...3.2.24

3.2.23-beta – Google Gemini Upgrade

02 Dec 20:22
c8c14e7

Choose a tag to compare

Pre-release

What's Changed

  • feat: add full Google Gemini support with the latest text and multimodal models by @fav-devs in #121
  • feat: add Google Imagen support for image generation by @fav-devs in #122

New Contributors

Big thanks to @fav-devs for jumping in and delivering two solid features in one go. Really appreciate the effort and quality 🙌

Full Changelog: 3.2.22-beta...3.2.23-beta

3.2.22-beta

05 Nov 23:01
679a269

Choose a tag to compare

3.2.22-beta Pre-release
Pre-release

What's Changed

Full Changelog: 3.2.21-beta...3.2.22-beta

feat: schema-driven content generation

28 Oct 20:51
157b4a4

Choose a tag to compare

Pre-release

Any breaking changes?

Potentially yes:

  • Removed per-provider generateRichText.ts for OpenAI/Anthropic. The new unified path is src/ai/models/generateObject.ts.
  • AI model handler behavior changed: text/richText handlers now route through generateObject(...) (structured output) instead of streamText(...).

What changed

  • Feature: schema-driven content generation
    A new unified generator generateObject(...) builds structured outputs from LLMs using AI SDK’s streamObject/jsonSchema. This enables honoring payload field metadata (required, hasMany/maxRows, select options, etc.). Also supports providerOptions (e.g., OpenAI strictJsonSchema).

  • Model adapters refactor
    AI model config now calls generateObject(...) and passes along system prompt, tokens, temperature, and optionally a schema. The older generateRichText helpers were deleted.

  • Field → JSON Schema utilities
    New utility to convert Payload field configs into JSON Schema (e.g., text/textarea/number/select + hasMany/maxRows → maxItems, enum, etc.).

  • Compose UI & provider plumbing
    New/updated files for Compose flow, FieldProvider, active field management, and a menu/useGenerate hook, to plug schema-based generation into the UI.

  • Demo collection tweaks
    Posts collection shows how field settings (e.g., hasMany, maxRows, select options, descriptions) now inform the AI generation.


Full Changelog: 3.2.20-beta...3.2.21-beta

3.2.20-beta

06 Oct 21:03
e5c897c

Choose a tag to compare

3.2.20-beta Pre-release
Pre-release

What's Changed

Full Changelog: 3.2.19-beta...3.2.20-beta

3.2.19-beta

29 Sep 17:07

Choose a tag to compare

3.2.19-beta Pre-release
Pre-release

What's Changed

  • Allow more control over Instructions collection, by specifying config overrides and default options in seedPrompts by @panrafal in #105

Full Changelog: 3.2.18-beta...3.2.19-beta

3.2.18-beta

14 Sep 08:29
d903f7e

Choose a tag to compare

3.2.18-beta Pre-release
Pre-release

What's Changed

Full Changelog: 3.2.17-beta...3.2.18-beta

Quality Improvements

11 Sep 21:49

Choose a tag to compare

Quality Improvements Pre-release
Pre-release

What's Changed

Core Improvements

  • Enhanced error logging with proper pino serialisation by @panrafal in #101
  • Configurable prompts and prompt seeding by @panrafal in #102
  • Dynamic collection field exposure as prompt context by @panrafal in #103
  • Image extraction from prompts with message support (v5 upgrade) by @panrafal in #104  
  • Improved developer experience with recommended Payload plugin template in #100

New Contributors

Thanks @panrafal for the stellar contributions! Really appreciate the quality work and looking forward to more collaboration 🙏

Full Changelog: 3.2.16-beta...3.2.17-beta

Localized Content Generation & Language Filtering

05 Aug 21:36
e3e2433

Choose a tag to compare

What's Changed

  • [feat] localized output by @ashbuilds in #96
  • [feat] add locale filtering using enabledLanguages in plugin config by @ashbuilds in #99

Full Changelog: 3.2.15-beta...3.2.16-beta