Releases: directus/directus
v10.4.2
π Bug Fixes & Optimizations
- @directus/app
- Fixed display template with nested data for items in calendar layout (#19011 by @AshishBarvaliya)
- Updated list of collections for Event Hooks in Flows to not include folders (#19007 by @AshishBarvaliya)
- @directus/api
- Implemented sort number for fields in collections on creation to ensure order is always retained (#18877 by @azrikahar)
π Documentation
- Added new docs landing page to help users better understand available features and content (#18911 by @estheragbaje)
- Fixed docker example to work out of the box (#19030 by @br41nslug)
π¦ Published Versions
@directus/app@10.4.2
@directus/api@12.0.2
v10.4.0
β οΈ Potential Breaking Changes
There's a couple potentially breaking changes in this release that you should be aware of:
Consolidated environment variables for Redis use
Directus had various different functionalities that required you to use Redis when running Directus in a horizontally scaled environment (like caching/rate-limiting). With the release of 10.3, two more functionalities were added (websockets/flows). In 10.4, the configuration for these different parts will be combined into a single set of REDIS
environment variables that are reused across the system.
Migration / Mitigation
Combine all the *_REDIS
environment variables into a single shared one as followed:
Before
CACHE_STORE="redis"
CACHE_REDIS_HOST="127.0.0.1"
CACHE_REDIS_PORT="6379"
...
RATE_LIMITER_STORE="redis"
RATE_LIMITER_REDIS_HOST="127.0.0.1"
RATE_LIMITER_REDIS_PORT="6379"
...
SYNCHRONIZATION_STORE="redis"
SYNCHRONIZATION_REDIS_HOST="127.0.0.1"
SYNCHRONIZATION_REDIS_PORT="6379"
...
MESSENGER_STORE="redis"
MESSENGER_REDIS_HOST="127.0.0.1"
MESSENGER_REDIS_PORT="6379"
After
REDIS_HOST="127.0.0.1"
REDIS_PORT="6379"
CACHE_STORE="redis"
RATE_LIMITER_STORE="redis"
SYNCHRONIZATION_STORE="redis"
MESSENGER_STORE="redis"
Dropped support for Memcached
Directus used to support either memory, Redis, or Memcached for caching and rate-limiting storage. Since the 10.3 release, Redis has been used more integrated as part of WebSockets / Subscriptions and the ability to synchronize flows across containers. Given this deeper integration with Redis, and the low overall usage/adoption of Memcached across Directus installations, we've decided to sunset Memcached in favor of focussing on Redis as the primary solution for pub/sub and hot-storage across load-balanced Directus installations.
Updated Errors structure for Extensions
A new @directus/errors
package is available that allows you to create custom DirectusErrors for use in extensions. Errors created through this package will be treated the same as errors thrown by the Directus API, which means you can use proper HTTP status codes, error extensions, codes, and messages. This does also mean that extensions no longer get an exceptions
options passed in that contains some preconfigured errors.
Migration / Mitigation
Replace any system exceptions you extracted from exceptions
with new errors created within the extension itself. We recommend prefixing the error code with your extension name for improved debugging, but you can keep using the system codes if you relied on that in the past.
Before
export default (router, { exceptions }) => {
const { ForbiddenException } = exceptions;
router.get('/', (req, res) => {
throw new ForbiddenException();
});
};
After
import { createError } from '@directus/errors';
const ForbiddenError = createError('MY_EXTENSION_FORBIDDEN', 'No script kiddies please...');
export default (router) => {
router.get('/', (req, res) => {
throw new ForbiddenError();
});
};
β¨ New Features & Improvements
The New SDK is available in beta! We've been working hard on redesigning the SDK from the ground up to solve for / improve on some of the most often brought up pain points / shortcomings of the SDK. You can try it out by installing from the beta
tag: npm install @directus/sdk@beta
. Please tell us any and all feedback in the #new-sdk channel on Discord! We'll be pushing out more beta releases of the SDK during the next couple weeks. Docs will be continuously updated on https://docs.directus.io/guides/sdk/getting-started.html
- @directus/app
- Fixed archive status in sidebar when clicking on same collection again (#18995 by @AshishBarvaliya)
- @directus/data-driver-postgres
- @directus/data-sql
- @directus/data
π Bug Fixes & Optimizations
- @directus/app
- Fixed kanban layout not rendering certain images (#18904 by @connorsimply)
- Fixed an issue that could cause an infinite loop on fetching large permissions sets (
e5992b59b
by @rijkvanzanten) - Added notice about case sensitivity for new collection creation (#18979 by @rijkvanzanten)
- Fixed issue that could cause the export drawer to hang on export (#19004 by @u12206050)
- Fixed issue where App was not fully taking rate limit into consideration (#18940 by @joselcvarela)
- Fixed an issue that would prevent items with a comma in the ID from being rendered in the app (#18978 by @rijkvanzanten)
- Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
- Fixed issue that caused changes to flows to not be reflected in the inline edidtor. (#18960 by @connorsimply)
- @directus/api
- Added support for plain query flags for boolean & geo filter operators (#18888 by @paescuj)
- Added WebSocketService to available services for extensions (#18943 by @br41nslug)
- Ensured all caches are flushed when applying diff (#18986 by @licitdev)
- Fixed resolving $CURRENT_USER in permissions for websocket authentication (#18901 by @br41nslug)
- Fixed API not properly validating against documented filename restrictions for custom migrations (#18971 by @rijkvanzanten)
- @directus/validation
- Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
- @directus/errors
- Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
- @directus/types
- Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
- Expose case-insensitive variants of
_starts_with
and_ends_with
filter operators (#18941 by @gitstart)
- @directus/utils
- Create and use new @directus/errors package for standardized errors across the Directus ecosystem. (#18797 by @rijkvanzanten)
- Expose case-insensitive variants of
_starts_with
and_ends_with
filter operators (#18941 by @gitstart) - Fixed issue that would prevent JSON string from being treated as GeoJSON in filtering operations (#18976 by @rijkvanzanten)
- @directus/storage
- Improved the type signature for Range headers (#18970 by @rijkvanzanten)
- @directus/extensions-sdk
- Fixed
v-table
allowing radio buttons to have multiple selection values when theshow-select
prop was set toone
(#18931 by @Philippe-cheype)
- Fixed
- @directus/stores
- Fixed Broken Doc Links and Added License to @directus/stores (#18988 by @connorsimply)
π Documentation
- Fixed Broken Doc Links and Added License to @directus/stores (#18988 by @connorsimply)
- Revised Docker Guides (#18956 by @phazonoverload)
π¦ Published Versions
@directus/app@10.4.0
@directus/api@12.0.0
@directus/composables@10.0.6
create-directus-extension@10.0.6
@directus/data@0.1.0
@directus/data-driver-postgres@0.1.0
@directus/data-sql@0.1.0
@directus/errors@0.0.1
@directus/extensions-sdk@10.1.5
@directus/pressure@1.0.5
@directus/storage@10.0.4
@directus/storage-driver-azure@10.0.6
@directus/storage-driver-cloudinary@10.0.6
@directus/storage-driver-gcs@10.0.6
@directus/storage-driver-local@10.0.6
@directus/storage-driver-s3@10.0.6
@directus/stores@0.1.1
@directus/types@10.1.2
@directus/utils@10.0.6
@directus/validation@0.0.1
v10.3.0
β¨ New Features & Improvements
- @directus/api
- Integrated Websockets Subscriptions for REST and GraphQL in Directus πΈοΈπ§¦ (#14737 by @br41nslug)
- A CRUD implementation over WebSockets
- A REST Subscriptions implementation
- GraphQL Subscriptions over WebSockets
- Three authentication modes:
public
,handshake
,strict
- Authentication refresh with an open socket
- Heartbeat signal to keep the connection alive
- Follows the Directus permission model
- Message rate limiting and connection limiting
- Horizontal scaling with the Messenger
- Extensible event driven design
- Integrated Websockets Subscriptions for REST and GraphQL in Directus πΈοΈπ§¦ (#14737 by @br41nslug)
- @directus/stores
- Moved useAppStore to @directus/stores (#18829 by @rijkvanzanten)
- @directus/release-notes-generator
π Bug Fixes & Optimizations
- @directus/app
- Fixed CSS to render calendar and map layouts correctly (#18853 by @licitdev)
- Moved useAppStore to @directus/stores (#18829 by @rijkvanzanten)
- Added Albanian (sq-AL) to the list of translations (#18810 by @ninogjoni)
- Added recursive check for permissions in app side (#18871 by @azrikahar)
- Fixed app content filter _between (#18821 by @br41nslug)
- Fixed empty image selection error for file-image interface (#18761 by @licitdev)
- @directus/api
- Fixed reverse usage of _null, _nnull, _empty and _nempty filter operators (#18801 by @acautin)
- Fixed a problem that could cause snapshot apply to fail when a relationship changed (#18879 by @rijkvanzanten)
- Added extra type check in apply-diff (#18783 by @br41nslug)
- Fixed parsing of Error objects when redacting (#18777 by @licitdev)
- @directus/storage-driver-s3
- @directus/storage
- @directus/composables
- Added TypeDocs to Docs (#18867 by @connorsimply)
- @directus/constants
- Added TypeDocs to Docs (#18867 by @connorsimply)
- @directus/exceptions
- Added TypeDocs to Docs (#18867 by @connorsimply)
- @directus/extensions-sdk
- Added TypeDocs to Docs (#18867 by @connorsimply)
- @directus/pressure
- Added TypeDocs to Docs (#18867 by @connorsimply)
- @directus/random
- Added TypeDocs to Docs (#18867 by @connorsimply)
- Started initial work on @directus/data (#18642 by @rijkvanzanten)
- @directus/stores
- Added TypeDocs to Docs (#18867 by @connorsimply)
- @directus/types
- Added TypeDocs to Docs (#18867 by @connorsimply)
- @directus/update-check
- Added TypeDocs to Docs (#18867 by @connorsimply)
- Enhanced version comparison in the update notifier (#18748 by @paescuj)
- @directus/utils
- Added TypeDocs to Docs (#18867 by @connorsimply)
- @directus/data-driver-postgres
- Started initial work on @directus/data (#18642 by @rijkvanzanten)
- @directus/data-sql
- Started initial work on @directus/data (#18642 by @rijkvanzanten)
- @directus/data
- Started initial work on @directus/data (#18642 by @rijkvanzanten)
π Documentation
- Added TypeDocs to Docs (#18867 by @connorsimply)
- Fixed Storybook link (#18764 by @craigharman)
- Improved Contributer Docs and Delete-by-Query (#18667 by @connorsimply)
π§ͺ Blackbox Tests
- Fixed S3 storage scaling issues by using a customized request handler with an increased maximum of open sockets (#18799 by @licitdev)
π¦ Published Versions
@directus/app@10.3.1
@directus/api@11.1.0
@directus/composables@10.0.5
@directus/constants@10.2.1
create-directus-extension@10.0.5
@directus/data@0.0.2
@directus/data-driver-postgres@0.0.2
@directus/data-sql@0.0.1
@directus/exceptions@10.0.3
@directus/extensions-sdk@10.1.4
@directus/pressure@1.0.4
@directus/random@0.2.1
@directus/release-notes-generator@0.1.0
@directus/storage@10.0.3
@directus/storage-driver-azure@10.0.5
@directus/storage-driver-cloudinary@10.0.5
@directus/storage-driver-gcs@10.0.5
@directus/storage-driver-local@10.0.5
@directus/storage-driver-s3@10.0.5
@directus/stores@0.1.0
@directus/types@10.1.1
@directus/update-check@11.0.1
@directus/utils@10.0.5
v10.2.1
This release doesn't include any new changes or fixes. An npm
publishing problem was identified in 10.2 which caused "raw' npm
installations to fail.
π¦ Published Versions
@directus/api@11.0.1
@directus/composables@10.0.4
@directus/constants@10.2.0
create-directus-extension@10.0.4
@directus/extensions-sdk@10.1.3
@directus/pressure@1.0.3
@directus/storage-driver-azure@10.0.4
@directus/storage-driver-cloudinary@10.0.4
@directus/storage-driver-gcs@10.0.4
@directus/storage-driver-local@10.0.4
@directus/storage-driver-s3@10.0.4
@directus/utils@10.0.4
v10.2.0
β οΈ Potential Breaking Changes
- @directus/api
- @directus/update-check
β¨ New Features & Improvements
- @directus/app
- Added live preview functionality to the Data Studio App to easily and instantly track the impact of item changes on web pages (#17794 by @Nitwel)
- Improve custom translations management and performance (#18097 by @br41nslug)
- @directus/api
- Added synchronization across horizontally scaled instances to schedule flows and hooks (#18584 by @nickrum)
- Enable caching for requests from data studio when
CACHE_AUTO_PURGE
is enabled (#18484 by @licitdev) - Added a new
FILES_MAX_UPLOAD_SIZE
environment variable for setting a max value system-wide (#18735 by @rijkvanzanten) - Improve custom translations management and performance
- Added support for
FILES_MIME_TYPE_ALLOW_LIST
environment variable. (#18736 by @rijkvanzanten)
- @directus/types
- @directus/random
- Added randomAlpha, randomArray, randomInteger, randomSequence, and randomUUID functions (#18668 by @rijkvanzanten)
π Bug Fixes & Optimizations
- @directus/app
- Updated dependencies in all packages (#18643 by @paescuj)
- Removed unnecessary disclosure of potentially sensitive server info
- Fixed
FILES_MAX_UPLOAD_SIZE
crashing bug and files interface error when the upload request errors (#18737 by @licitdev) - Added pagination to flow logs to prevent memory allocation issues on large revision sets (#18652 by @rijkvanzanten)
- Fixed
group-accordion
value initialization for usage in extension options (#18638 by @hanneskuettner) - Fixed input-block-editor popover styles on dark mode (#18704 by @that1matt)
- Fixed fetching of all permissions (#18655 by @paescuj)
- Translated field names in collection dialog (#18708 by @br41nslug)
- Optimised export sidebar aggregation call (#18724 by @licitdev)
- Bumped @sindresorhus/slugify to fix undesirable behavior in slugify input (#18639 by @hanneskuettner)
- Enhanced translations in export sidebar (#18686 by @paescuj)
- Fixed incorrect endpoints for system collections (#18657 by @licitdev)
- @directus/api
- Updated dependencies in all packages (#18643 by @paescuj)
- Added live preview functionality to the Data Studio App to easily and instantly track the impact of item changes on web pages (#17794 by @Nitwel)
- Updated
openapi3-ts
to v4 (#18722 by @paescuj) - Fixed
FILES_MAX_UPLOAD_SIZE
crashing bug and files interface error when the upload request errors (#18737 by @licitdev) - Optimised countDistinct aggregation on primary key field (#18717 by @licitdev)
- Replaced update info in
@directus/api
by an update notifier in thedirectus
package (#18738 by @paescuj) - Improved redaction of logs in Flows by catching additional keys (#18534 by @paescuj)
- Updated handler response format for manual flows (#18741 by @licitdev)
- Removed cdn.directus.io from imgSrc and mediaSrc in the base CSP configuration (#18728 by @azrikahar)
- @directus/composables
- create-directus-extension
- @directus/data-driver-postgres
- @directus/data
- @directus/exceptions
- @directus/extensions-sdk
- @directus/pressure
- @directus/random
- @directus/release-notes-generator
- @directus/storage-driver-azure
- @directus/storage-driver-cloudinary
- @directus/storage-driver-gcs
- @directus/storage-driver-local
- @directus/storage-driver-s3
- @directus/storage
- @directus/types
- @directus/update-check
- @directus/utils
- @directus/specs
π Documentation
- Added synchronization across horizontally scaled instances to schedule flows and hooks (#18584 by @nickrum)
- Updated dependencies in all packages (#18643 by @paescuj)
- Removed unnecessary disclosure of potentially sensitive server info
- Added documentation for auth create and update hooks (#18641 by @paescuj)
- Added live preview functionality to the Data Studio App to easily and instantly track the impact of item changes on web pages (#17794 by @Nitwel)
- Improved Affordance of Docs Card Component Link (#18628 by @connorsimply)
- Added initial docs for running tests in the codebase (#18061 by @licitdev)
π§ͺ Blackbox Tests
- Updated dependencies in all packages (#18643 by @paescuj)
- Enable caching for requests from data studio when
CACHE_AUTO_PURGE
is enabled (#18484 by @licitdev)
π¦ Published Versions
@directus/app@10.3.0
@directus/api@11.0.0
@directus/composables@10.0.3
create-directus-extension@10.0.3
@directus/data@0.0.1
@directus/data-driver-postgres@0.0.1
@directus/exceptions@10.0.2
@directus/extensions-sdk@10.1.2
@directus/pressure@1.0.2
@directus/random@0.2.0
@directus/release-notes-generator@0.0.1
@directus/specs@10.1.1
@directus/storage@10.0.2
@directus/storage-driver-azure@10.0.3
@directus/storage-driver-cloudinary@10.0.3
@directus/storage-driver-gcs@10.0.3
- `@dire...
v10.1.1
β¨ New Features & Improvements
- @directus/app
- Add new toggle to collapse nested collections in the datamodel settings (#18547 by @that1matt)
- @directus/api
- Added a maximum for query limit (#17309 by @br41nslug)
π Bug Fixes & Optimizations
- @directus/app
- Fixed invalid field types in grouping for kanban layout (#18602 by @licitdev)
- Fixed render issue in file item route (#18581 by @paescuj)
- Updated Vue to 3.3 (#18588 by @paescuj)
- Added missing translation in presentation-notice interface (#18591 by @paescuj)
- Fixed drag & drop upload to the root folder in the file library (#18601 by @paescuj)
- Added a maximum for query limit (#17309 by @br41nslug)
- Fixed api endpoint for insights list panel (#18631 by @br41nslug)
- Fixed issue with interface forms not rendering when interface itself has no default value (#18610 by @paescuj)
- Fixed default values for interfaces & displays (#18611 by @paescuj)
- Fixed users-invite component's incorrect null check (#18583 by @licitdev)
- Allow batchMode and batchActive to be used in interface extensions (#18624 by @timio23)
- Fixed field detail logic to ensure options for list & map interfaces are displayed again (#18603 by @paescuj)
- Fixed deselecting options for kanban layout (#18600 by @licitdev)
- @directus/api
- Fixed error handling for unknown fields used in filters (#18630 by @br41nslug)
- Fixed issue preventing user from authenticating with external auth drivers when user info didn't change (#18607 by @aidenfoxx)
- Updated vm2 dependency (#18616 by @br41nslug)
- Fixed auto conversion of images with transparency support when accept header is not applicable (#18615 by @paescuj)
- Sanitized column only when applying snapshot diff (#18579 by @licitdev)
- @directus/composables
- @directus/extensions-sdk
- @directus/types
- @directus/utils
- @directus/schema
π Documentation
- Updated Vue to 3.3 (#18588 by @paescuj)
- Added a maximum for query limit (#17309 by @br41nslug)
- Added bundle deployment instructions (#18606 by @br41nslug)
- Fixed a typo in the intro (#18586 by @groksrc)
- Improved Contributor Docs (#18545 by @connorsimply)
π§ͺ Blackbox Tests
π¦ Published Versions
@directus/app@10.2.0
@directus/api@10.2.0
@directus/composables@10.0.2
@directus/extensions-sdk@10.1.1
@directus/types@10.0.1
@directus/utils@10.0.2
@directus/schema@10.0.1
v10.1.0
v10.1.0 (May 11, 2023)
β¨ New Features & Improvements
- @directus/app
- Added
Cache
option so that caching can be disabled for GET requests to Flows webhook trigger (#18277 by @licitdev) - Added Kanban layout (#18516 by @azrikahar)
- Added bar chart, line chart, pie chart, and meter panels (#18522 by @azrikahar)
- Added folder navigation to the file(s) / image selector interfaces, making it easier to browse and select assets (#18320 by @paescuj)
- Added block editor interface (#18525 by @azrikahar)
- Added
- @directus/api
- @directus/specs
- @directus/random
- Added Pressure-based rate limiter (#17873 by @rijkvanzanten)
- @directus/extensions-sdk
- @directus/constants
π Bug Fixes & Optimizations
- @directus/app
- Updated vitest to
0.31.0
(#18483 by @br41nslug) - Prevented parsing non-decimal values in search query (#18383 by @br41nslug)
- Added Pressure-based rate limiter (#17873 by @rijkvanzanten)
- Added support for relational fields in field presets (#16560 by @timspi)
- Added
no-nested-ternary
eslint rule to ensure better readability in the code base (#18376 by @br41nslug) - Added overflow scrollbars in v-card component (#18503 by @br41nslug)
- Made folders hidden by default in system collection-chooser interface (#18362 by @Nitwel)
- Fixed an issue that would cause the display template to fail on the calendar layout (#18267 by @br41nslug)
- Updated the direct links to discussions/issues to drop the pre-chosen template (#18520 by @rijkvanzanten)
- Added a shortcut link in settings for relational fields in the data model (#18346 by @hanneskuettner)
- Fixed v-checkbox emit behavior when used with array model-value and the custom-value flag (#18552 by @hanneskuettner)
- Translate module link name in project settings (#18343 by @licitdev)
- Fixed boolean display to show icons when default values are used (#18357 by @Nitwel)
- Updated vitest to
- @directus/api
- Fixed a problem that could auth to fail with third party OAuth2/OpenID that rely on refresh tokens (
f4698b5de3
by @rijkvanzanten) - Added a constant with all possible javascript file extensions (#18350 by @nickrum)
- Improved flows error class handling (#18421 by @br41nslug)
- Fixed a problem that could cause duplicate assets from being generated to disk for repeated access to the same
permutation. (0f32f4f136
by @rijkvanzanten) - Updated vitest to
0.31.0
(#18483 by @br41nslug) - Prevented parsing non-decimal values in search query (#18383 by @br41nslug)
- Clear item cache when permissions have changed (#18526 by @br41nslug)
- Added graceful shutdown of database connection to bootstrap CLI command (#18465 by @ArthurYidi)
- Added support for relational fields in field presets (#16560 by @timspi)
- Allow
*.cjs
and*.mjs
extensions for custom migrations (#18385 by @br41nslug) - Fixed _offset=0 usage in deep filters (#18382 by @br41nslug)
- Fixed a problem that could auth to fail with third party OAuth2/OpenID that rely on refresh tokens (
- @directus/extensions-sdk
- Added a constant with all possible javascript file extensions (#18350 by @nickrum)
- Updated vitest to
0.31.0
(#18483 by @br41nslug) - Added
no-nested-ternary
eslint rule to ensure better readability in the code base (#18376 by @br41nslug) - Silenced prefer builtins and circular dependency warnings when building extensions (#18366 by @nickrum)
- Removed extension config import workaround that is no longer necessary since we are building to ESM (#18349 by @nickrum)
- @directus/constants
- @directus/composables
- Updated vitest to
0.31.0
(#18483 by @br41nslug) - Marked the
constant
,utils
,composables
andexceptions
packages as side effects free to shrink size of API extensions using Typescript (#18365 by @nickrum) - Improved
select-multiple-checkbox
behavior when modifying a custom value (#18554 by @hanneskuettner)
- Updated vitest to
- @directus/exceptions
- Updated vitest to
0.31.0
(#18483 by @br41nslug) - Marked the
constant
,utils
,composables
andexceptions
packages as side effects free to shrink size of API extensions using Typescript (#18365 by @nickrum)
- Updated vitest to
- @directus/storage-driver-azure
- Updated vitest to
0.31.0
(#18483 by @br41nslug)
- Updated vitest to
- @directus/storage-driver-cloudinary
- Updated vitest to
0.31.0
(#18483 by @br41nslug)
- Updated vitest to
- @directus/storage-driver-gcs
- Updated vitest to
0.31.0
(#18483 by @br41nslug)
- Updated vitest to
- @directus/storage-driver-local
- Updated vitest to
0.31.0
(#18483 by @br41nslug)
- Updated vitest to
- @directus/storage-driver-s3
- Updated vitest to
0.31.0
(#18483 by @br41nslug)
- Updated vitest to
- @directus/storage
- Updated vitest to
0.31.0
(#18483 by @br41nslug)
- Updated vitest to
- @directus/update-check
- Updated vitest to
0.31.0
(#18483 by @br41nslug)
- Updated vitest to
- @directus/utils
- Updated vitest to
0.31.0
(#18483 by @br41nslug) - Added Pressure-based rate limiter (#17873 by @rijkvanzanten)
- Marked the
constant
,utils
,composables
andexceptions
packages as side effects free to shrink size of API extensions using Typescript (#18365 by @nickrum)
- Updated vitest to
π Documentation
- Added support for the
multipart/form-data
content type in the/schema/apply
endpoint (#18321 by @jaads) - Added Pressure-based rate limiter (#17873 by @rijkvanzanten)
- Added Kanban layout (#18516 by @azrikahar)
- Added bar chart, line chart, pie chart, and meter panels (#18522 by @azrikahar)
- Added support for building API extensions to ESM format and default to ESM for new extensions (#18351 by @nickrum)
- Added warning note about the requirement of a package.json file when initializing Directus from node directly (
37d74f96fd
by @rijkvanzanten) - Instruct users to use the la...
v10.0.0
In v10.0.0, Directus is adopting BSL 1.1 β with additional usage grants added in to keep the platform open and available. For nearly all of our community, todayβs announcement wonβt change a thing, but licenses can be intimidating, so letβs highlight the key points below:
- All Directus source code will still be open and available on GitHub
- Non-production use of Directus is still completely free for everyone
- Production use of Directus is still completely free for nearly all users
- Everyone can still use the entire Directus platform for freeβ¦ unless you (your legal entity) exceed $5,000,000 USD in βtotal financesβ per year
- Code released under this new license converts to GPLv3 (OSS) after 3 years
Massive thanks to everybody who chimed in on the discussion in https://github.com/directus/directus/discussions/17977 and on Discord β€οΈ
For more information, please see our blog post and FAQ.
List of all the license updates below:
Package | New License |
---|---|
directus |
BSL 1.1 |
@directus/api |
BSL 1.1 |
@directus/app |
BSL 1.1 |
@directus/composables |
MIT |
@directus/constants |
MIT |
@directus/create-directus-extension |
MIT |
@directus/exceptions |
MIT |
@directus/extensions-sdk |
MIT |
@directus/schema |
BSL 1.1 |
@directus/specs |
BSL 1.1 |
@directus/storage |
BSL 1.1 |
@directus/storage-driver-azure |
BSL 1.1 |
@directus/storage-driver-cloudinary |
BSL 1.1 |
@directus/storage-driver-gcs |
BSL 1.1 |
@directus/storage-driver-local |
BSL 1.1 |
@directus/storage-driver-s3 |
BSL 1.1 |
@directus/types |
MIT |
@directus/update-check |
MIT |
@directus/utils |
MIT |
v9.26.0
v9.26.0 (April 24, 2023)
β¨ New Features
- API
- #15829 [Feat] Flow: Add Mail Templates (by @JonathanSchndr)
- App
- #15829 [Feat] Flow: Add Mail Templates (by @JonathanSchndr)
π Improvements
- API
- #18303 Schema cache auto-purge (by @br41nslug)
- App
- #18284 Only show tooltips when sidebar is not open (by @azrikahar)
- #16373 Improve Permissions in relational Interfaces (by @Nitwel)
- Misc.
π Bug Fixes
- App
- API
𧽠Optimizations
- App
- #18294 Move formatted-json-value to script[setup] (by @rijkvanzanten)
- #18292 Move file display to script[setup] (by @rijkvanzanten)
- #18291 Move color display to script[setup] (by @rijkvanzanten)
- #18290 Move collection display to script[setup] (by @rijkvanzanten)
- #18289 Move app.vue to script[setup] (by @rijkvanzanten)
π Documentation
- #18276 Update the docs on how to install additional packages in docker (by @paescuj)
- #18270 Edit docs about minimum app permissions for clarity (by @danielduckworth)
- #18264 Remove misleading contents migration docs for now (by @paescuj)
π¦ Dependency Updates
- #18274 updated vm2 (by @br41nslug)
- #18260 Patch Tuesday πΈ (by @paescuj)
v9.25.2
v9.25.2 (April 20, 2023)
π Improvements
- App
- #18256 Fall back to "other" group if interface has none (by @nickrum)
- #18242 Use filled star for required asterisks & rating display (by @azrikahar)
- #18226 Add comment about sorting of available languages & add Spanish (Mexico) (by @paescuj)
- #18200 Add loader to logs-siderbar-detail (by @hanneskuettner)
- #18160 Add select all option for export (by @jaads)
- #15733 Add possibility of sorting items in tabular view of o2m interface (by @d1rOn)
- API
- #18238 Remove cache flushing on startup (by @rijkvanzanten)
- #18229 Vary on accept when auto converting assets (#18228) (by @bicouy0)
π Bug Fixes
- App
- #18266 Fix wrong drawer opens when editing fields in data model (by @Nitwel)
- #18196 Fix m2a/m2a/o2m sorting (by @hanneskuettner)
- #18194 Prevent duplicate emit from CodeMirror editors (by @hanneskuettner)
- #18193 Rename
system-field[-tree]
collection
prop tocollectionName
(by @hanneskuettner) - #18185 Fix Material Symbols in timycme & mapbox (by @hanneskuettner)
- #18027 Add
autoKey
to interface config (by @hanneskuettner)
- API
- #18257 Fix extension reloading (by @nickrum)
- #18235 Don't fail on
?format=auto
without accept header (by @rijkvanzanten) - #18188 Fix .default is not a function errors (by @azrikahar)
- Extensions
- #18202 Use import.meta.url instead of __dirname (by @hanneskuettner)
- #18180 Adjust paths in extensions-sdk & publish composables types (by @paescuj)
- cli
- #18187 Fix
npm init directus-extension
(by @azrikahar)
- #18187 Fix
𧽠Optimizations
- Misc.
- #18249 Fix a few dev mode warnings (by @hanneskuettner)
- #18211 Publish all types from packages/* (by @hanneskuettner)
- #18198 Last eslint tweak (by @rijkvanzanten)
- #18197 White space rules (by @rijkvanzanten)
- #18164 Get Directus version directly via filesystem from
directus
package (by @paescuj)
- API
- #18241 Fix Action enum import in use-revisions composable (by @azrikahar)
- App
- #18199 Change translation display userLanguage option default value to proper boolean (by @hanneskuettner)
π Documentation
- #18195 Renamed variable for brevity (by @akshay-sood)
- #18190 Updating the Information Architecture of Docs (by @phazonoverload)