Skip to content

Commit bfe888a

Browse files
authored
fix: v1 deprecation (#755)
1 parent 8961221 commit bfe888a

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## 1.9.2 -- 2022-08-30
4+
5+
Deprecation
6+
-----------
7+
* This major version (1.x) of the AWS Encryption SDK for C has reached End-of-Support. It will no longer receive security updates or bug fixes. Consider updating to the latest version of the AWS Encryption SDK.
8+
9+
Features
10+
--------
11+
* Warn on usage
12+
13+
314
## 1.9.1 -- 2021-10-20
415

516
### Maintenance

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ set(PROJECT_NAME aws-encryption-sdk)
5151
# Version number of the SDK to be consumed by C code and Doxygen
5252
set(MAJOR 1)
5353
set(MINOR 9)
54-
set(PATCH 1)
54+
set(PATCH 2)
5555

5656
# Compiler feature tests and feature flags
5757
set(USE_ASM TRUE

source/session.c

+5
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ int aws_cryptosdk_session_reset(struct aws_cryptosdk_session *session, enum aws_
7070

7171
static struct aws_cryptosdk_session *aws_cryptosdk_session_new(
7272
struct aws_allocator *allocator, enum aws_cryptosdk_mode mode) {
73+
fprintf(
74+
stderr,
75+
"WARNING: This major version (1.x) of the AWS Encryption SDK for C has reached End-of-Support.\n"
76+
"It will no longer receive security updates or bug fixes.\n"
77+
"Consider updating to the latest version of the AWS Encryption SDK.\n");
7378
struct aws_cryptosdk_session *session = aws_mem_acquire(allocator, sizeof(struct aws_cryptosdk_session));
7479

7580
if (!session) {

0 commit comments

Comments
 (0)