# Migration Context: Directus v11 -> v12 # Generated by Changelogs.us: 2026-11-30T03:04:37.406764+00:00 # Target Version: v12.7.0 # Upgrade Command: N/A # Breaking Changes: 20 # Security Fixes: 0 ## Executive Summary Upgrading Directus from 11 to 12 involves 15 releases with risk rating High. ## Breaking Changes List: - [vv12.0.0] Enforcement is immediate on new instances. Instances upgrading to Directus 12 get a 30-day [grace period](https://directus.com/docs/releases/breaking-changes/version-12#post-upgrade-grace-period) from the time of upgrade, after which these are enforced unless a license that enables them is configured.: - [vv12.0.0] - Breaking Change: Relicensed from BUSL-1.1 to MSCL-1.0-GPL (Monospace Sustainable Core License, Version 1.0).: - [vv12.0.0] - Potential breaking change for theme extensions: headerShadow and sidebarShadow removed from LayoutConfig interface: - [vv12.0.0] - Potential breaking change for theme extensions: boxShadow removed from header theme rules schema: - [vv12.0.0] - Potential breaking change for theme extensions: sidebarShadow no longer exposed in layout wrapper state: - [vv12.0.0] - Potential breaking change in theme extensions: Removed `navigation.project.borderColor` / `navigation.project.borderWidth` / `navigation.project.background` from theming. No action is required - these props will simply no longer have any effect.: - [vv12.0.0] - **Breaking change - new behavior for versioned collections** Published items in versioned collections are now locked. Edits must be made through the draft version.: - [vv12.0.0] - Potential breaking change for extensions: The `rounded` prop has been removed from `v-button`. Extensions using `rounded` will still render correctly but buttons will appear as rounded rectangles instead of circles. No functional impact.: - [vv12.1.0] ⚠️ Potential Breaking Changes - **@directus/api**: - [vv12.2.0] ⚠️ Potential Breaking Changes **Restricted the settings fields readable with minimal app access to those actually needed by non-admin users, no longer exposing admin-only and sensitive AI configuration fields ([#27996](https://github.com/directus/directus/pull/27996))**: - [vv12.3.0] ⚠️ Potential Breaking Changes **Fixed storage connections leaking when asset requests were cancelled or a transformation failed, which eventually made every asset request return a permission error until Directus was restarted ([#28076](https://github.com/directus/directus/pull/28076))**: - [vv12.3.0] - Fixed WebSocket rate limiting breaking on shared Redis setups where keys must start with a per-project prefix. The WebSocket limiter now accepts `RATE_LIMITER_WEBSOCKETS_*` values as overrides, including `RATE_LIMITER_WEBSOCKETS_KEY_PREFIX` to override the Redis key prefix. ([#28107](https://github.com/directus/directus/pull/28107) by @AlexGaillard): - [vv12.4.0] ⚠️ Potential Breaking Changes **Updated MapLibre GL JS from 1.15.3 to 6.9.0 ([#28216](https://github.com/directus/directus/pull/28216))**: - [vv12.4.0] Breaking changes in `@directus/sdk`: - `DirectusRelation.meta` and `DirectusRelation.schema` are now nullable: - [vv12.4.0] Breaking changes in `@directus/types`: - `Policy.enforce_tfa` is no longer nullable - `Share.name`, `role`, `password`, `user_created`, `date_created` and `times_used` are now nullable: - [vv12.5.0] ⚠️ Potential Breaking Changes **Fixed TFA enforcement to use effective permissions ([#28176](https://github.com/directus/directus/pull/28176))**: - [vv12.5.0] Breaking changes in `@directus/sdk`: - `DirectusNotification.id` is now correctly typed as `number`. - `DirectusField.schema` is now nullable.: - [vv12.5.0] Breaking changes in `@directus/types`: - `Notification.id` is now correctly typed as `number`. - `Notification.status` and `timestamp` are now nullable.: - [vv12.6.0] ⚠️ Potential Breaking Changes **Added recommended default AI allowed models that update with Directus releases and apply while the setting is unset (null). ... ([#28344](https://github.com/directus/directus/pull/28344))**: - [vv12.7.0] ⚠️ Potential Breaking Changes **Improved typing of `@directus/env` to contain known env vars and added `milliseconds` and `bytes` cast types for human... ([#28282](https://github.com/directus/directus/pull/28282))**: ## Instructions for AI Assistant: When migrating user code from Directus 11 to 12, scan for the deprecated APIs and breaking changes above and refactor code to use modern vv12.7.0 idioms.