Skip to content

Releases: directus/directus

v10.10.0

05 Mar 21:46
9d88df6
Compare
Choose a tag to compare

✨ New Features & Improvements

This release contains the extensions marketplace and big improvements to content versioning.

  • @directus/app
    • Integrated the Content Version in the browser URL / history to enable browser navigation and page refresh (#21624 by @paescuj)
  • @directus/api
    • Added a new set of extensions registry endpoints (#21674 by @paescuj)

⚠️ Potential Breaking Changes

Warning

If you're using extensions in type-folders, please be aware of breaking changes

  • @directus/app
  • @directus/api
    • Introduced deep relational fields merging for Content Versions (#21386 by @azrikahar)
    • Dropped support for the typed folders in the extensions folder (#21674 by @paescuj)
    • Implemented Session Based Authentication (#21239 by @br41nslug)
    • Updated the extensions management endpoints to rely on a unique primary key rather than npm package name (#21674 by @paescuj)
    • Added new MIGRATIONS_PATH environment variable to control where custom migrations are read from (#21674 by @paescuj)
  • @directus/extensions-sdk
    • Dropped support for the typed folders in the extensions folder (#21674 by @paescuj)
    • Updated the extensions management endpoints to rely on a unique primary key rather than npm package name (#21674 by @paescuj)
  • @directus/extensions
    • Dropped support for the typed folders in the extensions folder (#21674 by @paescuj)
  • @directus/extensions-registry
    • Added a new set of extensions registry endpoints (#21674 by @paescuj)

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Added disabled state to MFA setup interface (#21588 by @paescuj)
    • Enhanced the language selection in translations interface by switching open/close icon and closing dropdown when (#21594 by @paescuj)
      toggling split view
    • Fixed an issue where "Copy To" action on Flow operations failed when connected to subsequent operations (#21566 by @paescuj)
    • Enabled JIT compiler for vue-i18n to drop need for 'unsafe-eval' CSP and excluded legacy API (#21649 by @paescuj)
    • Introduced deep relational fields merging for Content Versions (#21386 by @azrikahar)
    • Fixed issue that would cause the marketplace registry pagination to fail on certain pages (#21703 by @rijkvanzanten)
    • Ensured app minimal permissions are only shown in Access Control settings when role includes app access and enhanced representation of permission rules (#21543 by @paescuj)
    • Enabled insertion of the translated string newly created via the system-input-translated-string interface (#21632 by @formfcw)
    • Updated dependencies (#21667 by @paescuj)
    • Updated the extensions management endpoints to rely on a unique primary key rather than npm package name (#21674 by @paescuj)
    • Fixed an issue that prevented saving of content versions featuring relational data (#21509 by @DanielBiegler)
    • Aligned "No items" notice across relational list interfaces to prevent jumping on selection of items (#21609 by @paescuj)
    • Fixed gap between action buttons in Builder (M2A) interface (#21607 by @formfcw)
    • Ensured the Marketplace extension metadata buttons are perfectly aligned (#21700 by @formfcw)
    • Fixed the position of the empty fields info in translations interface (#21591 by @paescuj)
    • Ensured the user / project language is used as default value when creating a new custom translation via translation dropdown interface (#21634 by @formfcw)
    • Aligned the menu for toggling invisible collections (#21593 by @paescuj)
    • Ensured that translation strings are preserved when duplicating a field (#21648 by @formfcw)
    • Fixed loading of avatars in comment mentions (#21587 by @paescuj)
  • @directus/api
    • Updated dependencies (#21667 by @paescuj)
    • Fixed potential Open Redirect vulnerability with OAuth2/OpenID/SAML SSO providers (via Directus redirect query parameter), by requiring redirect URLs to be enabled via allow list (#21238 by @br41nslug)
    • Clarified the logged warning if the SAML identifier is not present in SAML response, enhanced error handler middleware for better fallbacks (#21552 by @flipswitchingmonkey)
    • Fixed an issue that would cause email sending to take a while for slower SMTP hosts by no longer awaiting the smtp (508508d by @rijkvanzanten)
      response
    • Fixed merging of app minimal permissions in permissions endpoint (#21542 by @paescuj)
    • Adjusted UUID validation of fields/keys to be more relaxed, permitting values with non-standard versions (#21613 by @kashike)
    • Fixed an issue that could cause field CrUD to emit too many events (#21670 by @joselcvarela)
    • Dropped uuid dependency in favor of Node.js built-in UUID generator (#21625 by @paescuj)
    • Fixed an issue where storage could be unavailable at the first use after the start of Directus (#21590 by @paescuj)
  • @directus/types
    • Introduced deep relational fields merging for Content Versions (#21386 by @azrikahar)
    • Ensured app minimal permissions are only shown in Access Control settings when role includes app access and enhanced representation of permission rules (#21543 by @paescuj)
    • Updated dependencies (#21667 by @paescuj)
  • @directus/sdk
  • @directus/components
  • @directus/composables
  • create-directus-project
  • @directus/data-driver-postgres
  • @directus/data-sql
  • @directus/data
  • @directus/env
    • Updated dependencies (#21667 by @paescuj)
    • Implemented Session Based Authentication (#21239 by @br41nslug)
    • Updated the extensions management endpoints to rely on a unique primary key rather than npm package name (#21674 by @paescuj)
    • Fixed potential Open Redirect vulnerability with OAuth2/OpenID/SAML SSO providers (via Directus redirect query parameter), by requiring redirect URLs to be enabled via allow list (#21238 by @br41nslug)
    • Added a new set of extensions registry endpoints (#21674 by @paescuj)
    • Cast env defaults that are typed (#21702 by @licitdev)
  • @directus/extensions-sdk
Read more

v10.9.3

23 Feb 18:19
fd878f5
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Updated dependencies (#21536 by @paescuj)
    • Fixed the field state of conditions in field settings and enabled the undo action (#21498 by @paescuj)
    • Ensured overlapping popovers from block editor are rendered above other interfaces' elements (#21522 by @paescuj)
    • Fixed image select dialog showing above file drawer for markdown interface (#21520 by @paescuj)
    • Fixed an issue that prevented logging in when emails contained unicode characters (#21454 by @DanielBiegler)
    • Fixed no results text for dashboard search and hide search if there are no dashboards (#21499 by @paescuj)
    • Added "Create Collection" button to nav bar for admins if there are no collections (#21500 by @paescuj)
    • Fixed app sending full field data when only some field properties have changed (#21385 by @azrikahar)
  • @directus/api
    • Enabled usage of bulk update format in "Update Item" Flow operation (#21443 by @datnv9)
    • Added validation for IP Access in role settings (#21444 by @DanielBiegler)
    • Fixed an issue where data from CSV imports can be corrupted (#21535 by @paescuj)
    • Fixed an issue which prevents updating non-admin roles when adding existing users (#21433 by @kashike)
    • Updated dependencies (#21536 by @paescuj)
  • @directus/composables
  • create-directus-extension
  • @directus/extensions
  • @directus/extensions-sdk
  • @directus/storage-driver-s3
  • @directus/update-check
  • @directus/memory
    • Adjusted bus subscription method for redis to ensure handlers are not being overwritten on consecutive calls (#21479 by @paescuj)
  • create-directus-project
    • Enhanced the Node.js version check and message in case of non-matching version (#21453 by @paescuj)

πŸ“ Documentation

πŸ“¦ Published Versions

  • @directus/app@10.15.2
  • @directus/api@17.1.0
  • @directus/composables@10.1.10
  • create-directus-extension@10.1.4
  • create-directus-project@10.0.4
  • @directus/extensions@0.3.3
  • @directus/extensions-sdk@10.3.4
  • @directus/memory@1.0.3
  • @directus/storage-driver-s3@10.0.18
  • @directus/update-check@11.0.7

v10.9.2

14 Feb 16:21
bad22bf
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

πŸ“¦ Published Versions

  • @directus/app@10.15.1
  • @directus/api@17.0.1
  • @directus/components@0.0.6
  • @directus/composables@10.1.9
  • create-directus-extension@10.1.3
  • create-directus-project@10.0.3
  • @directus/data@0.3.3
  • @directus/data-driver-postgres@0.3.3
  • @directus/data-sql@0.3.3
  • @directus/env@1.0.2
  • @directus/errors@0.2.3
  • @directus/extensions@0.3.2
  • @directus/extensions-sdk@10.3.3
  • @directus/memory@1.0.2
  • @directus/pressure@1.0.16
  • @directus/random@0.2.6
  • @directus/release-notes-generator@0.2.4
  • @directus/storage@10.0.10
  • @directus/storage-driver-azure@10.0.17
  • @directus/storage-driver-cloudinary@10.0.17
  • @directus/storage-driver-gcs@10.0.17
  • @directus/storage-driver-local@10.0.17
  • @directus/storage-driver-s3@10.0.17
  • @directus/storage-driver-supabase@1.0.9
  • @directus/stores@0.1.6
  • @directus/system-data@1.0.0
  • @directus/themes@0.3.4
  • @directus/types@11.0.6
  • @directus/update-check@11.0.6
  • @directus/utils@11.0.5
  • @directus/validation@0.0.12
  • @directus/sdk@15.0.1

v10.9.1

13 Feb 21:05
19598eb
Compare
Choose a tag to compare

✨ New Features & Improvements

  • @directus/app
  • @directus/api
    • Fixed the permission check in the Data Studio for permissions rules containing fields which the current user has no access to, via new dedicated permission check API endpoint (#21152 by @paescuj)

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Fixed manual flow dialog showing above select item drawer (#21361 by @ComfortablyCoding)
    • Fixed the permission check in the Data Studio for permissions rules containing fields which the current user has no access to, via new dedicated permission check API endpoint (#21152 by @paescuj)
    • Fixed collection folder dialog showing above translation drawer (#21368 by @paescuj)
    • Fixed document title formatting (#21400 by @br41nslug)
    • Fixed an issue where form fields could crash when filled out with Chrome's autofill functionality (#21384 by @AshishBarvaliya)
  • @directus/api
    • Fixed the issue with events not being triggered anymore on data imports (#21406 by @paescuj)
    • Resolved error indicating inability to remove last admin user during user updates via roles (#21343 by @paescuj)
    • Fixed public branding assets permission issue (#21360 by @br41nslug)
  • @directus/types
    • Fixed the permission check in the Data Studio for permissions rules containing fields which the current user has no access to, via new dedicated permission check API endpoint (#21152 by @paescuj)
  • @directus/env
    • Fixed the treatment of environment variables when set to an empty string (#21371 by @paescuj)

πŸ“ Documentation

  • Fixed the permission check in the Data Studio for permissions rules containing fields which the current user has no access to, via new dedicated permission check API endpoint (#21152 by @paescuj)

πŸ“¦ Published Versions

  • @directus/app@10.15.0
  • @directus/api@17.0.0
  • create-directus-extension@10.1.2
  • @directus/env@1.0.1
  • @directus/extensions@0.3.1
  • @directus/extensions-sdk@10.3.2
  • @directus/types@11.0.5

v10.9.0

06 Feb 19:30
d3874a8
Compare
Choose a tag to compare

⚠️ Potential Breaking Changes

  • @directus/api
    • Updated exif-reader (used for image Exif extraction) to v2 (#20820 by @paescuj)
  • @directus/env
    • Move environment handling to new tested directus/env package and use it in the api (#20985 by @rijkvanzanten)
  • @directus/sdk
    • Dropped the ability to import parts of the SDK through scoped entrypoints to prevent issues with TypeScript based libraries consuming the SDK. (#21206 by @rijkvanzanten)

      To migrate away, please update your scoped imports of @directus/sdk to use the root, for example:

      // Before
      import { createDirectus } from '@directus/sdk';
      import { rest } from '@directus/sdk/rest';
      
      // After
      import { createDirectus, rest } from '@directus/sdk';

✨ New Features & Improvements

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Fixed collection meta fields sometimes not showing and saving properly (#20912 by @DanielBiegler)
    • Added useSdk composable for use in the App and extensions (#20811 by @br41nslug)
    • Fixed the system theme overrides interface color rules to refresh on external changes (#20951 by @ComfortablyCoding)
    • Added option in the translation interface for opening the splitview by default (#21160 by @DanielBiegler)
    • Changed the hard-coded default to current user language in field translation language selector (#21065 by @FloMaetschke)
    • Added visual indicator for invalid values in search-input filter rows (#21023 by @DanielBiegler)
    • Disabled field permissions to be set for a collections minimal required fields (#20901 by @ComfortablyCoding)
    • Ensured unconfigured tables are not displayed/selectable as releated collection (#20756 by @khako)
    • Fixed an issue where the field filter in search interface didn't hide non-matching nested fields (#20457 by @Voldemorten)
    • Ensured long collection names are not overflowing permission table on Access Control page (#21120 by @paescuj)
    • Updated exif-reader (used for image Exif extraction) to v2 (#20820 by @paescuj)
    • Prevented changing primary keys to nullable (#20874 by @mahendraHegde)
    • Updated dependencies (#21221 by @paescuj)
    • Disabled non-editable permission actions for editing on Access Control page (#20988 by @paescuj)
    • Fixed custom field presentation in system collections (#20910 by @DanielBiegler)
    • Added field note & template for wysiwyg-html interface (#20921 by @DanielBiegler)
    • Added target _blank to links in form-field notes (#20922 by @DanielBiegler)
    • Prevented datetime picker to go off-screen and become unreachable (#20879 by @paescuj)
    • Fixed visual inconsistencies in the tree view interface (#21013 by @ComfortablyCoding)
    • Bumped date-fns from 3.0.1 to 3.0.5 (#20846 by @dependabot)
    • Fixed an issue where the Directus version in the Settings area was displayed as "undefined" (#20856 by @paescuj)
    • Fixed confirmation dialog not always showing top level (#20952 by @ComfortablyCoding)
    • Added support for IP ranges and CIDR notations for IP access & deny lists (#20971 by @licitdev)
    • Fixed displaying of icon fallbacks for card thumbnails (#21143 by @DanielBiegler)
    • Updated the language selector of translation form to respect sort field of language collection if defined (#21134 by @joselcvarela)
    • Changed the arrow for field details menu to always be placed on the left side (#20881 by @paescuj)
    • Fixed issues with the form state when navigating between collection settings pages (#20949 by @paescuj)
    • Fixed visual glitch in color of data-model collection-item collapse icon (#20842 by @rijkvanzanten)
    • Updated Vue to v3.4.15 (#21217 by @paescuj)
  • @directus/api
Read more

v10.8.3

21 Dec 19:19
c45cd69
Compare
Choose a tag to compare

⚠️ Potential Breaking Changes

  • @directus/api
  • @directus/sdk
    • Renamed the type ExtensionItem to DirectusExtension, allowed extending the type with custom fields, exported missing updateExtensions composable and documented the version property on extension schema (#20793 by @ComfortablyCoding)

✨ New Features & Improvements

  • @directus/api
  • @directus/extensions-sdk
  • create-directus-extension
    • Added a --no-install option to the extensions CLI allowing to skip dependency installation (#20752 by @ComfortablyCoding)

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Allowed editing of versions without edit permission on main version item (#20735 by @azrikahar)
    • Updated dependencies in all packages (#20714 by @paescuj)
    • Updated Vue to 3.3.9 (#20588 by @paescuj)
    • Fixed small logical issues detected by newely introduced no-constant-binary-expression ESLint rule (#20812 by @azrikahar)
    • Fixed action column background and search input height for table mode of one-to-many interface (#20772 by @u12206050)
    • Added missing translation strings, type & icon for theme extensions (#20644 by @paescuj)
    • Adds possibility to load custom translations on the login page (#20780 by @br41nslug)
    • Fixed drag and drop issues with sortable components in Safari (#20760 by @azrikahar)
    • Fixed hovering over the Delete Collection/Field option results in the trash icon becoming a foreground subdued color (#20518 by @wasimTQ)
    • Fixed various styling issues with block editor interface (#20733 by @paescuj)
    • Updated outdated errors.GRAPHQL_VALIDATION_EXCEPTION translation key to errors.GRAPHQL_VALIDATION (#20814 by @azrikahar)
    • Ensured collections in tabular layout are sorted by the sort field by default, if available (#20629 by @paescuj)
    • Updated date-fns to 3.0.1 (#20800 by @paescuj)
    • Fixed an issue where the alignment of half-width fields could be incorrect with conditions affecting the layout (#20599 by @paescuj)
    • Added translatable label to themes and field translations for theming (#20641 by @DanielBiegler)
    • Fixed the calendar layout to only load items for current range, when no user filter is provided (#20578 by @JoshTheDerf)
    • Changed the default sort column to the mentioned sort field (#20612 by @wasimTQ)
    • Fixed support for pasting comma-separated values into 'Is One Of' filter (#20587 by @gitstart)
    • Updated dependencies (#20796 by @paescuj)
    • Fixed an issue where filters for UUID fields only grew for valid UUIDs (#20543 by @DanielBiegler)
    • Updated Vue to 3.3.11 (#20711 by @paescuj)
    • Upgraded json2csv to @json2csv/plainjs 7.0.4 (#20822 by @paescuj)
    • Fixed an issue where the alignment of half-width fields within groups could be incorrect (#20563 by @paescuj)
    • Added masked option to formatted value display (#20672 by @licitdev)
  • @directus/api
    • Introduced the EXTENSIONS_MUST_LOAD option, allowing to prevent server startup when any API extension fails to load (#20495 by @azrikahar)
    • Updated dependencies in all packages (#20714 by @paescuj)
    • Fixed small logical issues detected by newely introduced no-constant-binary-expression ESLint rule (#20812 by @azrikahar)
    • Updated date-fns to 3.0.1 (#20800 by @paescuj)
    • Updated dependencies (#20796 by @paescuj)
    • Fixed an issue that caused inconsistent versions to be returned across the API and CLI (#20840 by @rijkvanzanten)
    • Ensured filter values higher than JavaScript max safe integer work with big integer fields (#20744 by @wasimTQ)
    • Updated openapi3-ts to 4.2.0 (#20828 by @dependabot)
    • Fixed issue that caused the graphql spec output to be wrong in the specs endpoint (#20535 by @br41nslug)
    • Updated Tedious dependency (#20649 by @rijkvanzanten)
    • Ensured the CLI's schema apply command output is better visible across different terminals / color schemes (#20792 by @nassan)
    • Fixed and enhanced the CLI's schema apply command output (#20816 by @paescuj)
    • Made directus_permissions ID nullable in GQL schema (#20511 by @br41nslug)
    • Fixed public_favicon to be correctly set as a system relation (#20724 by @ComfortablyCoding)
    • Removed unused dependencies, ensured types (prod, dev, peer) of dependencies are correct (#20581 by @paescuj)
    • Updated the telemetry report contents (#20825 by @rijkvanzanten)
    • Updated Knex to v3.1.0 (#20766 by @paescuj)
  • @directus/sdk
  • @directus/components
  • @directus/composables
  • create-directus-extension
  • create-directus-project
  • @directus/data-driver-postgres
  • @directus/data-sql
    • Updated dependencies in all packages (#20714 by @paescuj)
    • Removed unused dependencies, ensured types (prod, dev, peer) of dependencies are correct (#20581 by @paescuj)
  • @directus/data
  • @directus/errors
  • @directus/extensions-sdk
Read more

v10.8.2

22 Nov 20:24
afc4b23
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/app
  • @directus/api
  • @directus/specs

πŸ“¦ Published Versions

  • @directus/app@10.13.2
  • @directus/api@14.1.2
  • @directus/specs@10.2.4

v10.8.1

17 Nov 16:39
be4410f
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Fixed form paddings in default dark theme, enhanced theme selector interface (#20455 by @paescuj)
  • @directus/api
    • Fixed OAS generation to be based on permissions (#20386 by @br41nslug)
    • Use the hostname as the OAS URL if no PUBLIC_URL has been specified (#20460 by @paescuj)
    • Ensured the paths and schemas in the generated OAS are based on current user (#20462 by @paescuj)
  • @directus/specs
    • Ensured the paths and schemas in the generated OAS are based on current user (#20462 by @paescuj)
  • @directus/themes
    • Fixed form paddings in default dark theme, enhanced theme selector interface (#20455 by @paescuj)

πŸ“¦ Published Versions

  • @directus/app@10.13.1
  • @directus/api@14.1.1
  • @directus/specs@10.2.3
  • @directus/themes@0.3.1

v10.8.0

16 Nov 22:00
7f5d690
Compare
Choose a tag to compare

✨ New Features & Improvements

πŸ› Bug Fixes & Optimizations

  • @directus/app
  • @directus/api
  • @directus/extensions
  • @directus/sdk
  • @directus/types
  • @directus/utils
    • Fixed filter parsing for _in/_nin operators when the array indices are higher than qs' default limit of 20 (#20356 by @azrikahar)
  • @directus/specs

πŸ“ Documentation

  • Added support for configuring font weights, popover menus, input height and spacing, and fix various issues in theming (#20426 by @rijkvanzanten)

πŸ“¦ Published Versions

  • @directus/app@10.13.0
  • @directus/api@14.1.0
  • @directus/composables@10.1.6
  • create-directus-extension@10.0.16
  • @directus/extensions@0.2.0
  • @directus/extensions-sdk@10.2.0
  • @directus/pressure@1.0.13
  • @directus/specs@10.2.2
  • @directus/storage-driver-azure@10.0.14
  • @directus/storage-driver-cloudinary@10.0.14
  • @directus/storage-driver-gcs@10.0.14
  • @directus/storage-driver-local@10.0.14
  • @directus/storage-driver-s3@10.0.14
  • @directus/storage-driver-supabase@1.0.6
  • @directus/themes@0.3.0
  • @directus/types@11.0.2
  • @directus/utils@11.0.2
  • @directus/validation@0.0.9
  • @directus/sdk@13.0.2

v10.7.2

02 Nov 20:18
d4e3ab2
Compare
Choose a tag to compare

✨ New Features & Improvements

πŸ› Bug Fixes & Optimizations

πŸ“ Documentation

πŸ“¦ Published Versions

  • @directus/app@10.12.0
  • @directus/api@14.0.2
  • @directus/themes@0.2.0