Skip to content

Commit 4f5e7a4

Browse files
authored
Merge branch 'main' into dependabot/gradle/io.projectreactor.netty-reactor-netty-http-1.2.8
2 parents bd7eb26 + 5b7dc76 commit 4f5e7a4

File tree

7,431 files changed

+104713
-29688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

7,431 files changed

+104713
-29688
lines changed

.git-blame-ignore-revs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ d0129c1095216d5c830900c8a6223ef5d4274de1
77
bbe9f971763ca1b27687a6a51067a385a0d23b04
88
de95c481329aa8b821e6e71ac35c1b8bc67e3e86
99
78c44064f4ec15091bde7a2dc590aa2b3a99341d
10+
03665b75a1e1c3a3cf28df1dec52e91b308e4368
11+
7e25c796da25ae080a952936de535a1228fed448

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ jobs:
136136
cd examples/maven-okhttp3 && mvn verify --no-transfer-progress
137137
cd ../maven-okhttp4 && mvn verify --no-transfer-progress
138138
cd ../split-packages && mvn verify --no-transfer-progress
139+
env:
140+
CTP_CLIENT_ID: ${{ secrets.CTP_CLIENT_ID }}
141+
CTP_CLIENT_SECRET: ${{ secrets.CTP_CLIENT_SECRET }}
142+
CTP_PROJECT_KEY: ${{ secrets.CTP_PROJECT_KEY }}
139143

140144
- name: Collect code coverage
141145
run: ./gradlew codeCoverageReport

CHANGELOG.md

Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,205 @@
11

