Skip to content

v12.0.28

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 17:25
a00eeb8

Security

  • #530 de68b0b - security: Image transformations now refuse an output larger than ASSETS_TRANSFORM_IMAGE_MAX_DIMENSION on either side with (GHSA-7vcx-mhxq-9j96) 400 ILLEGAL_ASSET_TRANSFORMATION, instead of letting width/height or a resize/extend transform allocate an unbounded image (GHSA-7vcx-mhxq-9j96). When the transforms include trim, a resize that leaves a side to follow the aspect ratio is capped to ASSETS_TRANSFORM_IMAGE_MAX_DIMENSION on that side (fit: 'inside'), and a resize with fit: 'outside' is refused.
  • #527 88a884a - security: Fixed a prototype pollution in the deep query 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: Upgraded graphql to 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/verify and the utils_hash_verify GraphQL 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, with 400 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.node is now ^22 in 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 than ASSETS_TRANSFORM_IMAGE_MAX_DIMENSION on either side with
    (GHSA-7vcx-mhxq-9j96) 400 ILLEGAL_ASSET_TRANSFORMATION, instead of letting width/height or a resize/extend
    transform allocate an unbounded image (GHSA-7vcx-mhxq-9j96). When the transforms include trim, a resize that leaves
    a side to follow the aspect ratio is capped to ASSETS_TRANSFORM_IMAGE_MAX_DIMENSION on that side (fit: 'inside'),
    and a resize with fit: 'outside' is refused.

  • #527
    88a884a - security: Fixed a
    prototype pollution in the deep query 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
    and meta=total_count now count distinct items instead of joined rows when the filter or the role's permission
    crosses a to-many relation.

  • #528
    23aa126 - security: Upgraded
    graphql to 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/verify and the utils_hash_verify GraphQL 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, with 400 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
    answer 503 SERVICE_UNAVAILABLE until the provider is back.

  • #511
    4cc2339 - Fixed public
    registration never activating an account: GET /auth/login/register/verify-email answered 403 FORBIDDEN for every
    valid link, and the 60 second limit on confirmation mails was never applied. The local driver wrote the system-only
    field auth_data through a service that carries an accountability, which the payload service refuses.

  • #510
    bf742a9 -
    POST /auth/login/register now rejects a verification_url that isn't in AUTH_<PROVIDER>_REGISTER_URL_ALLOW_LIST
    with 400 INVALID_PAYLOAD before responding, instead of answering 204 and silently sending no email.

  • #521
    de0b57b - String fields now
    accept the case-insensitive ieq filter 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-insensitive ieq filter 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.node is now ^22 in 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_with and _ends_with filter operators

  • #521
    de0b57b - String fields now
    accept the case-insensitive ieq filter 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_with and _ends_with filter operators

  • #521
    de0b57b - String fields now
    accept the case-insensitive ieq filter 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