From aff38f2a35053976a7a24afcd5b8e4b6c5f5858c Mon Sep 17 00:00:00 2001 From: Ian Smith Botsford Date: Wed, 16 Jun 2021 17:24:19 +0000 Subject: [PATCH 1/4] Update changelog with M2 details --- CHANGELOG.md | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 59 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75bd497ba23..f936f38607d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,66 @@ # Changelog -## [Unreleased] - ## [0.3.0-M2] - 06/18/2021 +**WARNING: Beta releases may contain bugs and no guarantee is made about API stability. They are not recommended for production use!** + +### Services new in this release + +* applicationcostprofiler +* apprunner +* autoscaling +* cloudformation +* cloudsearch +* cloudwatch +* docdb +* elasticache +* elasticloadbalancing +* elasticloadbalancingv2 +* finspace +* finspacedata +* iam +* neptune +* nimble +* rds +* redshift +* ses +* sns +* sqs +* ssmcontacts +* ssmincidents +* sts + +## Changes + +### New Features + +* `awsQuery` protocol support (https://github.com/awslabs/smithy-kotlin/issues/127) +* detect region from environment variables (https://github.com/awslabs/smithy-kotlin/issues/356) +* custom S3 error metadata support (https://github.com/awslabs/smithy-kotlin/issues/323) +* environment credentials provider (https://github.com/awslabs/smithy-kotlin/issues/301) +* bind default HTTP client engine to CRT (https://github.com/awslabs/smithy-kotlin/issues/199) +* operation DSL overloads (https://github.com/awslabs/smithy-kotlin/issues/184) +* Kinesis read timeouts (https://github.com/awslabs/smithy-kotlin/issues/162) +* XML EOL encoding support (https://github.com/awslabs/smithy-kotlin/issues/142) + +### Fixes + +* path literal not escaped correctly (https://github.com/awslabs/smithy-kotlin/issues/395) +* idempotency tokens are not detected on resources (https://github.com/awslabs/smithy-kotlin/issues/376) +* httpPayload bound members need dedicated serde (https://github.com/awslabs/smithy-kotlin/issues/353) +* Route53 error messages (and maybe other restXml messages) are not deserialized and present in stacktrace + (https://github.com/awslabs/smithy-kotlin/issues/352) +* fix url-encoding behavior of httpLabel and httpQuery members (https://github.com/awslabs/smithy-kotlin/issues/328) +* runtime error when using Kotlin 1.5.0 (https://github.com/awslabs/smithy-kotlin/issues/319) +* SES fails to build due to invalid docs (https://github.com/awslabs/aws-sdk-kotlin/issues/153) +* exception is thrown for SQS delete message (https://github.com/awslabs/aws-sdk-kotlin/issues/147) +* SNS getTopicAttributes throws an exception (https://github.com/awslabs/aws-sdk-kotlin/issues/142) + +### Other + +* Kotlin 1.5.0 support +* design docs added to [docs/design](docs/design) directory + ## [0.2.0-M1] - 05/10/2021 **WARNING: Beta releases may contain bugs and no guarantee is made about API stability. They are not recommended for production use!** From 0c5f7eb8603eb3211b4f5182df8084694667ad93 Mon Sep 17 00:00:00 2001 From: Ian Smith Botsford Date: Wed, 16 Jun 2021 21:21:50 +0000 Subject: [PATCH 2/4] update M2 changelog to include elasticbeanstalk fix --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f936f38607d..d63987112b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ * cloudwatch * docdb * elasticache +* elasticbeanstalk * elasticloadbalancing * elasticloadbalancingv2 * finspace @@ -55,6 +56,7 @@ * SES fails to build due to invalid docs (https://github.com/awslabs/aws-sdk-kotlin/issues/153) * exception is thrown for SQS delete message (https://github.com/awslabs/aws-sdk-kotlin/issues/147) * SNS getTopicAttributes throws an exception (https://github.com/awslabs/aws-sdk-kotlin/issues/142) +* elasticbeanstalk model generates invalid enum (https://github.com/awslabs/smithy-kotlin/issues/403) ### Other From 911b0b1415a80d12d4dbb4d991435c9f423035a1 Mon Sep 17 00:00:00 2001 From: Ian Smith Botsford Date: Thu, 17 Jun 2021 15:53:03 +0000 Subject: [PATCH 3/4] update examples to support Gradle run target --- examples/dynamodb-movies/build.gradle.kts | 5 +++++ examples/s3-media-ingestion/build.gradle.kts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/examples/dynamodb-movies/build.gradle.kts b/examples/dynamodb-movies/build.gradle.kts index c31a2a97636..559547a5289 100644 --- a/examples/dynamodb-movies/build.gradle.kts +++ b/examples/dynamodb-movies/build.gradle.kts @@ -1,5 +1,10 @@ plugins { kotlin("jvm") + application +} + +application { + mainClass.set("aws.sdk.kotlin.example.MainKt") } val awsSdkKotlinVersion: String by project diff --git a/examples/s3-media-ingestion/build.gradle.kts b/examples/s3-media-ingestion/build.gradle.kts index 601108f4aba..430f7be996f 100644 --- a/examples/s3-media-ingestion/build.gradle.kts +++ b/examples/s3-media-ingestion/build.gradle.kts @@ -1,5 +1,10 @@ plugins { kotlin("jvm") + application +} + +application { + mainClass.set("MainKt") } val awsSdkKotlinVersion: String by project From 2ce994ae32af0026135b87c1baef09ce675b8ce1 Mon Sep 17 00:00:00 2001 From: Ian Smith Botsford Date: Thu, 17 Jun 2021 16:22:09 +0000 Subject: [PATCH 4/4] move s3 example to aws.sdk.kotlin.example namespace --- examples/s3-media-ingestion/build.gradle.kts | 2 +- .../src/main/kotlin/{ => aws/sdk/kotlin/example}/Main.kt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename examples/s3-media-ingestion/src/main/kotlin/{ => aws/sdk/kotlin/example}/Main.kt (99%) diff --git a/examples/s3-media-ingestion/build.gradle.kts b/examples/s3-media-ingestion/build.gradle.kts index 430f7be996f..d45d51c4aa4 100644 --- a/examples/s3-media-ingestion/build.gradle.kts +++ b/examples/s3-media-ingestion/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } application { - mainClass.set("MainKt") + mainClass.set("aws.sdk.kotlin.example.MainKt") } val awsSdkKotlinVersion: String by project diff --git a/examples/s3-media-ingestion/src/main/kotlin/Main.kt b/examples/s3-media-ingestion/src/main/kotlin/aws/sdk/kotlin/example/Main.kt similarity index 99% rename from examples/s3-media-ingestion/src/main/kotlin/Main.kt rename to examples/s3-media-ingestion/src/main/kotlin/aws/sdk/kotlin/example/Main.kt index 42ab7d7c90e..dcd5be6cea0 100644 --- a/examples/s3-media-ingestion/src/main/kotlin/Main.kt +++ b/examples/s3-media-ingestion/src/main/kotlin/aws/sdk/kotlin/example/Main.kt @@ -2,6 +2,8 @@ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ +package aws.sdk.kotlin.example + import aws.sdk.kotlin.services.s3.S3Client import aws.sdk.kotlin.services.s3.model.* import kotlinx.coroutines.flow.*