Commit Graph

389 Commits

Author SHA1 Message Date
Rijk van Zanten
a85c4af4ea Fix mssql max-length doubling (#7041)
Fixes #5236
2021-07-28 18:05:16 +02:00
Pascal Jufer
993e0fe187 Move object-hash to non-optional deps (#7027)
Since required in assets.ts, fixes #7024

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-07-28 09:53:34 -04:00
renovate[bot]
688f83b7a0 update dependency @types/sharp to v0.28.5 (#7017)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-27 18:14:48 -04:00
Saad Irfan ⚡️
afdeb980cb Support for notifying user if an update is available for Directus CLI (#6852)
* Notify user if an update is available

* Replaced console log with logger

* Fix lint error

* Update api/src/start.ts

* Make update check non-blocking

* Remove unused async call

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-07-26 19:36:16 -04:00
rijkvanzanten
3390430c04 v9.0.0-rc.86 2021-07-26 18:20:42 -04:00
Rijk van Zanten
d20cecb882 Update knex-schema-inspector@1.5.12 (#6975) 2021-07-26 12:13:42 -04:00
Nicola Krumschmidt
7d8aa9fced Replace DIRECTUS_DEV env var with NODE_ENV and SERVE_APP (#6929) 2021-07-22 23:47:56 +02:00
renovate[bot]
d487f691a3 pin dependency @types/object-hash to 2.1.1 (#6914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 16:05:03 -04:00
Tim
2c9ff3bca6 Allow custom transformations of assets (#6593)
* Allow custom transformations of assets

This exposes one query parameter `transforms`, which is a JSON array of
shard transformation operations.

It also updates the asset presets. The UX for this still needs some work

* Rename options to arguments for presets

More explicit

* options -> arguments in setting spec

* Better errors for invalid JSON in asset presets

* Add limit to transforms query parameter

* Use flattened option for extra transforms

* Fix placeholder color of code input

* Allow "simple mode" aliases

* Add documentation

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-07-21 15:57:47 -04:00
Rijk van Zanten
70bb6d70dd Improve default value extraction in MS SQL (#6843)
Fixes #6666
2021-07-15 23:57:08 +02:00
Nicola Krumschmidt
f96eeb2c83 v9.0.0-rc.85 2021-07-15 21:22:54 +02:00
rijkvanzanten
f60deb9ca2 Remove prepublish build step, handled in CI 2021-07-15 14:23:48 -04:00
rijkvanzanten
ddab55d190 v9.0.0-rc.84 2021-07-15 14:10:01 -04:00
rijkvanzanten
2a60a0fd88 Revert "v9.0.0-rc.84"
This reverts commit a4945a64fd.
2021-07-15 10:29:18 -04:00
rijkvanzanten
6d7dc17852 Remove oracle from optionaldependencies 2021-07-14 18:18:16 -04:00
rijkvanzanten
a4945a64fd v9.0.0-rc.84 2021-07-14 17:26:35 -04:00
rijkvanzanten
628b4efc29 Revert "v9.0.0-rc.84"
This reverts commit 18e62086f7.
2021-07-14 17:25:52 -04:00
rijkvanzanten
18e62086f7 v9.0.0-rc.84 2021-07-14 16:57:41 -04:00
renovate[bot]
057f277b6c update dependency @types/lodash to v4.14.171 (#6704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 13:20:52 +00:00
renovate[bot]
0658746e1f update dependency @types/node-cron to v2.0.4 (#6708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 14:08:23 +02:00
renovate[bot]
52d427a5de update dependency @types/qs to v6.9.7 (#6716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 14:08:11 +02:00
renovate[bot]
0cb1d3f72a update dependency @types/nodemailer to v6.4.4 (#6712)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-11 10:07:22 +02:00
renovate[bot]
dc1c115014 update dependency @types/cors to v2.8.12 (#6727)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-11 10:06:31 +02:00
renovate[bot]
9967e59f67 update dependency @types/keyv to v3.1.2 (#6701)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 12:11:51 +00:00
renovate[bot]
f8dd7c20d4 update dependency @types/json2csv to v5.0.3 (#6696)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 10:23:23 +00:00
renovate[bot]
0655087f9c update dependency @types/jsonwebtoken to v8.5.4 (#6697)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 10:13:53 +00:00
renovate[bot]
bf61042d9c update dependency @types/js-yaml to v4.0.2 (#6694)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:44:20 +02:00
renovate[bot]
3d1a843559 update dependency @types/fs-extra to v9.0.12 (#6689)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 09:37:02 +00:00
renovate[bot]
5760b177c3 update dependency @types/body-parser to v1.19.1 (#6677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 09:24:06 +00:00
renovate[bot]
6919571bcc update dependency @types/sharp to v0.28.4 (#6675)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:17:59 +02:00
rijkvanzanten
e56309a91a Bump knex-schema-inspector 2021-07-07 11:17:30 +02:00
renovate[bot]
55f14866a9 update dependency @types/async to v3.2.7 (#6676)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:13:48 +02:00
renovate[bot]
942ade0209 update dependency @types/busboy to v0.2.4 (#6678)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:11:20 +02:00
renovate[bot]
205235d2c4 update dependency @types/cors to v2.8.11 (#6682)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:08:05 +02:00
renovate[bot]
ffdb5da440 update dependency @types/express to v4.17.13 (#6686)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:03:46 +02:00
renovate[bot]
5bb678baec update dependency @types/express-session to v1.17.4 (#6687)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:03:35 +02:00
renovate[bot]
81bde51e86 update dependency @types/inquirer to v7.3.3 (#6690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:02:53 +02:00
renovate[bot]
1c73c7de62 update dependency @types/uuid to v8.3.1 (#6627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-04 11:54:11 +00:00
renovate[bot]
0f34129690 update dependency @types/stream-json to v1.7.1 (#6634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-04 13:34:36 +02:00
renovate[bot]
585e36c8d2 update dependency ts-node-dev to v1.1.8 (#6607)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 11:54:19 +02:00
renovate[bot]
f88b1f4252 update dependency @types/jsonwebtoken to v8.5.3 (#6606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 11:54:01 +02:00
renovate[bot]
18d6c0edbe update dependency typescript to v4.3.5 (#6592)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 20:02:38 -04:00
Nicola Krumschmidt
31c74e01f2 Update the required Node version to 12.20.0 (#6578) 2021-06-30 09:16:45 -04:00
rijkvanzanten
04976eb13f v9.0.0-rc.83 2021-06-29 16:18:56 -04:00
renovate[bot]
17f0f4dd2a update dependency ts-node-dev to v1.1.7 (#6564)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-29 12:08:28 -04:00
rijkvanzanten
f46d7e4dd6 v9.0.0-rc.82 2021-06-28 19:32:21 -04:00
renovate[bot]
8a3796b8bb update dependency commander to v8 (#6498)
* update dependency commander to v8

* Update import to match new version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-28 14:05:55 -04:00
rijkvanzanten
a469bb728f v9.0.0-rc.81 2021-06-26 22:09:40 -04:00
Nicola Krumschmidt
051df415df Fix extensions (#6377)
* 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>
2021-06-23 12:43:06 -04:00
rijkvanzanten
465c10d4c7 v9.0.0-rc.80 2021-06-22 22:00:55 -04:00