feat(v12): cms-i18n/nuxt #127
Merged
bryantgillespie merged 13 commits intoJul 11, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bump Directus SDK packages, enable server token for translation queries, handle published/draft version keys, harden form submission, and skip circular redirects.
LZylstra
force-pushed
the
v12-update-cms-i18n-nuxt
branch
from
June 12, 2026 22:10
ddad949 to
bdf3e96
Compare
…into v12-update-cms-i18n-nuxt
…12-update-cms-i18n-nuxt
bryantgillespie
merged commit Jul 11, 2026
32fc4c8
into
v12-update-directus-foundation
6 checks passed
bryantgillespie
added a commit
that referenced
this pull request
Jul 20, 2026
* feat(v12): Directus foundation — docker, templates, RBAC Upgrade all starter Directus runtimes and templates to v12 with tier-aware permissions, RBAC codegen/sync tooling, and licensed template variant. * Code cleanup * Fix format * Remove admin env setup * Fix PR feedback * Remove planning doc * feat(v12): cms/nuxt (#123) * feat(v12): cms/nuxt — SDK 22 and versioning Bump Directus SDK packages, handle published/draft version keys, harden form submission, and skip circular redirects. * cleanup: cms/nuxt — v12 version handling, FormBuilder submit state * Cleanup * Fix className issue * Update version handling and tokens * Form validation updates * Fix VE in live preview * Fix VE draft pages * fix cms form validation and legacy preview --------- Co-authored-by: bryantgillespie <hey@bryantgillespie.com> * feat(v12): cms-i18n/nextjs (#125) * feat(v12): cms-i18n/nextjs — SDK 22 and i18n fetch fixes Bump Directus SDK packages, handle published/draft version keys, fix i18n globals fetch permissions, harden form submission, and skip circular redirects. * cleanup * Cleanup * Node update * Update version handling and tokens * Form validation updates * Fix VE in live preview * Fix VE draft pages * Fix cms i18n visual editing review issues --------- Co-authored-by: bryantgillespie <hey@bryantgillespie.com> * feat(v12): cms/sveltekit (#124) * feat(v12): cms/sveltekit — SDK 22 and versioning Bump Directus SDK packages, update schema types, handle published/draft version keys, harden form submission, and skip circular redirects. * cleanup: cms/sveltekit — v12 version handling and stale TODO * Cleanup * Checkbox fix * Update version handling and tokens * Form validation updates * Fix VE in live preview * Fix VE drafts * Guard inactive form submissions --------- Co-authored-by: bryantgillespie <hey@bryantgillespie.com> * fix: migrate pnpm settings for pnpm 11 * fix: limit pnpm migration to changed frontends * feat(v12): cms/astro (#126) * feat(v12): cms/astro — SDK 22 and versioning Bump Directus SDK packages, regenerate schema types, handle published/draft version keys, harden form submission, and skip circular redirects. * Cleanup * Remove extra comment * Cleanup * Fix indentation and type * Update version handling and tokens * Form validation updates * Fix for draft posts * Fix VE with live preview * Fix VE draft pages * fix(astro): harden preview and form submissions --------- Co-authored-by: bryantgillespie <hey@bryantgillespie.com> * feat(v12): cms-i18n/nuxt (#127) * feat(v12): cms-i18n/nuxt — SDK 22 and i18n server token Bump Directus SDK packages, enable server token for translation queries, handle published/draft version keys, harden form submission, and skip circular redirects. * Error handling * Align with other template * Cleanup * Updated version and token handling * Fix VE in live preview * Fix VE draft pages * fix: harden Nuxt visual editing and APIs --------- Co-authored-by: bryantgillespie <hey@bryantgillespie.com> * fix: unblock astro ci build * feat(v12): cms/nextjs (#122) * feat(v12): cms/nextjs — SDK 22 and versioning Bump Directus SDK packages, handle published/draft version keys, harden form submission, and skip circular redirects. * Cleanup * Updates to version and token handling * Form validation updates * Fix VE in live preview * Fix VE draft pages * Fix formatting * Fix Next.js preview editing and form submit * fix(nextjs): harden forms and visual editing --------- Co-authored-by: bryantgillespie <hey@bryantgillespie.com> Co-authored-by: Bryant Gillespie <bryant@directus.io> * fix: unblock nextjs ci build * fix: support vercel nextjs pnpm install --------- Co-authored-by: bryantgillespie <hey@bryantgillespie.com> Co-authored-by: Bryant Gillespie <bryant@directus.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
DIRECTUS_SERVER_TOKENon server Directus client so licensed translation deep queries work (matches Next.js starter).seois JSON, not a translations subfield) and alignpages/onedeep query with Next.js.version=publishedthe same as legacyversion=main; forwarddraftfor live preview.Stacked on #121 (foundation). Part of v12-update integration branch.
Potential Risks / Drawbacks
DIRECTUS_SERVER_TOKENincms-i18n/nuxt/.env(documented in README).Tested Scenarios
pnpm buildincms-i18n/nuxt/es/returns 200GET /api/pages/one?permalink=/&locale=es-ESreturns Spanish homepageReview Notes
cms-i18n/nuxt/. Compare with feat(v12): cms-i18n/nextjs #125 (cms-i18n/nextjs) for i18n patterns.