β οΈ Potential Breaking Changes
Added support for LDAP login and enhanced parameter consistency for refresh/logout commands. Allowed overriding the mode in refresh and logout commands to be inline with login (#25132)
The login method now accepts a payload object instead of separate email and password parameters.
This enables support for both standard and LDAP authentication, but requires updates to code that previously called sdk.login(email, password).
The new usage is sdk.login({ email, password }) or sdk.login({ identifier, password }) for LDAP.
The refresh and logout command method parameters have been updated to be consistent across usage. The functions now accept an options object instead of their previous regular parameters.
For example the new usage for refresh is sdk.request(refresh({ mode: "json", refresh_token })) instead of sdk.request(refresh('json', refresh_token)).
- @directus/api
- Fixed manual flows to only trigger with appropriate permissions (#25354 by @br41nslug)
- @directus/sdk
- Added support for LDAP login and enhanced parameter consistency for refresh/logout commands. Allowed overriding the mode in refresh and logout commands to be inline with login (#25132 by @ComfortablyCoding)
- @directus/extensions-sdk
β¨ New Features & Improvements
- @directus/app
- @directus/api
- Added
AUTH_.+_ISSUER_DISCOVERY_MUST_SUCCEEDandAUTH_.+_CLIENT_HTTPenv variables to theopenidprovider (#25002 by @ComfortablyCoding) - Added
backlinkquery parameter to exclude back-relations when expanding*.*in the fields query parameter (#25284 by @Nitwel)
- Added
- @directus/composables
- @directus/env
- Added
AUTH_.+_ISSUER_DISCOVERY_MUST_SUCCEEDandAUTH_.+_CLIENT_HTTPenv variables to theopenidprovider (#25002 by @ComfortablyCoding)
- Added
- @directus/sdk
- @directus/types
π Bug Fixes & Optimizations
- @directus/app
- Added BSL license banner to display for first admin user (#25299 by @AlexGaillard)
- Fixed system filters showing null (#25294 by @br41nslug)
- Ensured to revert changes on error after drag & drop in kanban and calendar layout (#25329 by @formfcw)
- Prevented table column widths from having null values (#25298 by @robluton)
- Ensured that the redirection to the collection view after editing an item takes the bookmark query into account (#25327 by @formfcw)
- Allowed selecting custom collections for
items.sortaction hook (#25340 by @ComfortablyCoding) - Improved nested folder rendering performance (#25276 by @AlexGaillard)
- Fixed the βSave as Copyβ action for files (#25351 by @Nitwel)
- Updated dependencies tar-fs, vue-i18n, vite and undici (#25267 by @br41nslug)
- Ensured that the archive filter would only apply if permissions were granted for the archive field (#25352 by @formfcw)
- @directus/api
- Added BSL license banner to display for first admin user (#25299 by @AlexGaillard)
- Updated
info.versionin the OpenAPI specs (#25353 by @br41nslug) - Replaced mapValuesDeep with deepMap. (#25216 by @Nitwel)
- Fixed existing
numeric_precision,numeric_scaleandmax_lengthnot respected on schema changes (#25346 by @ComfortablyCoding) - Fixed translating m2a filters on GQL only when applicable (#24830 by @Nitwel)
- Added anonymous project id for improved telemetry (#25300 by @rijkvanzanten)
- Added support for non array group claims in OpenID and OAuth2 (#25173 by @smgrol)
- Fixed logging of invalid url in isUrlAllowed (#25235 by @MrGreenTea)
- Added key/value information to db errors (#25112 by @Nitwel)
- Improved redaction in Flows' Log to Console operation (#25355 by @br41nslug)
- Fixed Marketplace extension ID when extension was not on database yet (#25304 by @joselcvarela)
- Fixed permissions for shares for non-admin users (#25229 by @Nitwel)
- @directus/env
- Added BSL license banner to display for first admin user (#25299 by @AlexGaillard)
- @directus/types
- Added BSL license banner to display for first admin user (#25299 by @AlexGaillard)
- Added anonymous project id for improved telemetry (#25300 by @rijkvanzanten)
- @directus/system-data
- Added BSL license banner to display for first admin user (#25299 by @AlexGaillard)
- Added anonymous project id for improved telemetry (#25300 by @rijkvanzanten)
- @directus/components
- Updated dependencies tar-fs, vue-i18n, vite and undici (#25267 by @br41nslug)
- @directus/extensions-sdk
- Updated dependencies tar-fs, vue-i18n, vite and undici (#25267 by @br41nslug)
- @directus/storage-driver-cloudinary
- Updated dependencies tar-fs, vue-i18n, vite and undici (#25267 by @br41nslug)
- @directus/storage-driver-supabase
- Updated dependencies tar-fs, vue-i18n, vite and undici (#25267 by @br41nslug)
- @directus/themes
- Updated dependencies tar-fs, vue-i18n, vite and undici (#25267 by @br41nslug)
- @directus/utils
- @directus/schema-builder
- @directus/sdk
- Added anonymous project id for improved telemetry (#25300 by @rijkvanzanten)
- @directus/errors
- @directus/extensions
π¦ Published Versions
@directus/app@13.11.0@directus/api@28.0.0@directus/components@1.1.1@directus/composables@11.2.0create-directus-extension@11.0.15@directus/env@5.1.0@directus/errors@2.0.2@directus/extensions@3.0.7@directus/extensions-registry@3.0.7@directus/extensions-sdk@14.0.0@directus/memory@3.0.6@directus/pressure@3.0.6@directus/schema-builder@0.0.3@directus/storage-driver-azure@12.0.6@directus/storage-driver-cloudinary@12.0.6@directus/storage-driver-gcs@12.0.6@directus/storage-driver-s3@12.0.6@directus/storage-driver-supabase@3.0.6@directus/system-data@3.1.1@directus/themes@1.1.2@directus/types@13.2.0@directus/utils@13.0.7@directus/validation@2.0.6@directus/sdk@20.0.0