Skip to content

Commit c97bba3

Browse files
committed
merge main
2 parents fb8a0ca + 6663a34 commit c97bba3

File tree

137 files changed

+2422
-1613
lines changed

Some content is hidden

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

137 files changed

+2422
-1613
lines changed

.brazil.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55

66
"com.squareup.okhttp3:okhttp-coroutines:5.*": "OkHttp3Coroutines-5.x",
77
"com.squareup.okhttp3:okhttp:5.*": "OkHttp3-5.x",
8+
"com.squareup.okhttp3:okhttp-jvm:5.*": "OkHttp3-5.x",
89
"com.squareup.okio:okio-jvm:3.*": "OkioJvm-3.x",
910
"io.opentelemetry:opentelemetry-api:1.*": "Maven-io-opentelemetry_opentelemetry-api-1.x",
1011
"io.opentelemetry:opentelemetry-extension-kotlin:1.*": "Maven-io-opentelemetry_opentelemetry-extension-kotlin-1.x",
1112
"org.slf4j:slf4j-api:2.*": "Maven-org-slf4j_slf4j-api-2.x",
13+
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.10.*": "AwsCrtKotlin-0.10.x",
1214
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.9.*": "AwsCrtKotlin-0.9.x",
1315
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.8.*": "AwsCrtKotlin-0.8.x",
1416
"com.squareup.okhttp3:okhttp:4.*": "OkHttp3-4.x",

.changes/bbe2e7de-79d3-4aea-97d1-d5c244ede433.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ ktlint_standard_backing-property-naming = disabled
99
# enable trailing commas per JetBrains recommendation
1010
# (https://kotlinlang.org/docs/coding-conventions.html#trailing-commas)
1111
ij_kotlin_allow_trailing_comma_on_call_site = true
12-
ij_kotlin_allow_trailing_comma = true
12+
ij_kotlin_allow_trailing_comma = true

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gradle
4+
directory: /
5+
schedule:
6+
interval: daily # means every _weekday_ (Monday through Friday)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Artifact Size Metrics
22
on:
3-
pull_request:
3+
pull_request_target:
44
types: [ opened, synchronize, reopened, labeled, unlabeled ]
55
branches:
66
- main
@@ -40,7 +40,7 @@ jobs:
4040
- name: Put Artifact Size Metrics in CloudWatch
4141
run: ./gradlew putArtifactSizeMetricsInCloudWatch -Prelease=${{ github.event.release.tag_name }}
4242
size-check:
43-
if: github.event_name == 'pull_request'
43+
if: github.event_name == 'pull_request_target'
4444
runs-on: ubuntu-latest
4545
steps:
4646
- name: Checkout Sources
Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Changelog verification
22

3+
permissions:
4+
id-token: write
5+
36
on:
4-
pull_request:
7+
pull_request_target:
58
types: [ opened, synchronize, reopened, labeled, unlabeled ]
69
branches:
710
- main
@@ -10,17 +13,13 @@ on:
1013
jobs:
1114
changelog-verification:
1215
runs-on: ubuntu-latest
16+
if: github.event.pull_request.user.login != 'dependabot[bot]' # no changelogs for Dependabot version bumps
1317
steps:
14-
- uses: actions/checkout@v2
15-
- name: Check for changelog entry
16-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog') }}
17-
run: |
18-
git fetch origin ${{ github.base_ref }} --depth 1 && \
19-
git diff remotes/origin/${{ github.base_ref }} --name-only | grep -P "\.changes/[0-9a-f-]+\.json"
20-
- name: Error message
21-
if: ${{ failure() }}
22-
run: |
23-
echo "::error ::No new/updated changelog entry found in /.changes directory. Please either:"
24-
echo "::error ::* Add a changelog entry (see CONTRIBUTING.md for instructions) –or–"
25-
echo "::error ::* Add the 'no-changelog' label to this PR (in rare cases not warranting a changelog entry)"
26-
exit 1
18+
- name: Configure AWS Credentials
19+
uses: aws-actions/configure-aws-credentials@v4
20+
with:
21+
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
22+
aws-region: us-west-2
23+
24+
- name: Verify changelog
25+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/changelog-verification@main

