Skip to content

Commit

Permalink
v0.33.0 (#2682)
Browse files Browse the repository at this point in the history
See CHANGELOG
  • Loading branch information
Elad Ben-Israel authored May 30, 2019
1 parent 2ba5ad2 commit b2feaee
Show file tree
Hide file tree
Showing 128 changed files with 1,627 additions and 1,579 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,54 @@

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.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.

### Bug Fixes

* **core:** Fn.cidr should return a list and not a string ([#2678](https://github.com/awslabs/aws-cdk/issues/2678)) ([9d2ea2a](https://github.com/awslabs/aws-cdk/commit/9d2ea2a)), closes [#2671](https://github.com/awslabs/aws-cdk/issues/2671)
* **cli:** fix ts-node usage on Windows ([#2660](https://github.com/awslabs/aws-cdk/issues/2660)) ([5fe0af5](https://github.com/awslabs/aws-cdk/commit/5fe0af5))
* **cli:** make `cdk docs` open the new API reference ([#2633](https://github.com/awslabs/aws-cdk/issues/2633)) ([6450758](https://github.com/awslabs/aws-cdk/commit/6450758))
* **cli:** correctly pass build args to docker build ([#2634](https://github.com/awslabs/aws-cdk/issues/2634)) ([9c58d6f](https://github.com/awslabs/aws-cdk/commit/9c58d6f))
* **core:** hide `dependencyRoots` from public API ([#2668](https://github.com/awslabs/aws-cdk/issues/2668)) ([2ba5ad2](https://github.com/awslabs/aws-cdk/commit/2ba5ad2)), closes [#2348](https://github.com/awslabs/aws-cdk/issues/2348)
* **autoscaling:** move lifecycle hook targets to their own module ([#2628](https://github.com/awslabs/aws-cdk/issues/2628)) ([b282132](https://github.com/awslabs/aws-cdk/commit/b282132)), closes [#2447](https://github.com/awslabs/aws-cdk/issues/2447)
* **codepipeline:** no longer allow providing an index when adding a Stage to a Pipeline. ([#2624](https://github.com/awslabs/aws-cdk/issues/2624)) ([ce39b12](https://github.com/awslabs/aws-cdk/commit/ce39b12))
* **codepipeline-actions:** correctly serialize the userParameters passed to the Lambda invoke Action. ([#2537](https://github.com/awslabs/aws-cdk/issues/2537)) ([ceaf54a](https://github.com/awslabs/aws-cdk/commit/ceaf54a))
* **cx-api:** improve compatibility messages for cli <=> app ([#2676](https://github.com/awslabs/aws-cdk/issues/2676)) ([38a9894](https://github.com/awslabs/aws-cdk/commit/38a9894))
* **ecs:** move high level ECS constructs into aws-ecs-patterns ([#2623](https://github.com/awslabs/aws-cdk/issues/2623)) ([f901313](https://github.com/awslabs/aws-cdk/commit/f901313))
* **logs:** move log destinations into 'aws-logs-destinations' ([#2655](https://github.com/awslabs/aws-cdk/issues/2655)) ([01601c2](https://github.com/awslabs/aws-cdk/commit/01601c2)), closes [#2444](https://github.com/awslabs/aws-cdk/issues/2444)
* **s3:** move notification destinations into their own module ([#2659](https://github.com/awslabs/aws-cdk/issues/2659)) ([185951c](https://github.com/awslabs/aws-cdk/commit/185951c)), closes [#2445](https://github.com/awslabs/aws-cdk/issues/2445)

### Features

* **cli:** decouple "synth" and "deploy" through cloud assemblies ([#2636](https://github.com/awslabs/aws-cdk/issues/2636)) ([c52bcfc](https://github.com/awslabs/aws-cdk/commit/c52bcfc)), closes [#1893](https://github.com/awslabs/aws-cdk/issues/1893) [#2093](https://github.com/awslabs/aws-cdk/issues/2093) [#1954](https://github.com/awslabs/aws-cdk/issues/1954) [#2310](https://github.com/awslabs/aws-cdk/issues/2310) [#2073](https://github.com/awslabs/aws-cdk/issues/2073) [#1245](https://github.com/awslabs/aws-cdk/issues/1245) [#341](https://github.com/awslabs/aws-cdk/issues/341) [#956](https://github.com/awslabs/aws-cdk/issues/956) [#233](https://github.com/awslabs/aws-cdk/issues/233) [#2016](https://github.com/awslabs/aws-cdk/issues/2016)
* **acm:** allow specifying region for validated certificates ([#2626](https://github.com/awslabs/aws-cdk/issues/2626)) ([1a7d4db](https://github.com/awslabs/aws-cdk/commit/1a7d4db))
* **apigateway:** support for UsagePlan, ApiKey, UsagePlanKey ([#2564](https://github.com/awslabs/aws-cdk/issues/2564)) ([203f114](https://github.com/awslabs/aws-cdk/commit/203f114)), closes [#723](https://github.com/awslabs/aws-cdk/issues/723)
* **autoscaling:** allow setting spotPrice ([#2571](https://github.com/awslabs/aws-cdk/issues/2571)) ([d640055](https://github.com/awslabs/aws-cdk/commit/d640055)), closes [#2208](https://github.com/awslabs/aws-cdk/issues/2208)
* **cfn:** update CloudFormation spec to v3.3.0 ([#2669](https://github.com/awslabs/aws-cdk/issues/2669)) ([0f553ee](https://github.com/awslabs/aws-cdk/commit/0f553ee))
* **cli:** disable `noUnusedLocals` and `noUnusedParameters` from typescript templates ([#2654](https://github.com/awslabs/aws-cdk/issues/2654)) ([b061826](https://github.com/awslabs/aws-cdk/commit/b061826))
* **cloudformation:** aws-api custom resource ([#1850](https://github.com/awslabs/aws-cdk/issues/1850)) ([9a48b66](https://github.com/awslabs/aws-cdk/commit/9a48b66))
* **cloudwatch:** support all Y-Axis properties ([#2406](https://github.com/awslabs/aws-cdk/issues/2406)) ([8904c3e](https://github.com/awslabs/aws-cdk/commit/8904c3e)), closes [#2385](https://github.com/awslabs/aws-cdk/issues/2385)


### BREAKING CHANGES

* **logs:** using a Lambda or Kinesis Stream as CloudWatch log subscription destination now requires an integration object from the `@aws-cdk/aws-logs-destinations` package.
* **codepipeline-actions:** removed the `addPutJobResultPolicy` property when creating LambdaInvokeAction.
* **cli:** `--interactive` has been removed
* **cli:** `--numbered` has been removed
* **cli:** `--staging` is now a boolean flag that indicates whether assets should be copied to the `--output` directory or directly referenced (`--no-staging` is useful for e.g. local debugging with SAM CLI)
* **assets:** Assets (e.g. Lambda code assets) are now referenced relative to the output directory.
* **assert:** `SynthUtils.templateForStackName` has been removed (use `SynthUtils.synthesize(stack).template`).
* **cx-api:** `cxapi.SynthesizedStack` renamed to `cxapi.CloudFormationStackArtifact` with multiple API changes.
* **core:** `cdk.App.run()` now returns a `cxapi.CloudAssembly` instead of `cdk.ISynthesisSession`.
* **s3:** using a Topic, Queue or Lambda as bucket notification destination now requires an integration object from the `@aws-cdk/aws-s3-notifications` package.
* **autoscaling:** using a Topic, Queue or Lambda as Lifecycle Hook Target now requires an integration object from the `@aws-cdk/aws-autoscaling-hooktargets` package.
* **codepipeline:** the property atIndex has been removed from the StagePlacement interface.
* **aws-ecs:** These changes move all L3 and higher constructs out of the aws-ecs module into the aws-ecs-patterns module. The following constructs have been moved into the aws-ecs-patterns module: `EcsQueueWorkerService`, `FargateQueueWorkerService`, `LoadBalancedEcsService`, `LoadBalancedFargateService` and `LoadBalancedFargateServiceApplets`.
* **cloudwatch:** rename `leftAxisRange` => `leftYAxis`, `rightAxisRange` => `rightYAxis`, rename `YAxisRange` => `YAxisProps`.


## [0.32.0](https://github.com/awslabs/aws-cdk/compare/v0.31.0...v0.32.0) (2019-05-24)

Expand Down
9 changes: 5 additions & 4 deletions bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ export NODE_OPTIONS="--max-old-space-size=4096 ${NODE_OPTIONS:-}"

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

# align "peerDependencies" to actual dependencies after bump
# this is technically only required for major version bumps, but in the meantime we shall do it in every bump
/bin/bash scripts/fix-peer-deps.sh

# Update CHANGELOG.md only at the root
cat > /tmp/context.json <<HERE
{
Expand All @@ -24,3 +20,8 @@ cat > /tmp/context.json <<HERE
HERE

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

# align "peerDependencies" to actual dependencies after bump
# this is technically only required for major version bumps, but in the meantime we shall do it in every bump
/bin/bash scripts/fix-peer-deps.sh

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.32.0"
"version": "0.33.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.32.0",
"version": "0.33.0",
"description": "The CDK Construct Library for Alexa::ASK",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -61,18 +61,18 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.32.0",
"cdk-build-tools": "^0.32.0",
"cfn2ts": "^0.32.0",
"pkglint": "^0.32.0"
"@aws-cdk/assert": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cfn2ts": "^0.33.0",
"pkglint": "^0.33.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.32.0"
"@aws-cdk/cdk": "^0.33.0"
},
"peerDependencies": {
"@aws-cdk/cdk": "^0.32.0"
"@aws-cdk/cdk": "^0.33.0"
},
"engines": {
"node": ">= 8.10.0"
}
}
}
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.32.0",
"version": "0.33.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.32.0",
"@aws-cdk/aws-codebuild": "^0.32.0",
"@aws-cdk/aws-codepipeline": "^0.32.0",
"@aws-cdk/aws-codepipeline-actions": "^0.32.0",
"@aws-cdk/aws-iam": "^0.32.0",
"@aws-cdk/cdk": "^0.32.0",
"@aws-cdk/cx-api": "^0.32.0"
"@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"
},
"devDependencies": {
"@aws-cdk/assert": "^0.32.0",
"@aws-cdk/aws-s3": "^0.32.0",
"cdk-build-tools": "^0.32.0",
"cdk-integ-tools": "^0.32.0",
"@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",
"fast-check": "^1.14.0",
"pkglint": "^0.32.0"
"pkglint": "^0.33.0"
},
"repository": {
"type": "git",
Expand All @@ -71,15 +71,15 @@
"cdk"
],
"peerDependencies": {
"@aws-cdk/aws-cloudformation": "^0.32.0",
"@aws-cdk/aws-codebuild": "^0.32.0",
"@aws-cdk/aws-codepipeline": "^0.32.0",
"@aws-cdk/aws-codepipeline-actions": "^0.32.0",
"@aws-cdk/aws-iam": "^0.32.0",
"@aws-cdk/cdk": "^0.32.0",
"@aws-cdk/cx-api": "^0.32.0"
"@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"
},
"engines": {
"node": ">= 8.10.0"
}
}
}
6 changes: 3 additions & 3 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.32.0",
"version": "0.33.0",
"deprecated": "Applets have been deprecated in favor of 'decdk'",
"description": "Javascript CDK applet host program",
"main": "bin/cdk-applet-js.js",
Expand All @@ -26,8 +26,8 @@
"license": "Apache-2.0",
"devDependencies": {
"@types/fs-extra": "^5.0.5",
"cdk-build-tools": "^0.32.0",
"pkglint": "^0.32.0"
"cdk-build-tools": "^0.33.0",
"pkglint": "^0.33.0"
},
"repository": {
"url": "https://github.com/awslabs/aws-cdk.git",
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.32.0",
"version": "0.33.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.11",
"cdk-build-tools": "^0.32.0",
"pkglint": "^0.32.0"
"cdk-build-tools": "^0.33.0",
"pkglint": "^0.33.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.32.0",
"@aws-cdk/cloudformation-diff": "^0.32.0",
"@aws-cdk/cx-api": "^0.32.0",
"@aws-cdk/cdk": "^0.33.0",
"@aws-cdk/cloudformation-diff": "^0.33.0",
"@aws-cdk/cx-api": "^0.33.0",
"jest": "^24.7.1",
"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.32.0",
"version": "0.33.0",
"description": "Docker image assets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -57,39 +57,39 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.32.0",
"@aws-cdk/assert": "^0.33.0",
"@types/proxyquire": "^1.3.28",
"aws-cdk": "^0.32.0",
"cdk-build-tools": "^0.32.0",
"cdk-integ-tools": "^0.32.0",
"pkglint": "^0.32.0",
"aws-cdk": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cdk-integ-tools": "^0.33.0",
"pkglint": "^0.33.0",
"proxyquire": "^2.1.0"
},
"dependencies": {
"@aws-cdk/assets": "^0.32.0",
"@aws-cdk/aws-cloudformation": "^0.32.0",
"@aws-cdk/aws-ecr": "^0.32.0",
"@aws-cdk/aws-iam": "^0.32.0",
"@aws-cdk/aws-lambda": "^0.32.0",
"@aws-cdk/aws-s3": "^0.32.0",
"@aws-cdk/cdk": "^0.32.0",
"@aws-cdk/cx-api": "^0.32.0"
"@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"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/assets": "^0.32.0",
"@aws-cdk/aws-cloudformation": "^0.32.0",
"@aws-cdk/aws-ecr": "^0.32.0",
"@aws-cdk/aws-iam": "^0.32.0",
"@aws-cdk/aws-lambda": "^0.32.0",
"@aws-cdk/aws-s3": "^0.32.0",
"@aws-cdk/cdk": "^0.32.0",
"@aws-cdk/cx-api": "^0.32.0"
"@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"
},
"nyc": {
"statements": 70
},
"engines": {
"node": ">= 8.10.0"
}
}
}
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.32.0",
"version": "0.33.0",
"description": "Integration of CDK apps with local assets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -61,34 +61,34 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.32.0",
"@aws-cdk/assert": "^0.33.0",
"@types/minimatch": "^3.0.3",
"@types/sinon": "^7.0.11",
"aws-cdk": "^0.32.0",
"cdk-build-tools": "^0.32.0",
"cdk-integ-tools": "^0.32.0",
"pkglint": "^0.32.0",
"aws-cdk": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cdk-integ-tools": "^0.33.0",
"pkglint": "^0.33.0",
"sinon": "^7.3.2",
"ts-mock-imports": "^1.2.3"
},
"dependencies": {
"@aws-cdk/aws-iam": "^0.32.0",
"@aws-cdk/aws-s3": "^0.32.0",
"@aws-cdk/cdk": "^0.32.0",
"@aws-cdk/cx-api": "^0.32.0",
"@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",
"minimatch": "^3.0.4"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-iam": "^0.32.0",
"@aws-cdk/aws-s3": "^0.32.0",
"@aws-cdk/cdk": "^0.32.0",
"@aws-cdk/cx-api": "^0.32.0"
"@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"
},
"engines": {
"node": ">= 8.10.0"
},
"bundledDependencies": [
"minimatch"
]
}
}
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.32.0",
"version": "0.33.0",
"description": "The CDK Construct Library for AWS::AmazonMQ",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -61,18 +61,18 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.32.0",
"cdk-build-tools": "^0.32.0",
"cfn2ts": "^0.32.0",
"pkglint": "^0.32.0"
"@aws-cdk/assert": "^0.33.0",
"cdk-build-tools": "^0.33.0",
"cfn2ts": "^0.33.0",
"pkglint": "^0.33.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.32.0"
"@aws-cdk/cdk": "^0.33.0"
},
"peerDependencies": {
"@aws-cdk/cdk": "^0.32.0"
"@aws-cdk/cdk": "^0.33.0"
},
"engines": {
"node": ">= 8.10.0"
}
}
}
Loading

0 comments on commit b2feaee

Please sign in to comment.