Skip to content

Commit

Permalink
Merge branch 'master' into vpc-endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jogold committed Mar 28, 2019
2 parents 65293e4 + 7638a58 commit 3a3f896
Show file tree
Hide file tree
Showing 177 changed files with 4,808 additions and 1,602 deletions.
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,59 @@

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.



## [0.27.0](https://github.com/awslabs/aws-cdk/compare/v0.26.0...v0.27.0) (2019-03-28)

### Highlights

* Python support (experimental)
* You can now run the CLI through `npx cdk`
* Make sure to go through the BREAKING CHANGES section below

### Bug Fixes

* **autoscaling:** verify public subnets for associatePublicIpAddress ([#2077](https://github.com/awslabs/aws-cdk/issues/2077)) ([1e3d41e](https://github.com/awslabs/aws-cdk/commit/1e3d41e))
* **ec2:** descriptive error message when selecting 0 subnets ([#2025](https://github.com/awslabs/aws-cdk/issues/2025)) ([0de2206](https://github.com/awslabs/aws-cdk/commit/0de2206)), closes [#2011](https://github.com/awslabs/aws-cdk/issues/2011)
* **lambda:** use Alias ARN directly ([#2091](https://github.com/awslabs/aws-cdk/issues/2091)) ([bc40494](https://github.com/awslabs/aws-cdk/commit/bc40494))
* **rds:** remove Instance class ([#2081](https://github.com/awslabs/aws-cdk/issues/2081)) ([6699fed](https://github.com/awslabs/aws-cdk/commit/6699fed))
* **secretsmanager:** allow templated string creation ([#2010](https://github.com/awslabs/aws-cdk/issues/2010)) ([4e105a3](https://github.com/awslabs/aws-cdk/commit/4e105a3))
* **secretsmanager/ssm:** verify presence of parameter name ([#2066](https://github.com/awslabs/aws-cdk/issues/2066)) ([b93350f](https://github.com/awslabs/aws-cdk/commit/b93350f))
* **serverless:** rename aws-serverless to aws-sam ([#2074](https://github.com/awslabs/aws-cdk/issues/2074)) ([4a82f13](https://github.com/awslabs/aws-cdk/commit/4a82f13))
* **stepfunctions:** make Fail.error optional ([#2042](https://github.com/awslabs/aws-cdk/issues/2042)) ([86e9d03](https://github.com/awslabs/aws-cdk/commit/86e9d03))


### Code Refactoring

* readonly struct properties and hide internals ([#2106](https://github.com/awslabs/aws-cdk/issues/2106)) ([66dd228](https://github.com/awslabs/aws-cdk/commit/66dd228)), closes [awslabs/cdk-ops#321](https://github.com/awslabs/cdk-ops/issues/321)


### Features

* **toolkit:**: new 'cdk' package to allow executing the cli through `npx cdk` ([#2113](https://github.com/awslabs/aws-cdk/issues/2113)) ([32bca05](https://github.com/awslabs/aws-cdk/commit/32bca05))
* Python Support ([#2009](https://github.com/awslabs/aws-cdk/issues/2009)) ([e6083fa](https://github.com/awslabs/aws-cdk/commit/e6083fa))
* **core:** present reason for cyclic references ([#2061](https://github.com/awslabs/aws-cdk/issues/2061)) ([e82e208](https://github.com/awslabs/aws-cdk/commit/e82e208))
* **lambda:** add support for log retention ([#2067](https://github.com/awslabs/aws-cdk/issues/2067)) ([63132ec](https://github.com/awslabs/aws-cdk/commit/63132ec)), closes [#667](https://github.com/awslabs/aws-cdk/issues/667) [#667](https://github.com/awslabs/aws-cdk/issues/667)
* **rds:** cluster retention, reference KMS key by object ([#2063](https://github.com/awslabs/aws-cdk/issues/2063)) ([99ab46d](https://github.com/awslabs/aws-cdk/commit/99ab46d))
* **secretsmanager/rds:** support credential rotation ([#2052](https://github.com/awslabs/aws-cdk/issues/2052)) ([bf79c82](https://github.com/awslabs/aws-cdk/commit/bf79c82))
* **toolkit:** introduce the concept of auto-deployed Stacks. ([#2046](https://github.com/awslabs/aws-cdk/issues/2046)) ([abacc66](https://github.com/awslabs/aws-cdk/commit/abacc66))


### BREAKING CHANGES

* **lambda:** `cloudWatchLogsRetentionTimeDays` in `@aws-cdk/aws-cloudtrail`
now uses a `logs.RetentionDays` instead of a `LogRetention`.
* **core:** `stack._toCloudFormation` method is now unavailable and is replaced by `@aws-cdk/assert.SynthUtils.toCloudFormation(stack)`.
* **rds:** replaced `kmsKeyArn: string` by `kmsKey: kms.IEncryptionKey` in `DatabaseClusterProps`
* **autoscaling:** `VpcNetwork.isPublicSubnet()` has been renamed to
`VpcNetwork.isPublicSubnetIds()`.
* **serverless:** renamed `aws-serverless` to `aws-sam`
* **ec2:** `vpcPlacement` has been renamed to `vpcSubnets`
on all objects, `subnetsToUse` has been renamed to `subnetType`.
`natGatewayPlacement` has been renamed to `natGatewaySubnets`.
* All properties of all structs (interfaces that do not begin with an "I") are now readonly since it is passed by-value and not by-ref (Python is the first language to require that). This may impact code in all languages that assumed it is possible to mutate these structs. Let us know if this blocks you in any way.


## [0.26.0](https://github.com/awslabs/aws-cdk/compare/v0.25.3...v0.26.0) (2019-03-20)

### Bug Fixes
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.26.0"
"version": "0.27.0"
}
24 changes: 14 additions & 10 deletions packages/@aws-cdk/alexa-ask/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/alexa-ask",
"version": "0.26.0",
"version": "0.27.0",
"description": "The CDK Construct Library for Alexa::ASK",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -20,7 +20,11 @@
"artifactId": "alexa-ask"
}
},
"sphinx": {}
"sphinx": {},
"python": {
"distName": "aws-cdk.alexa-ask",
"module": "aws_cdk.alexa_ask"
}
}
},
"repository": {
Expand Down Expand Up @@ -55,18 +59,18 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.26.0",
"cdk-build-tools": "^0.26.0",
"cfn2ts": "^0.26.0",
"pkglint": "^0.26.0"
"@aws-cdk/assert": "^0.27.0",
"cdk-build-tools": "^0.27.0",
"cfn2ts": "^0.27.0",
"pkglint": "^0.27.0"
},
"dependencies": {
"@aws-cdk/aws-codepipeline-api": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-codepipeline-api": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},
"peerDependencies": {
"@aws-cdk/aws-codepipeline-api": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-codepipeline-api": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},
"engines": {
"node": ">= 8.10.0"
Expand Down
38 changes: 21 additions & 17 deletions packages/@aws-cdk/app-delivery/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws-cdk/app-delivery",
"description": "Continuous Integration / Continuous Delivery for CDK Applications",
"version": "0.26.0",
"version": "0.27.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"jsii": {
Expand All @@ -19,6 +19,10 @@
"packageId": "Amazon.CDK.AppDelivery",
"signAssembly": true,
"assemblyOriginatorKeyFile": "../../key.snk"
},
"python": {
"distName": "aws-cdk.app-delivery",
"module": "aws_cdk.app_delivery"
}
},
"outdir": "dist"
Expand All @@ -33,21 +37,21 @@
"awslint": "cdk-awslint"
},
"dependencies": {
"@aws-cdk/aws-cloudformation": "^0.26.0",
"@aws-cdk/aws-codebuild": "^0.26.0",
"@aws-cdk/aws-codepipeline-api": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0",
"@aws-cdk/cx-api": "^0.26.0"
"@aws-cdk/aws-cloudformation": "^0.27.0",
"@aws-cdk/aws-codebuild": "^0.27.0",
"@aws-cdk/aws-codepipeline-api": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0",
"@aws-cdk/cx-api": "^0.27.0"
},
"devDependencies": {
"@aws-cdk/assert": "^0.26.0",
"@aws-cdk/aws-codepipeline": "^0.26.0",
"@aws-cdk/aws-s3": "^0.26.0",
"cdk-build-tools": "^0.26.0",
"cdk-integ-tools": "^0.26.0",
"@aws-cdk/assert": "^0.27.0",
"@aws-cdk/aws-codepipeline": "^0.27.0",
"@aws-cdk/aws-s3": "^0.27.0",
"cdk-build-tools": "^0.27.0",
"cdk-integ-tools": "^0.27.0",
"fast-check": "^1.7.0",
"pkglint": "^0.26.0"
"pkglint": "^0.27.0"
},
"repository": {
"type": "git",
Expand All @@ -65,10 +69,10 @@
"cdk"
],
"peerDependencies": {
"@aws-cdk/aws-cloudformation": "^0.26.0",
"@aws-cdk/aws-codepipeline-api": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-cloudformation": "^0.27.0",
"@aws-cdk/aws-codepipeline-api": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},
"engines": {
"node": ">= 8.10.0"
Expand Down
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.26.0",
"version": "0.27.0",
"description": "Javascript CDK applet host program",
"main": "bin/cdk-applet-js.js",
"types": "bin/cdk-applet-js.d.ts",
Expand All @@ -24,11 +24,11 @@
"devDependencies": {
"@types/fs-extra": "^5.0.4",
"@types/yaml": "^1.0.0",
"cdk-build-tools": "^0.26.0",
"pkglint": "^0.26.0"
"cdk-build-tools": "^0.27.0",
"pkglint": "^0.27.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.26.0",
"@aws-cdk/cdk": "^0.27.0",
"fs-extra": "^7.0.0",
"source-map-support": "^0.5.6",
"yaml": "^1.1.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.26.0",
"version": "0.27.0",
"description": "An assertion library for use with CDK Apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -24,13 +24,13 @@
},
"license": "Apache-2.0",
"devDependencies": {
"cdk-build-tools": "^0.26.0",
"pkglint": "^0.26.0"
"cdk-build-tools": "^0.27.0",
"pkglint": "^0.27.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.26.0",
"@aws-cdk/cloudformation-diff": "^0.26.0",
"@aws-cdk/cx-api": "^0.26.0",
"@aws-cdk/cdk": "^0.27.0",
"@aws-cdk/cloudformation-diff": "^0.27.0",
"@aws-cdk/cx-api": "^0.27.0",
"source-map-support": "^0.5.6"
},
"repository": {
Expand Down
40 changes: 22 additions & 18 deletions packages/@aws-cdk/assets-docker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-cdk/assets-docker",
"version": "0.26.0",
"version": "0.27.0",
"description": "Docker image assets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -20,7 +20,11 @@
"signAssembly": true,
"assemblyOriginatorKeyFile": "../../key.snk"
},
"sphinx": {}
"sphinx": {},
"python": {
"distName": "aws-cdk.assets-docker",
"module": "aws_cdk.assets_docker"
}
}
},
"repository": {
Expand Down Expand Up @@ -51,29 +55,29 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.26.0",
"@aws-cdk/assert": "^0.27.0",
"@types/proxyquire": "^1.3.28",
"aws-cdk": "^0.26.0",
"cdk-build-tools": "^0.26.0",
"cdk-integ-tools": "^0.26.0",
"pkglint": "^0.26.0",
"aws-cdk": "^0.27.0",
"cdk-build-tools": "^0.27.0",
"cdk-integ-tools": "^0.27.0",
"pkglint": "^0.27.0",
"proxyquire": "^2.1.0"
},
"dependencies": {
"@aws-cdk/aws-cloudformation": "^0.26.0",
"@aws-cdk/aws-ecr": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/aws-lambda": "^0.26.0",
"@aws-cdk/aws-s3": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0",
"@aws-cdk/cx-api": "^0.26.0"
"@aws-cdk/aws-cloudformation": "^0.27.0",
"@aws-cdk/aws-ecr": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/aws-lambda": "^0.27.0",
"@aws-cdk/aws-s3": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0",
"@aws-cdk/cx-api": "^0.27.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-ecr": "^0.26.0",
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/aws-s3": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-ecr": "^0.27.0",
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/aws-s3": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},
"engines": {
"node": ">= 8.10.0"
Expand Down
32 changes: 18 additions & 14 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.26.0",
"version": "0.27.0",
"description": "Integration of CDK apps with local assets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -20,7 +20,11 @@
"signAssembly": true,
"assemblyOriginatorKeyFile": "../../key.snk"
},
"sphinx": {}
"sphinx": {},
"python": {
"distName": "aws-cdk.assets",
"module": "aws_cdk.assets"
}
}
},
"repository": {
Expand Down Expand Up @@ -50,23 +54,23 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.26.0",
"aws-cdk": "^0.26.0",
"cdk-build-tools": "^0.26.0",
"cdk-integ-tools": "^0.26.0",
"pkglint": "^0.26.0"
"@aws-cdk/assert": "^0.27.0",
"aws-cdk": "^0.27.0",
"cdk-build-tools": "^0.27.0",
"cdk-integ-tools": "^0.27.0",
"pkglint": "^0.27.0"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/aws-s3": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0",
"@aws-cdk/cx-api": "^0.26.0"
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/aws-s3": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0",
"@aws-cdk/cx-api": "^0.27.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-iam": "^0.26.0",
"@aws-cdk/aws-s3": "^0.26.0",
"@aws-cdk/cdk": "^0.26.0"
"@aws-cdk/aws-iam": "^0.27.0",
"@aws-cdk/aws-s3": "^0.27.0",
"@aws-cdk/cdk": "^0.27.0"
},
"engines": {
"node": ">= 8.10.0"
Expand Down
Loading

0 comments on commit 3a3f896

Please sign in to comment.