Skip to content

Commit

Permalink
v0.9.2 (#749)
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
Elad Ben-Israel authored Sep 20, 2018
1 parent 6508f78 commit d68b6c3
Show file tree
Hide file tree
Showing 95 changed files with 708 additions and 665 deletions.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
<a name="0.9.2"></a>
## [0.9.2](https://github.com/awslabs/aws-cdk/compare/v0.9.1...v0.9.2) (2018-09-20)

__NOTICE__: This release includes a framework-wide [__breaking
change__](https://github.com/awslabs/aws-cdk/issues/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](https://github.com/awslabs/aws-cdk/issues/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](https://github.com/awslabs/aws-cdk/issues/695).

### Breaking Changes

* **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)
* **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))
* **aws-codebuild:** fix typo "priviledged" -> "privileged

### Bug Fixes

* **assets:** can'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)
* **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))
* **aws-ecr:** fix addToResourcePolicy ([#737](https://github.com/awslabs/aws-cdk/issues/737)) ([eadbda5](https://github.com/awslabs/aws-cdk/commit/eadbda5))
* **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)
* **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)
* **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)
* **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)

### Features

* **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))
* **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)
* **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))
* **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))
* **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)
* **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))
* **dependencies:** upgrade to [jsii 0.7.6](https://github.com/awslabs/jsii/releases/tag/v0.7.6)

<a name="0.9.1"></a>
## [0.9.1](https://github.com/awslabs/aws-cdk/compare/v0.9.0...v0.9.1) (2018-09-13)

Expand Down
2 changes: 2 additions & 0 deletions bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ if [ -z "${ver}" ]; then
exit 1
fi

/bin/bash ./install.sh

lerna publish --force-publish=* --skip-npm --skip-git --repo-version ${ver}

# Update CHANGELOG.md only at the root
Expand Down
6 changes: 3 additions & 3 deletions examples/cdk-examples-java/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cdk-examples-java",
"version": "0.9.1",
"version": "0.9.2",
"description": "CDK examples in Java",
"private": true,
"repository": {
Expand All @@ -22,7 +22,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"aws-cdk": "^0.9.1",
"pkgtools": "^0.9.1"
"aws-cdk": "^0.9.2",
"pkgtools": "^0.9.2"
}
}
38 changes: 19 additions & 19 deletions examples/cdk-examples-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cdk-examples-typescript",
"version": "0.9.1",
"version": "0.9.2",
"description": "A bunch of CDK examples",
"private": true,
"scripts": {
Expand All @@ -18,26 +18,26 @@
},
"license": "Apache-2.0",
"devDependencies": {
"aws-cdk": "^0.9.1",
"cdk-build-tools": "^0.9.1",
"pkglint": "^0.9.1"
"aws-cdk": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/aws-autoscaling": "^0.9.1",
"@aws-cdk/aws-cloudformation": "^0.9.1",
"@aws-cdk/aws-cognito": "^0.9.1",
"@aws-cdk/aws-dynamodb": "^0.9.1",
"@aws-cdk/aws-ec2": "^0.9.1",
"@aws-cdk/aws-elasticloadbalancing": "^0.9.1",
"@aws-cdk/aws-iam": "^0.9.1",
"@aws-cdk/aws-lambda": "^0.9.1",
"@aws-cdk/aws-neptune": "^0.9.1",
"@aws-cdk/aws-rds": "^0.9.1",
"@aws-cdk/aws-s3": "^0.9.1",
"@aws-cdk/aws-sns": "^0.9.1",
"@aws-cdk/aws-sqs": "^0.9.1",
"@aws-cdk/cdk": "^0.9.1",
"@aws-cdk/runtime-values": "^0.9.1"
"@aws-cdk/aws-autoscaling": "^0.9.2",
"@aws-cdk/aws-cloudformation": "^0.9.2",
"@aws-cdk/aws-cognito": "^0.9.2",
"@aws-cdk/aws-dynamodb": "^0.9.2",
"@aws-cdk/aws-ec2": "^0.9.2",
"@aws-cdk/aws-elasticloadbalancing": "^0.9.2",
"@aws-cdk/aws-iam": "^0.9.2",
"@aws-cdk/aws-lambda": "^0.9.2",
"@aws-cdk/aws-neptune": "^0.9.2",
"@aws-cdk/aws-rds": "^0.9.2",
"@aws-cdk/aws-s3": "^0.9.2",
"@aws-cdk/aws-sns": "^0.9.2",
"@aws-cdk/aws-sqs": "^0.9.2",
"@aws-cdk/cdk": "^0.9.2",
"@aws-cdk/runtime-values": "^0.9.2"
},
"repository": {
"url": "https://github.com/awslabs/aws-cdk.git",
Expand Down
6 changes: 3 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"lerna": "2.5.1",
"packages": [
"examples/*",
"packages/*",
"packages/@aws-cdk/*",
"tools/*",
"examples/*"
"tools/*"
],
"rejectCycles": "true",
"version": "0.9.1"
"version": "0.9.2"
}
8 changes: 4 additions & 4 deletions packages/@aws-cdk/applet-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/applet-js",
"version": "0.9.1",
"version": "0.9.2",
"description": "Javascript CDK applet host program",
"main": "bin/cdk-applet-js.js",
"types": "bin/cdk-applet-js.d.ts",
Expand All @@ -23,11 +23,11 @@
"license": "Apache-2.0",
"devDependencies": {
"@types/yamljs": "^0.2.0",
"cdk-build-tools": "^0.9.1",
"pkglint": "^0.9.1"
"cdk-build-tools": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.1",
"@aws-cdk/cdk": "^0.9.2",
"source-map-support": "^0.5.6",
"yamljs": "^0.2.0"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/@aws-cdk/assert/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/assert",
"version": "0.9.1",
"version": "0.9.2",
"description": "An assertion library for use with CDK Apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -23,13 +23,13 @@
},
"license": "Apache-2.0",
"devDependencies": {
"cdk-build-tools": "^0.9.1",
"pkglint": "^0.9.1"
"cdk-build-tools": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.1",
"@aws-cdk/cloudformation-diff": "^0.9.1",
"@aws-cdk/cx-api": "^0.9.1",
"@aws-cdk/cdk": "^0.9.2",
"@aws-cdk/cloudformation-diff": "^0.9.2",
"@aws-cdk/cx-api": "^0.9.2",
"source-map-support": "^0.5.6"
},
"repository": {
Expand Down
20 changes: 10 additions & 10 deletions packages/@aws-cdk/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/assets",
"version": "0.9.1",
"version": "0.9.2",
"description": "Integration of CDK apps with local assets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -49,17 +49,17 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.9.1",
"aws-cdk": "^0.9.1",
"cdk-build-tools": "^0.9.1",
"cdk-integ-tools": "^0.9.1",
"pkglint": "^0.9.1"
"@aws-cdk/assert": "^0.9.2",
"aws-cdk": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"cdk-integ-tools": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.9.1",
"@aws-cdk/aws-s3": "^0.9.1",
"@aws-cdk/cdk": "^0.9.1",
"@aws-cdk/cx-api": "^0.9.1"
"@aws-cdk/aws-iam": "^0.9.2",
"@aws-cdk/aws-s3": "^0.9.2",
"@aws-cdk/cdk": "^0.9.2",
"@aws-cdk/cx-api": "^0.9.2"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
18 changes: 9 additions & 9 deletions packages/@aws-cdk/aws-apigateway/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/aws-apigateway",
"version": "0.9.1",
"version": "0.9.2",
"description": "The CDK Construct Library for AWS::ApiGateway",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -52,16 +52,16 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.9.1",
"cdk-build-tools": "^0.9.1",
"cdk-integ-tools": "^0.9.1",
"cfn2ts": "^0.9.1",
"pkglint": "^0.9.1"
"@aws-cdk/assert": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"cdk-integ-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.1",
"@aws-cdk/aws-iam": "^0.9.1",
"@aws-cdk/aws-lambda": "^0.9.1"
"@aws-cdk/aws-iam": "^0.9.2",
"@aws-cdk/aws-lambda": "^0.9.2",
"@aws-cdk/cdk": "^0.9.2"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
12 changes: 6 additions & 6 deletions packages/@aws-cdk/aws-applicationautoscaling/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/aws-applicationautoscaling",
"version": "0.9.1",
"version": "0.9.2",
"description": "The CDK Construct Library for AWS::ApplicationAutoScaling",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -52,13 +52,13 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.9.1",
"cdk-build-tools": "^0.9.1",
"cfn2ts": "^0.9.1",
"pkglint": "^0.9.1"
"@aws-cdk/assert": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.1"
"@aws-cdk/cdk": "^0.9.2"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
12 changes: 6 additions & 6 deletions packages/@aws-cdk/aws-appsync/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/aws-appsync",
"version": "0.9.1",
"version": "0.9.2",
"description": "The CDK Construct Library for AWS::AppSync",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -52,13 +52,13 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.9.1",
"cdk-build-tools": "^0.9.1",
"cfn2ts": "^0.9.1",
"pkglint": "^0.9.1"
"@aws-cdk/assert": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.1"
"@aws-cdk/cdk": "^0.9.2"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
12 changes: 6 additions & 6 deletions packages/@aws-cdk/aws-athena/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/aws-athena",
"version": "0.9.1",
"version": "0.9.2",
"description": "The CDK Construct Library for AWS::Athena",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -52,13 +52,13 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.9.1",
"cdk-build-tools": "^0.9.1",
"cfn2ts": "^0.9.1",
"pkglint": "^0.9.1"
"@aws-cdk/assert": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.1"
"@aws-cdk/cdk": "^0.9.2"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
22 changes: 11 additions & 11 deletions packages/@aws-cdk/aws-autoscaling/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/aws-autoscaling",
"version": "0.9.1",
"version": "0.9.2",
"description": "The CDK Construct Library for AWS::AutoScaling",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -52,18 +52,18 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.9.1",
"cdk-build-tools": "^0.9.1",
"cdk-integ-tools": "^0.9.1",
"cfn2ts": "^0.9.1",
"pkglint": "^0.9.1"
"@aws-cdk/assert": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"cdk-integ-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
},
"dependencies": {
"@aws-cdk/aws-ec2": "^0.9.1",
"@aws-cdk/aws-elasticloadbalancing": "^0.9.1",
"@aws-cdk/aws-iam": "^0.9.1",
"@aws-cdk/aws-sns": "^0.9.1",
"@aws-cdk/cdk": "^0.9.1"
"@aws-cdk/aws-ec2": "^0.9.2",
"@aws-cdk/aws-elasticloadbalancing": "^0.9.2",
"@aws-cdk/aws-iam": "^0.9.2",
"@aws-cdk/aws-sns": "^0.9.2",
"@aws-cdk/cdk": "^0.9.2"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
Loading

0 comments on commit d68b6c3

Please sign in to comment.