Skip to content

Commit

Permalink
v0.12.0 (#912)
Browse files Browse the repository at this point in the history
* **aws-codebuild:** allow passing oauth token to GitHubEnterpriseSource ([#908](#908)) ([c23da91](c23da91))
* **toolkit:** multi-stack apps cannot be synthesized or deployed ([#911](#911)) ([5511076](5511076)), closes [#868](#868) [#294](#294) [#910](#910)

* **aws-cloudformation:** add permission management to CreateUpdate and Delete Stack CodePipeline Actions. ([#880](#880)) ([8b3ae43](8b3ae43))
* **aws-codepipeline:** make input and output artifact names optional when creating Actions. ([#845](#845)) ([3d91c93](3d91c93))

* **aws-codepipeline:** this commit contains the following breaking changes:
* Rename 'artifactName' in Action construction properties to 'outputArtifactName'
* Rename the 'artifact' property of Actions to 'outputArtifact'
* No longer allow adding output artifacts to Actions by instantiating the Artifact class
* Rename Action#input/outputArtifacts properties to _input/_outputArtifacts

Previously, we always required customers to explicitly name the output artifacts the Actions used in the Pipeline,
and to explicitly "wire together" the outputs of one Action as inputs to another.
With this change, the CodePipeline Construct generates artifact names,
if the customer didn't provide one explicitly,
and tries to find the first available output artifact to use as input to a newly created Action that needs it,
thus turning both the input and output artifacts from required to optional properties.
  • Loading branch information
RomainMuller authored Oct 12, 2018
1 parent 5511076 commit 2dc324e
Show file tree
Hide file tree
Showing 118 changed files with 743 additions and 695 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
<a name="0.12.0"></a>
## [0.12.0](https://github.com/awslabs/aws-cdk/compare/v0.11.0...v0.12.0) (2018-10-12)

__IMPORTANT NOTE__: This release includes a [fix](https://github.com/awslabs/aws-cdk/pull/911) for a bug
that would make the toolkit unusable for multi-stack applications. In order to benefit from
this fix, a globally installed CDK toolkit must also be updated:

```shell
$ npm i -g aws-cdk
$ cdk --version
0.12.0 (build ...)
```

Like always, you will also need to update your project's library versions:

|Language|Update?|
|--------|-------|
|JavaScript/TypeScript (npm)|[`npx npm-check-updates -u`](https://www.npmjs.com/package/npm-check-updates)|
|Java (maven)|[`mvn versions:use-latest-versions`](https://www.mojohaus.org/versions-maven-plugin/use-latest-versions-mojo.html)
|.NET (NuGet)|[`nuget update`](https://docs.microsoft.com/en-us/nuget/tools/cli-ref-update)

### Bug Fixes

* **aws-codebuild:** allow passing oauth token to GitHubEnterpriseSource ([#908](https://github.com/awslabs/aws-cdk/issues/908)) ([c23da91](https://github.com/awslabs/aws-cdk/commit/c23da91))
* **toolkit:** multi-stack apps cannot be synthesized or deployed ([#911](https://github.com/awslabs/aws-cdk/issues/911)) ([5511076](https://github.com/awslabs/aws-cdk/commit/5511076)), closes [#868](https://github.com/awslabs/aws-cdk/issues/868) [#294](https://github.com/awslabs/aws-cdk/issues/294) [#910](https://github.com/awslabs/aws-cdk/issues/910)


### Features

* **aws-cloudformation:** add permission management to CreateUpdate and Delete Stack CodePipeline Actions. ([#880](https://github.com/awslabs/aws-cdk/issues/880)) ([8b3ae43](https://github.com/awslabs/aws-cdk/commit/8b3ae43))
* **aws-codepipeline:** make input and output artifact names optional when creating Actions. ([#845](https://github.com/awslabs/aws-cdk/issues/845)) ([3d91c93](https://github.com/awslabs/aws-cdk/commit/3d91c93))


### BREAKING CHANGES

* **aws-codepipeline:** this commit contains the following breaking changes:
+ Rename 'artifactName' in Action construction properties to 'outputArtifactName'
+ Rename the 'artifact' property of Actions to 'outputArtifact'
+ No longer allow adding output artifacts to Actions by instantiating the Artifact class
+ Rename Action#input/outputArtifacts properties to _input/_outputArtifacts

Previously, we always required customers to explicitly name the output artifacts the Actions used in the Pipeline,
and to explicitly "wire together" the outputs of one Action as inputs to another.
With this change, the CodePipeline Construct generates artifact names,
if the customer didn't provide one explicitly,
and tries to find the first available output artifact to use as input to a newly created Action that needs it,
thus turning both the input and output artifacts from required to optional properties.

<a name="0.11.0"></a>
## [0.11.0](https://github.com/awslabs/aws-cdk/compare/v0.10.0...v0.11.0) (2018-10-11)

Expand Down
2 changes: 1 addition & 1 deletion bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ cat > /tmp/context.json <<HERE
}
HERE

conventional-changelog -p angular -i CHANGELOG.md -s --context /tmp/context.json
./node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s --context /tmp/context.json

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.11.0",
"version": "0.12.0",
"description": "CDK examples in Java",
"private": true,
"repository": {
Expand All @@ -22,7 +22,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"aws-cdk": "^0.11.0",
"pkgtools": "^0.11.0"
"aws-cdk": "^0.12.0",
"pkgtools": "^0.12.0"
}
}
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.11.0",
"version": "0.12.0",
"description": "A bunch of CDK examples",
"private": true,
"scripts": {
Expand All @@ -18,26 +18,26 @@
},
"license": "Apache-2.0",
"devDependencies": {
"aws-cdk": "^0.11.0",
"cdk-build-tools": "^0.11.0",
"pkglint": "^0.11.0"
"aws-cdk": "^0.12.0",
"cdk-build-tools": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/aws-autoscaling": "^0.11.0",
"@aws-cdk/aws-cloudformation": "^0.11.0",
"@aws-cdk/aws-cognito": "^0.11.0",
"@aws-cdk/aws-dynamodb": "^0.11.0",
"@aws-cdk/aws-ec2": "^0.11.0",
"@aws-cdk/aws-elasticloadbalancing": "^0.11.0",
"@aws-cdk/aws-iam": "^0.11.0",
"@aws-cdk/aws-lambda": "^0.11.0",
"@aws-cdk/aws-neptune": "^0.11.0",
"@aws-cdk/aws-rds": "^0.11.0",
"@aws-cdk/aws-s3": "^0.11.0",
"@aws-cdk/aws-sns": "^0.11.0",
"@aws-cdk/aws-sqs": "^0.11.0",
"@aws-cdk/cdk": "^0.11.0",
"@aws-cdk/runtime-values": "^0.11.0"
"@aws-cdk/aws-autoscaling": "^0.12.0",
"@aws-cdk/aws-cloudformation": "^0.12.0",
"@aws-cdk/aws-cognito": "^0.12.0",
"@aws-cdk/aws-dynamodb": "^0.12.0",
"@aws-cdk/aws-ec2": "^0.12.0",
"@aws-cdk/aws-elasticloadbalancing": "^0.12.0",
"@aws-cdk/aws-iam": "^0.12.0",
"@aws-cdk/aws-lambda": "^0.12.0",
"@aws-cdk/aws-neptune": "^0.12.0",
"@aws-cdk/aws-rds": "^0.12.0",
"@aws-cdk/aws-s3": "^0.12.0",
"@aws-cdk/aws-sns": "^0.12.0",
"@aws-cdk/aws-sqs": "^0.12.0",
"@aws-cdk/cdk": "^0.12.0",
"@aws-cdk/runtime-values": "^0.12.0"
},
"repository": {
"url": "https://github.com/awslabs/aws-cdk.git",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"tools/*"
],
"rejectCycles": "true",
"version": "0.11.0"
"version": "0.12.0"
}
2 changes: 1 addition & 1 deletion packages/@aws-cdk/applet-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.11.0",
"version": "0.12.0",
"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.11.0",
"pkglint": "^0.11.0"
"cdk-build-tools": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.11.0",
"@aws-cdk/cdk": "^0.12.0",
"source-map-support": "^0.5.6",
"yamljs": "^0.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/assert/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.11.0",
"version": "0.12.0",
"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.11.0",
"pkglint": "^0.11.0"
"cdk-build-tools": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.11.0",
"@aws-cdk/cloudformation-diff": "^0.11.0",
"@aws-cdk/cx-api": "^0.11.0",
"@aws-cdk/cdk": "^0.12.0",
"@aws-cdk/cloudformation-diff": "^0.12.0",
"@aws-cdk/cx-api": "^0.12.0",
"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.11.0",
"version": "0.12.0",
"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.11.0",
"aws-cdk": "^0.11.0",
"cdk-build-tools": "^0.11.0",
"cdk-integ-tools": "^0.11.0",
"pkglint": "^0.11.0"
"@aws-cdk/assert": "^0.12.0",
"aws-cdk": "^0.12.0",
"cdk-build-tools": "^0.12.0",
"cdk-integ-tools": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.11.0",
"@aws-cdk/aws-s3": "^0.11.0",
"@aws-cdk/cdk": "^0.11.0",
"@aws-cdk/cx-api": "^0.11.0"
"@aws-cdk/aws-iam": "^0.12.0",
"@aws-cdk/aws-s3": "^0.12.0",
"@aws-cdk/cdk": "^0.12.0",
"@aws-cdk/cx-api": "^0.12.0"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
12 changes: 6 additions & 6 deletions packages/@aws-cdk/aws-amazonmq/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/aws-amazonmq",
"version": "0.11.0",
"version": "0.12.0",
"description": "The CDK Construct Library for AWS::AmazonMQ",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -53,12 +53,12 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.11.0",
"cdk-build-tools": "^0.11.0",
"cfn2ts": "^0.11.0",
"pkglint": "^0.11.0"
"@aws-cdk/assert": "^0.12.0",
"cdk-build-tools": "^0.12.0",
"cfn2ts": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.11.0"
"@aws-cdk/cdk": "^0.12.0"
}
}
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.11.0",
"version": "0.12.0",
"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.11.0",
"cdk-build-tools": "^0.11.0",
"cdk-integ-tools": "^0.11.0",
"cfn2ts": "^0.11.0",
"pkglint": "^0.11.0"
"@aws-cdk/assert": "^0.12.0",
"cdk-build-tools": "^0.12.0",
"cdk-integ-tools": "^0.12.0",
"cfn2ts": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.11.0",
"@aws-cdk/aws-lambda": "^0.11.0",
"@aws-cdk/cdk": "^0.11.0"
"@aws-cdk/aws-iam": "^0.12.0",
"@aws-cdk/aws-lambda": "^0.12.0",
"@aws-cdk/cdk": "^0.12.0"
},
"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.11.0",
"version": "0.12.0",
"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.11.0",
"cdk-build-tools": "^0.11.0",
"cfn2ts": "^0.11.0",
"pkglint": "^0.11.0"
"@aws-cdk/assert": "^0.12.0",
"cdk-build-tools": "^0.12.0",
"cfn2ts": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.11.0"
"@aws-cdk/cdk": "^0.12.0"
},
"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.11.0",
"version": "0.12.0",
"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.11.0",
"cdk-build-tools": "^0.11.0",
"cfn2ts": "^0.11.0",
"pkglint": "^0.11.0"
"@aws-cdk/assert": "^0.12.0",
"cdk-build-tools": "^0.12.0",
"cfn2ts": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.11.0"
"@aws-cdk/cdk": "^0.12.0"
},
"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.11.0",
"version": "0.12.0",
"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.11.0",
"cdk-build-tools": "^0.11.0",
"cfn2ts": "^0.11.0",
"pkglint": "^0.11.0"
"@aws-cdk/assert": "^0.12.0",
"cdk-build-tools": "^0.12.0",
"cfn2ts": "^0.12.0",
"pkglint": "^0.12.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.11.0"
"@aws-cdk/cdk": "^0.12.0"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
Loading

0 comments on commit 2dc324e

Please sign in to comment.