Skip to content

8.12.0

Choose a tag to compare

@github-actions github-actions released this 22 Jan 09:36
3c1fddf

@comet/admin@8.12.0

Minor Changes

  • 12466e4: CrudContextMenu: add deleteType ("delete"|"remove") that changes menu item and dialog from delete to remove for non-destructive data (relations)

@comet/admin-generator@8.12.0

Minor Changes

  • 12466e4: CrudContextMenu: add deleteType ("delete"|"remove") that changes menu item and dialog from delete to remove for non-destructive data (relations)

@comet/brevo-admin@8.12.0

Minor Changes

  • 297ceeb: Make this package compatible with COMET v8

    Now requires

    • @comet/* >= 8.0.0
    • @mui/* >= 7.0.0
  • 297ceeb: Prefix all entities and API requests with brevo to prevent naming issues in projects.

    Update the entity name in the additionalPageTreeNodeFieldsFragment GraphQL fragment from TargetGroup to BrevoTargetGroup in the targetGroupFormConfig.

    export const additionalPageTreeNodeFieldsFragment = {
        fragment: gql`
            fragment TargetGroupFilters on BrevoTargetGroup {
                filters {
                    SALUTATION
                    BRANCH
                }
            }
       `,
        name: "TargetGroupFilters",
    };
    

@comet/cms-admin@8.12.0

Patch Changes

  • 02c25c1: Fix preview url handling in SvgImageBlock

@comet/brevo-api@8.12.0

Minor Changes

  • 297ceeb: Prefix all entities and API requests with brevo to prevent naming issues in projects.

    Update the entity name in the additionalPageTreeNodeFieldsFragment GraphQL fragment from TargetGroup to BrevoTargetGroup in the targetGroupFormConfig.

    export const additionalPageTreeNodeFieldsFragment = {
        fragment: gql`
            fragment TargetGroupFilters on BrevoTargetGroup {
                filters {
                    SALUTATION
                    BRANCH
                }
            }
       `,
        name: "TargetGroupFilters",
    };
    
  • 297ceeb: Make this package compatible with COMET v8

    Now requires

    • @comet/cms-api >= 8.0.0
    • @mikro-orm/* >= 6.0.0
    • @nestjs/* >= 11.0.0
    • reflect-metadata >= 0.2.0

@comet/cms-api@8.12.0

Minor Changes

  • 488da0b: Add registerAdditionalPermissions helper

    The helper can be used register additional permissions into the permission enum used for the GraphQL schema.
    Only use this if you're building a library that requires additional permissions.
    For application-level permissions, use the AppPermission option in the module registration methods.

  • 2930556: Send 401 instead 403 when CometAuthGuard cannot authenticate user

    Restores the behavior of Comet v7.

    Before (shortened):

    {
      "errors": [
        {
          "message": "Forbidden resource",
          "extensions": {
            "code": "FORBIDDEN",
            "originalError": {
              "message": "Forbidden resource",
              "error": "Forbidden",
              "statusCode": 403
            }
          }
        }
      ],
      "data": null
    }
    

    After (shortened):

    {
      "errors": [
        {
          "message": "No AuthService could authenticate the user",
          "extensions": {
            "code": "UNAUTHENTICATED",
            "originalError": {
              "message": "No AuthService could authenticate the user",
              "error": "Unauthorized",
              "statusCode": 401
            }
          }
        }
      ],
      "data": null
    }
    

@comet/cli@8.12.0

Minor Changes

  • 979a1d3: Use renovate for updating local oauth2-proxy and mitmproxy

@comet/mail-react@8.12.0

Minor Changes

  • 51a213a: Add mjml-compatible versions of the following block factories

    • BlocksBlock
    • ListBlock
    • OneOfBlock
    • OptionalBlock
  • b4e0609: Make this package ESM and add peer dependencies to react and @faire/mjml-react

    Previously, this package was published as a CommonJS package and had no peer dependencies.
    Now, it is published as an ESM package and has peer dependencies to react@18 and @faire/mjml-react@3.

    Though this is theoretically a breaking change, we are bumping only the minor version, as this package is completely new and has no known users yet.