Skip to content

Commit acd0ace

Browse files
authored
2 parents 9312c97 + 045e59a commit acd0ace

File tree

5 files changed

+50
-29
lines changed

5 files changed

+50
-29
lines changed

CHANGELOG.v2.alpha.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.98.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.97.1-alpha.0...v2.98.0-alpha.0) (2023-09-26)
6+
7+
8+
### Features
9+
10+
* **scheduler:** disable Schedule on creation ([#27236](https://github.com/aws/aws-cdk/issues/27236)) ([193cd3f](https://github.com/aws/aws-cdk/commit/193cd3f575974e4058fcec957640a3d28d114fd1))
11+
512
## [2.97.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.97.0-alpha.0...v2.97.1-alpha.0) (2023-09-25)
613

714
## [2.97.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.96.2-alpha.0...v2.97.0-alpha.0) (2023-09-22)

CHANGELOG.v2.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.98.0](https://github.com/aws/aws-cdk/compare/v2.97.1...v2.98.0) (2023-09-26)
6+
7+
8+
### Features
9+
10+
* update AWS Service Spec ([#27276](https://github.com/aws/aws-cdk/issues/27276)) ([3d9ca8d](https://github.com/aws/aws-cdk/commit/3d9ca8dad29e6e6f813ab2340da7639c24ba5494))
11+
* **aws-cdk-lib:** reduce load time of JavaScript library ([#27217](https://github.com/aws/aws-cdk/issues/27217)) ([faffce0](https://github.com/aws/aws-cdk/commit/faffce06c3f1d543600f7e8dc430a5105c73ac5a))
12+
13+
14+
### Bug Fixes
15+
16+
* **rds:** prevent rendering deprecated credentials when creating a database cluster from a snapshot (under feature flag) ([#27174](https://github.com/aws/aws-cdk/issues/27174)) ([1fd22a7](https://github.com/aws/aws-cdk/commit/1fd22a7498223ae5d2faf1799056e81be4f71f5c)), closes [#23815](https://github.com/aws/aws-cdk/issues/23815)
17+
518
## [2.97.1](https://github.com/aws/aws-cdk/compare/v2.97.0...v2.97.1) (2023-09-25)
619

720

packages/aws-cdk-lib/cx-api/FEATURE_FLAGS.md

+27-26
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ Flags come in three types:
5959
| [@aws-cdk/aws-efs:denyAnonymousAccess](#aws-cdkaws-efsdenyanonymousaccess) | EFS denies anonymous clients accesses | 2.93.0 | (default) |
6060
| [@aws-cdk/aws-efs:mountTargetOrderInsensitiveLogicalId](#aws-cdkaws-efsmounttargetorderinsensitivelogicalid) | When enabled, mount targets will have a stable logicalId that is linked to the associated subnet. | 2.93.0 | (fix) |
6161
| [@aws-cdk/aws-lambda-nodejs:useLatestRuntimeVersion](#aws-cdkaws-lambda-nodejsuselatestruntimeversion) | Enables aws-lambda-nodejs.Function to use the latest available NodeJs runtime as the default | 2.93.0 | (default) |
62-
| [@aws-cdk/aws-rds:preventRenderingDeprecatedCredentials](#aws-cdkaws-rdspreventrenderingdeprecatedcredentials) | When enabled, creating an RDS database cluster from a snapshot will only render credentials for snapshot credentials. | V2NEXT | (fix) |
6362
| [@aws-cdk/aws-appsync:useArnForSourceApiAssociationIdentifier](#aws-cdkaws-appsyncusearnforsourceapiassociationidentifier) | When enabled, will always use the arn for identifiers for CfnSourceApiAssociation in the GraphqlApi construct rather than id. | 2.97.0 | (fix) |
6463
| [@aws-cdk/aws-rds:auroraClusterChangeScopeOfInstanceParameterGroupWithEachParameters](#aws-cdkaws-rdsauroraclusterchangescopeofinstanceparametergroupwitheachparameters) | When enabled, a scope of InstanceParameterGroup for AuroraClusterInstance with each parameters will change. | 2.97.0 | (fix) |
64+
| [@aws-cdk/aws-rds:preventRenderingDeprecatedCredentials](#aws-cdkaws-rdspreventrenderingdeprecatedcredentials) | When enabled, creating an RDS database cluster from a snapshot will only render credentials for snapshot credentials. | 2.98.0 | (fix) |
6565

6666
<!-- END table -->
6767

@@ -112,9 +112,9 @@ The following json shows the current recommended set of flags, as `cdk init` wou
112112
"@aws-cdk/aws-opensearchservice:enableOpensearchMultiAzWithStandby": true,
113113
"@aws-cdk/aws-lambda-nodejs:useLatestRuntimeVersion": true,
114114
"@aws-cdk/aws-efs:mountTargetOrderInsensitiveLogicalId": true,
115-
"@aws-cdk/aws-rds:preventRenderingDeprecatedCredentials": true
116115
"@aws-cdk/aws-rds:auroraClusterChangeScopeOfInstanceParameterGroupWithEachParameters": true,
117-
"@aws-cdk/aws-appsync:useArnForSourceApiAssociationIdentifier": true
116+
"@aws-cdk/aws-appsync:useArnForSourceApiAssociationIdentifier": true,
117+
"@aws-cdk/aws-rds:preventRenderingDeprecatedCredentials": true
118118
}
119119
}
120120
```
@@ -1119,29 +1119,6 @@ shipped as part of the runtime environment.
11191119
**Compatibility with old behavior:** Pass `runtime: lambda.Runtime.NODEJS_16_X` to `Function` construct to restore the previous behavior.
11201120

11211121

1122-
### @aws-cdk/aws-rds:preventRenderingDeprecatedCredentials
1123-
1124-
*When enabled, creating an RDS database cluster from a snapshot will only render credentials for snapshot credentials.* (fix)
1125-
1126-
The `credentials` property on the `DatabaseClusterFromSnapshotProps`
1127-
interface was deprecated with the new `snapshotCredentials` property being
1128-
recommended. Before deprecating `credentials`, a secret would be generated
1129-
while rendering credentials if the `credentials` property was undefined or
1130-
if a secret wasn't provided via the `credentials` property. This behavior
1131-
is replicated with the new `snapshotCredentials` property, but the original
1132-
`credentials` secret can still be created resulting in an extra database
1133-
secret.
1134-
1135-
Set this flag to prevent rendering deprecated `credentials` and creating an
1136-
extra database secret when only using `snapshotCredentials` to create an RDS
1137-
database cluster from a snapshot.
1138-
1139-
| Since | Default | Recommended |
1140-
| ----- | ----- | ----- |
1141-
| (not in v1) | | |
1142-
| V2NEXT | `false` | `true` |
1143-
1144-
11451122
### @aws-cdk/aws-appsync:useArnForSourceApiAssociationIdentifier
11461123

11471124
*When enabled, will always use the arn for identifiers for CfnSourceApiAssociation in the GraphqlApi construct rather than id.* (fix)
@@ -1175,4 +1152,28 @@ with each `InstanceParameterGroup` in the AuroraCluster.
11751152
| 2.97.0 | `false` | `true` |
11761153

11771154

1155+
### @aws-cdk/aws-rds:preventRenderingDeprecatedCredentials
1156+
1157+
*When enabled, creating an RDS database cluster from a snapshot will only render credentials for snapshot credentials.* (fix)
1158+
1159+
The `credentials` property on the `DatabaseClusterFromSnapshotProps`
1160+
interface was deprecated with the new `snapshotCredentials` property being
1161+
recommended. Before deprecating `credentials`, a secret would be generated
1162+
while rendering credentials if the `credentials` property was undefined or
1163+
if a secret wasn't provided via the `credentials` property. This behavior
1164+
is replicated with the new `snapshotCredentials` property, but the original
1165+
`credentials` secret can still be created resulting in an extra database
1166+
secret.
1167+
1168+
Set this flag to prevent rendering deprecated `credentials` and creating an
1169+
extra database secret when only using `snapshotCredentials` to create an RDS
1170+
database cluster from a snapshot.
1171+
1172+
1173+
| Since | Default | Recommended |
1174+
| ----- | ----- | ----- |
1175+
| (not in v1) | | |
1176+
| 2.98.0 | `false` | `true` |
1177+
1178+
11781179
<!-- END details -->

packages/aws-cdk-lib/cx-api/lib/features.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ export const FLAGS: Record<string, FlagInfo> = {
959959
extra database secret when only using \`snapshotCredentials\` to create an RDS
960960
database cluster from a snapshot.
961961
`,
962-
introducedIn: { v2: 'V2NEXT' },
962+
introducedIn: { v2: '2.98.0' },
963963
recommendedValue: true,
964964
},
965965
};

version.v2.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "2.97.1",
3-
"alphaVersion": "2.97.1-alpha.0"
2+
"version": "2.98.0",
3+
"alphaVersion": "2.98.0-alpha.0"
44
}

0 commit comments

Comments
 (0)