Skip to content

Update Directus to v12.7.0 and move off deprecated extensions - #161

Open
LZylstra wants to merge 6 commits into
mainfrom
chore/directus-12.7
Open

LZylstra wants to merge 6 commits into
mainfrom
chore/directus-12.7

Conversation

@LZylstra

@LZylstra LZylstra commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Scope

  • Update all starters to Directus 12.7.0.
  • 12.7 ships Card Select in core, so the CMS templates use it instead of the card-select extension, which is now deprecated (Archive AI operations and Card Select, now built into Directus 12.7 extensions#337).
  • Bring back the AI Ghostwriter and AI Image Generator flows on posts using the new core AI Text and AI Image operations. They replace the deprecated AI extensions and use the provider keys from Settings → AI.
  • The AI flows ship inactive. The free tier allows 5 active flows and the CMS already uses 3. They also wouldn't work until someone adds a key.
  • Update @directus/sdk to 27.2.0 in the CMS frontends.

Potential Risks / Drawbacks

  • Existing projects keep the old card-select extension until they remove it. Only a fresh template apply switches to the core interface.
  • The AI flows default to OpenAI. Anthropic or Google users need to change the model in the flow.
  • Turning on both AI flows on the free tier uses up the 5-flow limit. This is noted in the CMS README.

Tested Scenarios

  • Fresh free-tier 12.7 instance with the CMS template: it applies cleanly, the card selects work, and it uses 3 of 5 flows.
  • AI flows without a key fail with a clear "no API key" message. The rest of each flow works end to end.
  • All frontends build, and the CMS frontends render the same pages as main against 12.7.
  • Not tested yet: a real AI run with a key, and the licensed and i18n templates (they need a license).

Review Notes

Directus 12.7 ships Card Select, which replaces the deprecated @directus-labs/card-select-interfaces extension. Hero layout, form field type and redirect response code move to select-card-radio, gridSize becomes size, and card images reference the file id. The extension is no longer installed.
AI Ghostwriter and AI Image Generator come back on posts using the core operations, which read provider keys from Settings > AI instead of the deprecated ai-writer and ai-image-generation extensions. They ship inactive so a core-tier project stays at 3 of 5 active flows and doesn't show a button that fails until a key is added.
27.2.0 shipped with Directus 12.7 but is still inside the 24h minimumReleaseAge window. Its changes (OpenRouter types, realtime subpath fix) don't affect the starters.
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cms-nextjs Ready Ready Preview Nov 19, 2026 5:45pm UTC
cms-nuxt Ready Ready Preview Nov 19, 2026 5:45pm UTC
cms-svelte Ready Ready Preview Nov 19, 2026 5:45pm UTC
pizza-frontend Ready Ready Preview Nov 19, 2026 5:45pm UTC
starters-nuxt-new Error Error Nov 19, 2026 5:45pm UTC
visual-editor-demo Ready Ready Preview Nov 19, 2026 5:45pm UTC

Request Review

@linear

linear Bot commented Nov 19, 2026

Copy link
Copy Markdown

GROW-224

This branch had an error being deployed

1 failed and 5 active deployments
Preview – pizza-frontend — 2305074b Deployed Nov 19, 2026 by vercel[bot]
Preview – cms-svelte — 2305074b Deployed Nov 19, 2026 by vercel[bot]
Preview – starters-nuxt-new — 2305074b Deployed Nov 19, 2026 by vercel[bot]
Preview – cms-nuxt — 2305074b Deployed Nov 19, 2026 by vercel[bot]
Preview – cms-nextjs — 2305074b Deployed Nov 19, 2026 by vercel[bot]
Preview – visual-editor-demo — 2305074b Deployed Nov 19, 2026 by vercel[bot]
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.

1 participant