Skip to content

Commit e28306b

Browse files
authored
Merge branch 'main' into httpclient-solutioninfos
2 parents 612962f + 6a1a1fd commit e28306b

File tree

160 files changed

+8778
-464
lines changed

Some content is hidden

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

160 files changed

+8778
-464
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1818

19-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
19+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
2020

2121
- name: Setup Java
22-
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
22+
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
2323
with:
2424
distribution: 'temurin'
2525
java-version: '17'

.github/workflows/ci.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
# Get GitHub token via the CT SDKs App
2525
- name: Generate GitHub token (via CT SDKs App)
2626
id: generate_github_token
27-
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1
27+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
2828
with:
2929
app-id: ${{ secrets.CT_SDKS_APP_ID }}
3030
private-key: ${{ secrets.CT_SDKS_APP_PEM }}
@@ -38,16 +38,16 @@ jobs:
3838
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT"
3939
4040
- name: Checkout
41-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
41+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4242
with:
4343
# Pass a personal access token (using our CT SDKs App) to be able to trigger other workflows
4444
# https://help.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
4545
# https://github.community/t/action-does-not-trigger-another-on-push-tag-action/17148/8
4646
token: ${{ steps.generate_github_token.outputs.token }}
47-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
47+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
4848

4949
- name: Setup Java
50-
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
50+
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
5151
with:
5252
distribution: 'temurin'
5353
java-version: '17'
@@ -111,6 +111,7 @@ jobs:
111111
run: git push origin
112112

113113
- name: Run integration tests for PR
114+
# ignore renovate branches as they are retriggered with every new commit to main branch
114115
if: (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) || github.event_name == 'merge_group'
115116
run: ./gradlew clean build publishMavenPublicationToMavenLocal runMainMethodThreadLeakTest runMainMethodMemoryLeakTest writeVersionToExamples
116117
env:
@@ -139,7 +140,7 @@ jobs:
139140
run: ./gradlew codeCoverageReport
140141

141142
- name: Send code coverage report to Codecov.io
142-
uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # v4.4.1
143+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
143144
with:
144145
token: ${{ secrets.CODECOV_TOKEN }}
145146
docs:
@@ -151,20 +152,20 @@ jobs:
151152
# Get GitHub token via the CT SDKs App
152153
- name: Generate GitHub token (via CT SDKs App)
153154
id: generate_github_token
154-
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1
155+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
155156
with:
156157
app-id: ${{ secrets.CT_SDKS_APP_ID }}
157158
private-key: ${{ secrets.CT_SDKS_APP_PEM }}
158159

159160
- name: Checkout
160-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
161+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
161162
with:
162163
token: ${{ steps.generate_github_token.outputs.token }}
163164

164-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
165+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
165166

166167
- name: Setup Java
167-
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
168+
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
168169
with:
169170
distribution: 'temurin'
170171
java-version: '17'
@@ -181,14 +182,14 @@ jobs:
181182
# Get GitHub token via the CT SDKs App
182183
- name: Generate GitHub token (via CT SDKs App)
183184
id: generate_github_token
184-
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1
185+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
185186
with:
186187
app-id: ${{ secrets.CT_SDKS_APP_ID }}
187188
private-key: ${{ secrets.CT_SDKS_APP_PEM }}
188189
- name: Checkout sources
189-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
190+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
190191
- name: Generate and submit dependency graph
191192
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' && github.ref == 'refs/heads/main'
192-
uses: gradle/actions/dependency-submission@db19848a5fa7950289d3668fb053140cf3028d43 # v3.3.2
193+
uses: gradle/actions/dependency-submission@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
193194
with:
194195
github-token: ${{ steps.generate_github_token.outputs.token }}

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ jobs:
4848

4949
steps:
5050
- name: Checkout repository
51-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
51+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
5252

53-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
53+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
5454

5555
# Initializes the CodeQL tools for scanning.
5656
- name: Initialize CodeQL
57-
uses: github/codeql-action/init@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
57+
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
5858
with:
5959
languages: ${{ matrix.language }}
6060
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -68,7 +68,7 @@ jobs:
6868
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6969
# If this step fails, then you should remove it and run the build manually (see below)
7070
- name: Autobuild
71-
uses: github/codeql-action/autobuild@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
71+
uses: github/codeql-action/autobuild@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
7272

7373
# ℹ️ Command-line programs to run using the OS shell.
7474
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -81,6 +81,6 @@ jobs:
8181
# ./location_of_script_within_repo/buildscript.sh
8282

8383
- name: Perform CodeQL Analysis
84-
uses: github/codeql-action/analyze@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
84+
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
8585
with:
8686
category: "/language:${{matrix.language}}"

.github/workflows/create-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# Get GitHub token via the CT SDKs App
1919
- name: Generate GitHub token (via CT SDKs App)
2020
id: generate_github_token
21-
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1
21+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
2222
with:
2323
app-id: ${{ secrets.CT_SDKS_APP_ID }}
2424
private-key: ${{ secrets.CT_SDKS_APP_PEM }}
@@ -32,11 +32,11 @@ jobs:
3232
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT"
3333
3434
- name: Checkout
35-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
35+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3636
with:
3737
token: ${{ steps.generate_github_token.outputs.token }}
3838

39-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
39+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
4040