2+
# 19.4.0 (2025-09-01)
3+
4+
**Api changes**
5+
6+
<details>
7+
<summary>Added Property(s)</summary>
8+
9+
- added property `isActive` to type `DiscountGroup`
10+
- added property `isActive` to type `DiscountGroupDraft`
11+
</details>
12+
13+
14+
<details>
15+
<summary>Added Type(s)</summary>
16+
17+
- added type `DiscountGroupSetIsActiveAction`
18+
- added type `MaxDiscountGroupsReachedError`
19+
- added type `GraphQLMaxDiscountGroupsReachedError`
20+
- added type `DiscountGroupIsActiveSetMessage`
21+
- added type `DiscountGroupIsActiveSetMessagePayload`
22+
</details>
23+
24+
25+
26+
## What's Changed
27+
* Update changelog by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/974
28+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/976
29+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/977
30+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/978
31+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/979
32+
33+
34+
**Full Changelog**: https://github.com/commercetools/commercetools-sdk-java-v2/compare/19.3.0...19.4.0
35+
36+
# 19.3.0 (2025-08-22)
37+
38+
## What's Changed
39+
* Update changelog by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/972
40+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/968
41+
* updating dependency by @ShipilA in https://github.com/commercetools/commercetools-sdk-java-v2/pull/973 Thanks to @drazenhrgar for the report
42+
43+
**Api changes**
44+
45+
<details>
46+
<summary>Added Type(s)</summary>
47+
48+
- added type `CustomerDefaultBillingAddressSetMessage`
49+
- added type `CustomerDefaultShippingAddressSetMessage`
50+
- added type `CustomerStoresSetMessage`
51+
- added type `CustomerDefaultBillingAddressSetMessagePayload`
52+
- added type `CustomerDefaultShippingAddressSetMessagePayload`
53+
- added type `CustomerStoresSetMessagePayload`
54+
</details>
55+
56+
57+
<details>
58+
<summary>Added Method(s)</summary>
59+
60+
- added method `apiRoot.withProjectKey().recurrencePolicies().withKey().delete()`
61+
- added method `apiRoot.withProjectKey().recurrencePolicies().withId().delete()`
62+
</details>
63+
64+
**Import changes**
65+
66+
<details>
67+
<summary>Added Type(s)</summary>
68+
69+
- added type `AssociateRoleKeyReference`
70+
- added type `BusinessUnitKeyReference`
71+
- added type `BusinessUnitImportRequest`
72+
- added type `AssociateRoleInheritanceMode`
73+
- added type `BusinessUnitStatus`
74+
- added type `BusinessUnitAssociateMode`
75+
- added type `BusinessUnitApprovalRuleMode`
76+
- added type `BusinessUnitStoreMode`
77+
- added type `BusinessUnitType`
78+
- added type `AssociateRoleAssignmentDraft`
79+
- added type `AssociateDraft`
80+
- added type `BusinessUnitImport`
81+
- added type `CompanyBusinessUnitImport`
82+
- added type `DivisionBusinessUnitImport`
83+
</details>
84+
85+
86+
<details>
87+
<summary>Added Method(s)</summary>
88+
89+
- added method `apiRoot.withProjectKeyValue().businessUnits().importContainers().withImportContainerKeyValue().post()`
90+
</details>
91+
92+
93+
<details>
94+
<summary>Added Resource(s)</summary>
95+
96+
- added resource `/{projectKey}/business-units`
97+
- added resource `/{projectKey}/business-units/import-containers`
98+
- added resource `/{projectKey}/business-units/import-containers/{importContainerKey}`
99+
</details>
100+
101+
102+
<details>
103+
<summary>Added Enum(s)</summary>
104+
105+
- added enum `business-unit` to type `ImportResourceType`
106+
- added enum `associate-role` to type `ReferenceType`
107+
- added enum `business-unit` to type `ReferenceType`
108+
</details>
109+
110+
**Full Changelog**: https://github.com/commercetools/commercetools-sdk-java-v2/compare/19.2.0...19.3.0
111+
112+
113+
# 19.1.0 (2025-08-05)
114+
115+
## What's Changed
116+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/940
117+
* Update changelog by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/941
118+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/942
119+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/943
120+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/944
121+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/945
122+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/946
123+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/947
124+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/949
125+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/950
126+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/951
127+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/952
128+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/953
129+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/954
130+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/955
131+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/957
132+
* Update generated SDKs by @ct-sdks[bot] in https://github.com/commercetools/commercetools-sdk-java-v2/pull/961
133+
* Fix split packages by @jenschude in https://github.com/commercetools/commercetools-sdk-java-v2/pull/958
134+
135+
**Api changes**
136+
137+
<details>
138+
<summary>Added Type(s)</summary>
139+
140+
- added type `InventoryEntrySetInventoryLimitsAction`
141+
- added type `RecurringOrderDeletedMessage`
142+
- added type `RecurringOrderExpiresAtSetMessage`
143+
- added type `RecurringOrderDeletedMessagePayload`
144+
- added type `RecurringOrderExpiresAtSetMessagePayload`
145+
- added type `ProductSearchFacetResultStats`
146+
- added type `ProductSearchFacetStatsExpression`
147+
- added type `ProductSearchFacetStatsValue`
148+
- added type `RecurringOrderSetExpiresAtAction`
149+
</details>
150+
151+
152+
<details>
153+
<summary>Removed Type(s)</summary>
154+
155+
- :warning: removed type `RecurringOrderMessagePayload`
156+
</details>
157+
158+
159+
<details>
160+
<summary>Added Method(s)</summary>
161+
162+
- added method `apiRoot.withProjectKey().recurringOrders().withId().delete()`
163+
- added method `apiRoot.withProjectKey().recurringOrders().withKey().delete()`
164+
</details>
165+
166+
167+
<details>
168+
<summary>Added Property(s)</summary>
169+
170+
- added property `minCartQuantity` to type `InventoryEntry`
171+
- added property `maxCartQuantity` to type `InventoryEntry`
172+
- added property `minCartQuantity` to type `InventoryEntryDraft`
173+
- added property `maxCartQuantity` to type `InventoryEntryDraft`
174+
- added property `expiresAt` to type `RecurringOrderDraft`
175+
</details>
176+
177+
178+
<details>
179+
<summary>Added Enum(s)</summary>
180+
181+
- added enum `discount-group` to type `ChangeSubscriptionResourceTypeId`
182+
</details>
183+
184+
**History changes**
185+
186+
<details>
187+
<summary>Added Type(s)</summary>
188+
189+
- added type `TooManyRequestsError`
190+
- added type `GraphQLTooManyRequestsError`
191+
- added type `GraphQLErrorObject`
192+
</details>
193+
194+
195+
<details>
196+
<summary>Changed Property(s)</summary>
197+
198+
- :warning: changed property `extensions` of type `GraphQLError` from type `object` to `GraphQLErrorObject`
199+
</details>
200+
201+
**Full Changelog**: https://github.com/commercetools/commercetools-sdk-java-v2/compare/19.0.0...19.1.0
202+
2203
# 19.0.0 (2025-07-10)
3204

4205
## Breaking Changes

Makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@ SHELL := /bin/bash
22
CHANGES_PENDING := `git status --porcelain -- ':(exclude)*gen.properties' | grep -c ^ || true`
33
API_RAML ?= $(RAML_FILE)
44
IMPORT_RAML ?= $(RAML_FILE)
5-
ML_RAML ?= $(RAML_FILE)
5+
CHECKOUT_RAML ?= $(RAML_FILE)
66
HISTORY_RAML ?= $(RAML_FILE)
77
CPUS := `./tools/numcpu.sh`
88

