# Directus v12.7.0 - Release & Upgrade Intelligence
- **Product:** Directus (https://directus.io)
- **Version:** v12.7.0
- **Released:** Nov 18, 2026
- **Impact Score:** 9/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/directus/updates/v12.7.0/

## Executive Summary (TL;DR)
Directus v12.7.0 introduces stricter environment variable parsing and new query complexity limits that may break existing configurations. It also adds robust AI integration features and extensive WYSIWYG editor customization options.

## Breaking Changes & Deprecations
- ⚠️ 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))**

## New Features
- AI Image generation flows using OpenAI, Google, or OpenRouter
- AI Text generation flows for structured data
- OpenRouter provider integration
- Enhanced WYSIWYG options for inline images, HTML comments, and legacy attribute preservation
- Single and multiple choice card interfaces with support for icons and images

## Improvements
- Strict environment variable casting with milliseconds and bytes support
- Configurable query complexity limits (nodes, depth, and field selection)
- Native proxy support for storage drivers
- Improved performance for Data Studio field lookups and table rendering

## Bug Fixes
- WebSocket subscription delete events now correctly enforce read permissions
- Enforced payload size limits on WebSocket messages
- Fixed UI regressions in WYSIWYG editor and insights panels
- Updated AI SDK packages to v6
