Skip to content

Commit 0636316

Browse files
author
Elad Ben-Israel
committed
v0.9.2
__NOTICE__: This release includes a framework-wide [__breaking change__](#712) which changes the type of all the string resource attributes across the framework. Instead of using strong-types that extend `cdk.Token` (such as `QueueArn`, `TopicName`, etc), we now represent all these attributes as normal `string`s, and codify the tokens into the string (using the feature introduced in [#168](#168)). Furthermore, the `cdk.Arn` type has been removed. In order to format/parse ARNs, use the static methods on `cdk.ArnUtils`. See motivation and discussion in [#695](#695). * **cfn2ts:** use stringified tokens for resource attributes instead of strong types ([#712](#712)) ([6508f78](6508f78)), closes [#518](#518) [#695](#695) [#744](#744) * **aws-dynamodb:** Attribute type for keys, changes the signature of the `addPartitionKey` and `addSortKey` methods to be consistent across the board. ([#720](#720)) ([e6cc189](e6cc189)) * **aws-codebuild:** fix typo "priviledged" -> "privileged * **assets:** cab't use multiple assets in the same stack ([#725](#725)) ([bba2e5b](bba2e5b)), closes [#706](#706) * **aws-codebuild:** typo in BuildEnvironment "priviledged" -> "privileged ([#734](#734)) ([72fec36](72fec36)) * **aws-ecr:** fix addToResourcePolicy ([#737](#737)) ([eadbda5](eadbda5)) * **aws-events:** ruleName can now be specified ([#726](#726)) ([a7bc5ee](a7bc5ee)), closes [#708](#708) * **aws-lambda:** jsii use no long requires 'sourceAccount' ([#728](#728)) ([9e7d311](9e7d311)), closes [#714](#714) * **aws-s3:** remove `policy` argument ([#730](#730)) ([a79190c](a79190c)), closes [#672](#672) * **cdk:** "cdk init" java template is broken ([#732](#732)) ([281c083](281c083)), closes [#711](#711) [aws/jsii#233](aws/jsii#233) * **aws-apigateway:** new API Gateway Construct Library ([#665](#665)) ([b0f3857](b0f3857)) * **aws-cdk:** detect presence of EC2 credentials ([#724](#724)) ([8e8c295](8e8c295)), closes [#702](#702) [#130](#130) * **aws-codepipeline:** make the Stage insertion API in CodePipeline more flexible ([#460](#460)) ([d182818](d182818)) * **aws-codepipeline:** new "Pipeline#addStage" convenience method ([#647](#647)) ([25c9fa0](25c9fa0)) * **aws-rds:** add support for parameter groups ([#729](#729)) ([2541508](2541508)), closes [#719](#719) * **docs:** add documentation for CDK toolkit plugings ([#733](#733)) ([965b918](965b918)) * **dependencies:** upgrade to [jsii 0.7.6](https://github.com/awslabs/jsii/releases/tag/v0.7.6)
1 parent aecf785 commit 0636316

File tree

95 files changed

+706
-663
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+706
-663
lines changed

Diff for: CHANGELOG.md

+41
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
<a name="0.9.2"></a>
2+
## [0.9.2](https://github.com/awslabs/aws-cdk/compare/v0.9.1...v0.9.2) (2018-09-20)
3+
4+
__NOTICE__: This release includes a framework-wide [__breaking
5+
change__](https://github.com/awslabs/aws-cdk/issues/712) which changes the type
6+
of all the string resource attributes across the framework. Instead of using
7+
strong-types that extend `cdk.Token` (such as `QueueArn`, `TopicName`, etc), we
8+
now represent all these attributes as normal `string`s, and codify the tokens
9+
into the string (using the feature introduced in [#168](https://github.com/awslabs/aws-cdk/issues/168)).
10+
11+
Furthermore, the `cdk.Arn` type has been removed. In order to format/parse ARNs,
12+
use the static methods on `cdk.ArnUtils`.
13+
14+
See motivation and discussion in [#695](https://github.com/awslabs/aws-cdk/issues/695).
15+
16+
### Breaking Changes
17+
18+
* **cfn2ts:** use stringified tokens for resource attributes instead of strong types ([#712](https://github.com/awslabs/aws-cdk/issues/712)) ([6508f78](https://github.com/awslabs/aws-cdk/commit/6508f78)), closes [#518](https://github.com/awslabs/aws-cdk/issues/518) [#695](https://github.com/awslabs/aws-cdk/issues/695) [#744](https://github.com/awslabs/aws-cdk/issues/744)
19+
* **aws-dynamodb:** Attribute type for keys, changes the signature of the `addPartitionKey` and `addSortKey` methods to be consistent across the board. ([#720](https://github.com/awslabs/aws-cdk/issues/720)) ([e6cc189](https://github.com/awslabs/aws-cdk/commit/e6cc189))
20+
* **aws-codebuild:** fix typo "priviledged" -> "privileged
21+
22+
### Bug Fixes
23+
24+
* **assets:** cab't use multiple assets in the same stack ([#725](https://github.com/awslabs/aws-cdk/issues/725)) ([bba2e5b](https://github.com/awslabs/aws-cdk/commit/bba2e5b)), closes [#706](https://github.com/awslabs/aws-cdk/issues/706)
25+
* **aws-codebuild:** typo in BuildEnvironment "priviledged" -> "privileged ([#734](https://github.com/awslabs/aws-cdk/issues/734)) ([72fec36](https://github.com/awslabs/aws-cdk/commit/72fec36))
26+
* **aws-ecr:** fix addToResourcePolicy ([#737](https://github.com/awslabs/aws-cdk/issues/737)) ([eadbda5](https://github.com/awslabs/aws-cdk/commit/eadbda5))
27+
* **aws-events:** ruleName can now be specified ([#726](https://github.com/awslabs/aws-cdk/issues/726)) ([a7bc5ee](https://github.com/awslabs/aws-cdk/commit/a7bc5ee)), closes [#708](https://github.com/awslabs/aws-cdk/issues/708)
28+
* **aws-lambda:** jsii use no long requires 'sourceAccount' ([#728](https://github.com/awslabs/aws-cdk/issues/728)) ([9e7d311](https://github.com/awslabs/aws-cdk/commit/9e7d311)), closes [#714](https://github.com/awslabs/aws-cdk/issues/714)
29+
* **aws-s3:** remove `policy` argument ([#730](https://github.com/awslabs/aws-cdk/issues/730)) ([a79190c](https://github.com/awslabs/aws-cdk/commit/a79190c)), closes [#672](https://github.com/awslabs/aws-cdk/issues/672)
30+
* **cdk:** "cdk init" java template is broken ([#732](https://github.com/awslabs/aws-cdk/issues/732)) ([281c083](https://github.com/awslabs/aws-cdk/commit/281c083)), closes [#711](https://github.com/awslabs/aws-cdk/issues/711) [awslabs/jsii#233](https://github.com/awslabs/jsii/issues/233)
31+
32+
### Features
33+
34+
* **aws-apigateway:** new API Gateway Construct Library ([#665](https://github.com/awslabs/aws-cdk/issues/665)) ([b0f3857](https://github.com/awslabs/aws-cdk/commit/b0f3857))
35+
* **aws-cdk:** detect presence of EC2 credentials ([#724](https://github.com/awslabs/aws-cdk/issues/724)) ([8e8c295](https://github.com/awslabs/aws-cdk/commit/8e8c295)), closes [#702](https://github.com/awslabs/aws-cdk/issues/702) [#130](https://github.com/awslabs/aws-cdk/issues/130)
36+
* **aws-codepipeline:** make the Stage insertion API in CodePipeline more flexible ([#460](https://github.com/awslabs/aws-cdk/issues/460)) ([d182818](https://github.com/awslabs/aws-cdk/commit/d182818))
37+
* **aws-codepipeline:** new "Pipeline#addStage" convenience method ([#647](https://github.com/awslabs/aws-cdk/issues/647)) ([25c9fa0](https://github.com/awslabs/aws-cdk/commit/25c9fa0))
38+
* **aws-rds:** add support for parameter groups ([#729](https://github.com/awslabs/aws-cdk/issues/729)) ([2541508](https://github.com/awslabs/aws-cdk/commit/2541508)), closes [#719](https://github.com/awslabs/aws-cdk/issues/719)
39+
* **docs:** add documentation for CDK toolkit plugings ([#733](https://github.com/awslabs/aws-cdk/issues/733)) ([965b918](https://github.com/awslabs/aws-cdk/commit/965b918))
40+
* **dependencies:** upgrade to [jsii 0.7.6](https://github.com/awslabs/jsii/releases/tag/v0.7.6)
41+
142
<a name="0.9.1"></a>
243
## [0.9.1](https://github.com/awslabs/aws-cdk/compare/v0.9.0...v0.9.1) (2018-09-13)
344

Diff for: bump.sh

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ if [ -z "${ver}" ]; then
66
exit 1
77
fi
88

9+
/bin/bash ./install.sh
10+
911
lerna publish --force-publish=* --skip-npm --skip-git --repo-version ${ver}
1012

1113
# Update CHANGELOG.md only at the root

Diff for: examples/cdk-examples-java/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cdk-examples-java",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "CDK examples in Java",
55
"private": true,
66
"repository": {
@@ -22,7 +22,7 @@
2222
},
2323
"license": "Apache-2.0",
2424
"devDependencies": {
25-
"aws-cdk": "^0.9.1",
26-
"pkgtools": "^0.9.1"
25+
"aws-cdk": "^0.9.2",
26+
"pkgtools": "^0.9.2"
2727
}
2828
}

Diff for: examples/cdk-examples-typescript/package.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cdk-examples-typescript",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "A bunch of CDK examples",
55
"private": true,
66
"scripts": {
@@ -18,26 +18,26 @@
1818
},
1919
"license": "Apache-2.0",
2020
"devDependencies": {
21-
"aws-cdk": "^0.9.1",
22-
"cdk-build-tools": "^0.9.1",
23-
"pkglint": "^0.9.1"
21+
"aws-cdk": "^0.9.2",
22+
"cdk-build-tools": "^0.9.2",
23+
"pkglint": "^0.9.2"
2424
},
2525
"dependencies": {
26-
"@aws-cdk/aws-autoscaling": "^0.9.1",
27-
"@aws-cdk/aws-cloudformation": "^0.9.1",
28-
"@aws-cdk/aws-cognito": "^0.9.1",
29-
"@aws-cdk/aws-dynamodb": "^0.9.1",
30-
"@aws-cdk/aws-ec2": "^0.9.1",
31-
"@aws-cdk/aws-elasticloadbalancing": "^0.9.1",
32-
"@aws-cdk/aws-iam": "^0.9.1",
33-
"@aws-cdk/aws-lambda": "^0.9.1",
34-
"@aws-cdk/aws-neptune": "^0.9.1",
35-
"@aws-cdk/aws-rds": "^0.9.1",
36-
"@aws-cdk/aws-s3": "^0.9.1",
37-
"@aws-cdk/aws-sns": "^0.9.1",
38-
"@aws-cdk/aws-sqs": "^0.9.1",
39-
"@aws-cdk/cdk": "^0.9.1",
40-
"@aws-cdk/runtime-values": "^0.9.1"
26+
"@aws-cdk/aws-autoscaling": "^0.9.2",
27+
"@aws-cdk/aws-cloudformation": "^0.9.2",
28+
"@aws-cdk/aws-cognito": "^0.9.2",
29+
"@aws-cdk/aws-dynamodb": "^0.9.2",
30+
"@aws-cdk/aws-ec2": "^0.9.2",
31+
"@aws-cdk/aws-elasticloadbalancing": "^0.9.2",
32+
"@aws-cdk/aws-iam": "^0.9.2",
33+
"@aws-cdk/aws-lambda": "^0.9.2",
34+
"@aws-cdk/aws-neptune": "^0.9.2",
35+
"@aws-cdk/aws-rds": "^0.9.2",
36+
"@aws-cdk/aws-s3": "^0.9.2",
37+
"@aws-cdk/aws-sns": "^0.9.2",
38+
"@aws-cdk/aws-sqs": "^0.9.2",
39+
"@aws-cdk/cdk": "^0.9.2",
40+
"@aws-cdk/runtime-values": "^0.9.2"
4141
},
4242
"repository": {
4343
"url": "https://github.com/awslabs/aws-cdk.git",

Diff for: lerna.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"lerna": "2.5.1",
33
"packages": [
4+
"examples/*",
45
"packages/*",
56
"packages/@aws-cdk/*",
6-
"tools/*",
7-
"examples/*"
7+
"tools/*"
88
],
99
"rejectCycles": "true",
10-
"version": "0.9.1"
10+
"version": "0.9.2"
1111
}

Diff for: packages/@aws-cdk/applet-js/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/applet-js",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "Javascript CDK applet host program",
55
"main": "bin/cdk-applet-js.js",
66
"types": "bin/cdk-applet-js.d.ts",
@@ -23,11 +23,11 @@
2323
"license": "Apache-2.0",
2424
"devDependencies": {
2525
"@types/yamljs": "^0.2.0",
26-
"cdk-build-tools": "^0.9.1",
27-
"pkglint": "^0.9.1"
26+
"cdk-build-tools": "^0.9.2",
27+
"pkglint": "^0.9.2"
2828
},
2929
"dependencies": {
30-
"@aws-cdk/cdk": "^0.9.1",
30+
"@aws-cdk/cdk": "^0.9.2",
3131
"source-map-support": "^0.5.6",
3232
"yamljs": "^0.2.0"
3333
},

Diff for: packages/@aws-cdk/assert/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/assert",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "An assertion library for use with CDK Apps",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -23,13 +23,13 @@
2323
},
2424
"license": "Apache-2.0",
2525
"devDependencies": {
26-
"cdk-build-tools": "^0.9.1",
27-
"pkglint": "^0.9.1"
26+
"cdk-build-tools": "^0.9.2",
27+
"pkglint": "^0.9.2"
2828
},
2929
"dependencies": {
30-
"@aws-cdk/cdk": "^0.9.1",
31-
"@aws-cdk/cloudformation-diff": "^0.9.1",
32-
"@aws-cdk/cx-api": "^0.9.1",
30+
"@aws-cdk/cdk": "^0.9.2",
31+
"@aws-cdk/cloudformation-diff": "^0.9.2",
32+
"@aws-cdk/cx-api": "^0.9.2",
3333
"source-map-support": "^0.5.6"
3434
},
3535
"repository": {

Diff for: packages/@aws-cdk/assets/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/assets",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "Integration of CDK apps with local assets",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -49,17 +49,17 @@
4949
},
5050
"license": "Apache-2.0",
5151
"devDependencies": {
52-
"@aws-cdk/assert": "^0.9.1",
53-
"aws-cdk": "^0.9.1",
54-
"cdk-build-tools": "^0.9.1",
55-
"cdk-integ-tools": "^0.9.1",
56-
"pkglint": "^0.9.1"
52+
"@aws-cdk/assert": "^0.9.2",
53+
"aws-cdk": "^0.9.2",
54+
"cdk-build-tools": "^0.9.2",
55+
"cdk-integ-tools": "^0.9.2",
56+
"pkglint": "^0.9.2"
5757
},
5858
"dependencies": {
59-
"@aws-cdk/aws-iam": "^0.9.1",
60-
"@aws-cdk/aws-s3": "^0.9.1",
61-
"@aws-cdk/cdk": "^0.9.1",
62-
"@aws-cdk/cx-api": "^0.9.1"
59+
"@aws-cdk/aws-iam": "^0.9.2",
60+
"@aws-cdk/aws-s3": "^0.9.2",
61+
"@aws-cdk/cdk": "^0.9.2",
62+
"@aws-cdk/cx-api": "^0.9.2"
6363
},
6464
"homepage": "https://github.com/awslabs/aws-cdk"
6565
}

Diff for: packages/@aws-cdk/aws-apigateway/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/aws-apigateway",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "The CDK Construct Library for AWS::ApiGateway",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -52,16 +52,16 @@
5252
},
5353
"license": "Apache-2.0",
5454
"devDependencies": {
55-
"@aws-cdk/assert": "^0.9.1",
56-
"cdk-build-tools": "^0.9.1",
57-
"cdk-integ-tools": "^0.9.1",
58-
"cfn2ts": "^0.9.1",
59-
"pkglint": "^0.9.1"
55+
"@aws-cdk/assert": "^0.9.2",
56+
"cdk-build-tools": "^0.9.2",
57+
"cdk-integ-tools": "^0.9.2",
58+
"cfn2ts": "^0.9.2",
59+
"pkglint": "^0.9.2"
6060
},
6161
"dependencies": {
62-
"@aws-cdk/cdk": "^0.9.1",
63-
"@aws-cdk/aws-iam": "^0.9.1",
64-
"@aws-cdk/aws-lambda": "^0.9.1"
62+
"@aws-cdk/aws-iam": "^0.9.2",
63+
"@aws-cdk/aws-lambda": "^0.9.2",
64+
"@aws-cdk/cdk": "^0.9.2"
6565
},
6666
"homepage": "https://github.com/awslabs/aws-cdk"
6767
}

Diff for: packages/@aws-cdk/aws-applicationautoscaling/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/aws-applicationautoscaling",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "The CDK Construct Library for AWS::ApplicationAutoScaling",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -52,13 +52,13 @@
5252
},
5353
"license": "Apache-2.0",
5454
"devDependencies": {
55-
"@aws-cdk/assert": "^0.9.1",
56-
"cdk-build-tools": "^0.9.1",
57-
"cfn2ts": "^0.9.1",
58-
"pkglint": "^0.9.1"
55+
"@aws-cdk/assert": "^0.9.2",
56+
"cdk-build-tools": "^0.9.2",
57+
"cfn2ts": "^0.9.2",
58+
"pkglint": "^0.9.2"
5959
},
6060
"dependencies": {
61-
"@aws-cdk/cdk": "^0.9.1"
61+
"@aws-cdk/cdk": "^0.9.2"
6262
},
6363
"homepage": "https://github.com/awslabs/aws-cdk"
6464
}

Diff for: packages/@aws-cdk/aws-appsync/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/aws-appsync",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "The CDK Construct Library for AWS::AppSync",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -52,13 +52,13 @@
5252
},
5353
"license": "Apache-2.0",
5454
"devDependencies": {
55-
"@aws-cdk/assert": "^0.9.1",
56-
"cdk-build-tools": "^0.9.1",
57-
"cfn2ts": "^0.9.1",
58-
"pkglint": "^0.9.1"
55+
"@aws-cdk/assert": "^0.9.2",
56+
"cdk-build-tools": "^0.9.2",
57+
"cfn2ts": "^0.9.2",
58+
"pkglint": "^0.9.2"
5959
},
6060
"dependencies": {
61-
"@aws-cdk/cdk": "^0.9.1"
61+
"@aws-cdk/cdk": "^0.9.2"
6262
},
6363
"homepage": "https://github.com/awslabs/aws-cdk"
6464
}

Diff for: packages/@aws-cdk/aws-athena/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/aws-athena",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "The CDK Construct Library for AWS::Athena",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -52,13 +52,13 @@
5252
},
5353
"license": "Apache-2.0",
5454
"devDependencies": {
55-
"@aws-cdk/assert": "^0.9.1",
56-
"cdk-build-tools": "^0.9.1",
57-
"cfn2ts": "^0.9.1",
58-
"pkglint": "^0.9.1"
55+
"@aws-cdk/assert": "^0.9.2",
56+
"cdk-build-tools": "^0.9.2",
57+
"cfn2ts": "^0.9.2",
58+
"pkglint": "^0.9.2"
5959
},
6060
"dependencies": {
61-
"@aws-cdk/cdk": "^0.9.1"
61+
"@aws-cdk/cdk": "^0.9.2"
6262
},
6363
"homepage": "https://github.com/awslabs/aws-cdk"
6464
}

Diff for: packages/@aws-cdk/aws-autoscaling/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/aws-autoscaling",
3-
"version": "0.9.1",
3+
"version": "0.9.2",
44
"description": "The CDK Construct Library for AWS::AutoScaling",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -52,18 +52,18 @@
5252
},
5353
"license": "Apache-2.0",
5454
"devDependencies": {
55-
"@aws-cdk/assert": "^0.9.1",
56-
"cdk-build-tools": "^0.9.1",
57-
"cdk-integ-tools": "^0.9.1",
58-
"cfn2ts": "^0.9.1",
59-
"pkglint": "^0.9.1"
55+
"@aws-cdk/assert": "^0.9.2",
56+
"cdk-build-tools": "^0.9.2",
57+
"cdk-integ-tools": "^0.9.2",
58+
"cfn2ts": "^0.9.2",
59+
"pkglint": "^0.9.2"
6060
},
6161
"dependencies": {
62-
"@aws-cdk/aws-ec2": "^0.9.1",
63-
"@aws-cdk/aws-elasticloadbalancing": "^0.9.1",
64-
"@aws-cdk/aws-iam": "^0.9.1",
65-
"@aws-cdk/aws-sns": "^0.9.1",
66-
"@aws-cdk/cdk": "^0.9.1"
62+
"@aws-cdk/aws-ec2": "^0.9.2",
63+
"@aws-cdk/aws-elasticloadbalancing": "^0.9.2",
64+
"@aws-cdk/aws-iam": "^0.9.2",
65+
"@aws-cdk/aws-sns": "^0.9.2",
66+
"@aws-cdk/cdk": "^0.9.2"
6767
},
6868
"homepage": "https://github.com/awslabs/aws-cdk"
6969
}

0 commit comments

Comments
 (0)