4141
- uses: jenschude/auto-create-pr-action@a5369414c74963e6ec065dab49066d3711b8c1db # v0.3.2
4242
if: github.ref_name == 'gen-sdk-updates'

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# Get GitHub token via the CT SDKs App
2323
- name: Generate GitHub token (via CT SDKs App)
2424
id: generate_github_token
25-
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1
25+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
2626
with:
2727
app-id: ${{ secrets.CT_SDKS_APP_ID }}
2828
private-key: ${{ secrets.CT_SDKS_APP_PEM }}
@@ -36,25 +36,25 @@ jobs:
3636
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT"
3737
3838
- name: Checkout
39-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
39+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4040
with:
4141
path: sdk
4242
token: ${{ steps.generate_github_token.outputs.token }}
4343

4444
- name: Checkout
45-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4646
with:
4747
path: doc
4848
ref: gh-pages
4949
token: ${{ steps.generate_github_token.outputs.token }}
5050

5151
- name: Setup Java
52-
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
52+
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
5353
with:
5454
distribution: 'temurin'
5555
java-version: '17'
5656

57-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
57+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
5858

5959
- name: Setup Graphviz
6060
uses: ts-graphviz/setup-graphviz@b1de5da23ed0a6d14e0aeee8ed52fdd87af2363c # v2.0.2

.github/workflows/release-snapshot.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ jobs:
1616
# Get GitHub token via the CT SDKs App
1717
- name: Generate GitHub token (via CT SDKs App)
1818
id: generate_github_token
19-
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1
19+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
2020
with:
2121
app-id: ${{ secrets.CT_SDKS_APP_ID }}
2222
private-key: ${{ secrets.CT_SDKS_APP_PEM }}
2323

2424
- name: Checkout
25-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2626
with:
2727
token: ${{ steps.generate_github_token.outputs.token }}
2828

29-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
29+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
3030

3131
- name: Setup Java
32-
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
32+
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
3333
with:
3434
distribution: 'temurin'
3535
java-version: '17'

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
if: startsWith( github.ref, 'refs/tags/')
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121

22-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
22+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
2323

2424
- name: Setup Java
25-
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
25+
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
2626
with:
2727
distribution: 'temurin'
2828
java-version: '17'
@@ -56,7 +56,7 @@ jobs:
5656
# Get GitHub token via the CT SDKs App
5757
- name: Generate GitHub token (via CT SDKs App)
5858
id: generate_github_token
59-
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1
59+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
6060
with:
6161
app-id: ${{ secrets.CT_SDKS_APP_ID }}
6262
private-key: ${{ secrets.CT_SDKS_APP_PEM }}
@@ -70,12 +70,12 @@ jobs:
7070
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT"
7171
7272
- name: Checkout
73-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
73+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
7474
with:
7575
ref: main
7676
token: ${{ steps.generate_github_token.outputs.token }}
7777

78-
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
78+
- uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6 # v3.5.0
7979

8080
- run: ./gradlew -Pversion=$REF_NAME writeVersionToExamples writeVersionToReadme setVersion nextMinorVersion snapshotVersion
8181
env:
@@ -118,7 +118,7 @@ jobs:
118118
# Get GitHub token via the CT SDKs App
119119
- name: Generate GitHub token (via CT SDKs App)
120120
id: generate_github_token
121-
uses: actions/create-github-app-token@a0de6af83968303c8c955486bf9739a57d23c7f1 # v1
121+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
122122
with:
123123
app-id: ${{ secrets.CT_SDKS_APP_ID }}
124124
private-key: ${{ secrets.CT_SDKS_APP_PEM }}
@@ -132,20 +132,20 @@ jobs:
132132
echo "email=${GH_APP_USER}+ct-sdks[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT"
133133
134134
- name: Checkout
135-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
135+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
136136
with:
137137
path: sdk
138138
token: ${{ steps.generate_github_token.outputs.token }}
139139

140140
- name: Checkout
141-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
141+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
142142
with:
143143
path: doc
144144
ref: gh-pages
145145
token: ${{ steps.generate_github_token.outputs.token }}
146146

147147
- name: Setup Java
148-
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
148+
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
149149
with:
150150
distribution: 'temurin'
151151
java-version: '17'

.github/workflows/scorecard.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232

3333
steps:
3434
- name: "Checkout code"
35-
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
35+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636
with:
3737
persist-credentials: false
3838

3939
- name: "Run analysis"
40-
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
40+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
4141
with:
4242
results_file: results.sarif
4343
results_format: sarif
@@ -59,14 +59,14 @@ jobs:
5959
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6060
# format to the repository Actions tab.
6161
- name: "Upload artifact"
62-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
62+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
6363
with:
6464
name: SARIF file
6565
path: results.sarif
6666
retention-days: 5
6767

6868
# Upload the results to GitHub's code scanning dashboard.
6969
- name: "Upload to code-scanning"
70-
uses: github/codeql-action/upload-sarif@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
70+
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
7171
with:
7272
sarif_file: results.sarif

.yarn/install-state.gz

25.8 KB
Binary file not shown.

CHANGELOG.md

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

2+
# 17.22.0 (2025-01-06)
3+
4+
## What's Changed
5+
* Update changelog by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/782
6+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/783
7+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/785
8+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/786
9+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/787
10+
* Update generated SDKs by @ct-sdks in https://github.com/commercetools/commercetools-sdk-java-v2/pull/788
11+
* Bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in https://github.com/commercetools/commercetools-sdk-java-v2/pull/758
12+
* fix(deps): update all dependencies by @renovate in https://github.com/commercetools/commercetools-sdk-java-v2/pull/666
13+
14+
## New Contributors
15+
* @dependabot made their first contribution in https://github.com/commercetools/commercetools-sdk-java-v2/pull/758
16+
17+
**Full Changelog**: https://github.com/commercetools/commercetools-sdk-java-v2/compare/17.21.0...17.22.0
18+
219
# 17.21.0 (2024-12-19)
320

421
## What's Changed

0 commit comments

Comments
 (0)