Skip to content

v0.17.0-alpha.0

Pre-release
Pre-release

Choose a tag to compare

@WillYallop WillYallop released this 25 Jul 12:04
· 84 commits to master since this release

Features:

  • Added support for filtering documents by custom fields on related documents, with generated types for implicit and collection scoped relation filters. (5bfea68)
  • Added shared host bootstrapping, runtime-defined host entrypoints and config dependency tracking for framework integrations such as Astro. (32c13e9)
  • Added risk-aware automatic collection migrations, with safe schema changes applied automatically, approval gates for warning and destructive operations, grouped migration status reporting, and runtime schema checks for changed column definitions. The migrate command now uses --yes and --allow-destructive for non-interactive approval. (e822ff5)
  • Added collection-specific document permissions and client integration read scopes, generated automatically for every registered collection. (ff60146)
  • Added checkbox custom field support to document sorting, including admin sort options and generated client sort types. (00d8788)
  • Added per-request IDs to API responses and structured log entries, with incoming X-Request-Id propagation. (e4aa467)

Breaking Changes:

  • Simplified access configuration by removing access from lucid.config and custom permission overrides from collections, environments and workflows. Lucid now uses internal permissions and collection-generated document permissions. (ff60146)
  • Reworked logging around one process-level logger and managed transport objects. Custom logger transports must now implement write(entry) instead of accepting (level, log), may implement flush and destroy, and no longer expose public CLI buffering controls. (e4aa467)
  • CLI errors now render inline on stderr, and the CLI logger no longer exposes formatZodError. (d066c74)
  • Reworked database and runtime lifecycles around explicit connections and invocations. Database adapters now use connect(), createApp is internal, and runtimes use createLucidHost and createInvocation() to manage connections, startup and shutdown. (6cc8443)

Bug Fixes:

  • Fixed datetime fields without defaults repeatedly requiring collection migrations. (2b8faf6)
  • Fixed translation and custom migration package sources failing to resolve in monorepo apps. (872609c)
  • Fixed required rich text custom fields accepting empty editor content. (2a27252)
  • Fixed extra space appearing below the document builder after switching tabs. (385c551)
  • Fixed failed document creates and updates leaving orphaned or empty documents when using database adapters without transaction support. (8e9c911)
  • Fixed unclosed collection and brick repeaters not being reported during config validation. (9e47890)
  • Fixed collection preview URL callbacks including fields from every registered collection. (9e47890)
  • Fixed Vite dynamic import analysis warnings for intentionally runtime-resolved migration and Astro bridge modules during development startup. (971e993)
  • Fixed the document revision history pinning the latest version above newer entries and ignoring auto-save updates when ordering the timeline. (43975e2)
  • Fixed non-HTTP services always using English instead of the configured interface locale. (6cc8443)