Skip to content

Commit 73e216c

Browse files
misc: merge from main
2 parents ce33a8f + dc6ab71 commit 73e216c

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "376b0cd3-e023-4db2-bcf6-87092ee07e5e",
3+
"type": "feature",
4+
"description": "Upgrade to **smithy-kotlin** release [**v1.5.24**](https://github.com/smithy-lang/smithy-kotlin/releases/tag/v1.5.24) to enable [case-insensitive environmental config resolution](https://github.com/smithy-lang/smithy-kotlin/pull/1469)"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "9704079b-98a1-4894-a21c-53f489768fd6",
3+
"type": "feature",
4+
"description": "Support case-insensitive resolution of service-specific endpoint URLs from environment variables (e.g., `AWS_ENDPOINT_URL_DynamoDB` is equivalent to `AWS_ENDPOINT_URL_DYNAMODB`) and system properties (e.g., `aws.endpointUrlDynamoDB` is equivalent to `aws.endpointUrlDYNAMODB`)"
5+
}

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/AwsSdkSetting.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ public fun AwsSdkSetting.resolveEndpointUrl(
247247
sysPropSuffix: String,
248248
envSuffix: String,
249249
): Url? {
250-
val serviceSetting = EnvironmentSetting(Url::parse)("aws.endpointUrl$sysPropSuffix", "AWS_ENDPOINT_URL_$envSuffix")
250+
val serviceSetting = EnvironmentSetting(Url::parse)("aws.endpointUrl", "AWS_ENDPOINT_URL_")
251+
.withCaseInsensitiveSuffixes(sysPropSuffix, envSuffix)
251252
return serviceSetting.resolve(provider) ?: AwsEndpointUrl.resolve(provider)
252253
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ atomicfu-version = "0.29.0"
1212
binary-compatibility-validator-version = "0.18.0"
1313

1414
# smithy-kotlin codegen and runtime are versioned separately
15-
smithy-kotlin-runtime-version = "1.5.22"
16-
smithy-kotlin-codegen-version = "0.35.22"
15+
smithy-kotlin-runtime-version = "1.5.24"
16+
smithy-kotlin-codegen-version = "0.35.24"
1717

1818
# codegen
1919
smithy-version = "1.64.0"

0 commit comments

Comments
 (0)