Skip to content

v0.8.0-alpha.0

Pre-release
Pre-release

Choose a tag to compare

@WillYallop WillYallop released this 18 Aug 16:53
· 1242 commits to master since this release

Features:

  • Implemented a new document custom field type so you can define relationships between documents. (a9da47d)
  • New pages plugin added, that enables support for slugs and parent pages on given collections. Computes a fullSlug based on ancestor documents that makes fetching the document based on browser location possible. (bd495f8)
  • Document custom field queries updated to return target documents collection fields in its meta - works for internal and client document endpoints. (622dfeb)
  • Title and alt translations format update for the media custom field meta so that it matches the format of the translations and meta. (5d3127f)

Breaking changes:

  • Hook and email strategy response format updated to match that of services and media strategies. (2db7995)
  • Hook functions now use same type as services do internally to keep consistent and give the ability for hooks to use services, db and config from Lucid. (5cebd3c)
  • Migration file edit for the document custom field. (88db286)
  • Builders, adapters and some utilities have had their exports moved from the root of core to a more appropriate path. (24f0c11)

Bug Fixes:

  • Fixed user, media and doc validation by having null/undefined check happen before data exists check which is now also moved into the respective custom field. (867015f)
  • Fixed delete document bug where field document_id wasn't being set null on cascade as expected because we don't actually delete documents - only soft delete them. (8881ea3)
  • Fixed create document bug causing state to reset when collection endpoint was called when opening the select document modal. (2335583)
  • Successfully creating a single collection document now invalidates collection.getAll key so that the collection navigation knows not to take you back to the create page for that collection. (34240c7)
  • Fetch single collection now uses collection key param in query - before it was possible to fetch documents from other collections despite being seemingly scoped to a collection via the endpoint. (ee2b336)
  • Fixed issue causing brick store to get reset when the document select modal fetched collection config, as well as a document fetch issues when changing documents. (c93937c)
  • Moved away from local version of Kysely’s ParseJSONResultsPlugin now that the LibSQL adapter is no longer using @‌libsql/hrana-client which was returning an immutable response. (7b97c53)