.github/workflows/kat-transform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Kat Transform
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [ opened, synchronize, reopened, labeled, unlabeled ]
66
branches:
77
- main

.github/workflows/merge-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
uses: awslabs/aws-kotlin-repo-tools/.github/actions/merge-main@main
1313
with:
1414
ci-user-pat: ${{ secrets.CI_USER_PAT }}
15-
exempt-branches: # Add any if required
15+
exempt-branches: # Add any if required

CHANGELOG.md

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

3+
## [1.5.4] - 08/07/2025
4+
5+
## [1.5.3] - 07/28/2025
6+
7+
### Features
8+
* [#1320](https://github.com/smithy-lang/smithy-kotlin/issues/1320) Enable configuration of timeouts for calls and attempt
9+
10+
## [1.5.2] - 07/24/2025
11+
12+
### Miscellaneous
13+
* [#1339](https://github.com/smithy-lang/smithy-kotlin/issues/1339) Add documentation for OkHttp4Engine when using Android with R8 / ProGuard
14+
15+
## [1.5.1] - 07/17/2025
16+
17+
## [1.5.0] - 07/17/2025
18+
19+
### Features
20+
* Upgrade to Kotlin 2.2.0
21+
* [#1413](https://github.com/awslabs/aws-sdk-kotlin/issues/1413) ⚠️ **IMPORTANT**: Refactor endpoint discoverer classes into interfaces so custom implementations may be provided
22+
23+
### Fixes
24+
* [#1311](https://github.com/smithy-lang/smithy-kotlin/issues/1311) Reimplement idle connection monitoring using `okhttp3.EventListener` instead of now-internal `okhttp3.ConnectionListener`
25+
* [#1608](https://github.com/awslabs/aws-sdk-kotlin/issues/1608) Switch to always serialize defaults in requests. Previously fields were not serialized in requests if they weren't `@required` and hadn't been changed from the default value.
26+
* [#1413](https://github.com/awslabs/aws-sdk-kotlin/issues/1413) Favor `endpointUrl` instead of endpoint discovery if both are provided
27+
28+
### Miscellaneous
29+
* Add telemetry provider configuration to `DefaultAwsSigner`
30+
31+
## [1.4.23] - 07/15/2025
32+
33+
## [1.4.22] - 07/02/2025
34+
35+
## [1.4.21] - 06/27/2025
36+
37+
## [1.4.20] - 06/20/2025
38+
39+
### Fixes
40+
* Explicitly qualify shape member names in smoke tests and protocol tests
41+
* [#1295](https://github.com/smithy-lang/smithy-kotlin/issues/1295) Enable building this project on JDK21 by setting -Xjdk-release flag
42+
43+
## [1.4.19] - 06/19/2025
44+
45+
## [1.4.18] - 06/13/2025
46+
47+
### Miscellaneous
48+
* Upgrade to Dokka 2.0.0
49+
50+
## [1.4.17] - 06/11/2025
51+
52+
### Fixes
53+
* Adds import to the symbols references when needed. This issue surfaced when building the protocol tests with the latest Smithy release
54+
355
## [1.4.16] - 04/28/2025
456

557
### Features

bom/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
77
import org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper
88
import org.jetbrains.kotlin.gradle.plugin.KotlinTarget
99
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMetadataTarget
10-
import org.jetbrains.kotlin.gradle.targets.js.KotlinJsTarget
11-
import java.util.*
1210

1311
plugins {
1412
`maven-publish`
@@ -52,7 +50,6 @@ fun createBomConstraintsAndVersionCatalog() {
5250

5351
fun Project.artifactId(target: KotlinTarget): String = when (target) {
5452
is KotlinMetadataTarget -> name
55-
is KotlinJsTarget -> "$name-js"
5653
else -> "$name-${target.targetName.lowercase()}"
5754
}
5855

0 commit comments

Comments
 (0)