From 0158c0d6968033e7ceccc2b42cf6118b2c3a3929 Mon Sep 17 00:00:00 2001
From: chenylee-aws <122478603+chenylee-aws@users.noreply.github.com>
Date: Fri, 18 Oct 2024 15:45:04 -0700
Subject: [PATCH] Preparation for release 0.15.12 (#602)
---
CHANGELOG.md | 12 ++++++++++++
README.md | 12 ++++++++++++
aws/kinesis/core/kinesis_producer.cc | 2 +-
java/amazon-kinesis-producer-sample/pom.xml | 2 +-
java/amazon-kinesis-producer/pom.xml | 2 +-
.../GlueSchemaRegistrySerializerInstance.java | 2 +-
6 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d19b4115..b434108b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,17 @@
## Changelog
+## 0.15.12
+* [#593](https://github.com/awslabs/amazon-kinesis-producer/pull/593) Replace all usage of sys_siglist with strsignal as sys_siglist is deprecated
+* [#594](https://github.com/awslabs/amazon-kinesis-producer/pull/594) Check if dimension.value is blank before using it in metrics manager
+* [#596](https://github.com/awslabs/amazon-kinesis-producer/pull/596) Update getOldestRecordTimeMillis to avoid potential NullPointerException
+* [#600](https://github.com/awslabs/amazon-kinesis-producer/pull/600) Fix build issue after cpp sdk upgrade
+* [#597](https://github.com/awslabs/amazon-kinesis-producer/pull/597) Bump cpp sdk from 1.11.62 to 1.11.420 and java sdk from 1.12.772 to 1.12.773
+* [#570](https://github.com/awslabs/amazon-kinesis-producer/pull/570) Bump commons-lang from 2.6 to 3.14.0
+* [#598](https://github.com/awslabs/amazon-kinesis-producer/pull/598) Bump commons-io:commons-io from 2.13.0 to 2.17.0 in /java/amazon-kinesis-producer to address CVE vulnerability
+* [#589](https://github.com/awslabs/amazon-kinesis-producer/pull/589) Bump com.google.protobuf:protobuf-java from 3.21.12 to 3.25.5 in /java/amazon-kinesis-producer to address CVE vulnerability
+* [#579](https://github.com/awslabs/amazon-kinesis-producer/pull/579) Bump com.google.guava:guava from 31.1-jre to 33.3.0-jre in /java/amazon-kinesis-producer to address CVE vulnerability
+* [#588](https://github.com/awslabs/amazon-kinesis-producer/pull/588) Bump com.amazonaws:aws-java-sdk-core from 1.12.382 to 1.12.772 in /java/amazon-kinesis-producer and java/amazon-kinesis-producer-sample
+
## 0.15.11
* [#576](https://github.com/awslabs/amazon-kinesis-producer/pull/576) Improve retry logic during stream scaling
* [#571](https://github.com/awslabs/amazon-kinesis-producer/pull/571) Upgrade ch.qos.logback:logback-classic from 1.3.0 to 1.3.12
diff --git a/README.md b/README.md
index 51d3fb8d..6089ff91 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,18 @@ If you have further questions [please open a GitHub Issue](https://github.com/aw
This is a restatement of the [notice published](https://docs.aws.amazon.com/streams/latest/dev/kinesis-kpl-upgrades.html) in the [Amazon Kinesis Data Streams Developer Guide][kinesis-developer-guide]
## Release Notes
+## 0.15.12
+* [#593](https://github.com/awslabs/amazon-kinesis-producer/pull/593) Replace all usage of sys_siglist with strsignal as sys_siglist is deprecated
+* [#594](https://github.com/awslabs/amazon-kinesis-producer/pull/594) Check if dimension.value is blank before using it in metrics manager
+* [#596](https://github.com/awslabs/amazon-kinesis-producer/pull/596) Update getOldestRecordTimeMillis to avoid potential NullPointerException
+* [#600](https://github.com/awslabs/amazon-kinesis-producer/pull/600) Fix build issue after cpp sdk upgrade
+* [#597](https://github.com/awslabs/amazon-kinesis-producer/pull/597) Bump cpp sdk from 1.11.62 to 1.11.420 and java sdk from 1.12.772 to 1.12.773
+* [#570](https://github.com/awslabs/amazon-kinesis-producer/pull/570) Bump commons-lang from 2.6 to 3.14.0
+* [#598](https://github.com/awslabs/amazon-kinesis-producer/pull/598) Bump commons-io:commons-io from 2.13.0 to 2.17.0 in /java/amazon-kinesis-producer to address CVE vulnerability
+* [#589](https://github.com/awslabs/amazon-kinesis-producer/pull/589) Bump com.google.protobuf:protobuf-java from 3.21.12 to 3.25.5 in /java/amazon-kinesis-producer to address CVE vulnerability
+* [#579](https://github.com/awslabs/amazon-kinesis-producer/pull/579) Bump com.google.guava:guava from 31.1-jre to 33.3.0-jre in /java/amazon-kinesis-producer to address CVE vulnerability
+* [#588](https://github.com/awslabs/amazon-kinesis-producer/pull/588) Bump com.amazonaws:aws-java-sdk-core from 1.12.382 to 1.12.772 in /java/amazon-kinesis-producer and java/amazon-kinesis-producer-sample
+
## 0.15.11
* [#576](https://github.com/awslabs/amazon-kinesis-producer/pull/576) Improve retry logic during stream scaling
* [#571](https://github.com/awslabs/amazon-kinesis-producer/pull/571) Upgrade ch.qos.logback:logback-classic from 1.3.0 to 1.3.12
diff --git a/aws/kinesis/core/kinesis_producer.cc b/aws/kinesis/core/kinesis_producer.cc
index 22a10b2d..e77ad69e 100644
--- a/aws/kinesis/core/kinesis_producer.cc
+++ b/aws/kinesis/core/kinesis_producer.cc
@@ -45,7 +45,7 @@ struct EndpointConfiguration {
sts_endpoint_(sts_endpoint) {}
};
-const constexpr char* kVersion = "0.15.11N";
+const constexpr char* kVersion = "0.15.12N";
const std::unordered_map< std::string, EndpointConfiguration > kRegionEndpointOverride = {
{ "cn-north-1", { "kinesis.cn-north-1.amazonaws.com.cn", "monitoring.cn-north-1.amazonaws.com.cn" } },
{ "cn-northwest-1", { "kinesis.cn-northwest-1.amazonaws.com.cn", "monitoring.cn-northwest-1.amazonaws.com.cn" } }
diff --git a/java/amazon-kinesis-producer-sample/pom.xml b/java/amazon-kinesis-producer-sample/pom.xml
index 0191d2c4..684ff577 100644
--- a/java/amazon-kinesis-producer-sample/pom.xml
+++ b/java/amazon-kinesis-producer-sample/pom.xml
@@ -56,7 +56,7 @@
com.amazonaws
amazon-kinesis-producer
- 0.15.11
+ 0.15.12
org.slf4j
diff --git a/java/amazon-kinesis-producer/pom.xml b/java/amazon-kinesis-producer/pom.xml
index 672c404a..c69ffc45 100644
--- a/java/amazon-kinesis-producer/pom.xml
+++ b/java/amazon-kinesis-producer/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.amazonaws
amazon-kinesis-producer
- 0.15.11
+ 0.15.12
Amazon Kinesis Producer Library
diff --git a/java/amazon-kinesis-producer/src/main/java/com/amazonaws/services/kinesis/producer/GlueSchemaRegistrySerializerInstance.java b/java/amazon-kinesis-producer/src/main/java/com/amazonaws/services/kinesis/producer/GlueSchemaRegistrySerializerInstance.java
index 3a125e13..06790f88 100644
--- a/java/amazon-kinesis-producer/src/main/java/com/amazonaws/services/kinesis/producer/GlueSchemaRegistrySerializerInstance.java
+++ b/java/amazon-kinesis-producer/src/main/java/com/amazonaws/services/kinesis/producer/GlueSchemaRegistrySerializerInstance.java
@@ -11,7 +11,7 @@
public final class GlueSchemaRegistrySerializerInstance {
private volatile GlueSchemaRegistrySerializer instance = null;
- private static final String USER_AGENT_APP_NAME = "kpl-0.15.11";
+ private static final String USER_AGENT_APP_NAME = "kpl-0.15.12";
/**
* Instantiate GlueSchemaRegistrySerializer using the KinesisProducerConfiguration.