9-
.PHONY: build build_api_sdk build_import_sdk build_import_sdk build_ml_sdk gen_api_sdk gen_import_sdk gen_ml_sdk gen_history_sdk
9+
.PHONY: build build_api_sdk build_import_sdk build_import_sdk build_ml_sdk gen_api_sdk gen_import_sdk gen_ml_sdk gen_history_sdk gen_checkout_sdk
1010

11-
build: codegen_install gen_api_sdk gen_import_sdk gen_history_sdk prettify verify
11+
build: codegen_install gen_api_sdk gen_import_sdk gen_history_sdk gen_checkout_sdk prettify verify
1212
build_api_sdk: codegen_install gen_api_sdk prettify verify
1313
build_import_sdk: codegen_install gen_import_sdk prettify verify
1414
build_ml_sdk: codegen_install gen_ml_sdk prettify verify
1515
build_history_sdk: codegen_install gen_history_sdk prettify verify
16+
build_checkout_sdk: codegen_install gen_checkout_sdk prettify verify
1617

1718
gen_api_sdk: generate_api
1819
gen_import_sdk: generate_import
1920
gen_ml_sdk: generate_ml
2021
gen_history_sdk: generate_history
22+
gen_checkout_sdk: generate_checkout
2123

2224
prettify:
2325
./gradlew spotlessApply
@@ -40,6 +42,9 @@ generate_ml:
4042
generate_history:
4143
$(MAKE) -C commercetools LIB_NAME="history" GEN_RAML_FILE=../$(HISTORY_RAML) generate_sdk
4244

45+
generate_checkout:
46+
$(MAKE) -C commercetools LIB_NAME="checkout" GEN_RAML_FILE=../$(CHECKOUT_RAML) generate_sdk
47+
4348
check_pending:
4449
git status --porcelain -- ':(exclude)*gen.properties'
4550
@echo "CHANGES_PENDING=$(CHANGES_PENDING)" >> $GITHUB_ENV

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The latest stable SDK release can be retrieved from [Maven Central](https://sear
2121
```gradle
2222
ext {
2323
versions = [
24-
commercetools: "19.0.0"
24+
commercetools: "19.4.0"
2525
]
2626
}
2727
@@ -42,7 +42,7 @@ dependencies {
4242

4343
```maven
4444
<properties>
45-
<commercetools.version>19.0.0</commercetools.version>
45+
<commercetools.version>19.4.0</commercetools.version>
4646
</properties>
4747
<dependencies>
4848
<dependency>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ plugins {
1212
id 'java'
1313
id 'java-library' // needed to make sure that transitive deps have 'compile' scope
1414

15-
id "com.diffplug.spotless" version "7.0.4"
15+
id "com.diffplug.spotless" version "7.2.1"
1616

1717
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
1818
id 'com.github.jk1.dependency-license-report' version '2.0'

changes.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
**Api changes**
22

33
<details>
4-
<summary>Added Type(s)</summary>
4+
<summary>Required Property(s)</summary>
55

6-
- added type `ProductSearchFacetResultStats`
7-
- added type `ProductSearchFacetStatsExpression`
8-
- added type `ProductSearchFacetStatsValue`
9-
</details>
10-
11-
12-
<details>
13-
<summary>Removed Type(s)</summary>
14-
15-
- :warning: removed type `RecurringOrderMessagePayload`
6+
- changed property `variantSelection` of type `ProductSelectionProductAddedMessage` to be optional
7+
- changed property `variantExclusion` of type `ProductSelectionProductExcludedMessage` to be optional
8+
- changed property `oldVariantExclusion` of type `ProductSelectionVariantExclusionChangedMessage` to be optional
9+
- changed property `newVariantExclusion` of type `ProductSelectionVariantExclusionChangedMessage` to be optional
10+
- changed property `oldVariantSelection` of type `ProductSelectionVariantSelectionChangedMessage` to be optional
11+
- changed property `newVariantSelection` of type `ProductSelectionVariantSelectionChangedMessage` to be optional
12+
- changed property `variantSelection` of type `ProductSelectionProductAddedMessagePayload` to be optional
13+
- changed property `variantExclusion` of type `ProductSelectionProductExcludedMessagePayload` to be optional
14+
- changed property `oldVariantExclusion` of type `ProductSelectionVariantExclusionChangedMessagePayload` to be optional
15+
- changed property `newVariantExclusion` of type `ProductSelectionVariantExclusionChangedMessagePayload` to be optional
16+
- changed property `oldVariantSelection` of type `ProductSelectionVariantSelectionChangedMessagePayload` to be optional
17+
- changed property `newVariantSelection` of type `ProductSelectionVariantSelectionChangedMessagePayload` to be optional
1618
</details>
1719

0 commit comments

Comments
 (0)