Skip to content

Commit 9c6b231

Browse files
authored
kn: merge from main (#1216)
1 parent f025d2b commit 9c6b231

File tree

57 files changed

+1324
-424
lines changed

Some content is hidden

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

57 files changed

+1324
-424
lines changed

.brazil.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"dependencies": {
3-
"org.jetbrains.kotlin:kotlin-stdlib:2.0.*": "KotlinStdlib-2.x",
3+
"org.jetbrains.kotlin:kotlin-stdlib:2.*": "KotlinStdlib-2.x",
44
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.*": "KotlinxCoroutinesCoreJvm-1.x",
55

66
"com.squareup.okhttp3:okhttp-coroutines:5.*": "OkHttp3Coroutines-5.x",
77
"com.squareup.okhttp3:okhttp:5.*": "OkHttp3-5.x",
88
"com.squareup.okio:okio-jvm:3.*": "OkioJvm-3.x",
99
"io.opentelemetry:opentelemetry-api:1.*": "Maven-io-opentelemetry_opentelemetry-api-1.x",
1010
"org.slf4j:slf4j-api:2.*": "Maven-org-slf4j_slf4j-api-2.x",
11+
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.9.*": "AwsCrtKotlin-0.9.x",
1112
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.8.*": "AwsCrtKotlin-0.8.x",
1213
"com.squareup.okhttp3:okhttp:4.*": "OkHttp3-4.x"
1314
},

.github/workflows/api-compat-verification.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: API compatibility verification
33
on:
44
pull_request:
55
types: [ opened, synchronize, reopened, labeled, unlabeled ]
6-
branches: [ main, '*-main' ]
6+
branches:
7+
- main
8+
- '*-main'
79

810
jobs:
911
api-compat-verification:

.github/workflows/artifact-size-metrics.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: Artifact Size Metrics
22
on:
33
pull_request:
44
types: [ opened, synchronize, reopened, labeled, unlabeled ]
5-
branches: [ main, '*-main' ]
5+
branches:
6+
- main
7+
- '*-main'
68
release:
79
types: [published]
810

@@ -55,7 +57,7 @@ jobs:
5557
- name: Generate Artifact Size Metrics
5658
run: ./gradlew -Paws.kotlin.native=false artifactSizeMetrics
5759
- name: Analyze Artifact Size Metrics
58-
run: ./gradlew -Paws.kotlin.native=false analyzeArtifactSizeMetrics
60+
run: ./gradlew analyzeArtifactSizeMetrics
5961
- name: Show Results
6062
uses: actions/github-script@v7
6163
with:

.github/workflows/changelog-verification.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Changelog verification
33
on:
44
pull_request:
55
types: [ opened, synchronize, reopened, labeled, unlabeled ]
6-
branches: [ main, '*-main' ]
6+
branches:
7+
- main
8+
- '*-main'
79

810
jobs:
911
changelog-verification:

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches:
6+
- main
7+
- '*-main'
68
pull_request:
79
workflow_dispatch:
810

@@ -66,7 +68,7 @@ jobs:
6668
run: |
6769
# FIXME K2. Re-enable warnings as errors after this warning is removed: https://youtrack.jetbrains.com/issue/KT-68532
6870
# echo "kotlinWarningsAsErrors=true" >> $GITHUB_WORKSPACE/local.properties
69-
./gradlew apiCheck
71+
./gradlew -Paws.sdk.kotlin.crt.disableCrossCompile=true -Paws.kotlin.native.disableCrossCompile=true apiCheck
7072
./gradlew -Paws.sdk.kotlin.crt.disableCrossCompile=true -Paws.kotlin.native.disableCrossCompile=true build
7173
7274
- name: Save Test Reports
@@ -168,7 +170,7 @@ jobs:
168170
169171
- name: Save Test Reports
170172
if: failure()
171-
uses: actions/upload-artifact@v3
173+
uses: actions/upload-artifact@v4
172174
with:
173175
name: test-reports-${{ matrix.os }}
174176
path: '**/build/reports'

.github/workflows/dependabot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: Dependabot Dependency Submission
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches:
6+
- main
7+
- '*-main'
68

79
permissions:
810
contents: write

.github/workflows/kat-transform.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Kat Transform
33
on:
44
pull_request:
55
types: [ opened, synchronize, reopened, labeled, unlabeled ]
6-
branches: [ main ]
6+
branches:
7+
- main
8+
- '*-main'
79

810
# Allow one instance of this workflow per pull request, and cancel older runs when new changes are pushed
911
concurrency:
@@ -27,6 +29,9 @@ jobs:
2729
with:
2830
path: 'smithy-kotlin'
2931

32+
- name: Setup build
33+
uses: ./smithy-kotlin/.github/actions/setup-build
34+
3035
- name: Configure AWS Credentials
3136
uses: aws-actions/configure-aws-credentials@v4
3237
with:
@@ -36,13 +41,6 @@ jobs:
3641
- name: Setup kat
3742
uses: awslabs/aws-kotlin-repo-tools/.github/actions/setup-kat@main
3843

39-
- name: Configure JDK
40-
uses: actions/setup-java@v3
41-
with:
42-
distribution: 'corretto'
43-
java-version: 17
44-
cache: 'gradle'
45-
4644
- name: Build
4745
working-directory: ./smithy-kotlin
4846
shell: bash
@@ -51,8 +49,8 @@ jobs:
5149
ls -lsa
5250
kat bump-version # Bump from `vNext-SNAPSHOT` to `vNext`. kat transform only works on non-SNAPSHOT versions
5351
kat bump-version --property codegenVersion
54-
./gradlew build
55-
./gradlew publishAllPublicationsToTestLocalRepository
52+
./gradlew -Paws.kotlin.native=false build
53+
./gradlew -Paws.kotlin.native=false publishAllPublicationsToTestLocalRepository
5654
5755
- name: Transform
5856
working-directory: ./smithy-kotlin

.github/workflows/lint.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ on:
55
branches:
66
- '**'
77
- '!main'
8+
- '!*-main'
89
pull_request:
9-
branches: [ main ]
10+
branches:
11+
- main
12+
- '*-main'
1013
workflow_dispatch:
1114

1215
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ out/
88
# Compiled class file
99
*.class
1010
*.klib
11+
.kotlin/
1112

1213
# Log file
1314
*.log

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## [1.4.1] - 01/16/2025
4+
5+
## [1.4.0] - 01/15/2025
6+
7+
### Features
8+
* [#1431](https://github.com/awslabs/aws-sdk-kotlin/issues/1431) ⚠️ **IMPORTANT**: Add `retryStrategy` configuration option for waiters
9+
10+
### Fixes
11+
* [#1321](https://github.com/awslabs/aws-sdk-kotlin/issues/1321) Include more information when retry strategy halts early due to token bucket capacity errors
12+
13+
### Miscellaneous
14+
* ⚠️ **IMPORTANT**: Upgrade to Kotlin 2.1.0
15+
16+
## [1.3.34] - 01/10/2025
17+
18+
## [1.3.33] - 01/10/2025
19+
20+
## [1.3.32] - 01/06/2025
21+
22+
### Fixes
23+
* Fix serialization of CBOR blobs
24+
325
## [1.3.31] - 12/18/2024
426

527
### Features

0 commit comments

Comments
 (0)