mirror of
https://github.com/directus/directus.git
synced 2026-02-11 21:05:25 -05:00
* added warn when migrations have not all been run * fixed imports * added better error handling * Update api/src/database/index.ts Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> * migration is its own file * added custom migrations path * Handle non-existing custom migrations folder Co-authored-by: jaycammarano <jaycammarano@gmail.com> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
74 KiB
74 KiB
Changelog
Changes marked with a ⚠️ contain potential breaking changes depending on your use of the package.
v9.0.0-rc.87 (July 28, 2021)
✨ New Features
- API
- #7014 Add new /utils/cache/clear endpoint (@rijkvanzanten)
- #7008 Prevent from deleting the last admin user (@rijkvanzanten)
🚀 Improvements
- App
- #7025 Handle autocomplete empty path configurations (@luanmm)
- #7013 Use limit layoutQuery in export sidebar detail (@rijkvanzanten)
- API
- #7003 Default SERVE_APP to true (@rijkvanzanten)
- #6987 Wait for the database to be ready in bootstrap step (@rijkvanzanten)
- #6852 Support for notifying user if an update is available for Directus CLI (@msaaddev)
🐛 Bug Fixes
- API
- #7060 Fix top level perm check on nested m2a records (@rijkvanzanten)
- #7050 Don't throw 500 on missing email (@rijkvanzanten)
- #7042 Fix type checking in password reset controller (@rijkvanzanten)
- #7041 Fix mssql max-length doubling (@rijkvanzanten)
- #7027 Move object-hash to non-optional deps (@paescuj)
- #7021 Fix cache-key causing problems in memcached (@rijkvanzanten)
- #7020 Don't return collections outside of cache (@rijkvanzanten)
- #7019 Fix MS SQL unique constraint field name extraction (@rijkvanzanten)
- #7008 Prevent from deleting the last admin user (@rijkvanzanten)
- #7003 Default SERVE_APP to true (@rijkvanzanten)
- App
- #7057 Fix last action button not surfacing on mobile (@rijkvanzanten)
- #7049 Fix value unstaging in nested field groups (@rijkvanzanten)
- #7045 Remove illegal words from translations root (@rijkvanzanten)
- #7018 Add selectMode to Calendar layout (@rijkvanzanten)
- #7012 Fix M2O type in O2M creation when referencing UUID-PK collections (@rijkvanzanten)
- #7005 Fix advanced filter sidebar detail (@rijkvanzanten)
- #6924 Add modular extension badge to app docs (@Nitwel)
- #6775 Calendar range render (@bernatvadell)
📦 Dependency Updates
- #7056 update fullcalendar monorepo to v5.9.0 (@renovate[bot])
- #7028 update dependency rollup to v2.55.0 (@renovate[bot])
- #7023 update dependency pg to v8.7.1 (@renovate[bot])
- #7022 update dependency @types/dockerode to v3.2.7 (@renovate[bot])
- #7017 update dependency @types/sharp to v0.28.5 (@renovate[bot])
- #7007 update dependency pg to v8.7.0 (@renovate[bot])
- #6998 update dependency @vitejs/plugin-vue to v1.3.0 (@renovate[bot])
- #6997 update dependency vite to v2.4.4 (@renovate[bot])
v9.0.0-rc.86 (July 26, 2021)
✨ New Features
- API
- #6890 Allow using a custom name for the refresh token cookie (@j3n57h0m45)
- #6593 Allow custom transformations of assets (@tim-smart)
- App
- #6864 Add support for Conditional Fields (@rijkvanzanten)
- #3209 Add default-folder option (@dimitrov-adrian)
🚀 Improvements
- API
- #6984 Fix pino deprecation warning (@rijkvanzanten)
- #6977 Improve error reporting on CLI bootstrap command (@rijkvanzanten)
- #6860 Use
/as default value for public_url (@rijkvanzanten) - #6845 Make extension loading more robust (@nickrum)
- #6843 Improve default value extraction in MS SQL (@rijkvanzanten)
- #6840 Show warning when PUBLIC_URL isn't correctly configured (@rijkvanzanten)
- Extensions
- App
- #6838 Auto-open groups on search in tree-select (@rijkvanzanten)
🐛 Bug Fixes
- API
- #6968 Fix quotes with schema default values (@aidenfoxx)
- #6862 Fix extension loading on Windows (@nickrum)
- #6847 Make sure every DB returns time as HH:mm:ss (@rijkvanzanten)
- #6841 Fixed issue that would cause the wrong field to be extracted when using "detailed" updates in o2m with non-"id" primary keys (@rijkvanzanten)
- App
- #6943 Fix form field sort order (@rijkvanzanten)
- #6856 Fix logs logo alignment (@SeanDylanGoff)
- sdk
- #6925 Fix SDK invite accept (@MajesteitBart)
- Misc.
- #6878 Fix update/delete relation docs (@rijkvanzanten)
- Extensions
📝 Documentation
- #6962 Add PUBLIC_URL example in docker-compose guide (@paescuj)
- #6920 Use
--workspaceinstead ofcdin "Running locally" guide (@paescuj) - #6878 Fix update/delete relation docs (@rijkvanzanten)
- #6846 Correctly document the default value of PUBLIC_URL (@nickrum)
- #6830 Fix session memcache variable name (@Moeriki)
📦 Dependency Updates
- #6985 pin dependency lodash to 4.17.21 (@renovate[bot])
- #6983 pin dependency joi to 17.4.1 (@renovate[bot])
- #6980 update dependency @rollup/plugin-yaml to v3.1.0 (@renovate[bot])
- #6979 update typescript-eslint monorepo to v4.28.5 (@renovate[bot])
- #6976 update dependency knex-schema-inspector to v1.5.12 (@renovate[bot])
- #6975 Update knex-schema-inspector@1.5.12 (@rijkvanzanten)
- #6973 update dependency @rollup/plugin-commonjs to v19.0.2 (@renovate[bot])
- #6958 update dependency knex to v0.95.8 (@renovate[bot])
- #6954 update dependency rollup to v2.54.0 (@renovate[bot])
- #6951 update dependency @rollup/plugin-node-resolve to v13.0.4 (@renovate[bot])
- #6949 update dependency lint-staged to v11.1.1 (@renovate[bot])
- #6944 update dependency sass to v1.36.0 (@renovate[bot])
- #6934 update dependency date-fns to v2 (@renovate[bot])
- #6933 update dependency tedious to v11.4.0 (@renovate[bot])
- #6928 update dependency lint-staged to v11.1.0 (@renovate[bot])
- #6914 pin dependency @types/object-hash to 2.1.1 (@renovate[bot])
- #6913 update dependency ts-jest to v27.0.4 (@renovate[bot])
- #6911 update dependency codemirror to v5.62.2 (@renovate[bot])
- #6903 update dependency rollup to v2.53.3 (@renovate[bot])
- #6901 update dependency supertest to v6.1.4 (@renovate[bot])
- #6896 update dependency codemirror to v5.62.1 (@renovate[bot])
- #6894 update dependency gatsby-source-filesystem to v3.10.0 (@renovate[bot])
- #6891 update dependency vite to v2.4.3 (@renovate[bot])
- #6882 update typescript-eslint monorepo to v4.28.4 (@renovate[bot])
- #6874 update dependency @types/dockerode to v3.2.6 (@renovate[bot])
- #6873 update dependency stylelint-scss to v3.20.1 (@renovate[bot])
- #6869 update dependency eslint-plugin-vue to v7.14.0 (@renovate[bot])
- #6868 update dependency eslint to v7.31.0 (@renovate[bot])
- #6863 update vue monorepo to v3.1.5 (@renovate[bot])
- #6855 update dependency @types/dockerode to v3.2.5 (@renovate[bot])
- #6849 update dependency @rollup/plugin-node-resolve to v13.0.2 (@renovate[bot])
- #6839 update dependency slugify to v1.6.0 (@renovate[bot])
Directus refs/tags/v9.0.0-rc.86
v9.0.0-rc.85 (July 15, 2021)
🐛 Bug Fixes
v9.0.0-rc.84 (July 15, 2021)
✨ New Features
- sdk
- #6824 add updateByQuery to js sdk (@wc-matteo)
- #6742 Support invite_url in SDK invite method (@paescuj)
- App
- #6799 Support Slovenian language (@rijkvanzanten)
- Docker
- Extensions
🚀 Improvements
- App
- #6835 Add v-md directive (@rijkvanzanten)
- #6640 Support arrays in formatted-json-value display (@Kematia)
- Extensions
- #6835 Add v-md directive (@rijkvanzanten)
- #6706 Configure build command based on extension manifest (@nickrum)
- API
- #6804 Allow setting a custom mailgun host (@rijkvanzanten)
- #6746 Add encrypt option to MS SQL questions (@rijkvanzanten)
- #6734 No error message from password reset request #6658 (@dannycoulombe)
- create-directus-project
- #6791 Catch and show errors in execa calls (@rijkvanzanten)
- Docker
🐛 Bug Fixes
- Misc.
- #6813 Add required deps for Docker ARM build (@paescuj)
- #6805 disable lerna access verification (@SeanDylanGoff)
- App
- #6810 Fix sidebar overflow in preset detail (@rijkvanzanten)
- #6809 Fix relationship setup not showing current collection (@rijkvanzanten)
- #6807 Clear group when duplicating field (@rijkvanzanten)
- #6806 Fix system locked fields showing double (@rijkvanzanten)
- #6801 Fix permissions/validation default value for full (@rijkvanzanten)
- #6800 Fetch all languages in the translations interface (@rijkvanzanten)
- #6733 Fix md editor being empty when editing existing value (@nickrum)
- #6732 Fix two small issues around field grouping (@nickrum)
- API
- #6808 Use [String] for CSV type in GraphQL (@rijkvanzanten)
- #6783 Fixed issue that would prevent reordering in M2A (@rijkvanzanten)
- #6740 Fix "Duplicate environment variable" error message never showing up (@paescuj)
- #6722 Fixed migration changing filesize failing on Oracle (@aidenfoxx)
- #6645 Fix item.read hook not firing for readByQuery (@MoltenCoffee)
- Extensions
📝 Documentation
- #6785 Clarify definition of environment variables (@paescuj)
- #6784 Add note about sensitive values in Docker guide (@paescuj)
📦 Dependency Updates
- #6828 update dependency @rollup/plugin-node-resolve to v13.0.1 (@renovate[bot])
- #6826 update dependency @rollup/plugin-commonjs to v19.0.1 (@renovate[bot])
- #6812 update dependency rollup to v2.53.2 (@renovate[bot])
- #6788 update dependency tedious to v11.2.0 (@renovate[bot])
- #6780 update dependency vue-i18n to v9.1.7 (@renovate[bot])
- #6777 update dependency lint-staged to v11.0.1 (@renovate[bot])
- #6769 update typescript-eslint monorepo to v4.28.3 (@renovate[bot])
- #6768 update dependency vite to v2.4.2 (@renovate[bot])
- #6767 update dependency @vitejs/plugin-vue to v1.2.5 (@renovate[bot])
- #6748 update dependency pinia to v2.0.0-beta.5 (@renovate[bot])
- #6747 update dependency knex to v0.95.7 (@renovate[bot])
- #6745 update dependency @tinymce/tinymce-vue to v4.0.4 (@renovate[bot])
- #6744 update dependency ts-node to v10.1.0 (@renovate[bot])
- #6727 update dependency @types/cors to v2.8.12 (@renovate[bot])
- #6726 update dependency @types/figlet to v1.5.4 (@renovate[bot])
- #6724 update dependency @types/marked-terminal to v3.1.2 (@renovate[bot])
- #6717 update dependency sass to v1.35.2 (@renovate[bot])
- #6716 update dependency @types/qs to v6.9.7 (@renovate[bot])
- #6715 update dependency @types/qrcode to v1.4.1 (@renovate[bot])
- #6712 update dependency @types/nodemailer to v6.4.4 (@renovate[bot])
- #6711 update dependency gatsby-source-filesystem to v3.9.0 (@renovate[bot])
- #6710 update dependency rollup to v2.53.1 (@renovate[bot])
- #6708 update dependency @types/node-cron to v2.0.4 (@renovate[bot])
- #6707 update dependency @types/marked to v2.0.4 (@renovate[bot])
- #6705 update dependency @types/markdown-it to v12.0.3 (@renovate[bot])
- #6704 update dependency @types/lodash to v4.14.171 (@renovate[bot])
- #6702 update dependency @types/listr to v0.14.4 (@renovate[bot])
- #6701 update dependency @types/keyv to v3.1.2 (@renovate[bot])
- #6697 update dependency @types/jsonwebtoken to v8.5.4 (@renovate[bot])
- #6696 update dependency @types/json2csv to v5.0.3 (@renovate[bot])
- #6694 update dependency @types/js-yaml to v4.0.2 (@renovate[bot])
- #6692 update dependency @types/jest to v26.0.24 (@renovate[bot])
- #6690 update dependency @types/inquirer to v7.3.3 (@renovate[bot])
- #6689 update dependency @types/fs-extra to v9.0.12 (@renovate[bot])
- #6688 update dependency @types/figlet to v1.5.2 (@renovate[bot])
- #6687 update dependency @types/express-session to v1.17.4 (@renovate[bot])
- #6686 update dependency @types/express to v4.17.13 (@renovate[bot])
- #6685 update dependency @types/dockerode to v3.2.4 (@renovate[bot])
- #6683 update dependency @types/diff to v5.0.1 (@renovate[bot])
- #6682 update dependency @types/cors to v2.8.11 (@renovate[bot])
- #6681 update dependency @types/color to v3.0.2 (@renovate[bot])
- #6680 update dependency @types/codemirror to v5.60.2 (@renovate[bot])
- #6679 update dependency @types/bytes to v3.1.1 (@renovate[bot])
- #6678 update dependency @types/busboy to v0.2.4 (@renovate[bot])
- #6677 update dependency @types/body-parser to v1.19.1 (@renovate[bot])
- #6676 update dependency @types/async to v3.2.7 (@renovate[bot])
- #6675 update dependency @types/sharp to v0.28.4 (@renovate[bot])
- #6669 update dependency vite to v2.4.1 (@renovate[bot])
- #6668 update dependency eslint-plugin-vue to v7.13.0 (@renovate[bot])
- #6667 update dependency dompurify to v2.3.0 (@renovate[bot])
- #6660 update typescript-eslint monorepo to v4.28.2 (@renovate[bot])
- #6657 update dependency vite to v2.4.0 (@renovate[bot])
- #6652 update dependency nock to v13.1.1 (@renovate[bot])
- #6634 update dependency @types/stream-json to v1.7.1 (@renovate[bot])
- #6630 update dependency eslint to v7.30.0 (@renovate[bot])
v9.0.0-rc.83 (July 14, 2021)
🐛 Bug Fixes
- App
- #6566 Fix half-width fields before groups causing trouble (@rijkvanzanten)
- API
📦 Dependency Updates
- #6564 update dependency ts-node-dev to v1.1.7 (@renovate[bot])
v9.0.0-rc.82 (June 28, 2021)
✨ New Features
- App
- #6553 Add support for field grouping (@rijkvanzanten)
- Extensions
- sdk
🚀 Improvements
- API
- App
🐛 Bug Fixes
- App
- #6555 Fix auto-fill of directus_files in relational setup (@rijkvanzanten)
- #6530 Fix translations interface options crashing the App (@nickrum)
- API
- Extensions
📦 Dependency Updates
- #6547 update typescript-eslint monorepo to v4.28.1 (@renovate[bot])
- #6546 update dependency jest to v27.0.6 (@renovate[bot])
- #6520 update dependency @vitejs/plugin-vue to v1.2.4 (@renovate[bot])
- #6518 update dependency simple-git-hooks to v2.5.1 (@renovate[bot])
- #6498 update dependency commander to v8 (@renovate[bot])
v9.0.0-rc.81 (June 26, 2021)
🚀 Improvements
🐛 Bug Fixes
- App
- #6481 Fix login page not showing user's name on app required permissions role (@rijkvanzanten)
- #6377 Fix app extensions loading and registration (@nickrum)
📝 Documentation
📦 Dependency Updates
- #6509 update dependency prettier to v2.3.2 (@renovate[bot])
- #6507 update dependency marked to v2.1.3 (@renovate[bot])
- #6499 update dependency rollup to v2.52.3 (@renovate[bot])
- #6497 update dependency eslint-plugin-vue to v7.12.1 (@renovate[bot])
- #6482 Update vue to 3.1.2 (@rijkvanzanten)
- #6473 update dependency mitt to v3 (@renovate[bot])
- #6470 update dependency fs-extra to v10 (@renovate[bot])
- #6469 pin dependencies (@renovate[bot])
- #6468 update dependency @types/codemirror to v5.60.1 (@renovate[bot])
- #6459 update dependency tinymce to v5.8.2 (@renovate[bot])
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)