Skip to content

Releases: ProtoDigitalUK/lucid_cms

v0.10.2-alpha.0

02 Dec 12:23
Compare
Choose a tag to compare
v0.10.2-alpha.0 Pre-release
Pre-release

Bug Fixes:

  • Fixed cookie functionality broken when explicitly awaiting frontend plugin registration in Fastify. (21b530f)

v0.10.1-alpha.0

01 Dec 23:46
Compare
Choose a tag to compare
v0.10.1-alpha.0 Pre-release
Pre-release

Features:

  • Admin SPA is now built programatically on start instead of serving the pre-built SPA as we did before. This means down the line we can support plugins registering custom components and routes and have them built into the client bundle.

v0.10.0-alpha.0

23 Nov 21:11
Compare
Choose a tag to compare
v0.10.0-alpha.0 Pre-release
Pre-release

Features:

  • Support for revisions, drafts and published document versions. Document data is now never lost, and past revisions can be restored.
  • New publish content permission added to control who can publish documents. There is now fine grained control for creating, updating drafts, publishing documents and restoring revisions. (26956a6)
  • Pages plugin has been updated to support new document versioning system. (2943e91)
  • New version promote hook added thats fires when a version has been restored. (c3aadc5)
  • Collection details config now supports translations allowing you to create a better experience to content editors. (795ffdc)
  • WebP is now prioritised over AVIF for the on-request image optimisation when the Accept header is being used. (b7ee0ff)

Breaking changes:

  • Collections migration edits to support new versions and revisions tables. You’ll need to delete any existing DB. (a107840)
  • The route to upsert documents has now been split up for creating a document, updating a draft and updating the published version. (26956a6)
  • The translations and locked config keys on the collection builder have been renamed for clarity and consistency. (1642943)
  • Collection builder field list and filterable flags moved directly into field config instead of being a separate param in the aims to simplify field config. (fd16c67)
  • Collection builder config updated to be more consistent and descriptive. (96fdc62)
  • Brick builder config updated to be more consistent and descriptive. (c4743b1)
  • Field config updated to be more consistent and descriptive. (529ee7c)

Bug Fixes:

  • Removed redundant Buffer creation in process image stream. (09796bf)

v0.9.0-alpha.0

26 Sep 18:57
Compare
Choose a tag to compare
v0.9.0-alpha.0 Pre-release
Pre-release

Features:

  • CMS UI rework. Looks better, no longer requires JS to work out content height in main layout and panels, better loading, error, no data state handling and colour changes.
  • Lucid start function now has optional config for the port and host. (b1bf97e)
  • @‌lucidcms/core/api import now has export for serviceWrapper and route helper, giving more options to plugin developers and extending your instance. (16c0c58)
  • Fastify plugins can now be registered via the lucid.config.ts/js giving plugins the ability to register endpoints etc. (0a1d542)
  • Repeater groups and bricks in the document page builder now have a nice animation when being drag and dropped to change their order. (d4764e0)

Breaking changes:

  • dotenv package is no longer imported and called within core and so if you want to use environment variables within your project that is on you to configure. (b1bf97e)
  • Media strategies now require a service to create a signed URL for the client to upload to. (58c846c)
  • Media strategies now require a service to fetch metadata on given key. (2e869a8)
  • Media strategy no longer requires the updateSingle service. (67cc279)

Bug Fixes:

  • Fixed link custom field issue to do with the default value being a string instead of link object. This meant in the CMS when a new link field was added, the value was set wrong causing it to error on save. (e775ab9)

v0.8.0-alpha.0

18 Aug 16:53
Compare
Choose a tag to compare
v0.8.0-alpha.0 Pre-release
Pre-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)

v0.7.0-alpha.0

28 Jul 13:31
Compare
Choose a tag to compare
v0.7.0-alpha.0 Pre-release
Pre-release

Features:

  • Document builder visual overhaul along with QOL changes to UI across the SPA.
  • Error message revamp for SPA document page builder with support for tabs highlighting if an error resides within it. (c283824)
  • Added support for returning nested repeater fields on client/toolkit document single and multiple fetches. (befb65a)
  • Image media now includes a blur hash that is generated on upload. (7ee6461)
  • Image media no includes average colour RGBA value and is light/dark information. (be2a254)
  • Holding page styled and content added. (b8ab6d0)

