Skip to content

10.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 12:43
· 72 commits to main since this release
6360bcd

@dextinity/admin@10.0.0

Major Changes

  • f843a5e: Rename @comet/admin to @dextinity/admin

    Update the dependency in package.json and all imports:

    - import { MainContent } from "@comet/admin";
    + import { MainContent } from "@dextinity/admin";

    Breaking changes

    • Rename createCometTheme to createDextinityTheme
    • Rename the theme component prefix from CometAdmin to DextinityAdmin. This affects components overrides passed to createDextinityTheme, the name passed to useThemeProps in custom components and the generated CSS class names (.CometAdminClearInputAdornment-root -> .DextinityAdminClearInputAdornment-root)
    • Rename the CSS variables from --comet-admin-* to --dextinity-admin-*, for instance, --comet-admin-master-layout-content-top-spacing -> --dextinity-admin-master-layout-content-top-spacing
    • Remove the CometLogo component. Use DextinityLogo from @dextinity/admin-icons instead

@dextinity/admin-babel-preset@10.0.0

Major Changes

  • f843a5e: Rename @comet/admin-babel-preset to @dextinity/admin-babel-preset

    Update the dependency in package.json and the preset name in your Babel configuration:

    - "presets": ["@comet/admin-babel-preset"]
    + "presets": ["@dextinity/admin-babel-preset"]

@dextinity/admin-color-picker@10.0.0

Major Changes

  • f843a5e: Rename @comet/admin-color-picker to @dextinity/admin-color-picker

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename the theme component prefix from CometAdmin to DextinityAdmin. This affects components overrides passed to createDextinityTheme and the generated CSS class names

@dextinity/admin-date-time@10.0.0

Major Changes

  • f843a5e: Rename @comet/admin-date-time to @dextinity/admin-date-time

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename the theme component prefix from CometAdmin to DextinityAdmin. This affects components overrides passed to createDextinityTheme and the generated CSS class names

@dextinity/admin-generator@10.0.0

Major Changes

  • f843a5e: Rename @comet/admin-generator to @dextinity/admin-generator

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename the comet-admin-generator binary to dextinity-admin-generator:

      - "generate-admin": "comet-admin-generator generate"
      + "generate-admin": "dextinity-admin-generator generate"
    • Rename the config file suffix from .cometGen.tsx to .dextinityGen.tsx. The default file pattern is now src/**/*.dextinityGen.{ts,tsx}

    • Change the header of generated files. Rerun the generator to update them

@dextinity/admin-icons@10.0.0

Major Changes

  • f843a5e: Rename @comet/admin-icons to @dextinity/admin-icons

    Update the dependency in package.json and all imports.

    Breaking changes

    • Remove the Comet and CometOutline icons

    • Remove the CometColor component. Use DextinityIcon instead, which provides the light, dark and masked variants

    • Remove the CometDigitalExperienceLogo component. Use DextinityLogo instead, which provides the light, dark and monochrome variants

    • Rename the CometColor member of the IconName type to DextinityIcon

      DextinityIcon and DextinityLogo derive their size from fontSize, so call sites no longer pass width/height pairs:

      - <CometDigitalExperienceLogo width={132} height={30} />
      + <DextinityLogo sx={{ fontSize: 30 }} />

@dextinity/admin-rte@10.0.0

Major Changes

  • f843a5e: Rename @comet/admin-rte to @dextinity/admin-rte

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename the theme component prefix from CometAdmin to DextinityAdmin. This affects components overrides passed to createDextinityTheme and the generated CSS class names
    • Rename the --comet-admin-rte-outer-border-color CSS variable to --dextinity-admin-rte-outer-border-color

@dextinity/brevo-admin@10.0.0

Major Changes

  • f843a5e: Rename @comet/brevo-admin to @dextinity/brevo-admin

    Update the dependency in package.json and all imports.

    Breaking changes

    • Resolve the configuration via DextinityConfigProvider instead of CometConfigProvider

@dextinity/cms-admin@10.0.0

Major Changes

  • f843a5e: Rename @comet/cms-admin to @dextinity/cms-admin

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename CometConfigProvider to DextinityConfigProvider, useCometConfig to useDextinityConfig and the CometConfig type to DextinityConfig. By convention, the project's comet-config.json is renamed to dextinity-config.json
    • Rename the cometType property of iframe messages to dextinityType. The site must use a matching @dextinity/site-react or @dextinity/site-nextjs version
    • Rename the site preview cookie from __comet_site_preview to __dextinity_site_preview and the impersonation cookie from comet-impersonate-user-id to dextinity-impersonate-user-id
    • Expect the renamed DextinityImageResolutionException and DextinityValidationException error codes in DAM file uploads. A matching @dextinity/cms-api version is required
    • Rename the theme component prefix from CometAdmin to DextinityAdmin. This affects components overrides passed to createDextinityTheme and the generated CSS class names
    • Rename the CSS variables from --comet-admin-* to --dextinity-admin-*
    • Replace the Comet logo in the header, the about modal and the site preview with the Dextinity logo

@dextinity/agent-features@10.0.0

Major Changes

  • f843a5e: Rename @comet/agent-features to @dextinity/agent-features

    Update the dependency in package.json.

    Breaking changes

    • Rename the skills to Dextinity: comet-admin-ui -> dextinity-admin-ui, comet-block -> dextinity-block, comet-core-admin-component-authoring -> dextinity-core-admin-component-authoring, comet-mail-react -> dextinity-mail-react, comet-major-migration -> dextinity-major-migration and comet-minor-update -> dextinity-minor-update. Rerun dextinity install-agent-features and remove the previously installed skills

@dextinity/api-generator@10.0.0

Major Changes

  • f843a5e: Rename @comet/api-generator to @dextinity/api-generator

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename the comet-api-generator binary to dextinity-api-generator:

      - "generate-crud": "comet-api-generator"
      + "generate-crud": "dextinity-api-generator"
    • Change the header of generated files. Rerun the generator to update them

@dextinity/brevo-api@10.0.0

Major Changes

  • f843a5e: Rename @comet/brevo-api to @dextinity/brevo-api

    Update the dependency in package.json and all imports:

    - import { BrevoModule } from "@comet/brevo-api";
    + import { BrevoModule } from "@dextinity/brevo-api";

@dextinity/cms-api@10.0.0

Major Changes

  • f843a5e: Rename @comet/cms-api to @dextinity/cms-api

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename CometException and its subclasses: CometValidationException -> DextinityValidationException, CometEntityNotFoundException -> DextinityEntityNotFoundException, CometImageResolutionException -> DextinityImageResolutionException. The error codes returned by the API change accordingly, so a matching @dextinity/cms-admin version is required
    • Rename CometAuthGuard to DextinityAuthGuard and the @DisableCometGuards() decorator to @DisableDextinityGuards()
    • Rename the database tables CometFileUpload, CometUserPermission and CometUserContentScopes to DextinityFileUpload, DextinityUserPermission and DextinityUserContentScopes. A migration is shipped with the package, so running the migrations is sufficient
    • Rename the site preview cookie from __comet_site_preview to __dextinity_site_preview and the impersonation cookie from comet-impersonate-user-id to dextinity-impersonate-user-id

Minor Changes

  • 86f90cb: Support dextinity.com/* Kubernetes labels and annotations

    The Builds, Cron Jobs and Kubernetes modules now read the labels and annotations of Kubernetes resources with the dextinity.com prefix:

    Previously Now
    comet-dxp.com/instance dextinity.com/instance
    comet-dxp.com/parent-cron-job dextinity.com/parent-cron-job
    comet-dxp.com/label dextinity.com/label
    comet-dxp.com/builder dextinity.com/builder
    comet-dxp.com/trigger dextinity.com/trigger
    comet-dxp.com/content-scope dextinity.com/content-scope

    The comet-dxp.com prefix is still supported, so existing Helm charts keep working without changes.
    Resources are expected to use one prefix or the other: if no resource matches the dextinity.com labels, the comet-dxp.com ones are used instead.

    Example

    metadata:
        annotations:
            dextinity.com/label: "Demo Cron Job"
            dextinity.com/content-scope: '{ "domain": "main", "language": "en" }'

@dextinity/cli@10.0.0

Major Changes

  • f843a5e: Rename @comet/cli to @dextinity/cli

    Update the dependency in package.json.

    Breaking changes

    • Rename the comet binary to dextinity:

      - "generate-block-types": "comet generate-block-types"
      + "generate-block-types": "dextinity generate-block-types"

@dextinity/eslint-config@10.0.0

Major Changes

  • f843a5e: Rename @comet/eslint-config to @dextinity/eslint-config

    Update the dependency in package.json and the imports in your ESLint configuration:

    - import eslintConfigReact from "@comet/eslint-config/future/react.js";
    + import eslintConfigReact from "@dextinity/eslint-config/future/react.js";

    Breaking changes

    • Rename the plugin namespace from @comet to @dextinity. Rule overrides and disable comments must be updated, for instance, @comet/no-other-module-relative-import -> @dextinity/no-other-module-relative-import

@dextinity/eslint-plugin@10.0.0

Major Changes

  • f843a5e: Rename @comet/eslint-plugin to @dextinity/eslint-plugin

    Update the dependency in package.json.

    Breaking changes

    • Register the plugin under the @dextinity namespace instead of @comet. Rule names change accordingly, for instance, @comet/no-private-sibling-import -> @dextinity/no-private-sibling-import

@dextinity/mail-react@10.0.0

Major Changes

  • f843a5e: Rename @comet/mail-react to @dextinity/mail-react

    Update the dependency in package.json and all imports:

    - import { MjmlPixelImageBlock } from "@comet/mail-react";
    + import { MjmlPixelImageBlock } from "@dextinity/mail-react";

@dextinity/site-nextjs@10.0.0

Major Changes

  • f843a5e: Rename @comet/site-nextjs to @dextinity/site-nextjs

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename the cometType property of iframe messages to dextinityType. A matching @dextinity/cms-admin version is required
    • Rename the site preview cookie from __comet_site_preview to __dextinity_site_preview. A matching @dextinity/cms-api version is required

@dextinity/site-react@10.0.0

Major Changes

  • f843a5e: Rename @comet/site-react to @dextinity/site-react

    Update the dependency in package.json and all imports.

    Breaking changes

    • Rename the cometType property of iframe messages to dextinityType. A matching @dextinity/cms-admin version is required
    • Rename the window property of useLocalStorageCookieApi from window.cometLocalStorageCookieApi to window.dextinityLocalStorageCookieApi and its localStorage key from comet-dev-cookie-api-consented-cookies to dextinity-dev-cookie-api-consented-cookies. Previously consented cookies are therefore reset in local development