Skip to content

Version Packages#812

Merged
rajrdk merged 1 commit into
mainfrom
changeset-release/main
May 19, 2025
Merged

Version Packages#812
rajrdk merged 1 commit into
mainfrom
changeset-release/main

Conversation

@ct-changesets
Copy link
Copy Markdown
Contributor

@ct-changesets ct-changesets Bot commented May 12, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@commercetools/composable-commerce-test-data@11.1.0

Minor Changes

  • #815 79f4d99 Thanks @rajrdk! - Added two new sub-models to the Cart one:

    • DiscountOnTotalPrice
    • DiscountedTotalPricePortion

    You can use them like this:

    import {
      DiscountOnTotalPriceGraphql,
      DiscountedTotalPricePortionGraphql,
    } from '@commercetools/composable-commerce-test-data/cart';
    
    const discountOnTotalPriceModel =
      DiscountOnTotalPriceGraphql.random().build();
    const discountedTotalPricePortionModel =
      DiscountedTotalPricePortionGraphql.random().build();

Patch Changes

  • #820 6d5e10d Thanks @rajrdk! - Moved Organization and Organization-extention models directories within the repository structure to improve readability.

  • #821 887f3f9 Thanks @rajrdk! - Moved Customer, Customer Group and Customers search list my view models directories within the repository structure to improve readability.

  • #809 516a1f6 Thanks @Rombelirk! - The ProductSelection and ProductSelectionDraft models have been refactored to use the new implementation patterns but that does not affect consumers..
    Added new submodel to the ProductSelection model:

    • ProductOfSelection

    You can use it like this:

    import { ProductOfSelectionGraphql } from '@commercetools/composable-commerce-test-data/product-selection';
    
    const productOfSelectionModel = ProductOfSelectionGraphql.random().build();

    This submodel is now used to populate the required productRefs field of the ProductSelection GraphQL model, which was previously null by default.

  • #817 58a2db6 Thanks @krishhna123! - added missing import for cart-discount-custom-line-items-target

  • #811 15295ad Thanks @CarlosCortizasCT! - B2C Lifestyle Presets - Fix shipping method zone rates in the shipping-method data models.

  • #813 fddc2a7 Thanks @ahmehri! - fix(product-data): update slug generation to match pattern

    Source: https://docs.commercetools.com/api/projects/products#productdata

  • #810 f0e33e3 Thanks @emmenko! - We've moved the Cart and CartDiscount models directories within the repository for better readability. This does not imply any change from the consumers side.

@ct-changesets ct-changesets Bot force-pushed the changeset-release/main branch 8 times, most recently from b68cf8e to 5120043 Compare May 19, 2025 15:13
@ct-changesets ct-changesets Bot force-pushed the changeset-release/main branch from 5120043 to 6f93854 Compare May 19, 2025 15:14
@rajrdk rajrdk merged commit 8090a14 into main May 19, 2025
8 checks passed
@rajrdk rajrdk deleted the changeset-release/main branch May 19, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant