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.34.0 #2791

Merged
merged 5 commits into from
Jun 10, 2019
Merged

v0.34.0 #2791

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
65 changes: 65 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,71 @@

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.34.0](https://github.com/awslabs/aws-cdk/compare/v0.33.0...v0.34.0) (2019-06-07)

### Bug Fixes

* **build:** Correct buildspec so it does not fail ([#2737](https://github.com/awslabs/aws-cdk/issues/2737)) ([e362ac8](https://github.com/awslabs/aws-cdk/commit/e362ac8))
* **certificatemanager:** correct certificateArn typo in the README ([#2712](https://github.com/awslabs/aws-cdk/issues/2712)) ([2bfc1c2](https://github.com/awslabs/aws-cdk/commit/2bfc1c2))
* **cli:** don't fail if region cannot be determined ([#2721](https://github.com/awslabs/aws-cdk/issues/2721)) ([0c72ef3](https://github.com/awslabs/aws-cdk/commit/0c72ef3)), closes [#2697](https://github.com/awslabs/aws-cdk/issues/2697)
* **cli:** remove support for applets ([#2691](https://github.com/awslabs/aws-cdk/issues/2691)) ([0997ee2](https://github.com/awslabs/aws-cdk/commit/0997ee2))
* **cloudwatch:** move SNS Alarm Action to `aws-cloudwatch-actions` ([#2688](https://github.com/awslabs/aws-cdk/issues/2688)) ([e3df21a](https://github.com/awslabs/aws-cdk/commit/e3df21a))
* **codebuild:** grant the Project's Role permissions to the KMS Key if it was passed. ([#2715](https://github.com/awslabs/aws-cdk/issues/2715)) ([4e12fe6](https://github.com/awslabs/aws-cdk/commit/4e12fe6))
* **core:** apply overrides after rendering properties ([#2685](https://github.com/awslabs/aws-cdk/issues/2685)) ([f2636e5](https://github.com/awslabs/aws-cdk/commit/f2636e5)), closes [#2677](https://github.com/awslabs/aws-cdk/issues/2677)
* **core:** Make filterUndefined null-safe ([#2789](https://github.com/awslabs/aws-cdk/issues/2789)) ([e4fb811](https://github.com/awslabs/aws-cdk/commit/e4fb811)), closes [awslabs/jsii#523](https://github.com/awslabs/jsii/issues/523)
* **ecs:** remove LoadBalancedFargateServiceApplet, no longer supported ([#2779](https://github.com/awslabs/aws-cdk/issues/2779)) ([a610017](https://github.com/awslabs/aws-cdk/commit/a610017))
* **ecs-patterns:** expose service on queue worker services ([#2780](https://github.com/awslabs/aws-cdk/issues/2780)) ([6d83cb9](https://github.com/awslabs/aws-cdk/commit/6d83cb9))
* **pkglint:** Adjust stability banner style ([#2768](https://github.com/awslabs/aws-cdk/issues/2768)) ([da94d8b](https://github.com/awslabs/aws-cdk/commit/da94d8b))
* **route53:** support zone roots as record names ([#2705](https://github.com/awslabs/aws-cdk/issues/2705)) ([08a2852](https://github.com/awslabs/aws-cdk/commit/08a2852))
* **stepfunctions:** improve Task payload encoding ([#2706](https://github.com/awslabs/aws-cdk/issues/2706)) ([1c13faa](https://github.com/awslabs/aws-cdk/commit/1c13faa))


### Code Refactoring

* Construct props must not use the 'any' type (awslint:props-no-any) ([#2701](https://github.com/awslabs/aws-cdk/issues/2701)) ([cb2b334](https://github.com/awslabs/aws-cdk/commit/cb2b334)), closes [#2673](https://github.com/awslabs/aws-cdk/issues/2673)
* remove deprecated modules ([#2693](https://github.com/awslabs/aws-cdk/issues/2693)) ([421bf6d](https://github.com/awslabs/aws-cdk/commit/421bf6d))
* **core:** improvements to Construct API ([#2767](https://github.com/awslabs/aws-cdk/issues/2767)) ([3f7a0ad](https://github.com/awslabs/aws-cdk/commit/3f7a0ad)), closes [#1934](https://github.com/awslabs/aws-cdk/issues/1934) [#2766](https://github.com/awslabs/aws-cdk/issues/2766)
* **core:** misc cleanups to App-related APIs ([#2731](https://github.com/awslabs/aws-cdk/issues/2731)) ([b2e1964](https://github.com/awslabs/aws-cdk/commit/b2e1964)), closes [#1891](https://github.com/awslabs/aws-cdk/issues/1891) [#2750](https://github.com/awslabs/aws-cdk/issues/2750)
* **kms:** Rename EncryptionKeyAlias to Alias ([#2769](https://github.com/awslabs/aws-cdk/issues/2769)) ([da8e1d5](https://github.com/awslabs/aws-cdk/commit/da8e1d5))


### Features

* **core:** node.defaultChild as a shortcut to escape hatch ([#2684](https://github.com/awslabs/aws-cdk/issues/2684)) ([8cd3c23](https://github.com/awslabs/aws-cdk/commit/8cd3c23)), closes [#2290](https://github.com/awslabs/aws-cdk/issues/2290)
* **core+cli:** support tagging of stacks ([#2185](https://github.com/awslabs/aws-cdk/issues/2185)) ([d0e19d5](https://github.com/awslabs/aws-cdk/commit/d0e19d5)), closes [#932](https://github.com/awslabs/aws-cdk/issues/932)
* **event-targets:** add support for fargate/awsvpc tasks ([#2707](https://github.com/awslabs/aws-cdk/issues/2707)) ([2754dde](https://github.com/awslabs/aws-cdk/commit/2754dde))
* **events:** support SQS queues as rule targets ([#2683](https://github.com/awslabs/aws-cdk/issues/2683)) ([078e34a](https://github.com/awslabs/aws-cdk/commit/078e34a)), closes [#1786](https://github.com/awslabs/aws-cdk/issues/1786)
* **rds:** add engineVersion to DatabaseCluster ([#2698](https://github.com/awslabs/aws-cdk/issues/2698)) ([0593d51](https://github.com/awslabs/aws-cdk/commit/0593d51)), closes [#2212](https://github.com/awslabs/aws-cdk/issues/2212)
* **rds:** add support for database instances ([#2187](https://github.com/awslabs/aws-cdk/issues/2187)) ([b864041](https://github.com/awslabs/aws-cdk/commit/b864041)), closes [#2075](https://github.com/awslabs/aws-cdk/issues/2075) [#1693](https://github.com/awslabs/aws-cdk/issues/1693)
* **route53:** improve constructs for basic records ([#2741](https://github.com/awslabs/aws-cdk/issues/2741)) ([696f53f](https://github.com/awslabs/aws-cdk/commit/696f53f))
* **s3:** default to KMS if encryptionKey is specified ([#2719](https://github.com/awslabs/aws-cdk/issues/2719)) ([ae4a04f](https://github.com/awslabs/aws-cdk/commit/ae4a04f)), closes [#2714](https://github.com/awslabs/aws-cdk/issues/2714)
* **tokens:** enable type coercion ([#2680](https://github.com/awslabs/aws-cdk/issues/2680)) ([0f54698](https://github.com/awslabs/aws-cdk/commit/0f54698)), closes [#2679](https://github.com/awslabs/aws-cdk/issues/2679)


### BREAKING CHANGES
Copy link
Contributor

@jogold jogold Jun 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following breaking changes from #2187 are missing (were not included in the final PR description):

  • rds.RotationSingleUser renamed to rds.SecretRotation
  • rds.ClusterParameterGroup no longer has setParameter() and removeParameter() methods, use the parameters prop directly in the constructor instead.


* **route53:** `recordValue: string` prop in `route53.TxtRecord` changed to `values: string[]`
* `recordValue` prop in `route53.CnameRecord` renamed to `domainName`
* `route53.AliasRecord` has been removed, use `route53.ARecord` or `route53.AaaaRecord` with the `target` prop.
* **kms:** The `EncryptionKeyAlias` class was renamed to `Alias`.
Associated types (such as `EncryptionKeyAliasProps`) were renamed in the
same way.
* **cli:** This release requires CDK CLI >= 0.34.0
* **core:** `App.run()` was renamed to `App.synth()` (soft deprecation, it will be removed in the next release).
* **cloudwatch:** using an SNS topic as CloudWatch Alarm Actxion now
requires an integration object from the `@aws-cdk/aws-cloudwatch-actions`
package.
* **event-targets:** `targets.EcsEc2Task` renamed to `targets.EcsTask`
* SNS - Subscription `endpoint` is now type `string` (previously `any`)
* Step Functions - `result` in the Pass state is now type `map` (previously `any`)
* the following modules are no longer released: `@aws-cdk/applet-js`, `@aws-cdk/aws-autoscaling-api`, `@aws-cdk/aws-codedeploy-api`
* **cli:** applets are no longer supported as an app type, use "decdk" instead.
* **core:** Properties passed to `addPropertyOverride` should match in capitalization to the CloudFormation schema (normally pascal case). For example, `addPropertyOverride('accessControl', 'xxx')` should now be `addPropertyOverride('AccessControl', 'xxx')`.
* **rds**: `rds.RotationSingleUser` renamed to `rds.SecretRotation`
* **rds**: `rds.ClusterParameterGroup` no longer has `setParameter()` and `removeParameter()` methods, use the parameters prop directly in the constructor instead.



## [0.33.0](https://github.com/awslabs/aws-cdk/compare/v0.32.0...v0.33.0) (2019-05-30)

**IMPORTANT**: apps created with the CDK version 0.33.0 and above cannot be used with an older CLI version.
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.33.0"
"version": "0.34.0"
}
16 changes: 8 additions & 8 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.33.0",
"version": "0.34.0",
"description": "The CDK Construct Library for Alexa::ASK",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -64,19 +64,19 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cfn2ts": "^0.33.0",
"pkglint": "^0.33.0"
"@aws-cdk/assert": "^0.34.0",
"cdk-build-tools": "^0.34.0",
"cfn2ts": "^0.34.0",
"pkglint": "^0.34.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.33.0"
"@aws-cdk/cdk": "^0.34.0"
},
"peerDependencies": {
"@aws-cdk/cdk": "^0.33.0"
"@aws-cdk/cdk": "^0.34.0"
},
"engines": {
"node": ">= 8.10.0"
},
"stability": "experimental"
}
}
42 changes: 21 additions & 21 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.33.0",
"version": "0.34.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"jsii": {
Expand Down Expand Up @@ -38,21 +38,21 @@
"build+test": "npm run build && npm test"
},
"dependencies": {
"@aws-cdk/aws-cloudformation": "^0.33.0",
"@aws-cdk/aws-codebuild": "^0.33.0",
"@aws-cdk/aws-codepipeline": "^0.33.0",
"@aws-cdk/aws-codepipeline-actions": "^0.33.0",
"@aws-cdk/aws-iam": "^0.33.0",
"@aws-cdk/cdk": "^0.33.0",
"@aws-cdk/cx-api": "^0.33.0"
"@aws-cdk/aws-cloudformation": "^0.34.0",
"@aws-cdk/aws-codebuild": "^0.34.0",
"@aws-cdk/aws-codepipeline": "^0.34.0",
"@aws-cdk/aws-codepipeline-actions": "^0.34.0",
"@aws-cdk/aws-iam": "^0.34.0",
"@aws-cdk/cdk": "^0.34.0",
"@aws-cdk/cx-api": "^0.34.0"
},
"devDependencies": {
"@aws-cdk/assert": "^0.33.0",
"@aws-cdk/aws-s3": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cdk-integ-tools": "^0.33.0",
"@aws-cdk/assert": "^0.34.0",
"@aws-cdk/aws-s3": "^0.34.0",
"cdk-build-tools": "^0.34.0",
"cdk-integ-tools": "^0.34.0",
"fast-check": "^1.15.1",
"pkglint": "^0.33.0"
"pkglint": "^0.34.0"
},
"repository": {
"type": "git",
Expand All @@ -71,16 +71,16 @@
"cdk"
],
"peerDependencies": {
"@aws-cdk/aws-cloudformation": "^0.33.0",
"@aws-cdk/aws-codebuild": "^0.33.0",
"@aws-cdk/aws-codepipeline": "^0.33.0",
"@aws-cdk/aws-codepipeline-actions": "^0.33.0",
"@aws-cdk/aws-iam": "^0.33.0",
"@aws-cdk/cdk": "^0.33.0",
"@aws-cdk/cx-api": "^0.33.0"
"@aws-cdk/aws-cloudformation": "^0.34.0",
"@aws-cdk/aws-codebuild": "^0.34.0",
"@aws-cdk/aws-codepipeline": "^0.34.0",
"@aws-cdk/aws-codepipeline-actions": "^0.34.0",
"@aws-cdk/aws-iam": "^0.34.0",
"@aws-cdk/cdk": "^0.34.0",
"@aws-cdk/cx-api": "^0.34.0"
},
"engines": {
"node": ">= 8.10.0"
},
"stability": "experimental"
}
}
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.33.0",
"version": "0.34.0",
"description": "An assertion library for use with CDK Apps",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -27,13 +27,13 @@
"license": "Apache-2.0",
"devDependencies": {
"@types/jest": "^24.0.13",
"cdk-build-tools": "^0.33.0",
"pkglint": "^0.33.0"
"cdk-build-tools": "^0.34.0",
"pkglint": "^0.34.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.33.0",
"@aws-cdk/cloudformation-diff": "^0.33.0",
"@aws-cdk/cx-api": "^0.33.0",
"@aws-cdk/cdk": "^0.34.0",
"@aws-cdk/cloudformation-diff": "^0.34.0",
"@aws-cdk/cx-api": "^0.34.0",
"jest": "^24.8.0",
"source-map-support": "^0.5.12"
},
Expand Down
46 changes: 23 additions & 23 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.33.0",
"version": "0.34.0",
"description": "Docker image assets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -57,34 +57,34 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.33.0",
"@aws-cdk/assert": "^0.34.0",
"@types/proxyquire": "^1.3.28",
"aws-cdk": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cdk-integ-tools": "^0.33.0",
"pkglint": "^0.33.0",
"aws-cdk": "^0.34.0",
"cdk-build-tools": "^0.34.0",
"cdk-integ-tools": "^0.34.0",
"pkglint": "^0.34.0",
"proxyquire": "^2.1.0"
},
"dependencies": {
"@aws-cdk/assets": "^0.33.0",
"@aws-cdk/aws-cloudformation": "^0.33.0",
"@aws-cdk/aws-ecr": "^0.33.0",
"@aws-cdk/aws-iam": "^0.33.0",
"@aws-cdk/aws-lambda": "^0.33.0",
"@aws-cdk/aws-s3": "^0.33.0",
"@aws-cdk/cdk": "^0.33.0",
"@aws-cdk/cx-api": "^0.33.0"
"@aws-cdk/assets": "^0.34.0",
"@aws-cdk/aws-cloudformation": "^0.34.0",
"@aws-cdk/aws-ecr": "^0.34.0",
"@aws-cdk/aws-iam": "^0.34.0",
"@aws-cdk/aws-lambda": "^0.34.0",
"@aws-cdk/aws-s3": "^0.34.0",
"@aws-cdk/cdk": "^0.34.0",
"@aws-cdk/cx-api": "^0.34.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/assets": "^0.33.0",
"@aws-cdk/aws-cloudformation": "^0.33.0",
"@aws-cdk/aws-ecr": "^0.33.0",
"@aws-cdk/aws-iam": "^0.33.0",
"@aws-cdk/aws-lambda": "^0.33.0",
"@aws-cdk/aws-s3": "^0.33.0",
"@aws-cdk/cdk": "^0.33.0",
"@aws-cdk/cx-api": "^0.33.0"
"@aws-cdk/assets": "^0.34.0",
"@aws-cdk/aws-cloudformation": "^0.34.0",
"@aws-cdk/aws-ecr": "^0.34.0",
"@aws-cdk/aws-iam": "^0.34.0",
"@aws-cdk/aws-lambda": "^0.34.0",
"@aws-cdk/aws-s3": "^0.34.0",
"@aws-cdk/cdk": "^0.34.0",
"@aws-cdk/cx-api": "^0.34.0"
},
"nyc": {
"statements": 70
Expand All @@ -93,4 +93,4 @@
"node": ">= 8.10.0"
},
"stability": "experimental"
}
}
30 changes: 15 additions & 15 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.33.0",
"version": "0.34.0",
"description": "Integration of CDK apps with local assets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -61,29 +61,29 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.33.0",
"@aws-cdk/assert": "^0.34.0",
"@types/minimatch": "^3.0.3",
"@types/sinon": "^7.0.12",
"aws-cdk": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cdk-integ-tools": "^0.33.0",
"pkglint": "^0.33.0",
"aws-cdk": "^0.34.0",
"cdk-build-tools": "^0.34.0",
"cdk-integ-tools": "^0.34.0",
"pkglint": "^0.34.0",
"sinon": "^7.3.2",
"ts-mock-imports": "^1.2.3"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.33.0",
"@aws-cdk/aws-s3": "^0.33.0",
"@aws-cdk/cdk": "^0.33.0",
"@aws-cdk/cx-api": "^0.33.0",
"@aws-cdk/aws-iam": "^0.34.0",
"@aws-cdk/aws-s3": "^0.34.0",
"@aws-cdk/cdk": "^0.34.0",
"@aws-cdk/cx-api": "^0.34.0",
"minimatch": "^3.0.4"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-iam": "^0.33.0",
"@aws-cdk/aws-s3": "^0.33.0",
"@aws-cdk/cdk": "^0.33.0",
"@aws-cdk/cx-api": "^0.33.0"
"@aws-cdk/aws-iam": "^0.34.0",
"@aws-cdk/aws-s3": "^0.34.0",
"@aws-cdk/cdk": "^0.34.0",
"@aws-cdk/cx-api": "^0.34.0"
},
"engines": {
"node": ">= 8.10.0"
Expand All @@ -92,4 +92,4 @@
"minimatch"
],
"stability": "experimental"
}
}
16 changes: 8 additions & 8 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.33.0",
"version": "0.34.0",
"description": "The CDK Construct Library for AWS::AmazonMQ",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -64,19 +64,19 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cfn2ts": "^0.33.0",
"pkglint": "^0.33.0"
"@aws-cdk/assert": "^0.34.0",
"cdk-build-tools": "^0.34.0",
"cfn2ts": "^0.34.0",
"pkglint": "^0.34.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.33.0"
"@aws-cdk/cdk": "^0.34.0"
},
"peerDependencies": {
"@aws-cdk/cdk": "^0.33.0"
"@aws-cdk/cdk": "^0.34.0"
},
"engines": {
"node": ">= 8.10.0"
},
"stability": "experimental"
}
}
Loading