Skip to content

feat: added additional project configuration options, added defaults#333

Merged
demeyerthom merged 1 commit intomainfrom
feat/project-configuration-improvements
Sep 17, 2025
Merged

feat: added additional project configuration options, added defaults#333
demeyerthom merged 1 commit intomainfrom
feat/project-configuration-improvements

Conversation

@demeyerthom
Copy link
Member

This pull request introduces several enhancements and updates to the project endpoints to better align with commercetools defaults, adds new configuration options, and updates dependencies. The main focus is on expanding the configurability and default values for project resources, especially around carts, shopping lists, and business units.

Project endpoint enhancements and configuration updates:

  • Added support for configuring priceRoundingMode and taxRoundingMode in the carts object, including new update actions and default values. [1] [2] [3] [4]
  • Introduced shoppingListsConfiguration with default values and update actions, ensuring shopping lists have a default deleteDaysAfterLastModification value. [1] [2] [3]
  • Added support for configuring businessUnits search indexing status, including new update actions and default values. [1] [2] [3]

Repository and resource improvements:

  • Set the default isActive property to true when creating new discount groups in DiscountGroupRepository.

Dependency updates:

  • Upgraded @commercetools/platform-sdk from version 8.14.0 to 8.16.0 to ensure compatibility with new features and endpoints.

Changelog:

  • Added a changeset documenting the additional features and updated project starting defaults for commercetools alignment.

@changeset-bot
Copy link

changeset-bot bot commented Sep 16, 2025

🦋 Changeset detected

Latest commit: a254684

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@labdigital/commercetools-mock Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@demeyerthom demeyerthom merged commit 7948f69 into main Sep 17, 2025
11 checks passed
@demeyerthom demeyerthom deleted the feat/project-configuration-improvements branch September 17, 2025 06:54
@github-actions github-actions bot mentioned this pull request Sep 17, 2025
demeyerthom pushed a commit that referenced this pull request Sep 17, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) 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
## @labdigital/commercetools-mock@2.57.0

### Minor Changes

- [#332](#332)
[`71ecce0`](71ecce0)
Thanks [@jsm1t](https://github.com/jsm1t)! - Add support for get my
business unit by key

- [#333](#333)
[`7948f69`](7948f69)
Thanks [@demeyerthom](https://github.com/demeyerthom)! - Added
additional features to project endpoints, updated project starting
defaults to align with commercetools

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants