Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.10.0 #800

Merged
merged 1 commit into from
Sep 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 59 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,62 @@
## [UNRELEASED]
<a name="0.10.0"></a>
# [0.10.0](https://github.com/awslabs/aws-cdk/compare/v0.9.2...v0.10.0) (2018-09-27)

This release introduces a better way to "escape" L2 constructs in case of missing features
by adding the ability to add arbitrary overrides for resource properties:

```ts
const bucket = new s3.Bucket(this, 'L2Bucket');

// access L1
const bucketResource = bucket.findChild('Resource') as s3.cloudformation.BucketResource;

// strongly-typed overrides
bucketResource.propertyOverrides.bucketName = 'NewBucketName';

// weakly-typed overrides
bucketResource.addPropertyOverride('BucketName', 'NewerBucketName');
```

### Bug Fixes

* **aws-codecommit:** typo in README ([#780](https://github.com/awslabs/aws-cdk/issues/780)) ([0e79c2d](https://github.com/awslabs/aws-cdk/commit/0e79c2d))
* **aws-ec2:** fix capitalization of "VPCEndpointType" to "VpcEndpointType" ([#789](https://github.com/awslabs/aws-cdk/issues/789)) ([7a8ee2c](https://github.com/awslabs/aws-cdk/commit/7a8ee2c)), closes [#765](https://github.com/awslabs/aws-cdk/issues/765)
* **docs:** fix issue [#718](https://github.com/awslabs/aws-cdk/issues/718) (Aurora DB example) ([#783](https://github.com/awslabs/aws-cdk/issues/783)) ([016f3a8](https://github.com/awslabs/aws-cdk/commit/016f3a8))


### Code Refactoring

* **util:** remove [@aws-cdk](https://github.com/aws-cdk)/util ([#745](https://github.com/awslabs/aws-cdk/issues/745)) ([10015cb](https://github.com/awslabs/aws-cdk/commit/10015cb)), closes [#709](https://github.com/awslabs/aws-cdk/issues/709)


### Features

* **aws-cloudformation:** rename the CodePipeline actions ([#771](https://github.com/awslabs/aws-cdk/issues/771)) ([007e7b4](https://github.com/awslabs/aws-cdk/commit/007e7b4))
* **aws-cloudformation:** update the README of the module to reflect the new action names ([#775](https://github.com/awslabs/aws-cdk/issues/775)) ([6c0e75b](https://github.com/awslabs/aws-cdk/commit/6c0e75b)), closes [#771](https://github.com/awslabs/aws-cdk/issues/771)
* **aws-codedeploy:** add auto-scaling groups property to ServerDeploymentGroup ([#739](https://github.com/awslabs/aws-cdk/issues/739)) ([0b28886](https://github.com/awslabs/aws-cdk/commit/0b28886))
* **aws-codedeploy:** add deployment configuration construct ([#653](https://github.com/awslabs/aws-cdk/issues/653)) ([e6b67ad](https://github.com/awslabs/aws-cdk/commit/e6b67ad))
* **aws-codepipeline, aws-codecommit, aws-s3:** change the convention for naming the source Actions to XxxSourceAction ([#753](https://github.com/awslabs/aws-cdk/issues/753)) ([9c3ce7f](https://github.com/awslabs/aws-cdk/commit/9c3ce7f))
* **aws-elasticloadbalancingv2:** support for ALB/NLB ([#750](https://github.com/awslabs/aws-cdk/issues/750)) ([bd9ee01](https://github.com/awslabs/aws-cdk/commit/bd9ee01))
* tagging support for AutoScaling/SecurityGroup ([#766](https://github.com/awslabs/aws-cdk/issues/766)) ([3d48eb2](https://github.com/awslabs/aws-cdk/commit/3d48eb2))
* **core:** resource overrides (escape hatch) ([#784](https://github.com/awslabs/aws-cdk/issues/784)) ([5054eef](https://github.com/awslabs/aws-cdk/commit/5054eef)), closes [#606](https://github.com/awslabs/aws-cdk/issues/606)
* **toolkit:** stop creating 'empty' stacks ([#779](https://github.com/awslabs/aws-cdk/issues/779)) ([1dddd8a](https://github.com/awslabs/aws-cdk/commit/1dddd8a))

### BREAKING CHANGES

* **cdk**: the constructor signature of `TagManager` has changed. `initialTags` is now passed inside a props object.
* **util:** `@aws-cdk/util` is no longer available
* **aws-elasticloadbalancingv2:** adds classes for modeling Application and Network Load
Balancers. AutoScalingGroups now implement the interface that makes
constructs a load balancing target. The breaking change is that Security
Group rule identifiers have been changed in order to make adding rules
more reliable. No code changes are necessary but existing deployments
may experience unexpected changes.
* **aws-cloudformation:** this renames all CloudFormation Actions for CodePipeline
to bring them in line with Actions defined in other service packages.
* **aws-codepipeline, aws-codecommit, aws-s3:** change the names of the source Actions from XxxSource to XxxSourceAction.
This is to align them with the other Actions, like Build.
Also, CodeBuild has the concept of Sources, so it makes sense to strongly differentiate between the two.

### CloudFormation Changes

* __@aws-cdk/cfnspec__: Updated [CloudFormation resource specification] to `v2.8.0` ([@RomainMuller] in [#767](https://github.com/awslabs/aws-cdk/pull/767))
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.2",
"version": "0.10.0",
"description": "CDK examples in Java",
"private": true,
"repository": {
Expand All @@ -22,7 +22,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"aws-cdk": "^0.9.2",
"pkgtools": "^0.9.2"
"aws-cdk": "^0.10.0",
"pkgtools": "^0.10.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.9.2",
"version": "0.10.0",
"description": "A bunch of CDK examples",
"private": true,
"scripts": {
Expand All @@ -18,26 +18,26 @@
},
"license": "Apache-2.0",
"devDependencies": {
"aws-cdk": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"pkglint": "^0.9.2"
"aws-cdk": "^0.10.0",
"cdk-build-tools": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@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"
"@aws-cdk/aws-autoscaling": "^0.10.0",
"@aws-cdk/aws-cloudformation": "^0.10.0",
"@aws-cdk/aws-cognito": "^0.10.0",
"@aws-cdk/aws-dynamodb": "^0.10.0",
"@aws-cdk/aws-ec2": "^0.10.0",
"@aws-cdk/aws-elasticloadbalancing": "^0.10.0",
"@aws-cdk/aws-iam": "^0.10.0",
"@aws-cdk/aws-lambda": "^0.10.0",
"@aws-cdk/aws-neptune": "^0.10.0",
"@aws-cdk/aws-rds": "^0.10.0",
"@aws-cdk/aws-s3": "^0.10.0",
"@aws-cdk/aws-sns": "^0.10.0",
"@aws-cdk/aws-sqs": "^0.10.0",
"@aws-cdk/cdk": "^0.10.0",
"@aws-cdk/runtime-values": "^0.10.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.9.2"
"version": "0.10.0"
}
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.2",
"version": "0.10.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.9.2",
"pkglint": "^0.9.2"
"cdk-build-tools": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.2",
"@aws-cdk/cdk": "^0.10.0",
"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.2",
"version": "0.10.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.9.2",
"pkglint": "^0.9.2"
"cdk-build-tools": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.2",
"@aws-cdk/cloudformation-diff": "^0.9.2",
"@aws-cdk/cx-api": "^0.9.2",
"@aws-cdk/cdk": "^0.10.0",
"@aws-cdk/cloudformation-diff": "^0.10.0",
"@aws-cdk/cx-api": "^0.10.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.9.2",
"version": "0.10.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.9.2",
"aws-cdk": "^0.9.2",
"cdk-build-tools": "^0.9.2",
"cdk-integ-tools": "^0.9.2",
"pkglint": "^0.9.2"
"@aws-cdk/assert": "^0.10.0",
"aws-cdk": "^0.10.0",
"cdk-build-tools": "^0.10.0",
"cdk-integ-tools": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@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"
"@aws-cdk/aws-iam": "^0.10.0",
"@aws-cdk/aws-s3": "^0.10.0",
"@aws-cdk/cdk": "^0.10.0",
"@aws-cdk/cx-api": "^0.10.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.9.2",
"version": "0.10.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.9.2",
"cdk-build-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
"@aws-cdk/assert": "^0.10.0",
"cdk-build-tools": "^0.10.0",
"cfn2ts": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.2"
"@aws-cdk/cdk": "^0.10.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.9.2",
"version": "0.10.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.9.2",
"cdk-build-tools": "^0.9.2",
"cdk-integ-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
"@aws-cdk/assert": "^0.10.0",
"cdk-build-tools": "^0.10.0",
"cdk-integ-tools": "^0.10.0",
"cfn2ts": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.9.2",
"@aws-cdk/aws-lambda": "^0.9.2",
"@aws-cdk/cdk": "^0.9.2"
"@aws-cdk/aws-iam": "^0.10.0",
"@aws-cdk/aws-lambda": "^0.10.0",
"@aws-cdk/cdk": "^0.10.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.9.2",
"version": "0.10.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.9.2",
"cdk-build-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
"@aws-cdk/assert": "^0.10.0",
"cdk-build-tools": "^0.10.0",
"cfn2ts": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.2"
"@aws-cdk/cdk": "^0.10.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.9.2",
"version": "0.10.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.9.2",
"cdk-build-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
"@aws-cdk/assert": "^0.10.0",
"cdk-build-tools": "^0.10.0",
"cfn2ts": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.2"
"@aws-cdk/cdk": "^0.10.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.9.2",
"version": "0.10.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.9.2",
"cdk-build-tools": "^0.9.2",
"cfn2ts": "^0.9.2",
"pkglint": "^0.9.2"
"@aws-cdk/assert": "^0.10.0",
"cdk-build-tools": "^0.10.0",
"cfn2ts": "^0.10.0",
"pkglint": "^0.10.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.9.2"
"@aws-cdk/cdk": "^0.10.0"
},
"homepage": "https://github.com/awslabs/aws-cdk"
}
Loading