Security
- #530
de68b0b- security: Image transformations now refuse an output larger thanASSETS_TRANSFORM_IMAGE_MAX_DIMENSIONon either side with (GHSA-7vcx-mhxq-9j96)400 ILLEGAL_ASSET_TRANSFORMATION, instead of lettingwidth/heightor aresize/extendtransform allocate an unbounded image (GHSA-7vcx-mhxq-9j96). When the transforms includetrim, a resize that leaves a side to follow the aspect ratio is capped toASSETS_TRANSFORM_IMAGE_MAX_DIMENSIONon that side (fit: 'inside'), and a resize withfit: 'outside'is refused. - #527
88a884a- security: Fixed a prototype pollution in thedeepquery parameter: nested keys named after inherited properties (e.g. (GHSA-gwvv-rr68-cmv6)toString.call) could overwrite a shared built-in and crash the server with one unauthenticated request (GHSA-gwvv-rr68-cmv6). Every other place the API writes values at a dynamic path (GraphQL nested arguments and aliases, CSV import column names, schema diffs, share permissions, nested environment config) now uses the same own-properties-only setter. - #528
23aa126- security: Upgradedgraphqlto 16.15.0, which bounds the work spent validating duplicated fields: a query repeating the same (GHSA-7hmh-pfrp-vcx4) fields many times is now rejected with a GraphQL validation error instead of blocking the API for minutes (GHSA-7hmh-pfrp-vcx4) - #529
009767d- security:POST /utils/hash/verifyand theutils_hash_verifyGraphQL mutation now reject hashes whose argon2 cost parameters (GHSA-xw72-c69j-h2rj) are not plain positive integers or exceed the ones d9 generates, or whose version is not one argon2 defines, with400 INVALID_PAYLOAD(GHSA-xw72-c69j-h2rj)
@wbce-d9/api 12.9.0
Minor Changes
- #516
36cf983- d9 will move to
Node.js 24 in its next major release, scheduled for 2027-01-31, before Node.js 22 reaches its end of life. The API now
logs a warning at startup on Node.js 22.engines.nodeis now^22in the API and the extensions SDK, so npm warns
when installing on Node.js 24 or later. See
Supported Node.js Versions.
Patch Changes
-
#530
de68b0b- security: Image
transformations now refuse an output larger thanASSETS_TRANSFORM_IMAGE_MAX_DIMENSIONon either side with
(GHSA-7vcx-mhxq-9j96)400 ILLEGAL_ASSET_TRANSFORMATION, instead of lettingwidth/heightor aresize/extend
transform allocate an unbounded image (GHSA-7vcx-mhxq-9j96). When the transforms includetrim, a resize that leaves
a side to follow the aspect ratio is capped toASSETS_TRANSFORM_IMAGE_MAX_DIMENSIONon that side (fit: 'inside'),
and a resize withfit: 'outside'is refused. -
#527
88a884a- security: Fixed a
prototype pollution in thedeepquery parameter: nested keys named after inherited properties (e.g.
(GHSA-gwvv-rr68-cmv6)toString.call) could overwrite a shared built-in and crash the server with one unauthenticated
request (GHSA-gwvv-rr68-cmv6). Every other place the API writes values at a dynamic path (GraphQL nested arguments and
aliases, CSV import column names, schema diffs, share permissions, nested environment config) now uses the same
own-properties-only setter. -
#517
15eddbc-meta=filter_count
andmeta=total_countnow count distinct items instead of joined rows when the filter or the role's permission
crosses a to-many relation. -
#528
23aa126- security: Upgraded
graphqlto 16.15.0, which bounds the work spent validating duplicated fields: a query repeating the same
(GHSA-7hmh-pfrp-vcx4) fields many times is now rejected with a GraphQL validation error instead of blocking the API
for minutes (GHSA-7hmh-pfrp-vcx4) -
#529
009767d- security:
POST /utils/hash/verifyand theutils_hash_verifyGraphQL mutation now reject hashes whose argon2 cost parameters
(GHSA-xw72-c69j-h2rj) are not plain positive integers or exceed the ones d9 generates, or whose version is not one
argon2 defines, with400 INVALID_PAYLOAD(GHSA-xw72-c69j-h2rj) -
#518
f9e231f- Deselecting
one-to-many items now nullifies or deletes every removed child, not only the first page (100 by default) of them. -
#522
8575634- The OpenID auth
driver no longer exits the API when its provider can't be discovered: the failure is logged at startup and logins
answer503 SERVICE_UNAVAILABLEuntil the provider is back. -
#511
4cc2339- Fixed public
registration never activating an account:GET /auth/login/register/verify-emailanswered403 FORBIDDENfor every
valid link, and the 60 second limit on confirmation mails was never applied. The local driver wrote thesystem-only
fieldauth_datathrough a service that carries an accountability, which the payload service refuses. -
#510
bf742a9-
POST /auth/login/registernow rejects averification_urlthat isn't inAUTH_<PROVIDER>_REGISTER_URL_ALLOW_LIST
with400 INVALID_PAYLOADbefore responding, instead of answering204and silently sending no email. -
#521
de0b57b- String fields now
accept the case-insensitiveieqfilter operator in REST and GraphQL, the filter builder offers it, and validation
rules using it are enforced. -
Updated dependencies [
de0b57b,
36cf983,
9ecf689,
de0b57b]:- @wbce-d9/utils@10.0.7
- @wbce-d9/extensions-sdk@10.2.0
- @wbce-d9/schema@10.0.2
- @wbce-d9/app@11.4.1
- @wbce-d9/exceptions@10.0.1
- @wbce-d9/storage-driver-azure@10.0.7
- @wbce-d9/storage-driver-cloudinary@10.0.9
- @wbce-d9/storage-driver-gcs@10.0.7
- @wbce-d9/storage-driver-local@10.0.7
- @wbce-d9/storage-driver-s3@10.0.8
@wbce-d9/app 11.4.1
Patch Changes
- #521
de0b57b- String fields now
accept the case-insensitiveieqfilter operator in REST and GraphQL, the filter builder offers it, and validation
rules using it are enforced. - Updated dependencies []:
- @wbce-d9/composables@10.0.7
@wbce-d9/extensions-sdk 10.2.0
Minor Changes
- #516
36cf983- d9 will move to
Node.js 24 in its next major release, scheduled for 2027-01-31, before Node.js 22 reaches its end of life. The API now
logs a warning at startup on Node.js 22.engines.nodeis now^22in the API and the extensions SDK, so npm warns
when installing on Node.js 24 or later. See
Supported Node.js Versions.
Patch Changes
- Updated dependencies [
de0b57b,
de0b57b]:- @wbce-d9/types@10.2.1
- @wbce-d9/utils@10.0.7
- @wbce-d9/composables@10.0.7
@wbce-d9/schema 10.0.2
Patch Changes
- #520
9ecf689- Fixed the Postgres
schema overview crashing when a table or column is dropped while the schema is being read.
@wbce-d9/types 10.2.1
Patch Changes
-
#521
de0b57b- Expose
case-insensitive variants of_starts_withand_ends_withfilter operators -
#521
de0b57b- String fields now
accept the case-insensitiveieqfilter operator in REST and GraphQL, the filter builder offers it, and validation
rules using it are enforced.
@wbce-d9/utils 10.0.7
Patch Changes
-
#521
de0b57b- Expose
case-insensitive variants of_starts_withand_ends_withfilter operators -
#521
de0b57b- String fields now
accept the case-insensitiveieqfilter operator in REST and GraphQL, the filter builder offers it, and validation
rules using it are enforced.
Dependency updates only: @wbce-d9/directus9@12.0.28 @wbce-d9/composables@10.0.7 @wbce-d9/create-directus-extension@9.26.21 @wbce-d9/storage-driver-azure@10.0.7 @wbce-d9/storage-driver-cloudinary@10.0.9 @wbce-d9/storage-driver-gcs@10.0.7 @wbce-d9/storage-driver-local@10.0.7 @wbce-d9/storage-driver-s3@10.0.8