Skip to content

Releases: directus/directus

v10.5.1

26 Jul 14:35
f3d3ee1
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/api
    • Fixed issue with trailing slashes in URL util preventing app extension from being loaded (#19252 by @paescuj)

πŸ“¦ Published Versions

  • @directus/api@12.1.1

v10.5.0

25 Jul 21:37
373cc9f
Compare
Choose a tag to compare

✨ New Features & Improvements

  • @directus/sdk
    • First release of the new SDK πŸš€ New modular architecture, real-time support, TypeScript optimized, and tons of other goodies! (#18987 by @br41nslug)
  • @directus/storage-driver-supabase
  • @directus/app
  • @directus/api
  • @directus/composables
    • Added support for setting deep in the useItems composable (#18713 by @u12206050)
  • @directus/tsconfig

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Ensured shares cannot be created without 'collection' and 'item' field (#19220 by @paescuj)
    • Fixed issue that caused interface options within conditions to operate against a different field context, making some (#19147 by @rijkvanzanten)
      options unavailable
    • Fixed issue that would prevent the deselect button from showing up for non-admin users when the deselect action was (#19184 by @rijkvanzanten)
      configured to cascade
    • Fixed issue that would cause the add-to-homescreen title to not match the configured project name (#19141 by @rijkvanzanten)
    • Fixed issue that would cause context menu to float above edit drawer in flow operations (#19140 by @rijkvanzanten)
    • Added new notice to warn for missing field key on validation configuration (#19170 by @rijkvanzanten)
    • Fixed an issue that wouldn't show updated item data on save and stay (#19148 by @rijkvanzanten)
    • Fixed issue that would prevent the existing url selection from showing up in the link editing modal in the WYSIWYG interface (#19190 by @gitstart)
    • Fixed display of formatted values used as card text in Kanban layout (#19112 by @magnus-bb)
    • Fixed an issue that would prevent the "Download Page as CSV" option to function when using a datetime display with (#19168 by @rijkvanzanten)
      missing options
    • Fixed an issue that would persist the full screen preview URL as an in-app user's last-page, potentially causing issues (#19162 by @rijkvanzanten)
      on login
    • Fixed issue that would persist preview mode open state on new items (#19164 by @rijkvanzanten)
    • Fixed issue that would prevent default new app-access roles from not being able to trigger manually activated rows (#19169 by @rijkvanzanten)
    • Fixed processing of permission rules containing dynamic user / role variables (#19073 by @u12206050)
  • @directus/api
    • Fixed URL util to preserve trailing slashes (#19210 by @amerkay)
    • Fixed incorrect filter_count meta field when query applies to relationships (#19208 by @joselcvarela)
    • Fixed issue that would cause duplicate entries to exist in CSV exports when sorting was done on a field with duplicate (#19143 by @rijkvanzanten)
      values
    • Added tsconfig for Vue & CJS (#19197 by @paescuj)
    • Fixed graphql subscriptions permission issue (#19155 by @br41nslug)
    • Updated websocket registered events (#19189 by @br41nslug)
    • Improved http status code handling when multiple errors are thrown (#19214 by @u12206050)
    • Ensured shares cannot be created without 'collection' and 'item' field (#19220 by @paescuj)
    • Fixed an issue that would cause links in emails to not match the project's configured color (#19171 by @rijkvanzanten)
  • @directus/components
  • @directus/composables
  • @directus/constants
  • @directus/data-driver-postgres
  • @directus/data-sql
  • @directus/data
  • @directus/errors
  • @directus/extensions-sdk
  • @directus/pressure
  • @directus/random
  • @directus/release-notes-generator
  • @directus/schema
  • @directus/storage-driver-azure
  • @directus/storage-driver-cloudinary
    • Added tsconfig for Vue & CJS (#19197 by @paescuj)
    • Fixed issue that could cause deletions to fail and fixed an issue that would prevent the root option from working (#19238 by @rijkvanzanten)
      properly
  • @directus/storage-driver-gcs
  • @directus/storage-driver-local
  • @directus/storage-driver-s3
  • @directus/storage
  • @directus/stores
  • @directus/themes
  • @directus/types
  • @directus/update-check
  • @directus/utils
  • @directus/validation
    • Added tsconfig for Vue & CJS (#19197 by @paescuj)
    • Fixed issue that would prevent missing values from being reported as 'required' in Joi error convertion (#19185 by @rijkvanzanten)
  • @directus/sdk

πŸ“ Documentation

πŸ“¦ Published Versions

  • @directus/app@10.6.0
  • @directus/api@12.1.0
  • @directus/components@0.0.1
  • @directus/composables@10.1.0
  • @directus/constants@10.2.2
  • create-directus-extension@10.0.8
  • @directus/data@0.2.1
  • @directus/data-driver-postgres@0.2.1
  • @directus/data-sql@0.2.1
  • @directus/errors@0.0.2
  • @directus/extensions-sdk@10.1.7
  • @directus/pressure@1.0.7
  • @directus/random@0.2.2
  • @directus/release-notes-generator@0.1.2
  • @directus/schema@10.0.2
  • @directus/storage@10.0.5
  • @directus/storage-driver-azure@10.0.8
  • @directus/storage-driver-cloudinary@10.0.8
  • @directus/storage-driver-gcs@10.0.8
  • @directus/storage-driver-local@10.0.8
  • @directus/storage-driver-s3@10.0.8
  • @directus/storage-driver-supabase@1.0.0
  • `@directus/stores@...
Read more

v10.4.3

11 Jul 14:01
d3c9de9
Compare
Choose a tag to compare

✨ New Features & Improvements

  • @directus/app
  • @directus/data-driver-postgres
    • Added basic filters for PostgreSQL driver (#19005 by @jaads)
  • @directus/data-sql
    • Added basic filters for PostgreSQL driver (#19005 by @jaads)
  • @directus/data
    • Added basic filters for PostgreSQL driver (#19005 by @jaads)

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Added Collection and Item Options to Flows Notification Operation (#19033 by @connorsimply)
    • Fixed User Display not being an option for m2o and string (#19093 by @connorsimply)
    • fixed editorjs icon styling (#19118 by @connorsimply)
    • Fixed issue that would prevent Vite from hot reloading local app extensions during development (#19075 by @luochuanyuewu)
    • Fixed Flow Status not saving in editor (#19092 by @connorsimply)
    • Fixed errors processing for starts_with and ends_with filter variations (#19021 by @br41nslug)
    • Fixed issue that would cause the validation rules editor to show a field selection dropdown where no fields are (#19124 by @rijkvanzanten)
      available
    • Resolved issue that would allow you to save the parent Flow with a keyboard shortcut while editing an operation (#19108 by @rijkvanzanten)
    • Fixed issue that would prevent changes in the raw edit dialog from showing up in the template input in flows and (#19126 by @rijkvanzanten)
      insights
    • Fixed limit values in export drawer when a query limit is in place (#18731 by @paescuj)
    • Fixed cleanup of unused isBatch variable to solve missing file preview in file item page (#19114 by @joselcvarela)
  • @directus/api
  • @directus/utils
    • Fixed errors processing for starts_with and ends_with filter variations (#19021 by @br41nslug)
  • @directus/validation
    • Fixed errors processing for starts_with and ends_with filter variations (#19021 by @br41nslug)
  • @directus/release-notes-generator

πŸ“ Documentation

πŸ“¦ Published Versions

  • @directus/app@10.5.0
  • @directus/api@12.0.3
  • @directus/composables@10.0.7
  • create-directus-extension@10.0.7
  • @directus/data@0.2.0
  • @directus/data-driver-postgres@0.2.0
  • @directus/data-sql@0.2.0
  • @directus/extensions-sdk@10.1.6
  • @directus/pressure@1.0.6
  • @directus/release-notes-generator@0.1.1
  • @directus/storage-driver-azure@10.0.7
  • @directus/storage-driver-cloudinary@10.0.7
  • @directus/storage-driver-gcs@10.0.7
  • @directus/storage-driver-local@10.0.7
  • @directus/storage-driver-s3@10.0.7
  • @directus/utils@10.0.7
  • @directus/validation@0.0.2

v10.4.2

30 Jun 15:43
55f3d4c
Compare
Choose a tag to compare

πŸ› Bug Fixes & Optimizations

  • @directus/app
  • @directus/api
    • Implemented sort number for fields in collections on creation to ensure order is always retained (#18877 by @azrikahar)

πŸ“ Documentation

  • Added new docs landing page to help users better understand available features and content (#18911 by @estheragbaje)
  • Fixed docker example to work out of the box (#19030 by @br41nslug)

πŸ“¦ Published Versions

  • @directus/app@10.4.2
  • @directus/api@12.0.2

v10.4.0

27 Jun 21:44
2239ef8
Compare
Choose a tag to compare

⚠️ Potential Breaking Changes

There's a couple potentially breaking changes in this release that you should be aware of:

Consolidated environment variables for Redis use

Directus had various different functionalities that required you to use Redis when running Directus in a horizontally scaled environment (like caching/rate-limiting). With the release of 10.3, two more functionalities were added (websockets/flows). In 10.4, the configuration for these different parts will be combined into a single set of REDIS environment variables that are reused across the system.

Migration / Mitigation

Combine all the *_REDIS environment variables into a single shared one as followed:

Before

CACHE_STORE="redis"
CACHE_REDIS_HOST="127.0.0.1"
CACHE_REDIS_PORT="6379"
...
RATE_LIMITER_STORE="redis"
RATE_LIMITER_REDIS_HOST="127.0.0.1"
RATE_LIMITER_REDIS_PORT="6379"
...
SYNCHRONIZATION_STORE="redis"
SYNCHRONIZATION_REDIS_HOST="127.0.0.1"
SYNCHRONIZATION_REDIS_PORT="6379"
...
MESSENGER_STORE="redis"
MESSENGER_REDIS_HOST="127.0.0.1"
MESSENGER_REDIS_PORT="6379"

After

REDIS_HOST="127.0.0.1"
REDIS_PORT="6379"

CACHE_STORE="redis"
RATE_LIMITER_STORE="redis"
SYNCHRONIZATION_STORE="redis"
MESSENGER_STORE="redis"

Dropped support for Memcached

Directus used to support either memory, Redis, or Memcached for caching and rate-limiting storage. Since the 10.3 release, Redis has been used more integrated as part of WebSockets / Subscriptions and the ability to synchronize flows across containers. Given this deeper integration with Redis, and the low overall usage/adoption of Memcached across Directus installations, we've decided to sunset Memcached in favor of focussing on Redis as the primary solution for pub/sub and hot-storage across load-balanced Directus installations.

Updated Errors structure for Extensions

A new @directus/errors package is available that allows you to create custom DirectusErrors for use in extensions. Errors created through this package will be treated the same as errors thrown by the Directus API, which means you can use proper HTTP status codes, error extensions, codes, and messages. This does also mean that extensions no longer get an exceptions options passed in that contains some preconfigured errors.

Migration / Mitigation

Replace any system exceptions you extracted from exceptions with new errors created within the extension itself. We recommend prefixing the error code with your extension name for improved debugging, but you can keep using the system codes if you relied on that in the past.

Before

export default (router, { exceptions }) => {
	const { ForbiddenException } = exceptions;

	router.get('/', (req, res) => {
		throw new ForbiddenException();
	});
};

After

import { createError } from '@directus/errors';

const ForbiddenError = createError('MY_EXTENSION_FORBIDDEN', 'No script kiddies please...');

export default (router) => {
	router.get('/', (req, res) => {
		throw new ForbiddenError();
	});
};

✨ New Features & Improvements

The New SDK is available in beta! We've been working hard on redesigning the SDK from the ground up to solve for / improve on some of the most often brought up pain points / shortcomings of the SDK. You can try it out by installing from the beta tag: npm install @directus/sdk@beta. Please tell us any and all feedback in the #new-sdk channel on Discord! We'll be pushing out more beta releases of the SDK during the next couple weeks. Docs will be continuously updated on https://docs.directus.io/guides/sdk/getting-started.html

  • @directus/app
  • @directus/data-driver-postgres
    • Implemented sorting in PostgreSQL driver (#18954 by @jaads)
    • Added limit and offset support for postgres driver (#18894 by @jaads)
  • @directus/data-sql
    • Added limit and offset support for postgres driver (#18894 by @jaads)
    • Implemented sort conversion in SQL middleware (#18938 by @jaads)
  • @directus/data
    • Implemented sort conversion in SQL middleware (#18938 by @jaads)

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Fixed kanban layout not rendering certain images (#18904 by @connorsimply)
    • Fixed an issue that could cause an infinite loop on fetching large permissions sets (e5992b59b by @rijkvanzanten)
    • Added notice about case sensitivity for new collection creation (#18979 by @rijkvanzanten)
    • Fixed issue that could cause the export drawer to hang on export (#19004 by @u12206050)
    • Fixed issue where App was not fully taking rate limit into consideration (#18940 by @joselcvarela)
    • Fixed an issue that would prevent items with a comma in the ID from being rendered in the app (#18978 by @rijkvanzanten)
    • Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
    • Fixed issue that caused changes to flows to not be reflected in the inline edidtor. (#18960 by @connorsimply)
  • @directus/api
    • Added support for plain query flags for boolean & geo filter operators (#18888 by @paescuj)
    • Added WebSocketService to available services for extensions (#18943 by @br41nslug)
    • Ensured all caches are flushed when applying diff (#18986 by @licitdev)
    • Fixed resolving $CURRENT_USER in permissions for websocket authentication (#18901 by @br41nslug)
    • Fixed API not properly validating against documented filename restrictions for custom migrations (#18971 by @rijkvanzanten)
  • @directus/validation
    • Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
  • @directus/errors
    • Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
  • @directus/types
    • Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
    • Expose case-insensitive variants of _starts_with and _ends_with filter operators (#18941 by @gitstart)
  • @directus/utils
    • Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
    • Expose case-insensitive variants of _starts_with and _ends_with filter operators (#18941 by @gitstart)
    • Fixed issue that would prevent JSON string from being treated as GeoJSON in filtering operations (#18976 by @rijkvanzanten)
  • @directus/storage
  • @directus/extensions-sdk
    • Fixed v-table allowing radio buttons to have multiple selection values when the show-select prop was set to one (#18931 by @Philippe-cheype)
  • @directus/stores

πŸ“ Documentation

πŸ“¦ Published Versions

  • @directus/app@10.4.0
  • @directus/api@12.0.0
  • @directus/composables@10.0.6
  • create-directus-extension@10.0.6
  • @directus/data@0.1.0
  • @directus/data-driver-postgres@0.1.0
  • @directus/data-sql@0.1.0
  • @directus/errors@0.0.1
  • @directus/extensions-sdk@10.1.5
  • @directus/pressure@1.0.5
  • @directus/storage@10.0.4
  • @directus/storage-driver-azure@10.0.6
  • @directus/storage-driver-cloudinary@10.0.6
  • @directus/storage-driver-gcs@10.0.6
  • @directus/storage-driver-local@10.0.6
  • @directus/storage-driver-s3@10.0.6
  • @directus/stores@0.1.1
  • @directus/types@10.1.2
  • @directus/utils@10.0.6
  • @directus/validation@0.0.1

v10.3.0

13 Jun 16:53
c0cd786
Compare
Choose a tag to compare

✨ New Features & Improvements

  • @directus/api
    • Integrated Websockets Subscriptions for REST and GraphQL in Directus πŸ•ΈοΈπŸ§¦ (#14737 by @br41nslug)
      • A CRUD implementation over WebSockets
      • A REST Subscriptions implementation
      • GraphQL Subscriptions over WebSockets
      • Three authentication modes: public, handshake, strict
      • Authentication refresh with an open socket
      • Heartbeat signal to keep the connection alive
      • Follows the Directus permission model
      • Message rate limiting and connection limiting
      • Horizontal scaling with the Messenger
      • Extensible event driven design
  • @directus/stores
  • @directus/release-notes-generator

πŸ› Bug Fixes & Optimizations

πŸ“ Documentation

πŸ§ͺ Blackbox Tests

  • Fixed S3 storage scaling issues by using a customized request handler with an increased maximum of open sockets (#18799 by @licitdev)

πŸ“¦ Published Versions

  • @directus/app@10.3.1
  • @directus/api@11.1.0
  • @directus/composables@10.0.5
  • @directus/constants@10.2.1
  • create-directus-extension@10.0.5
  • @directus/data@0.0.2
  • @directus/data-driver-postgres@0.0.2
  • @directus/data-sql@0.0.1
  • @directus/exceptions@10.0.3
  • @directus/extensions-sdk@10.1.4
  • @directus/pressure@1.0.4
  • @directus/random@0.2.1
  • @directus/release-notes-generator@0.1.0
  • @directus/storage@10.0.3
  • @directus/storage-driver-azure@10.0.5
  • @directus/storage-driver-cloudinary@10.0.5
  • @directus/storage-driver-gcs@10.0.5
  • @directus/storage-driver-local@10.0.5
  • @directus/storage-driver-s3@10.0.5
  • @directus/stores@0.1.0
  • @directus/types@10.1.1
  • @directus/update-check@11.0.1
  • @directus/utils@10.0.5

v10.2.1

26 May 18:22
619d1f5
Compare
Choose a tag to compare

This release doesn't include any new changes or fixes. An npm publishing problem was identified in 10.2 which caused "raw' npm installations to fail.

πŸ“¦ Published Versions

  • @directus/api@11.0.1
  • @directus/composables@10.0.4
  • @directus/constants@10.2.0
  • create-directus-extension@10.0.4
  • @directus/extensions-sdk@10.1.3
  • @directus/pressure@1.0.3
  • @directus/storage-driver-azure@10.0.4
  • @directus/storage-driver-cloudinary@10.0.4
  • @directus/storage-driver-gcs@10.0.4
  • @directus/storage-driver-local@10.0.4
  • @directus/storage-driver-s3@10.0.4
  • @directus/utils@10.0.4

v10.2.0

26 May 17:17
ca73cc9
Compare
Choose a tag to compare

⚠️ Potential Breaking Changes

  • @directus/api
    • Removed unnecessary disclosure of potentially sensitive server info (#18648 by @licitdev)
      This changes the available information and output type signature of the /server/info endpoint
  • @directus/update-check
    • Replaced update info in @directus/api by an update notifier in the directus package (#18738 by @paescuj)

✨ New Features & Improvements

  • @directus/app
    • Added live preview functionality to the Data Studio App to easily and instantly track the impact of item changes on web pages (#17794 by @Nitwel)
    • Improve custom translations management and performance (#18097 by @br41nslug)
  • @directus/api
    • Added synchronization across horizontally scaled instances to schedule flows and hooks (#18584 by @nickrum)
    • Enable caching for requests from data studio when CACHE_AUTO_PURGE is enabled (#18484 by @licitdev)
    • Added a new FILES_MAX_UPLOAD_SIZE environment variable for setting a max value system-wide (#18735 by @rijkvanzanten)
    • Improve custom translations management and performance
    • Added support for FILES_MIME_TYPE_ALLOW_LIST environment variable. (#18736 by @rijkvanzanten)
  • @directus/types
    • Improve custom translations management and performance
    • Added basic types for data packages (#18555 by @jaads)
  • @directus/random
    • Added randomAlpha, randomArray, randomInteger, randomSequence, and randomUUID functions (#18668 by @rijkvanzanten)

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Updated dependencies in all packages (#18643 by @paescuj)
    • Removed unnecessary disclosure of potentially sensitive server info
    • Fixed FILES_MAX_UPLOAD_SIZE crashing bug and files interface error when the upload request errors (#18737 by @licitdev)
    • Added pagination to flow logs to prevent memory allocation issues on large revision sets (#18652 by @rijkvanzanten)
    • Fixed group-accordion value initialization for usage in extension options (#18638 by @hanneskuettner)
    • Fixed input-block-editor popover styles on dark mode (#18704 by @that1matt)
    • Fixed fetching of all permissions (#18655 by @paescuj)
    • Translated field names in collection dialog (#18708 by @br41nslug)
    • Optimised export sidebar aggregation call (#18724 by @licitdev)
    • Bumped @sindresorhus/slugify to fix undesirable behavior in slugify input (#18639 by @hanneskuettner)
    • Enhanced translations in export sidebar (#18686 by @paescuj)
    • Fixed incorrect endpoints for system collections (#18657 by @licitdev)
  • @directus/api
    • Updated dependencies in all packages (#18643 by @paescuj)
    • Added live preview functionality to the Data Studio App to easily and instantly track the impact of item changes on web pages (#17794 by @Nitwel)
    • Updated openapi3-ts to v4 (#18722 by @paescuj)
    • Fixed FILES_MAX_UPLOAD_SIZE crashing bug and files interface error when the upload request errors (#18737 by @licitdev)
    • Optimised countDistinct aggregation on primary key field (#18717 by @licitdev)
    • Replaced update info in @directus/api by an update notifier in the directus package (#18738 by @paescuj)
    • Improved redaction of logs in Flows by catching additional keys (#18534 by @paescuj)
    • Updated handler response format for manual flows (#18741 by @licitdev)
    • Removed cdn.directus.io from imgSrc and mediaSrc in the base CSP configuration (#18728 by @azrikahar)
  • @directus/composables
  • create-directus-extension
  • @directus/data-driver-postgres
  • @directus/data
  • @directus/exceptions
  • @directus/extensions-sdk
  • @directus/pressure
  • @directus/random
  • @directus/release-notes-generator
  • @directus/storage-driver-azure
  • @directus/storage-driver-cloudinary
  • @directus/storage-driver-gcs
  • @directus/storage-driver-local
  • @directus/storage-driver-s3
  • @directus/storage
  • @directus/types
    • Updated dependencies in all packages (#18643 by @paescuj)
    • Added live preview functionality to the Data Studio App to easily and instantly track the impact of item changes on web pages (#17794 by @Nitwel)
  • @directus/update-check
  • @directus/utils
    • Updated dependencies in all packages (#18643 by @paescuj)
    • Added live preview functionality to the Data Studio App to easily and instantly track the impact of item changes on web pages (#17794 by @Nitwel)
  • @directus/specs

πŸ“ Documentation

  • Added synchronization across horizontally scaled instances to schedule flows and hooks (#18584 by @nickrum)
  • Updated dependencies in all packages (#18643 by @paescuj)
  • Removed unnecessary disclosure of potentially sensitive server info
  • Added documentation for auth create and update hooks (#18641 by @paescuj)
  • Added live preview functionality to the Data Studio App to easily and instantly track the impact of item changes on web pages (#17794 by @Nitwel)
  • Improved Affordance of Docs Card Component Link (#18628 by @connorsimply)
  • Added initial docs for running tests in the codebase (#18061 by @licitdev)

πŸ§ͺ Blackbox Tests

  • Updated dependencies in all packages (#18643 by @paescuj)
  • Enable caching for requests from data studio when CACHE_AUTO_PURGE is enabled (#18484 by @licitdev)

πŸ“¦ Published Versions

  • @directus/app@10.3.0
  • @directus/api@11.0.0
  • @directus/composables@10.0.3
  • create-directus-extension@10.0.3
  • @directus/data@0.0.1
  • @directus/data-driver-postgres@0.0.1
  • @directus/exceptions@10.0.2
  • @directus/extensions-sdk@10.1.2
  • @directus/pressure@1.0.2
  • @directus/random@0.2.0
  • @directus/release-notes-generator@0.0.1
  • @directus/specs@10.1.1
  • @directus/storage@10.0.2
  • @directus/storage-driver-azure@10.0.3
  • @directus/storage-driver-cloudinary@10.0.3
  • @directus/storage-driver-gcs@10.0.3
  • `@dire...
Read more

v10.1.1

16 May 18:03
fa8c914
Compare
Choose a tag to compare

✨ New Features & Improvements

  • @directus/app
    • Add new toggle to collapse nested collections in the datamodel settings (#18547 by @that1matt)
  • @directus/api

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Fixed invalid field types in grouping for kanban layout (#18602 by @licitdev)
    • Fixed render issue in file item route (#18581 by @paescuj)
    • Updated Vue to 3.3 (#18588 by @paescuj)
    • Added missing translation in presentation-notice interface (#18591 by @paescuj)
    • Fixed drag & drop upload to the root folder in the file library (#18601 by @paescuj)
    • Added a maximum for query limit (#17309 by @br41nslug)
    • Fixed api endpoint for insights list panel (#18631 by @br41nslug)
    • Fixed issue with interface forms not rendering when interface itself has no default value (#18610 by @paescuj)
    • Fixed default values for interfaces & displays (#18611 by @paescuj)
    • Fixed users-invite component's incorrect null check (#18583 by @licitdev)
    • Allow batchMode and batchActive to be used in interface extensions (#18624 by @timio23)
    • Fixed field detail logic to ensure options for list & map interfaces are displayed again (#18603 by @paescuj)
    • Fixed deselecting options for kanban layout (#18600 by @licitdev)
  • @directus/api
    • Fixed error handling for unknown fields used in filters (#18630 by @br41nslug)
    • Fixed issue preventing user from authenticating with external auth drivers when user info didn't change (#18607 by @aidenfoxx)
    • Updated vm2 dependency (#18616 by @br41nslug)
    • Fixed auto conversion of images with transparency support when accept header is not applicable (#18615 by @paescuj)
    • Sanitized column only when applying snapshot diff (#18579 by @licitdev)
  • @directus/composables
  • @directus/extensions-sdk
  • @directus/types
  • @directus/utils
  • @directus/schema

πŸ“ Documentation

πŸ§ͺ Blackbox Tests

πŸ“¦ Published Versions

  • @directus/app@10.2.0
  • @directus/api@10.2.0
  • @directus/composables@10.0.2
  • @directus/extensions-sdk@10.1.1
  • @directus/types@10.0.1
  • @directus/utils@10.0.2
  • @directus/schema@10.0.1

v10.1.0

11 May 21:22
703c5d9
Compare
Choose a tag to compare

v10.1.0 (May 11, 2023)

✨ New Features & Improvements

  • @directus/app
    • Added Cache option so that caching can be disabled for GET requests to Flows webhook trigger (#18277 by @licitdev)
    • Added Kanban layout (#18516 by @azrikahar)
    • Added bar chart, line chart, pie chart, and meter panels (#18522 by @azrikahar)
    • Added folder navigation to the file(s) / image selector interfaces, making it easier to browse and select assets (#18320 by @paescuj)
    • Added block editor interface (#18525 by @azrikahar)
  • @directus/api
    • Added Cache option so that caching can be disabled for GET requests to Flows webhook trigger (#18277 by @licitdev)
    • Added support for the multipart/form-data content type in the /schema/apply endpoint (#18321 by @jaads)
    • Added Pressure-based rate limiter (#17873 by @rijkvanzanten)
  • @directus/specs
    • Added support for the multipart/form-data content type in the /schema/apply endpoint (#18321 by @jaads)
  • @directus/random
  • @directus/extensions-sdk
    • Added support for building API extensions to ESM format and default to ESM for new extensions (#18351 by @nickrum)
  • @directus/constants
    • Added support for building API extensions to ESM format and default to ESM for new extensions (#18351 by @nickrum)

πŸ› Bug Fixes & Optimizations

  • @directus/app
    • Updated vitest to 0.31.0 (#18483 by @br41nslug)
    • Prevented parsing non-decimal values in search query (#18383 by @br41nslug)
    • Added Pressure-based rate limiter (#17873 by @rijkvanzanten)
    • Added support for relational fields in field presets (#16560 by @timspi)
    • Added no-nested-ternary eslint rule to ensure better readability in the code base (#18376 by @br41nslug)
    • Added overflow scrollbars in v-card component (#18503 by @br41nslug)
    • Made folders hidden by default in system collection-chooser interface (#18362 by @Nitwel)
    • Fixed an issue that would cause the display template to fail on the calendar layout (#18267 by @br41nslug)
    • Updated the direct links to discussions/issues to drop the pre-chosen template (#18520 by @rijkvanzanten)
    • Added a shortcut link in settings for relational fields in the data model (#18346 by @hanneskuettner)
    • Fixed v-checkbox emit behavior when used with array model-value and the custom-value flag (#18552 by @hanneskuettner)
    • Translate module link name in project settings (#18343 by @licitdev)
    • Fixed boolean display to show icons when default values are used (#18357 by @Nitwel)
  • @directus/api
  • @directus/extensions-sdk
    • Added a constant with all possible javascript file extensions (#18350 by @nickrum)
    • Updated vitest to 0.31.0 (#18483 by @br41nslug)
    • Added no-nested-ternary eslint rule to ensure better readability in the code base (#18376 by @br41nslug)
    • Silenced prefer builtins and circular dependency warnings when building extensions (#18366 by @nickrum)
    • Removed extension config import workaround that is no longer necessary since we are building to ESM (#18349 by @nickrum)
  • @directus/constants
    • Added a constant with all possible javascript file extensions (#18350 by @nickrum)
    • Marked the constant, utils, composables and exceptions packages as side effects free to shrink size of API extensions using Typescript (#18365 by @nickrum)
  • @directus/composables
    • Updated vitest to 0.31.0 (#18483 by @br41nslug)
    • Marked the constant, utils, composables and exceptions packages as side effects free to shrink size of API extensions using Typescript (#18365 by @nickrum)
    • Improved select-multiple-checkbox behavior when modifying a custom value (#18554 by @hanneskuettner)
  • @directus/exceptions
    • Updated vitest to 0.31.0 (#18483 by @br41nslug)
    • Marked the constant, utils, composables and exceptions packages as side effects free to shrink size of API extensions using Typescript (#18365 by @nickrum)
  • @directus/storage-driver-azure
  • @directus/storage-driver-cloudinary
  • @directus/storage-driver-gcs
  • @directus/storage-driver-local
  • @directus/storage-driver-s3
  • @directus/storage
  • @directus/update-check
  • @directus/utils
    • Updated vitest to 0.31.0 (#18483 by @br41nslug)
    • Added Pressure-based rate limiter (#17873 by @rijkvanzanten)
    • Marked the constant, utils, composables and exceptions packages as side effects free to shrink size of API extensions using Typescript (#18365 by @nickrum)

πŸ“ Documentation

  • Added support for the multipart/form-data content type in the /schema/apply endpoint (#18321 by @jaads)
  • Added Pressure-based rate limiter (#17873 by @rijkvanzanten)
  • Added Kanban layout (#18516 by @azrikahar)
  • Added bar chart, line chart, pie chart, and meter panels (#18522 by @azrikahar)
  • Added support for building API extensions to ESM format and default to ESM for new extensions (#18351 by @nickrum)
  • Added warning note about the requirement of a package.json file when initializing Directus from node directly (37d74f96fd by @rijkvanzanten)
  • Instruct users to use the la...
Read more