v11.0.0-rc.3
版本发布时间: 2024-07-10 21:50:16
directus/directus最新发布版本:v11.1.0(2024-09-04 05:51:09)
⚠️ Potential Breaking Changes
-
@directus/app
- Added a new policy based permissions system (#22773 by @rijkvanzanten)
- @directus/api
-
@directus/utils
- Added new dynamic variables to
parseFilter
and added theprocessChunk
helper (#22773 by @rijkvanzanten)
- Added new dynamic variables to
-
@directus/types
- Added new types and modified existing types required for Policies (#22773 by @rijkvanzanten)
-
@directus/extensions
- Changed module
preRegisterCheck
signature to align with the changes made for Policies (#22773 by @rijkvanzanten)
- Changed module
-
@directus/system-data
- Added new collections and fields and updated existing fields and permissions needed for Policies (#22773 by @rijkvanzanten)
✨ New Features & Improvements
- @directus/api
-
@directus/constants
- Added permission actions constant (#22773 by @rijkvanzanten)
-
@directus/sdk
- Implemented new SDK functions for policies (#22773 by @rijkvanzanten)
-
@directus/memory
- Added new
clear
method to cache implementations (#22773 by @rijkvanzanten)
- Added new
-
@directus/errors
- Added error extension to the
ForbiddenError
(#22773 by @rijkvanzanten)
- Added error extension to the
🐛 Bug Fixes & Optimizations
-
@directus/app
- Fixed table layout default query, to not include presetational fields (#22840 by @hanneskuettner)
-
@directus/api
- Fixed
reduceSchema
to strip out collection the user does not have access to (#22916 by @hanneskuettner) - Fixed environment variable parsing to always convert to number of bytes (#22957 by @hanneskuettner)
- Fixed filter creation in
fetchPolicies
for users without roles (#22936 by @hanneskuettner) - Fixed the policies migration for the case where permissions had been configured for the public role (#22811 by @paescuj)
- Fix query error on some DB vendors when using multi relation sort (#22872 by @hanneskuettner)
- Migrated
NotificationsService
to new policies system (#22914 by @hanneskuettner) - Fixed an issue where keys in filter operand objects where incorrectly checked for field permissions (#22915 by @hanneskuettner)
- Fixed an issue that would cause the logger redactor to fail when an invalid URL was requested (#22960 by @rijkvanzanten)
- Fixed
📦 Published Versions
-
@directus/app@13.0.0-rc.2
-
@directus/api@21.0.0-rc.0
-
@directus/composables@10.1.16-rc.0
-
@directus/constants@11.1.0-rc.1
-
create-directus-extension@10.1.15-rc.0
-
@directus/env@1.3.1-rc.0
-
@directus/errors@0.4.0-rc.1
-
@directus/extensions@2.0.0-rc.1
-
@directus/extensions-registry@1.0.10-rc.0
-
@directus/extensions-sdk@11.0.10-rc.0
-
@directus/memory@1.1.0-rc.1
-
@directus/pressure@1.0.22-rc.0
-
@directus/storage-driver-azure@10.0.24-rc.0
-
@directus/storage-driver-cloudinary@10.0.24-rc.0
-
@directus/storage-driver-gcs@10.0.25-rc.0
-
@directus/storage-driver-s3@10.1.1-rc.0
-
@directus/storage-driver-supabase@1.0.16-rc.0
-
@directus/system-data@2.0.0-rc.1
-
@directus/themes@0.3.11-rc.0
-
@directus/types@12.0.0-rc.1
-
@directus/utils@12.0.0-rc.1
-
@directus/validation@0.0.19-rc.0
-
@directus/sdk@16.2.0-rc.1