feat(v12): Directus foundation#121
Open
LZylstra wants to merge 17 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Jun 12, 2026
Merged
Merged
LZylstra
force-pushed
the
v12-update-directus-foundation
branch
from
June 12, 2026 20:30
57a732a to
9390908
Compare
Merged
Upgrade all starter Directus runtimes and templates to v12 with tier-aware permissions, RBAC codegen/sync tooling, and licensed template variant.
LZylstra
force-pushed
the
v12-update-directus-foundation
branch
from
June 12, 2026 20:36
9390908 to
fa004d4
Compare
* 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 — 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>
* 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 — 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>
* 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>
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
main→published)._shared/rbac/as the permissions source of truth withpnpm rbac:codegen(CI check) andpnpm rbac:sync-licensedfor live core→licensed upgrades without re-applying the template.cms/directus/template-licensed/variant and wire it incms/package.jsonfor Team-tier RBAC.globals_translationsinsideglobals.json(template-cli loads singletons after regular collections)..cursor/and.claude/in gitignore so local plan/agent files stay out of PRs.Part of the v12-update integration branch. Framework SDK PRs stack on this branch.
Potential Risks / Drawbacks
pnpm rbac:sync-licensed(documented).Tested Scenarios
pnpm validate(validate-templates.js) passespnpm rbac:codegen:checkpassesdocker compose up,directus-template-cli apply ./template. Studio loads, pages renderpnpm rbac:sync-licensedon existing cms instanceReview Notes
_shared/rbac/.