directus breaking changes
directus 12.7.0 (November 18, 2026) is its newest release with breaking changes, 10 of them. The first: Env vars without a value in a .env file fall back to the default in directus 12.7.0. Every breaking API change we have recorded in directus on npm: 27 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 12.7.0, released November 18, 2026. Source repository
Its 12.6.0 release requires Node.js 26 or later. Node.js end of life dates.
directus 12.7.0 breaking changes
- Behavior changed
Variables written without a value in a .env file, such as KEY=, are treated as not configured and use the default. Use KEY="" for an intentionally empty value. github.com - Behavior changed
A WebSocket message larger than MAX_PAYLOAD_SIZE (default 1mb) now closes the connection with code 1009. github.com - Behavior changed
A plain number duration such as ACCESS_TOKEN_TTL=900 is now read as milliseconds. Add a unit such as 15m to be explicit. github.com - Behavior changed
GraphQL operations are checked against GRAPHQL_QUERY_SELECTION_LIMIT, $NOW adjustments over 64 characters are unparseable, and dynamic variable paths deeper than 25 segments resolve to their default. github.com - Behavior changed
WebSocket subscription delete events now require read access to at least the id field and no item rules on the events collection. Users who do not meet this will not receive delete events. github.com - Behavior changed
Empty values of string and list env vars are kept as empty instead of using the default. For example, an empty EMAIL_SENDMAIL_PATH is no longer replaced by /usr/sbin/sendmail. github.com - Behavior changed
Filter and deep query parameters are rejected with InvalidQueryError beyond QUERY_FILTER_MAX_NODES or QUERY_FILTER_MAX_DEPTH. Set a limit to Infinity to opt out. github.com - Behavior changed
useEnv
useEnv returns durations and sizes as numbers and lists as arrays, so code that expected raw strings must be updated. github.com - Configuration changed
Boolean env vars now accept only true, false, 1 and 0 (case-insensitive). Other values such as yes are invalid and fall back to the default or false, so update any such values. github.com - Signature changed
The env passed to API extensions is typed as Record<string, unknown> instead of Record<string, any>, so env vars must be narrowed before use. github.com
directus 12.6.1 breaking changes
- Behavior changed
Run Script operations and sandboxed extensions now receive errors as plain objects with name, message, code, status and extensions, not Error instances. Extension code that checks for Error instances must be updated. github.com
directus 12.6.0 breaking changes
- Removed
The minimum required Node.js version is now 26, so Node.js 22 is no longer supported. github.com - Removed
Deprecated provider models were removed, so users must recheck AI assistant settings before using the assistant. github.com - Renamed
x-metadata
List responses now reference #/components/schemas/Metadata, so update any $ref to x-metadata and regenerate clients. github.com - Behavior changed
mcp
Authenticated GET and HEAD requests to /mcp now return 405 Method Not Allowed. github.com
directus 12.5.0 breaking changes
- Removed
CACHE_SCHEMA_MAX_ITERATIONS
CACHE_SCHEMA_SYNC_TIMEOUT now also limits the schema build itself. Remove CACHE_SCHEMA_MAX_ITERATIONS from your configuration. github.com - Removed
downgrade_reason
The /server/license response no longer includes downgrade_reason. Read invalid_reason instead. github.com - Behavior changed
TFA enforcement now accounts for policies with an IP allow list when enforcing TFA within the allowed range. Check users whose TFA enforcement depends on IP-restricted policies. github.com - Behavior changed
License validation now accepts only Directus keys and tokens. Check that existing license values are Directus-issued. github.com - Behavior changed
IMPORT_IP_DENY_LIST
Subnets with malformed prefixes are no longer accepted. Correct any existing values before upgrading. github.com - Behavior changed
ip_access
Subnets with malformed prefixes are no longer accepted. Existing policies storing such values will fail every request for users with that policy, so correct them first. github.com - Default changed
CACHE_SCHEMA_SYNC_TIMEOUT
The timeout now also limits the schema build itself and defaults to 60000 ms. If you configured a lower value, make sure it is long enough for your schema to finish building. github.com
directus 12.4.0 breaking changes
- Behavior changed
The year, month, week, day, weekday, hour, minute and second functions on Oracle return numbers, and year returns the calendar year. github.com - Behavior changed
Reads and writes on inactive collections now fail with a COLLECTION_INACTIVE error. github.com - Behavior changed
deleteByQuery
Deletes now require read access to the primary key field and only affect items the role can read. github.com - Behavior changed
FilesService.uploadOne
Client payloads can no longer overwrite system fields such as uploaded_by and created_on. github.com - Behavior changed
updateByQuery
Updates now require read access to the primary key field and only affect items the role can read. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.