react-directus
react-directus copied to clipboard
Update dependency @directus/sdk to v17
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @directus/sdk (source) | 10.3.5 -> 17.0.2 |
Release Notes
directus/directus (@directus/sdk)
v11.0.2
✨ New Features & Improvements
- @directus/app
- Added the option to select a default sort field in the O2M interface (#23019 by @alexvdvalk)
- @directus/composables
🐛 Bug Fixes & Optimizations
- @directus/app
- Fixed bookmark duplication when rapidly switching between bookmarks (#23324 by @SP12893678)
- Fixed translations interface that attempted to query the language direction field, even if unconfigured and unavailable (#23300 by @hanneskuettner)
- Fixed readonly mutation to fields in the store via item drawer (#23277 by @azrikahar)
- Fixed the sorting behavior when adding new items to a O2M relation that uses a string sort field (e.g. through manual (#23348 by @hanneskuettner) sorting in the table interface)
- Enhanced & aligned item counts in collections, providing more detailed information (#22519 by @paescuj)
- Improved WYSIWYG editor to hide the toolbar if no toolbar items are selected (#23310 by @Dominic-Marcelino)
- Fixed the WYSIWYG interface to correctly apply the font configured in the interface settings (#23343 by @formfcw)
- @directus/api
- Persist default value and nullable during field schema update (#23151 by @echocrow)
- Fixed caching behavior of permissions that contain dynamic variables (#23321 by @hanneskuettner)
- Fixed the permission application for relational
_someand_nonefilters (#23272 by @hanneskuettner) - Fixed an issue where the first column would be missing when importing UTF-8 BOM CSV files (#23332 by @azrikahar)
- Fixed sort field default for related o2m items in case of missing permissions (#23267 by @hanneskuettner)
- Fixed typo for invalid aggregate query parameter log (#23334 by @azrikahar)
- Fixed item permission checking for collections that have permissions with no field access (#23357 by @hanneskuettner)
- Fixed deep
groupByqueries for O2M relations, where results were not correctly grouped under their respective parent (#23279 by @hanneskuettner) items - Fixed the notification for finished file exports to be sent out to users without requiring any permissions on
directus_notifications(#23336 by @azrikahar) - Fixed the retrieval of updatable singleton field permissions in the
/permissions/me/<collection>endpoint (#23269 by @hanneskuettner) - Fixed permissions migration to work with more MySQL flavors (#23327 by @hanneskuettner)
- Fixed
"DB_CLIENT" Environment Variable is missing.appearing duringdirectus init(#23256 by @ComfortablyCoding) - Fixed M2A querying when the user does not have access to all related collections (#23340 by @hanneskuettner)
- Ensured payload validation accounts for preset data (#23346 by @hanneskuettner)
📦 Published Versions
@directus/[email protected]@directus/[email protected]@directus/[email protected][email protected]@directus/[email protected]
v11.0.1
There were a handful reports about the migrations from v10-v11 failing, so we pushed a couple patches to make it more reliable 🙂
✨ New Features & Improvements
- @directus/api
- Added transaction retry mechanism for SQLite if a
SQLITE_BUSYerrors occurs (#23243 by @joggienl) - Added support for listening on unix sockets via a new
UNIX_SOCKET_PATHvariable (#23150 by @McSundae)
- Added transaction retry mechanism for SQLite if a
- @directus/env
- Added support to provide a cast prefix to config variables which are read from a file using the
_FILEsuffix (#22164 by @joselcvarela)
- Added support to provide a cast prefix to config variables which are read from a file using the
🐛 Bug Fixes & Optimizations
- @directus/app
- Removed update delay in the block editor interface (#23115 by @SP12893678)
- Fixed list structure in draggable lists (#23116 by @SP12893678)
- Fixed an issue that would cause the translations display not to use the correct language if the user relied on "system (#23240 by @danilobuerger) language"
- @directus/api
- Improved policies migration to handle a missing foreign key on
directus_permissions.rolemore gracefully (#23251 by @hanneskuettner) - Ensured the migrations are properly executed when bootstrapping MySQL (#23233 by @paescuj)
- Fixed drop foreign key if has different constraint name on permissions policies migrations (#23253 by @joselcvarela)
- Fixed the init CLI command for MySQL to use the new
mysql2package (#23231 by @paescuj)
- Improved policies migration to handle a missing foreign key on
📝 Documentation
- Added support for listening on unix sockets via a new
UNIX_SOCKET_PATHvariable (#23150 by @McSundae) - Added support to provide a cast prefix to config variables which are read from a file using the
_FILEsuffix (#22164 by @joselcvarela)
📦 Published Versions
@directus/[email protected]@directus/[email protected]@directus/[email protected]
v11.0.0
Policies
Directus v11 contains a brand new permissions system that's based on policies. We've provided a migration, so the upgrade path is the same as with other releases. This is a big release, which changes the paradigm on how permissions are attached and executed. Please make a database backup before upgrading your version of Directus.
⚠️ Potential Breaking Changes
- @directus/app
- Added a new policy based permissions system (#22773 by @rijkvanzanten)
- @directus/api
- Replaced the database client library
mysqlwithmysql2, used for MySQL/MariaDB (#22534 by @paescuj) - Added a new policy based permissions system (#22773 by @rijkvanzanten)
- Replaced the database client library
- @directus/extensions
- Changed module
preRegisterChecksignature 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)
- @directus/types
- Added new types and modified existing types required for Policies (#22773 by @rijkvanzanten)
- @directus/utils
- Added new dynamic variables to
parseFilterand added theprocessChunkhelper (#22773 by @rijkvanzanten)
- Added new dynamic variables to
✨ New Features & Improvements
- @directus/api
- Updated WebSocket subscriptions to include the new policies collection (#22773 by @rijkvanzanten)
- Used explicit headings for CSV export (#23140 by @jaads)
- Implemented new GraphQL queries for policies (#22773 by @rijkvanzanten)
- @directus/constants
- Added permission actions constant (#22773 by @rijkvanzanten)
- @directus/sdk
- Implemented new SDK functions for policies (#22773 by @rijkvanzanten)
- @directus/memory
- Added new
clearmethod 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
- Ensured collections in system permissions interface are scrolled into view when added but out of view (#23036 by @paescuj)
- Ensured the permissions table under policies is displayed correctly on mobile devices (#22985 by @paescuj)
- Fixed table layout default query, to not include presetational fields (#22840 by @hanneskuettner)
- Fixed missing policies in public role policy selection (#23192 by @hanneskuettner)
- @directus/api
- Fixed
groupBybehavior that resulted in an internal server error when used with relational item permissions (#23185 by @hanneskuettner) - Fixed an issue that would cause the API to return an error when a root field in a m2a builder was queried (#23181 by @rijkvanzanten)
- Fixed
reduceSchemato strip out collection the user does not have access to (#22916 by @hanneskuettner) - Fixed user counting where users were double counted and inactive users with policies were counted as well (#23184 by @rijkvanzanten)
- Fixed filter creation in
fetchPoliciesfor users without roles (#22936 by @hanneskuettner) - Fixed aggregation field existence and permission checks (#23022 by @hanneskuettner)
- Fixed down migration erroring on post migration permissions (#23097 by @ComfortablyCoding)
- Fixed permission checking for o2m related fields (#23199 by @hanneskuettner)
- Ensured that policies attached to a user, role and parent roles are correctly prioritized (#22967 by @paescuj)
- Ensured the default
DB_FILENAMEoption from the Docker Image is not applied when using MySQL/MariaDB, fixing a corresponding warning (#22970 by @cliqer) - 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
NotificationsServiceto new policies system (#22914 by @hanneskuettner) - Fixed broken permissions for sorting of aggregate query when using the aggregate result as sort field (#23193 by @hanneskuettner)
- Fixed an issue where keys in filter operand objects where incorrectly checked for field permissions (#22915 by @hanneskuettner)
- Fixed
📦 Published Versions
@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected][email protected][email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/storage-driver-s3@​11.0.0@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]@directus/[email protected]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.