v0.14.0-alpha.0
Pre-release
Pre-release
·
176 commits
to master
since this release
Features:
- Added custom migration support for plugins and projects via a new
migrations.sourcesconfig key, with a project rootmigrationsdirectory picked up automatically. (d270b41) - Added a
migrate:newCLI command that scaffolds a timestamped migration file. (d270b41) - Added a read-only
migrate:statusCLI command that reports applied, pending and missing migrations along with pending collection migrations. Pass--checkto exit non-zero when work is pending or history is unhealthy, for use in CI and deploy pipelines. (d270b41) - Added conditional custom field rendering with local field-scope rules, translation-aware resolution and validation that skips hidden fields and containers. (e8e3ff9)
- Added layout-focused custom fields:
addSection/endSectionandaddCollapsible/endCollapsiblebuilder support for grouping fields in the document editor, with anoutput: "nested" | "inline"option controlling whether children nest under the field key in client document responses. (62d98f2) - Added tab support to collection fields, matching the existing brick tab behaviour. (62d98f2)
- Added a
ui.widthoption (12 | 8 | 6 | 4 | 3) to custom fields, rendering field lists on a responsive 12-column grid in the admin with a full-width fallback on mobile. (62d98f2) - Added a
codecustom field with an admin CodeMirror editor, language selection, syntax highlighting, validation, AI generation, configurable languages, and typed client output. (8c44a57)
Breaking Changes:
- Moved the image processor to the adapter pattern that media, KV, emails and queues use for consistency and lifecycle support. The Sharp plugin has been updated to reflect this. (0022b2c)
Bug Fixes:
- Fixed
migrate:resetandmigrate:freshfailing on SQLite based adapters when dropping tables. Core tables contain circular foreign key references (eg. users and media) that no drop order can satisfy, so foreign key enforcement is now disabled (or deferred on D1) while tables are dropped. (d270b41) - Improved config validation for when Lucid is being built. Env vars aren't validated on build and certain required config that is never needed on build has dummy values inserted. This fixes Cloudflare Worker build runner where we cant pass it a config.secrets via an environment variable. (cb0877b)
- Fixed client integration authentication so cached integration metadata can no longer bypass verification of the presented API secret. (652d14b)
- Fixed the document custom field selector sending an invalid
include=fieldsdocument query, which caused validation errors after the typed ref include changes. (421000a) - Fixed localized required custom fields so every configured locale must provide a value. (354f224)
- Fixed document auto-save tracking for document, media and user custom fields so selecting and clearing relation values both retrigger auto-save and keep the save state in sync. (5ce6782)
- Fixed document, media and user custom fields so removing a selected item clears matching validation errors. (5ce6782)
- Fixed JSON custom fields so they default to an empty value, allow blank input, store empty values as
null. (5bf6edb) - Updated client integration scopes so translations are used and options are selected by default. (39e4c80)