mirror of
https://github.com/directus/directus.git
synced 2026-01-30 06:58:09 -05:00
* Add support for npm extensions * Allow extensions to import vue from the main app * Bundle app extensions on server startup * Fix return type of useLayoutState * Add shared package * Add extension-sdk package * Add type declaration files to allow deep import of shared package * Add extension loading to shared * Refactor extension loading to use shared package * Remove app bundle newline replacement * Fix extension loading in development * Rename extension entrypoints * Update extension build instructions * Remove vite auto-replacement workaround * Update package-lock.json * Remove newline from generated extension entrypoint * Update package-lock.json * Build shared package as cjs and esm * Move useLayoutState composable to shared * Reverse vite base env check * Share useLayoutState composable through extension-sdk * Update layout docs * Update package versions * Small cleanup * Fix layout docs * Fix imports * Add nickrum to codeowners * Fix typo * Add 'em to vite config too * Fix email Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
41 KiB
41 KiB
Changelog
Changes marked with a ⚠️ contain potential breaking changes depending on your use of the package.
v9.0.0-rc.80 (June 22, 2021)
✨ New Features
- API
- ⚠️ #6456 Add schema caching (@rijkvanzanten)
- #6437 Add support for starts/ends with filters (@rijkvanzanten)
- App
- #6441 Add checkboxes-tree interface (@rijkvanzanten)
- #6430 Add Serbian (Latin) Language (@srkinftel)
🐛 Bug Fixes
- App
- #6455 Fixed issue that would prevent source code editing from staging values in wysiwyg (@rijkvanzanten)
- #6454 Fixed color option of the notice presentation interface (@rijkvanzanten)
- #6453 Fixed issue that would throw error in console when creating a new item in a collection w/ translations (@rijkvanzanten)
- #6451 Fix creating custom names for recommend collection fields on new collection setup drawer (@rijkvanzanten)
- #6450 Fixed rendering of SVGs in single file image interface (@rijkvanzanten)
- #6449 Fix header buttons not functioning in markdown interface (@rijkvanzanten)
- #6447 Don't default to
directus_filesin local store on existing relation (@rijkvanzanten) - #6442 Fix display template on collection detail page (@rijkvanzanten)
- #6421 Update admin to use
no-store(@aidenfoxx) - #6361 Fix spacings and icons on presentation link buttons (@HitomiTenshi)
- API
- #6444 Don't return default val for PK field in singleton (@rijkvanzanten)
📦 Dependency Updates
- #6445 fix(deps): update dependency gatsby-source-filesystem to v3.8.0 (@renovate[bot])
- #6443 update vue monorepo to v3.1.2 (@renovate[bot])
- #6439 chore(deps): update dependency marked to v2.1.2 (@renovate[bot])
- #6424 chore(deps): update dependency jest to v27.0.5 (@renovate[bot])
v9.0.0-rc.79 (June 22, 2021)
Nothing to see here.. (Vue's update to 3.1.2 made things go 💥)
v9.0.0-rc.78 (June 21, 2021)
🚀 Improvements
- App
- #6413 Use correct input type for type in advanced filter sidebar (@rijkvanzanten)
🐛 Bug Fixes
- App
- #6412 Fixed issue that would prevent button/list-item links from functioning (@rijkvanzanten)
v9.0.0-rc.77 (June 21, 2021)
✨ New Features
- API
- #6379 Add ability to specify what fields to clone on "Save as Copy" (@rijkvanzanten)
- #6341 Add support for
readhooks onitems(@MoltenCoffee) - #6294 Allow overriding the s-maxage cache header (@rijkvanzanten)
- App
- #6379 Add ability to specify what fields to clone on "Save as Copy" (@rijkvanzanten)
🚀 Improvements
- API
- ⚠️ #6355 Use
no-storeinstead ofno-cachefor skipping the cache (@nachogarcia) - #6349 Use existing file extension as default (@rijkvanzanten)
- #6347 Redact tokens from logs (@rijkvanzanten)
- ⚠️ #6355 Use
🐛 Bug Fixes
- API
- #6350 Don't send sensitive data in webhooks (@rijkvanzanten)
- #6308 Fixed invalid onDelete constraint for OracleDB (@aidenfoxx)
- App
- #6348 Fixed issue that would cause uploads to the root folder of the file library to fail (@rijkvanzanten)
- #6318 Fixed issue that would prevent setting the placeholder on the input interface (@rijkvanzanten)
- #6289 Fixed issue that would prevent the "Import from URL" functionality to work in a many to many interface (@rijkvanzanten)
📝 Documentation
- #6360 Add "require('axios')" in API hooks examples (@paescuj)
- #6339 Fix broken link in quickstart (@geertijewski)
- #6311 Update SDK doc with note on using multiple instances (@martinemmert)
- #6284 Add workaround for vite auto-replacement in docs (@nickrum)
📦 Dependency Updates
- #6406 chore(deps): update typescript-eslint monorepo to v4.28.0 (@renovate[bot])
- #6405 chore(deps): update dependency vue-router to v4.0.10 (@renovate[bot])
- #6401 chore(deps): update dependency codemirror to v5.62.0 (@renovate[bot])
- #6400 chore(deps): update dependency rollup to v2.52.2 (@renovate[bot])
- #6399 chore(deps): update dependency swagger-ui-watcher to v2.1.12 (@renovate[bot])
- #6392 chore(deps): update dependency vite to v2.3.8 (@renovate[bot])
- #6391 chore(deps): update dependency @types/inquirer to v7.3.2 (@renovate[bot])
- #6380 chore(deps): update dependency eslint to v7.29.0 (@renovate[bot])
- #6371 chore(deps): update dependency pinia to v2.0.0-beta.3 (@renovate[bot])
- #6363 chore(deps): update dependency @types/jsonwebtoken to v8.5.2 (@renovate[bot])
- #6357 chore(deps): update dependency typescript to v4.3.4 (@renovate[bot])
- #6342 fix(deps): update dependency chalk to v4 (@renovate[bot])
- #6338 chore(deps): update postgres docker tag to v13 (@renovate[bot])
- #6337 chore(deps): update dependency rollup to v2.52.1 (@renovate[bot])
- ⚠️ #6336 Use node.js v16 in Docker image (@renovate[bot])
- #6334 chore(deps): update dependency fs-extra to v10 (@renovate[bot])
- #6333 chore(deps): update dependency dotenv to v10 (@renovate[bot])
- #6332 chore(deps): update mariadb docker tag to v10.6 (@renovate[bot])
- #6331 chore(deps): update fullcalendar monorepo to v5.8.0 (@renovate[bot])
- #6330 chore(deps): update dependency marked to v2.1.1 (@renovate[bot])
- #6329 chore(deps): update dependency typescript to v4.3.3 (@renovate[bot])
- #6328 fix(deps): update dependency ms to v2.1.3 (@renovate[bot])
- #6327 chore(deps): update dependency vue-router to v4.0.9 (@renovate[bot])
- #6324 chore(deps): update dependency globby to v11.0.4 (@renovate[bot])
- #6323 fix(deps): pin dependencies (@renovate[bot])
- #6322 Configure Renovate (@renovate[bot])
- #6305 Bump sass from 1.35.0 to 1.35.1 (@dependabot[bot])
- #6304 Bump inquirer from 8.1.0 to 8.1.1 (@dependabot[bot])
- #6300 Bump rollup from 2.51.2 to 2.52.0 (@dependabot[bot])
- #6275 Bump @typescript-eslint/eslint-plugin from 4.26.1 to 4.27.0 (@dependabot[bot])
- #6274 Bump @typescript-eslint/parser from 4.26.1 to 4.27.0 (@dependabot[bot])
- #6273 Bump sass from 1.34.1 to 1.35.0 (@dependabot[bot])
- #6272 Bump aws-sdk from 2.927.0 to 2.928.0 (@dependabot[bot])
v9.0.0-rc.76 (June 14, 2021)
✨ New Features
- API
- #6221 Add support for date distance adjustment in
$NOWfilter variable (@rijkvanzanten) - #6216 Added support for nodemailer ignoreTLS option (@nichols-green)
- #6221 Add support for date distance adjustment in
🚀 Improvements
- API
- #6211 Optimized oracle schema overview query (@aidenfoxx)
🐛 Bug Fixes
- API
- #6267 Fix issue that would cause emails to be displayed incorrectly in certain email clients (@rijkvanzanten)
- #6225 Fix Oracle env error (@aidenfoxx)
- #6208 Moved special check above localTypeMap check. (@Oreilles)
- #6190 Fix type casting of boolean env var (@rijkvanzanten)
- App
- #6264 Fixed issue that could cause the HTML interface to emit a change on first load (@rijkvanzanten)
- #6263 Fixed issue that would prevent the m2o from working on foreign keys with no meta row (@rijkvanzanten)
- #6262 Fixes issue that would prevent the layout from refreshing on batch operations (@rijkvanzanten)
- #6258 Fix collection selection in system-collections interface (@nickrum)
- #6236 Fix missing styling for WYSIWYG (@masterwendu)
- #6212 Fix proxying to the app from a subpath (@nickrum)
- specs
📝 Documentation
- #6232 Update the app extension docs to work with Vue 3 (@nickrum)
- #6209 Add note on file env vars (@rijkvanzanten)
📦 Dependency Updates
- #6240 Bump cropperjs from 1.5.11 to 1.5.12 (@dependabot[bot])
- #6239 Bump npm-watch from 0.9.0 to 0.10.0 (@dependabot[bot])
- #6238 Bump eslint-plugin-vue from 7.11.0 to 7.11.1 (@dependabot[bot])
- #6237 Bump aws-sdk from 2.926.0 to 2.927.0 (@dependabot[bot])
- #6201 Bump rollup from 2.51.1 to 2.51.2 (@dependabot[bot])
- #6200 Bump eslint-plugin-vue from 7.10.0 to 7.11.0 (@dependabot[bot])
- #6199 Bump aws-sdk from 2.925.0 to 2.926.0 (@dependabot[bot])
- #6198 Bump gatsby-source-filesystem from 3.7.0 to 3.7.1 (@dependabot[bot])
v9.0.0-rc.75 (June 10, 2021)
🚨 App Extensions
This release includes the big switch from Vue 2 to Vue 3. If you have (complicated) app extensions, make sure to update the build chain of your extension and make sure you're aware of the breaking changes you might have to account for. We'll be upgrading the documentation and providing new boilerplates for Vue 3 based extensions in the coming days.
✨ New Features
- API
- #6155 Allow any of grant's (nested) configuration parameters (oAuth) (@rijkvanzanten)
- #6140 Add item duplicate fields configuration option to directus_collections (@rijkvanzanten)
- #6101 Add support for _FILE environment variables (@paescuj)
- App
🚀 Improvements
- API
- ⚠️ #6187 Add additional check to Two-Factor Authentication (by @masterwendu) (@rijkvanzanten)
- #6119 Don't treat numbers larger than the JS max number size as number values in environment variables (@skizer)
- App
- ⚠️ #6187 Add additional check to Two-Factor Authentication (by @masterwendu) (@rijkvanzanten)
- #6186 Add number formatting to formatted-values display (@rijkvanzanten)
- #6171 Use JSON editor for JSON field type default value (@rijkvanzanten)
- #6168 Show better message for improperly formatted emails on login (@rijkvanzanten)
- #6118 Support async preRegisterCheck for custom modules (@t7tran)
🐛 Bug Fixes
- App
- #6174 Fix issue that would cause sort order of fields to be corrupted on field changes (@rijkvanzanten)
- #6173 Prevent translation rows from being edited before existing values are loaded (@rijkvanzanten)
- #6172 Fix translations hint not linking to collection (@rijkvanzanten)
- #6171 Use JSON editor for JSON field type default value (@rijkvanzanten)
- API
- #6167 Cleanup one_allowed_collections field on collection delete (@rijkvanzanten)
- #6163 Fix field update for data types with length or boolean as default value (@paescuj)
- #6153 Fixed issue that would cause foreign key constraints to be missed in pascal cased table names in postgres (@rijkvanzanten)
📝 Documentation
- #6188 Adding an example to cron hook (@juancarlosjr97)
- #6150 Describe breaking change in filter syntax in v8 migration information (@nachogarcia)
- #6135 List cron in Event Format Options (@benhaynes)
📦 Dependency Updates
- #6177 Bump aws-sdk from 2.924.0 to 2.925.0 (@dependabot[bot])
- #6176 Bump @azure/storage-blob from 12.5.0 to 12.6.0 (@dependabot[bot])
- #6175 Bump jest-environment-jsdom from 26.6.2 to 27.0.3 (@dependabot[bot])
- #6147 Bump dotenv from 9.0.2 to 10.0.0 (@dependabot[bot])
- #6146 Bump jest-environment-jsdom from 26.6.2 to 27.0.3 (@dependabot[bot])
- #6145 Bump @types/codemirror from 0.0.109 to 5.60.0 (@dependabot[bot])
- #6144 Bump lint-staged from 10.5.4 to 11.0.0 (@dependabot[bot])
- #6126 Bump execa from 5.0.1 to 5.1.1 (@dependabot[bot])
- #6125 Bump slugify from 1.5.0 to 1.5.3 (@dependabot[bot])
- #6124 Bump prettier from 2.3.0 to 2.3.1 (@dependabot[bot])
- #6123 Bump connect-redis from 5.2.0 to 6.0.0 (@dependabot[bot])
- #6122 Bump @types/sharp from 0.28.1 to 0.28.3 (@dependabot[bot])
v9.0.0-rc.74 (June 7, 2021)
✨ New Features
- API
- #6116 Add support for CRON hooks (interval) (@rijkvanzanten)
🚀 Improvements
- App
- #6112 Make mfa output code selectable (@rijkvanzanten)
- Docker
📝 Documentation
- #6110 Improve search ability of update instructions (@benhaynes)
- #6087 Fix typo (@benhaynes)
- #6086 Update introduction.md (@benhaynes)
📦 Dependency Updates
- #6109 Bump vue-loader from 15.9.6 to 15.9.7 (@dependabot[bot])
- #6108 Bump @types/yargs from 16.0.1 to 17.0.0 (@dependabot[bot])
- #6107 Bump mime-types from 2.1.30 to 2.1.31 (@dependabot[bot])
- #6106 Bump graphql-compose from 8.1.0 to 9.0.1 (@dependabot[bot])
- #6105 Bump jest from 27.0.3 to 27.0.4 (@dependabot[bot])
- #6082 Bump @godaddy/terminus from 4.7.2 to 4.9.0 (@dependabot[bot])
- #6069 Bump @fullcalendar/list from 5.7.0 to 5.7.2 (@dependabot[bot])
- #6068 Bump aws-sdk from 2.911.0 to 2.921.0 (@dependabot[bot])
- #6066 Bump @types/node from 15.9.0 to 15.12.0 (@dependabot[bot])
v9.0.0-rc.73 (June 4, 2021)
🐛 Bug Fixes
- App
- #6060 Fixed issue that would prevent the corresponding o2m field from being created on m2o relational setup (@rijkvanzanten)
- #6056 Fixed issue that would cause the whole row to be draggable in the list-type interfaces (@rijkvanzanten)
- #6053 Fixed issue that would prevent the display tab to show for o2m type fields in field-setup (@rijkvanzanten)
- #6052 Fixed issue in collection color reading for tables that weren't configured in directus yet (@rijkvanzanten)
- #6049 Fixed right click handler not extending beyond nav items (@rijkvanzanten)
- API
- #6059 Fixed unique constraint violation error extraction for MySQL 5.7 (@rijkvanzanten)
- #6058 Fixed issue that would prevent creation relations to an unsigned auto-incremented primary key in MariaDB (@rijkvanzanten)
- #6055 Fixed an issue that would cause "text" fields to show up as varchar with length -1 in MS SQL (@rijkvanzanten)
- #6054 Fixed issue that would prevent usage of limit -1 on deep limit (@rijkvanzanten)
- #6048 Fixed issue that could trigger update actions of children on manual sorting of a parent o2m instance (@rijkvanzanten)
- schema
- #6058 Fixed issue that would prevent creation relations to an unsigned auto-incremented primary key in MariaDB (@rijkvanzanten)
📝 Documentation
- #6051 Update projects.md (@rijkvanzanten)
v9.0.0-rc.72 (June 3, 2021)
✨ New Features
🚀 Improvements
- API
- #6040 Handle illegal/corrupt relational rows better during foreign key migration (@rijkvanzanten)
- #6035 Extract IPTC title and keywords (@rijkvanzanten)
- App
- #6025 Improve
disabledstate on the file interface (@nickluger)
- #6025 Improve
- sdk-js
🐛 Bug Fixes
- API
- #6045 Fix external query during transaction in foreign key constraint creation (@rijkvanzanten)
- #6043 Prevent foreign key constraint names from exceeding 64 characters (@rijkvanzanten)
- #6042 Fixed issue that would prevent relationship updates on foreign key constraints with a custom index name (@rijkvanzanten)
- Docker
📝 Documentation
- #6037 Update one-clicks in readme/docs (@rijkvanzanten)
- #6033 Fix wrong reference to not-yet-existing /backup endpoint (@rijkvanzanten)
📦 Dependency Updates
- #6032 Upgrade dependencies (@rijkvanzanten)
- #6022 Bump sass from 1.34.0 to 1.34.1 (@dependabot[bot])
- #6021 Bump argon2 from 0.27.2 to 0.28.1 (@dependabot[bot])
- #6020 Bump eslint from 7.26.0 to 7.27.0 (@dependabot[bot])
- #6018 Bump @types/node from 15.6.0 to 15.9.0 (@dependabot[bot])
v9.0.0-rc.71 (June 2, 2021)
🚀 Improvements
- API
- #6003 Don't initialize database on file require (@rijkvanzanten)
- #6001 Changed PORT type from number to string (@nichols-green)
- Docker
🐛 Bug Fixes
- API
- #6002 Fix env var validation in database loading step (@rijkvanzanten)
- #5998 Remove stray console.log in dependency (@rijkvanzanten)
📝 Documentation
- #6006 Added document for running directus on iis (@nichols-green)
📦 Dependency Updates
- #5986 Bump marked from 2.0.5 to 2.0.7 (@dependabot[bot])
- #5985 Bump dompurify from 2.2.8 to 2.2.9 (@dependabot[bot])
- #5984 Bump jest-environment-jsdom from 26.6.2 to 27.0.3 (@dependabot[bot])
- #5983 Bump @typescript-eslint/parser from 4.23.0 to 4.26.0 (@dependabot[bot])
- #5982 Bump fs-extra from 9.1.0 to 10.0.0 (@dependabot[bot])
9.0.0-rc.70 (June 1, 2021)
✨ New Features
- API
- #5615 added support for mirroring foreign key constraints with the database (@rijkvanzanten)
- #5795 added support for new environment variables that allow you to control maximum asset generation parameters (@rijkvanzanten)
- #5855 added support for deep filtering on many-to-any items (@rijkvanzanten)
🚀 Improvements
- API
- #5804 treat
uniqueidentifierin MS SQL as a UUID (@Oreilles) e2c9e15throw a 503 service unavailable when the storage adapter crashes during a file upload (@rijkvanzanten)02089a6set the default TTL for cache to a more reasonable 10 minutes (from 30) (@rijkvanzanten)
- #5804 treat
- App
4277de0set the default value for boolean filters totrue, preventing confusion around the state of the toggle in advanced filters (@rijkvanzanten)a5cba0dprevent unusable collections from being selected in the relational setup (@rijkvanzanten)4beccb6don't allow using_containson a UUID (@rijkvanzanten)a40d75aonly close menu boxes when clicking on menu content, ignore menu box itself (@rijkvanzanten)3d3a508allow setting on-create and on-update triggers for many-to-one UUID fields (@rijkvanzanten)5c66c53allow rendering a translations preview next to the language in the translations interface (@rijkvanzanten)- #5943 allow the user to update it's own profile in the app recommended permissions (@cupcakearmy)
- drive-gcs
5704cd4improve uploading performance (@rijkvanzanten)
🐛 Bug Fixes
- API
- #5763 fixed an issue that could cause updates on o2m items to fail (@MiniDigger)
- #5806 fixed an issue that could cause
_orfilters to shortcircuit (@rijkvanzanten) 95307cefixed an issue that would prevent nested one to many item updates to store the correct parent revision (@rijkvanzanten)
- App
- #5810 fixed custom fields on system collections not aligning to the configured sort order (@rijkvanzanten5810)
158316ffixed a small issue that would prevent the advanced filter field selection from allowing multiple nested fields from being opened (@rijkvanzanten)246c552fixed an issue that would require non-null fields to be submitted in every GraphQL mutation (@rijkvanzanten)5506214fixed fallback interface forbooleantype fields (@rijkvanzanten)b782ebafixed an issue that would make custom field translations disappear when reordering the fields in settings (@rijkvanzanten)bd6cab8fixed an issue that would cause the relational setup to auto generate an invalid name when making a recursive many-to-many field (@rijkvanzanten)8590eecfix collection search when using custom nav override structure (@Oreilles)dee8160fixed an issue where dragging an event in the calendar layout could save with the wrong timezone when using a datetime field (@rijkvanzanten)374e6e5don't let v-error messages overflow the bounding box of the dialog (@rijkvanzanten)2660c39fixed an issue that would prevent the user from continuing in field setup when using an existing junction table for a many-to-many relationship (@rijkvanzanten)de0b962fixed the highlight color of a selected folder in the move-folder dialog (@rijkvanzanten)
- drive-azure
- #5788 fixed an issue that would cause file reads from S3/Azure to be double-prefixed with the storage root option (@aidenfoxx)
- drive-s3
- #5788 fixed an issue that would cause file reads from S3/Azure to be double-prefixed with the storage root option (@aidenfoxx)
eb68195fixed an issue that would cause issues when leaving ACL empty (@rijkvanzanten)925c3fafixed an issue that would prevent Range header requests from sending the correct chunk of data (@rijkvanzanten)
- gatsby-source-directus
48cdf6efixed static token support (@TheAzack9)
- schema
- #5816 ignore views when reading tables in MS SQL (@wc-matteo)
📝 Documentation
- added additional information on sort setup
(@benhaynes) - #5750 fixed a couple typos in email-templates (@larssobota)
477c36dmade sure that the latest version of the Docker image is used when copy pasting the docker-compose example (@rijkvanzanten)c0182d7improved the issue template for new issues on GitHub (@benhaynes)5f4a24dadded a note on sending relational data to the Data Access page (@moekify)7f5e59bfixed the links to the API reference in the environment variable overview (@cosminepureanu)56ad3c0remove Patreon in favor of GitHub Sponsors (@benhaynes)