153 Commits

Author SHA1 Message Date
ian
32d5650f4f Release 11.17.1 (#27007)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alex Gaillard <alex@directus.io>
2026-03-30 12:29:03 -04:00
ian
dfb2db349f Release 11.17.0 (#26960)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-24 18:15:34 -04:00
Nitwel
3c2efc1fb6 Improve build times using tsdown’s oxc-transform (#26604)
* start supporting isolatedDeclarations

* add errors and storage package

* add utils, and storage-driver-local

* fix rest of packages

* fix types/collab import

* hardcode "isolatedDeclarations": true in all configs for now

* Revert "hardcode "isolatedDeclarations": true in all configs for now"

This reverts commit ac71582159.

* fix formatting

* undo readme change

* remove link

* fix lockfile

* dont do a js string cast here I guess

* use tsc over tsdown because of failing tests

* last fixes

* use tsdown --clean instead of rimraf

* fmt and fixes

* re add weird space

* add run as entry

* undo api using tsdown

* switch back to tsdown again now with unbundle 🥳

* more ts fixes

* build with tsdown in @directus/themes

* fix bb tests

* undo spaces

* another space

* fix collab import

* add changeset

* Apply suggestion from @ComfortablyCoding

* Apply suggestion from @ComfortablyCoding

* Update .changeset/hungry-yaks-enter.md

Co-authored-by: judda <44623501+ComfortablyCoding@users.noreply.github.com>

---------

Co-authored-by: judda <44623501+ComfortablyCoding@users.noreply.github.com>
2026-03-11 14:56:12 -04:00
ian
40ec421fdf Release 11.16.1 (#26871)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-10 18:11:36 -04:00
ian
d273af9e3c Release 11.16.0 (#26810)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-04 15:48:22 -05:00
ian
f0f0c605e3 Release 11.15.3 (#26663)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-16 09:52:22 -05:00
ian
7f6f6728d7 Release 11.15.2 (#26641)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-12 14:02:25 -05:00
ian
47c60716b5 Release 11.15.0 (#26590)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-05 14:16:37 -05:00
Rijk van Zanten
3b1da40fbd Improve tests (#26544)
* Add tests for easily testable units

* Fix the flaky test

* Add more mocks

* Reduce noise in test runner
2026-01-30 09:39:20 -05:00
ian
2cb91fcc6a Release 11.14.1 (#26486)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-14 19:41:14 +02:00
Florian C. Wachmann
79cd1b57d9 Add ESLint rules to enforce consistent import order (#26445)
* add eslint-plugin-import and configure import sorting rules

* apply `eslint . --fix`

* disable import order rule for test files

* enable import order rule for test files and disable it inline after mock imports

* prettier

* address failed tests by removing unused i18n mocks from test files

* reorder import statement for createApp to address failed test

* Remove disable/enable blocks

* Resolve conflict with VSCode organize imports functionality (#26461)

* Update to use default grouping and prevent adding newlines in between

Co-authored-by: ian <licitdev@gmail.com>

* apply eslint fix

* run prettier

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: ian <licitdev@gmail.com>
2026-01-07 10:04:54 -05:00
ian
385d56c0cf Release 11.14.0 (#26352)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-09 15:43:44 -05:00
Brainslug
278e7d9f4a Marketplace extension file synchronization (#26192)
* inintial sync logic update

* fixed file removal

* removed old checksum tests

* make reloads blocking

* fix deletion of folders

* move status utils into the sync folder

* extract logic out to a manager class

* some uber basic tests for status utilities

* over engineer it less

* clean up some code

* fix debug logs

* prettier

* fix status file deadlock

* remove obsolete forceSync

* WIP partial syncing

* checking for existing remote folders isnt reliable

* catch non existed folder error

* re-introduce delete only escape

* force sync on startup

* clean up some code

* extracting some utility functions

* extract path creation and address some sanitization

* resolve user provided data when installing

* extracted some more utils for readability

* updated status tests

* added basic utility tests

* fix tests hanging in an infinte loop

* added tests for the file tracker

* prettier

* added changeset

* attempted some sync.ts tests

* removed debug lock clearing

* fix supabase driver stat function for nested folders

* normalize the remote paths to fix windows path separators

* fixed cloudinary path normalization and fixes sub folder listing

* fix updated list call tests

* updated cloudinary tests

* updated changeset

* revert cloudinary changes

* re-add normalization of windows paths

* skip sync for the installing instance

* fixed path joining tests

---------

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
2025-12-09 08:22:34 -05:00
ian
15276cd55c Release 11.13.3 (#26225)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-19 11:44:19 -05:00
ian
f636050870 Release 11.13.1 (#26143)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-07 13:07:48 -05:00
ian
79b0648d4f Release 11.13.0 (#26114)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-04 20:14:16 +00:00
ian
17665bf348 Release 11.12.0 (#25850)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-16 19:42:40 +00:00
daedalus
85902b51d0 Replace tsup with tsdown (#25750)
* migrate from tsup to tsdown

* add changeset

* update to latest
2025-09-02 18:02:00 +00:00
Alex Gaillard
3a561ad801 Release 11.10.1 (#25669) 2025-08-11 18:50:25 +00:00
Rijk van Zanten
21f85040ea Run formatter (#25604) 2025-08-05 14:52:35 -04:00
Rijk van Zanten
c9b81e51a4 Update and move 'simple' dependencies (#25580)
* Update and move 'simple' dependencies

* Add changeset
2025-08-01 14:36:51 -04:00
Matthew Rumery
17bf9be79e Add Services Type support for @directus/extensions (#25368)
* feat: add services type

* refactor: replace UserIntegrityCheckFlag from @directus/types

* refactor: replace AbstractServiceOptions from @directus/types

* refactor: replace MutationOptions from @directus/types

* refactor: replace ActionEventParams from @directus/types

* refactor: replace AbstractService from @directus/types

* refactor: replace Webhook from @directus/types

* refactor: replace Range, Stat, ReadOptions, & ChunkedUploadContent from @directus/types

* refactor: replace asset types from @directus/types

* refactor: replace LoginResult from @directus/types

* refactor: replace snapshot types from @directus/types

* refactor: replace Action & PayloadServiceProcessRelationResult from @directus/types

* refactor: replace ExportFormat from @directus/types

* refactor: replace database types from @directus/types

* feat: implement ExtensionsServices within @directus/extensions

* feat: replace QueryOptions from @directus/types

* fix: formatting issue

* fix: adjust extensions services type

* fix: generic type for each service

* fix: typescript errors for missing imports

* refactor: update ReadOptions & ChunkedUploadContext type exports to pull from @directus/types

* refactor: move DirectusError to @directus/types & add DirectusExtensionsError to @directus/types

* feat: add MailService, GraphQLService, SpecificationService, and move required exports to @directus/types

* refactor: move extension types to @directus/types

* refactor: move extension constants to @directus/constants

* refactor: adjust type imports for @directus/composables

* refactor: adjust imports for @directus/extensions-registry

* refactor: adjust import for @directus/errors

* refactor: adjust imports for @directus/themes

* refactor: adjust imports for @directus/extensions-sdk

* refactor: adjust imports for studio app

* feat: implement ExtensionService and migrate types to @directus/types

* fix: revert sdk type changes

* fix: reexport types moved from @directus/extensions to @directus/types

* fix: remove @directus/themes from @directus/extensions

* refactor: move AppField to fields file

* chore: remove @directus/themes from @directus/types

* chore: remove @directus/extensions from @directus/types

* fix: rebase issue with DirectusError generic

* chore: remove @directus/types from sdk

* fix: add missing exports to original packages

* fix: update getAppExtensionChunk return type

* chore: revert DirectusError changes

* chore: revert Collection fields key

* refactor: rename RawSchemaCollection to ApiCollection

* fix: add RawCollection from @directus/types

* fix: import GraphQLParams from @directus/types

* fix: formatting issue

* chore: add changeset

* chore: revert rename of ApiOutput

* Update .changeset/purple-crews-sink.md

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: ian <licitdev@gmail.com>

* fix: rebase pnpm-lock error

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Alex Gaillard <alex@directus.io>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2025-07-31 12:54:50 -04:00
Alex Gaillard
e109a6f2d6 Release 11.10.0 (#25557) 2025-07-30 17:12:15 +00:00
Rijk van Zanten
e72483fb76 Add Codecov upload on test CI (#25470)
* Add consistent test:coverage scripts

* Add missing coverage deps

* Submit to codecov

* Update .github/workflows/check.yml

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add codecov config

* Run formatter, remove branches

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-17 16:29:02 -04:00
Rijk van Zanten
2edbea9386 Move common dependencies to catalog (#25467)
* Update pnpm to v10

* Update package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Allow builds

* Move common dependencies to catalog

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 14:40:28 -04:00
Alex Gaillard
b8a47c621a Release 11.9.0 (#25358) 2025-06-25 17:58:44 +00:00
Brainslug
d0164c1ebb Dependabot updates (#25267)
* Bump tar-fs to 2.1.2

* Bump vue-i18n to 11.1.2

* Bump vite to 4.5.14

* Bump vite to 5.4.19

* Bump undici to 7.5.0

* Create six-dryers-punch.md

* fix lock
2025-06-19 10:12:42 -04:00
Alex Gaillard
ccf2f3d38f Release v11.8.0 (#25252) 2025-05-28 13:29:21 -04:00
Alex Gaillard
76d7c4f504 Release 11.7.0 (#25137) 2025-04-29 11:46:37 -04:00
Alex Gaillard
9fed080c8a Release 11.6.0 (#24964) 2025-03-25 13:05:10 -04:00
renovate[bot]
9d54e0b662 Update dependency typescript to v5.8.2 (#24749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-03-02 13:53:03 +01:00
renovate[bot]
de2a9b10f8 Update all non-major dependencies (#24722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-03-02 11:49:52 +00:00
ian
c6039b7d5f Release 11.5.1 (#24739)f 2025-02-28 09:50:38 -05:00
ian
f854746ef0 Release 11.5.0 (#24717) 2025-02-26 18:23:18 +00:00
Brainslug
73bcffc22e Dependabot: Update Vitest 🧹 (#24643) 2025-02-19 16:36:19 +00:00
Alex Gaillard
a799fcb863 Release 11.4.0 (#24420) 2025-01-16 15:58:19 +00:00
renovate[bot]
b4db97474c fix(deps): update all non-major dependencies (#24377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-01-09 18:05:06 +00:00
renovate[bot]
a34d6f64c4 fix(deps): update dependency undici to v7 (#24361)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 18:52:11 +01:00
Rijk van Zanten
b8cc796f4c Upgrade Node.js runtime version to 22 (#24140)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-01-08 13:26:14 +01:00
renovate[bot]
f31d2fb850 fix(deps): update all non-major dependencies (#24341)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2025-01-08 00:44:29 +00:00
ian
7b2b7442ee Update copyright year to 2025 (#24311) 2025-01-02 15:37:30 +01:00
renovate[bot]
4149059668 chore(deps): update dependency typescript to v5.7.2 (#24297)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-27 23:39:02 +00:00
Brainslug
6948e1f956 release (#24122) 2024-12-02 17:12:27 +00:00
Brainslug
8c6d6875d0 release 11.2.2 (#24067) 2024-11-20 14:18:54 +00:00
daedalus
e6e2b8c964 Fix enforcing chunkSize when TUS is not enabled and update the default TUS_CHUNK_SIZE to 8mb (#24002)
* do not enforce tus limits if it is not enabled

* add changeset

* reword changeset

* fix typings

* Update packages/storage-driver-supabase/src/index.ts

Co-authored-by: ian <licitdev@gmail.com>

* reduce default tus chunk size to 8mb

* add warnings regarding driver restrictions

* rework multiple chunk size warning to a table

* reword cloudinary restriction

* move default chunk size to shared constants package

Co-Authored-By: ian <26413686+licitdev@users.noreply.github.com>

* update changeset with correct packages

* Update .changeset/cyan-sloths-appear.md

Co-authored-by: ian <licitdev@gmail.com>

---------

Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: ian <26413686+licitdev@users.noreply.github.com>
2024-11-20 00:27:24 +08:00
Rijk van Zanten
a0a4c23131 v11.2.0 2024-11-05 17:20:09 -05:00
daedalus
ff3d6fdde6 Add TUS support to the Cloudinary storage driver (#23943)
* add basic tus support

* fix first read after authenticated upload

* add changeset

* fix inconsistent chunk size error on subsequent chunks

* ensure correct calculation of total bytes

* ensure upload id is identical between chunked uploads

* be consistent with large number numeric constant format

* 5mb chunksize restriction is inclusive

* reword changeset

* remove default access mode
2024-11-04 22:15:20 +00:00
José Varela
d6ee609eed Fix cloudinary image preview in the File Library (#23956)
* Use integer instead of float for cache buster

* Create cold-chairs-fry.md

* fix broken preview for authenticated access mode

* reword changeset

---------

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
2024-11-04 13:30:34 -05:00
Brainslug
55d47b6443 release 11.1.2 (#23936) 2024-10-29 15:21:07 +00:00
renovate[bot]
ad5361a34f Update all non-major dependencies (#23814)
* Update all non-major dependencies

* Update component snapshots

* Drop editorjs updates

* Update changeset

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-10-10 17:42:57 +00:00