Skip to content

Releases: directus/directus

v10.11.0

07 May 22:02
0d6c6b9
Compare
Choose a tag to compare

⚠️ Potential Breaking Changes

Fixed API queries with the search parameter to return no results if the query is not applicable to any fields (#22342)
Previously, the API returned all items for collections where the search parameter was not applicable to any fields. Now the API returns no items in such a case.

  • @directus/sdk
    • Made the SDK realtime composable compatible with React Native, the WebSocket client will now be initialized with the URL as string instead of URL (#22105 by @paescuj)

✨ New Features & Improvements

  • @directus/app
  • @directus/api
  • @directus/sdk
  • @directus/errors
    • Extended isDirectusError guard to return specific error type when code for built-in error is provided (#22346 by @paescuj)

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Ensured "Download Page as CSV" button is disabled if the selected layout does not support that action (#22281 by @hanneskuettner)
    • Added error in the App for images without dimensions (#22307 by @br41nslug)
    • Fixed project color usage and handling of conditional styles in some insight panels (#22382 by @hanneskuettner)
    • Updated the password confirm placeholder text (#22421 by @rijkvanzanten)
    • Add option to open image directly from Block Editor (#22302 by @joselcvarela)
    • Fixed default naming of the related field name for the first translations field created (#22378 by @hanneskuettner)
    • Updated dependencies (#22063 by @paescuj)
    • Fixed an endless refresh loop in the live preview of an item accessed through a bookmarked view (#22255 by @hanneskuettner)
    • Added a copy to clipboard button to token interface (#22323 by @hanneskuettner)
    • Added ability to search role list in access control settings (#22286 by @hanneskuettner)
    • Fixed "Download Page as CSV" for Related Values display with no display template (#22248 by @hanneskuettner)
    • Ensured the URL in Live Preview popout window receives the current Content Version (#22339 by @paescuj)
    • Fixed Files interface when used with custom junction field (#22241 by @hanneskuettner)
    • Fixed a small visual inconsistency with the item menu in Files interface (#22258 by @paescuj)
    • Fixed a caching issue which could lead to wrong extensions being listed under Marketplace when filtering by type / account (#22254 by @hanneskuettner)
    • Ensured that the rate limit is adhered to when having multiple different relationships (#22352 by @joselcvarela)
    • Improved M2A builder sorting UX for large number of items (#22224 by @hanneskuettner)
    • Fixed untranslated translation placeholders in field metadata that appear after visiting a collection settings page (#22263 by @hanneskuettner)
    • Fixed revision revert for revisions with no previous data (#22239 by @hanneskuettner)
    • Fixed the deselection of fields for permissions which previously had the "All Access" preset applied (#22300 by @hanneskuettner)
    • Fixed "Auto Refresh" for Kanban and Calendar layouts (#22280 by @hanneskuettner)
    • Fixed the deselection of a saved item in the Collection Item Dropdown (#22294 by @hanneskuettner)
    • Fixed arrow alignment when selecting 5 or more collections in the "Relationship" tab of M2A interface settings (#22350 by @hanneskuettner)
    • Added support to define single interpolation value in code interface (#22318 by @joselcvarela)
  • @directus/api
    • Updated dependencies (#22063 by @paescuj)
    • Fixed a caching issue which could lead to wrong extensions being listed under Marketplace when filtering by type / account (#22254 by @hanneskuettner)
    • Fixed SQL error when filtering collections with two or more M2A relations pointing to the same collection(s) (#22262 by @hanneskuettner)
    • Implemented client-side restart of failed transactions for CockroachDB (#22240 by @paescuj)
    • Fixed count() function filter for self referencing relations (#22297 by @hanneskuettner)
    • Fixed parsing of AllowCreate attribute in SAML auth requests (#22340 by @paescuj)
    • Fixed bundle extension loading by updating extension settings when bundle entries have changed (#22013 by @hanneskuettner)
    • Improved session token validation (#22353 by @br41nslug)
    • Improved redacting of sensitive values (#22332 by @br41nslug)
    • Fixed the filter validation for field functions, enabling JSON count filter to work again (#22060 by @paescuj)
    • Fixed API queries with the search parameter to return no results if the query is not applicable to any fields (#22342 by @licitdev)
    • Fixed handling of invalid and empty filter queries (#22048 by @paescuj)
    • Deprecated KEY env var, made SECRET optional (for test environments) (#22320 by @rijkvanzanten)
    • Fixed search functionality for large and real numbers in PostgreSQL, MSSQL, OracleDB and SQLite (#22347 by @hanneskuettner)
  • @directus/system-data
  • @directus/sdk
  • @directus/types
  • @directus/env
  • create-directus-extension
  • @directus/storage-driver-cloudinary
  • @directus/release-notes-generator
  • @directus/storage-driver-supabase
    • Updated dependencies (#22063 by @paescuj)
    • Fixed file upload error for Supabase Storage servers hosted behind a Cloudflare Cache (#22293 by @hanneskuettner)
    • Fixed list method to recursively list all f...
Read more

v10.10.7

17 Apr 21:10
98589cc
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/api
    • Fixed an issue that would cause the project to hang in an unavailable state if an unexpected external error caused the (#22230 by @joselcvarela)
      schema retrieval to fail in a high load environment
    • Reverted cache-control header change to prevent cache inconsistencies in-app (#22235 by @rijkvanzanten)
    • Fixed an issue that could cause errors happening during schema retrieval to exit the process rather than return a 500 (#22231 by @joselcvarela)
    • Updated the cache clear endpoint to allow for clearing cache, system, or both (#22234 by @joselcvarela)
  • @directus/env
    • Fixed an issue that would cause the project to hang in an unavailable state if an unexpected external error caused the (#22230 by @joselcvarela)
      schema retrieval to fail in a high load environment

πŸ“ Documentation

  • Updated the cache clear endpoint to allow for clearing cache, system, or both (#22234 by @joselcvarela)

πŸ§ͺ Blackbox Tests

  • Fixed an issue that would cause the project to hang in an unavailable state if an unexpected external error caused the (#22230 by @joselcvarela)
    schema retrieval to fail in a high load environment

πŸ“¦ Published Versions

  • @directus/app@12.0.2
  • @directus/api@19.0.2
  • @directus/env@1.1.2

v10.10.6

17 Apr 15:59
9aa4e70
Compare
Choose a tag to compare

✨ New Features & Improvements

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Fixed race condition in loading images with default fallback (#22222 by @hanneskuettner)
    • Ensured that the search input in the navigation bar matches the background color of the navigation bar (#22204 by @formfcw)
    • Prevented creation of unrelated collection when creating relational field with custom relation name, fixed selection of related collections for M2A fields (#22090 by @joselcvarela)
    • Fixed an issue in the WYSIWYG editor that could cause generated non-new-tab links to behave unexpectedly in SPA (#22134 by @jonaskohl)
      frameworks
    • Updated TinyMCE (used for the WYSIWYG interface) to v7 (#22123 by @paescuj)
    • Fixed "Save As Copy" functionality to include existing values of relational items (#22028 by @paescuj)
    • Updated Editor.js (used for Block Interface) to 2.29, introducing the Slash key as a shortcut for opening the toolbox and the Tab key to navigate through blocks (#22112 by @paescuj)
    • Fixed visual inconsistency in filter interface for list of values (#22209 by @hanneskuettner)
    • Fixed pagination alignment in the M2A builder interface (#22208 by @hanneskuettner)
  • @directus/api

πŸ“ Documentation

  • Added support to for configuring PM2_LOG_ERROR_FILE and PM2_LOG_OUT_FILE (#22155 by @the-other-dev)

πŸ“¦ Published Versions

  • @directus/app@12.0.1
  • @directus/api@19.0.1
  • create-directus-extension@10.1.8
  • @directus/extensions@1.0.3
  • @directus/extensions-registry@1.0.3
  • @directus/extensions-sdk@11.0.3
  • @directus/types@11.1.0

v10.10.5

03 Apr 19:47
bd4b8b5
Compare
Choose a tag to compare

⚠️ Potential Breaking Changes

  • @directus/api

✨ New Features & Improvements

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Fixes issue where public pages didn't have the correct tab titles (#21827 by @rijkvanzanten)
    • Deprecated Webhooks and auto-migrated existing ones to Flows (#21808 by @DanielBiegler)
    • Simplified v-image component (#21904 by @br41nslug)
    • Moved @directus/format-title into the monorepo (#21847 by @paescuj)
      Notable changes since the last release:
      • Added AI and SDK to the list of acronyms
      • Fixed the RegExp used to detect separators
    • Fixed active state for Collections in navigation menu with Content Versions and Bookmarks (#21786 by @paescuj)
    • Fixed an issue where images in the file library can hit the rate limiter (#21894 by @br41nslug)
    • Fixed the search filter to show the input in collapsed state and use the correct border color in expanded state (#21840 by @paescuj)
    • Fixed an issue where duplicating an item (Save as Copy) with many relational items could fail (#22053 by @DanielBiegler)
    • Added autocomplete attribute to 2FA input (#21986 by @vamsii777)
    • Fixed "Save As Copy" functionality for M2M/O2M root fields (#21896 by @joselcvarela)
    • Ensured "Auto Refresh" is paused when the app is not in use (#22024 by @paescuj)
    • Ensured the search interface applies the correct initial value for boolean filter operators (like "Is null") (#22050 by @paescuj)
    • Fixed marketplace pagination not allowing partial pages and corrected TS type errors for search and type query parameters. (#22034 by @ComfortablyCoding)
  • @directus/api
    • Moved @directus/format-title into the monorepo (#21847 by @paescuj)
      Notable changes since the last release:
      • Added AI and SDK to the list of acronyms
      • Fixed the RegExp used to detect separators
    • Added WebSocket Session Authentication (#21837 by @br41nslug)
    • Fixed state of extensions after enabling/disabling in multiple instances setups (#21908 by @joselcvarela)
    • Ensured "ON UPDATE" constraints are considered in schema snapshots (#21190 by @u12206050)
    • Fixed the extensions migration for sub extensions of module bundles (#21857 by @paescuj)
    • Optimised updating of multiple fields by clearing caches and regenerating schema only once at the end (#21818 by @licitdev)
    • Hidden non session SSO providers from the app (#21874 by @br41nslug)
    • Fixed an issue where requests with long User-Agent headers could fail (#21687 by @connorwinston)
    • Improved schema retrieval performance by locking the generation of the cached value (#21824 by @rijkvanzanten)
    • Fixed an issue preventing MSSQL and CRDB from initializing system tables on bootstrap (#22019 by @rijkvanzanten)
  • @directus/system-data
  • @directus/format-title
    • Moved @directus/format-title into the monorepo (#21847 by @paescuj)
      Notable changes since the last release:
      • Added AI and SDK to the list of acronyms
      • Fixed the RegExp used to detect separators
    • Added new acronyms and cleaned-up duplicates (#21935 by @licitdev)
  • @directus/types
  • @directus/sdk
  • @directus/utils
    • Fixed "contains" operators (used for validation / conditions) to work with arrays and "icontains" to respect case insensitivity (#22002 by @DanielBiegler)

πŸ“ Documentation

  • Moved @directus/format-title into the monorepo (#21847 by @paescuj)
    Notable changes since the last release:
    • Added AI and SDK to the list of acronyms
    • Fixed the RegExp used to detect separators
  • Added report URL configuration support (#21174 by @ComfortablyCoding)
  • Added SDK Custom Endpoint Helper (#21850 by @br41nslug)

πŸ“¦ Published Versions

  • @directus/app@12.0.0
  • @directus/api@19.0.0
  • @directus/composables@10.1.12
  • create-directus-extension@10.1.7
  • @directus/env@1.1.1
  • @directus/extensions@1.0.2
  • @directus/extensions-registry@1.0.2
  • @directus/extensions-sdk@11.0.2
  • @directus/format-title@10.1.1
  • @directus/memory@1.0.6
  • @directus/pressure@1.0.18
  • @directus/storage-driver-azure@10.0.19
  • @directus/storage-driver-cloudinary@10.0.19
  • @directus/storage-driver-gcs@10.0.19
  • @directus/storage-driver-s3@10.0.20
  • @directus/storage-driver-supabase@1.0.11
  • @directus/system-data@1.0.2
  • @directus/themes@0.3.6
  • @directus/types@11.0.8
  • @directus/utils@11.0.7
  • @directus/validation@0.0.14
  • @directus/sdk@15.1.0

v10.10.4

12 Mar 17:31
af2a79f
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/api
    • Fixed an issue that could cause the graphql system endpoint to use the wrong schema (#21821 by @rijkvanzanten)
  • @directus/specs
    • Corrected the type of the filter query parameter in OpenAPI specs (#21802 by @paescuj)

πŸ“¦ Published Versions

  • @directus/app@11.0.4
  • @directus/api@18.2.1
  • @directus/specs@10.2.8

v10.10.3

11 Mar 21:29
c09ebba
Compare
Choose a tag to compare

✨ New Features & Improvements

πŸ› Bug Fixes & Optimizations

  • @directus/api
    • Improved the performance of repeat calls to graphql endpoint by caching the graphql schema in an lru cache (#21783 by @rijkvanzanten)
    • Fixed sandboxed operation extensions to return the payload (#21789 by @paescuj)
  • @directus/sdk
    • Fixed logout SDK auth composable to include auth mode in request (#21793 by @paescuj)

πŸ“ Documentation

πŸ“¦ Published Versions

  • @directus/app@11.0.3
  • @directus/api@18.2.0
  • @directus/env@1.1.0
  • @directus/sdk@15.0.3

v10.10.2

08 Mar 23:01
2e259d0
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Prevented leaving the edit mode of a Flow via save shortcut while editing the trigger or adding a new operation (#21736 by @fanmingfei)
    • Fixed the height of list items which do have thumbnails (#21756 by @formfcw)
  • @directus/api
    • Prevented an error which could occur when sandboxed extensions are reloaded (for example via extensions auto reload) (#21781 by @paescuj)
    • Fixed loading of Sandbox Operation Extensions (#21751 by @paescuj)
    • Enabled usage of extensions auto reloading in dev mode (NODE_ENV set to development) (#21780 by @paescuj)
    • Fixed an issue that would cause the extensions folder sync from third party sources to fail if the sync request came from a secondary process (#21747 by @rijkvanzanten)
    • Ensured errors thrown in Sandbox SDK functions are reported correctly (#21749 by @paescuj)
    • Fixed the type check for headers in the Sandbox SDK request function (#21746 by @paescuj)
    • Updated the send method in MailService to return the promise with info, adapted use within @directus/api to not
      block until mails have been sent (#21741 by @appy-one)
    • Ensured extensions auto reloading works for all local extensions (#21779 by @paescuj)
  • @directus/memory
    • Fixed an issue that would cause the extensions folder sync from third party sources to fail if the sync request came from a secondary process (#21747 by @rijkvanzanten)

πŸ“¦ Published Versions

  • @directus/app@11.0.2
  • @directus/api@18.1.1
  • @directus/memory@1.0.5

v10.10.1

06 Mar 22:27
7d50f76
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/api
    • Fixed issues with the marketplace migration script for MySQL/MariaDB, as well as for multiple bundle extensions having same sub-extension names (#21721 by @paescuj)
  • @directus/env
    • Added support for the EMAIL_TEMPLATES_PATH to allow email templates to exist in any given location (#21729 by @rijkvanzanten)
  • @directus/extensions-sdk
    • Fixed an issue that would cause the host field of the package extension manifest to be the sdk version rather than (#21730 by @rijkvanzanten)
      directus version
  • @directus/extensions
    • Fixed an issue that would cause extensions loading to fail when non-extension folders were included in the extensions folder (#21718 by @br41nslug)

πŸ“ Documentation

  • Added a note about / reflect the relocation of custom migrations (#21719 by @phazonoverload)
  • Added support for the EMAIL_TEMPLATES_PATH to allow email templates to exist in any given location (#21729 by @rijkvanzanten)

πŸ“¦ Published Versions

  • @directus/app@11.0.1
  • @directus/api@18.1.0
  • create-directus-extension@10.1.6
  • @directus/env@1.0.4
  • @directus/extensions@1.0.1
  • @directus/extensions-registry@1.0.1
  • @directus/extensions-sdk@11.0.1

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