❌

Normale weergave

v11.9.0

25 Juni 2025 om 21:36

⚠️ 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
    • Added Keyboard Accessibility (#25214 by @formfcw)
    • Improved the UX of the field permissions by changing its interface to a checkbox tree (#25253 by @formfcw)
  • @directus/api
    • Added AUTH_.+_ISSUER_DISCOVERY_MUST_SUCCEED and AUTH_.+_CLIENT_HTTP env variables to the openid provider (#25002 by @ComfortablyCoding)
    • Added backlink query parameter to exclude back-relations when expanding *.* in the fields query parameter (#25284 by @Nitwel)
  • @directus/composables
  • @directus/env
    • Added AUTH_.+_ISSUER_DISCOVERY_MUST_SUCCEED and AUTH_.+_CLIENT_HTTP env variables to the openid provider (#25002 by @ComfortablyCoding)
  • @directus/sdk
    • Added backlink query parameter to exclude back-relations when expanding *.* in the fields query parameter (#25284 by @Nitwel)
  • @directus/types
    • Added backlink query parameter to exclude back-relations when expanding *.* in the fields query parameter (#25284 by @Nitwel)

πŸ› 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.sort action 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
  • @directus/env
  • @directus/types
  • @directus/system-data
  • @directus/components
  • @directus/extensions-sdk
  • @directus/storage-driver-cloudinary
  • @directus/storage-driver-supabase
  • @directus/themes
  • @directus/utils
    • Replaced mapValuesDeep with deepMap. (#25216 by @Nitwel)
    • Fixed translating m2a filters on GQL only when applicable (#24830 by @Nitwel)
  • @directus/schema-builder
    • Fixed translating m2a filters on GQL only when applicable (#24830 by @Nitwel)
  • @directus/sdk
  • @directus/errors
  • @directus/extensions
    • Fixed default value of extension options not allowing any (#25273 by @Nitwel)

πŸ“¦ Published Versions

  • @directus/app@13.11.0
  • @directus/api@28.0.0
  • @directus/components@1.1.1
  • @directus/composables@11.2.0
  • create-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

  •  
❌