Breaking changes:

  • Response format of client document endpoints is updated to return a field object instead of array to make consuming data easier. (11aa7ce)
  • Existing migration file edit for media blur hash, average colour columns meaning db will need to be re-created. (be2a254)
  • Response type of media strategies update to use ServiceResponse type to fall inline with how internal services work. (af95561)
  • Clear single processed image route fix to use media ID instead of key due to key containing slashes now. (f340b2f)

Bug Fixes:

  • Fixed upsert document not updating the updated_at field. (764f078)
  • Fixed issue with updated media panel trying to refetch deleted media when panel was closed. (0b042db)
  • Flatten fields helper now adds field for every locale regardless if the locale has been given in the payload which fixes issues with required validation. (65bd6ae)

v0.6.0-alpha.0

07 Jul 11:07
Compare
Choose a tag to compare
v0.6.0-alpha.0 Pre-release
Pre-release

Features:

  • Client integration endpoints and authentication middleware added along with settings area for it within the SPA. (4ef95c2)
  • Rate limiting added to the API and messaging within SPA. (3d73bf2)
  • Users now have their own secret generated and stored against them for hashing their password with argon2. It’s also setup to regenerate whenever a password is updated. (6a10b44)
  • Fetch documents client endpoint added along with toolkit support. (fbcf50f)
  • Fetch all locales client endpoint added along with toolkit support . (5e54359)

Breaking changes:

  • Lucid config keys have new validation schema - they are now required to be 64 characters long. (e45701d)

Bug Fixes:

  • Fixed bug on processed image where we didn't wait for the upload to finish. (cbc7a84)
  • Fixed issue where serviceWrapper didn't return result of fn if it wasn't within a transaction - caused 30ms delay on requests in some places. (b2e92fe)
  • Fixed serviceWrapper bug that meant default error wasn't being merged into the fn error result. (51412f8)
  • Fixed bug with render template service where template data wasn't being passed down correctly. (ef30d80)
  • Fixed issue with get multiple filtered collection docs where it required collection fields to be included for them to be filterable. (9c672dc)

v0.5.0-alpha.4

22 Jun 14:41
Compare
Choose a tag to compare
v0.5.0-alpha.4 Pre-release
Pre-release

Features:

  • Multiple tests added for custom fields and builders along with new validation rules.
  • Reworked service wrapper to support transactions, schema validation, default errors and errors as values. (9f12aa4)
  • Improved error handling for database migrations and Lucid server. (131edc0)
  • New cronjob added to clear locales that have been deleted for 30 days. (3c1b7ea)

Bug Fixes:

  • Fixed issue with media and user validation where if no value was selected it would error regardless of validation rules due to validate method not being called and default valid state being false. (b3b3e27)

v0.5.0-alpha.3

13 Jun 10:15
Compare
Choose a tag to compare
v0.5.0-alpha.3 Pre-release
Pre-release

Bug Fixes:

  • Fixed format insert field not using brick instance to find custom field class. (1a8fad5)
  • Fixed issue with field validation expecting a brick to have an id else continuing a loop and not validating the field. (3aacf8d)
  • Updated add brick modal component to support brick title and description locale variations. (0c71513)
  • Fixed Postgres issue with title_translations.value and alt_translations.value not being in groupBy function. (38c13e3)
  • Fixed issue with validation and error handling where brick id wasn’t being used to identify field error. Meant fields with same key would share errors. (6bc477e)

v0.5.0-alpha.2

12 Jun 19:17
Compare
Choose a tag to compare
v0.5.0-alpha.2 Pre-release
Pre-release

Features:

  • Bricks and Custom Fields now support locales on labels in config, so optionally users can provide translations for the users selected locale. (f9d5e5a)

Breaking changes:

  • Custom fields config changed for FieldBuilder and subsequently BrickBuilder and CollectionBuilder. (786e74a)