Releases: ashbuilds/payload-ai
3.2.24
What's Changed
- Bump next from 15.4.7 to 15.4.8 by @dependabot[bot] in #123
New Contributors
- @dependabot[bot] apply security fixes in #123
Full Changelog: 3.2.23-beta...3.2.24
3.2.23-beta – Google Gemini Upgrade
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
What's Changed
- chore: compose button fix by @ashbuilds in #117
Full Changelog: 3.2.21-beta...3.2.22-beta
feat: schema-driven content generation
Any breaking changes?
Potentially yes:
- Removed per-provider
generateRichText.tsfor OpenAI/Anthropic. The new unified path issrc/ai/models/generateObject.ts. - AI model handler behavior changed: text/richText handlers now route through
generateObject(...)(structured output) instead ofstreamText(...).
What changed
-
Feature: schema-driven content generation
A new unified generatorgenerateObject(...)builds structured outputs from LLMs using AI SDK’sstreamObject/jsonSchema. This enables honoring payload field metadata (required, hasMany/maxRows, select options, etc.). Also supportsproviderOptions(e.g., OpenAIstrictJsonSchema). -
Model adapters refactor
AI model config now callsgenerateObject(...)and passes along system prompt, tokens, temperature, and optionally aschema. The oldergenerateRichTexthelpers 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
Postscollection shows how field settings (e.g.,hasMany,maxRows,selectoptions, descriptions) now inform the AI generation.
Full Changelog: 3.2.20-beta...3.2.21-beta
3.2.20-beta
What's Changed
- feat: disable Compose button per field by @ashbuilds in #110
Full Changelog: 3.2.19-beta...3.2.20-beta
3.2.19-beta
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
What's Changed
- [fix] duplicate enum issue with model names by @ashbuilds in #107
Full Changelog: 3.2.17-beta...3.2.18-beta
Quality Improvements
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
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