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.22.0 #1518

Merged
merged 2 commits into from
Jan 11, 2019
Merged

v0.22.0 #1518

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

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.22.0](https://github.com/awslabs/aws-cdk/compare/v0.21.0...v0.22.0) (2019-01-10)

This is a major release with multiple breaking changes in the core layers.
Please consult the __breaking changes__ section below for details.

We are focusing these days on finalizing the common patterns and APIs of the CDK
framework and the AWS Construct Library, which is why you are seeing all these
breaking changes. Expect a few more releases with changes of that nature as we
stabilize these APIs, so you might want to hold off with upgrading. We will
communicate when this foundational work is complete.

### Bug Fixes

* **core:** automatic cross-stack refs for CFN resources ([#1510](https://github.com/awslabs/aws-cdk/issues/1510)) ([ca5ee35](https://github.com/awslabs/aws-cdk/commit/ca5ee35))
* **ecs:** correct typo and other minor mistakes in ecs readme ([#1448](https://github.com/awslabs/aws-cdk/issues/1448)) ([9c91b20](https://github.com/awslabs/aws-cdk/commit/9c91b20))
* **elbv2:** unable to specify load balancer name ([#1486](https://github.com/awslabs/aws-cdk/issues/1486)) ([5b24583](https://github.com/awslabs/aws-cdk/commit/5b24583)), closes [#973](https://github.com/awslabs/aws-cdk/issues/973) [#1481](https://github.com/awslabs/aws-cdk/issues/1481)
* **lambda:** use IRole instead of Role to allow imports ([#1509](https://github.com/awslabs/aws-cdk/issues/1509)) ([b909dcd](https://github.com/awslabs/aws-cdk/commit/b909dcd))
* **toolkit:** fix typo in --rename option description ([#1438](https://github.com/awslabs/aws-cdk/issues/1438)) ([1dd56d4](https://github.com/awslabs/aws-cdk/commit/1dd56d4))
* **toolkit:** support multiple toolkit stacks in the same environment ([#1427](https://github.com/awslabs/aws-cdk/issues/1427)) ([095da14](https://github.com/awslabs/aws-cdk/commit/095da14)), closes [#1416](https://github.com/awslabs/aws-cdk/issues/1416)

### Features

* **apigateway:** add tracingEnabled property to APIGW Stage ([#1482](https://github.com/awslabs/aws-cdk/issues/1482)) ([fefa764](https://github.com/awslabs/aws-cdk/commit/fefa764))
* **assets:** enable local tooling scenarios such as lambda debugging ([#1433](https://github.com/awslabs/aws-cdk/issues/1433)) ([0d2b633](https://github.com/awslabs/aws-cdk/commit/0d2b633)), closes [#1432](https://github.com/awslabs/aws-cdk/issues/1432)
* **aws-cdk:** better stack dependency handling ([#1511](https://github.com/awslabs/aws-cdk/issues/1511)) ([b4bbaf0](https://github.com/awslabs/aws-cdk/commit/b4bbaf0)), closes [#1508](https://github.com/awslabs/aws-cdk/issues/1508) [#1505](https://github.com/awslabs/aws-cdk/issues/1505)
* **aws-codepipeline:** jenkins build and test actions ([#1216](https://github.com/awslabs/aws-cdk/issues/1216)) ([471e8eb](https://github.com/awslabs/aws-cdk/commit/471e8eb))
* **aws-codepipeline:** support notifications on the ManualApprovalAction ([#1368](https://github.com/awslabs/aws-cdk/issues/1368)) ([068fa46](https://github.com/awslabs/aws-cdk/commit/068fa46)), closes [#1222](https://github.com/awslabs/aws-cdk/issues/1222)
* **aws-ecs:** add support Amazon Linux 2 ([#1484](https://github.com/awslabs/aws-cdk/issues/1484)) ([82ec0ff](https://github.com/awslabs/aws-cdk/commit/82ec0ff)), closes [#1483](https://github.com/awslabs/aws-cdk/issues/1483)
* **aws-kms:** allow tagging kms keys ([#1485](https://github.com/awslabs/aws-cdk/issues/1485)) ([f43b4d4](https://github.com/awslabs/aws-cdk/commit/f43b4d4))
* **aws-lambda:** add input and output artifacts to the CodePipeline action ([#1390](https://github.com/awslabs/aws-cdk/issues/1390)) ([fbd7728](https://github.com/awslabs/aws-cdk/commit/fbd7728)), closes [#1384](https://github.com/awslabs/aws-cdk/issues/1384)
* **cdk:** transparently use constructs from another stack ([d7371f0](https://github.com/awslabs/aws-cdk/commit/d7371f0)), closes [#1324](https://github.com/awslabs/aws-cdk/issues/1324)
* **cli:** allow specifying options using env vars ([#1447](https://github.com/awslabs/aws-cdk/issues/1447)) ([7cd84a0](https://github.com/awslabs/aws-cdk/commit/7cd84a0))
* aws resource api linting (breaking changes) ([#1434](https://github.com/awslabs/aws-cdk/issues/1434)) ([8c17ca7](https://github.com/awslabs/aws-cdk/commit/8c17ca7)), closes [#742](https://github.com/awslabs/aws-cdk/issues/742) [#1428](https://github.com/awslabs/aws-cdk/issues/1428)
* **core:** cloudformation condition chaining ([#1494](https://github.com/awslabs/aws-cdk/issues/1494)) ([2169015](https://github.com/awslabs/aws-cdk/commit/2169015)), closes [#1457](https://github.com/awslabs/aws-cdk/issues/1457)
* **diff:** better diff of arbitrary json objects ([#1488](https://github.com/awslabs/aws-cdk/issues/1488)) ([607f997](https://github.com/awslabs/aws-cdk/commit/607f997))
* **route53:** support cname records ([#1487](https://github.com/awslabs/aws-cdk/issues/1487)) ([17eddd1](https://github.com/awslabs/aws-cdk/commit/17eddd1)), closes [#1420](https://github.com/awslabs/aws-cdk/issues/1420)
* **step-functions:** support parameters option ([#1492](https://github.com/awslabs/aws-cdk/issues/1492)) ([935054a](https://github.com/awslabs/aws-cdk/commit/935054a)), closes [#1480](https://github.com/awslabs/aws-cdk/issues/1480)
* **core:** construct base class changes (breaking) ([#1444](https://github.com/awslabs/aws-cdk/issues/1444)) ([fb22a32](https://github.com/awslabs/aws-cdk/commit/fb22a32)), closes [#1431](https://github.com/awslabs/aws-cdk/issues/1431) [#1441](https://github.com/awslabs/aws-cdk/issues/1441) [#189](https://github.com/awslabs/aws-cdk/issues/189) [#1441](https://github.com/awslabs/aws-cdk/issues/1441) [#1431](https://github.com/awslabs/aws-cdk/issues/1431)
* **core:** idiomize cloudformation intrinsics functions ([#1428](https://github.com/awslabs/aws-cdk/issues/1428)) ([04217a5](https://github.com/awslabs/aws-cdk/commit/04217a5)), closes [#202](https://github.com/awslabs/aws-cdk/issues/202)
* **cloudformation:** no more generated attribute types in CFN layer (L1) ([#1489](https://github.com/awslabs/aws-cdk/issues/1489)) ([4d6d5ca](https://github.com/awslabs/aws-cdk/commit/4d6d5ca)), closes [#1455](https://github.com/awslabs/aws-cdk/issues/1455) [#1406](https://github.com/awslabs/aws-cdk/issues/1406)
* **cloudformation:** stop generating legacy cloudformation resources ([#1493](https://github.com/awslabs/aws-cdk/issues/1493)) ([81b4174](https://github.com/awslabs/aws-cdk/commit/81b4174))


### BREAKING CHANGES

* **Cross-stack references:** if you are using `export()` and `import()` to share constructs between stacks, you can stop doing that, instead of `FooImportProps` accept an `IFoo` directly on the consuming stack, and use that object as usual.
* `ArnUtils.fromComponents()` and `ArnUtils.parse()` have been moved onto `Stack`.
* All CloudFormation pseudo-parameter (such as `AWS::AccountId` etc) are now also accessible via `Stack`, as `stack.accountId` etc.
* All CloudFormation intrinsic functions are now represented as static methods under the `Fn` class (e.g. `Fn.join(...)` instead of `new FnJoin(...).toString()`)
* `resolve()` has been moved to `this.node.resolve()`.
* `CloudFormationJSON.stringify()` has been moved to `this.node.stringifyJson()`. `validate()` now should be `protected`.
* The deprecated `cloudformation.XxxResource` classes have been removed. Use the `CfnXxx` classes instead.
* Any `CfnXxx` resource attributes that represented a list of strings are now typed as `string[]`s (via #1144). Attributes that represent strings, are still typed as `string` (#712) and all other attribute types are represented as `cdk.Token`.
* **route53:** The `route53.TXTRecord` class was renamed to `route53.TxtRecord`.
* **route53:** record classes now require a `zone` when created (not assuming zone is the parent construct).
* **lambda:** the static "metric" methods moved from `lambda.FunctionRef` to `lambda.Function`.
* Many AWS resource classes have been changed to conform to API guidelines:
- `XxxRef` abstract classes are now `IXxx` interfaces
- `XxxRefProps` are now `XxxImportProps`
- `XxxRef.import(...)` are now `Xxx.import(...)` accept `XxxImportProps` and return `IXxx`
- `export(): XxxImportProps` is now defined in `IXxx` and implemented by imported resources


# [0.21.0](https://github.com/awslabs/aws-cdk/compare/v0.20.0...v0.21.0) (2018-12-20)


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.21.0",
"version": "0.22.0",
"description": "CDK examples in Java",
"private": true,
"repository": {
Expand All @@ -22,7 +22,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"aws-cdk": "^0.21.0",
"pkgtools": "^0.21.0"
"aws-cdk": "^0.22.0",
"pkgtools": "^0.22.0"
}
}
42 changes: 21 additions & 21 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.21.0",
"version": "0.22.0",
"description": "A bunch of CDK examples",
"private": true,
"scripts": {
Expand All @@ -18,28 +18,28 @@
},
"license": "Apache-2.0",
"devDependencies": {
"aws-cdk": "^0.21.0",
"cdk-build-tools": "^0.21.0",
"pkglint": "^0.21.0"
"aws-cdk": "^0.22.0",
"cdk-build-tools": "^0.22.0",
"pkglint": "^0.22.0"
},
"dependencies": {
"@aws-cdk/aws-autoscaling": "^0.21.0",
"@aws-cdk/aws-cloudformation": "^0.21.0",
"@aws-cdk/aws-cognito": "^0.21.0",
"@aws-cdk/aws-dynamodb": "^0.21.0",
"@aws-cdk/aws-ec2": "^0.21.0",
"@aws-cdk/aws-ecs": "^0.21.0",
"@aws-cdk/aws-elasticloadbalancing": "^0.21.0",
"@aws-cdk/aws-elasticloadbalancingv2": "^0.21.0",
"@aws-cdk/aws-iam": "^0.21.0",
"@aws-cdk/aws-lambda": "^0.21.0",
"@aws-cdk/aws-neptune": "^0.21.0",
"@aws-cdk/aws-rds": "^0.21.0",
"@aws-cdk/aws-s3": "^0.21.0",
"@aws-cdk/aws-sns": "^0.21.0",
"@aws-cdk/aws-sqs": "^0.21.0",
"@aws-cdk/cdk": "^0.21.0",
"@aws-cdk/runtime-values": "^0.21.0"
"@aws-cdk/aws-autoscaling": "^0.22.0",
"@aws-cdk/aws-cloudformation": "^0.22.0",
"@aws-cdk/aws-cognito": "^0.22.0",
"@aws-cdk/aws-dynamodb": "^0.22.0",
"@aws-cdk/aws-ec2": "^0.22.0",
"@aws-cdk/aws-ecs": "^0.22.0",
"@aws-cdk/aws-elasticloadbalancing": "^0.22.0",
"@aws-cdk/aws-elasticloadbalancingv2": "^0.22.0",
"@aws-cdk/aws-iam": "^0.22.0",
"@aws-cdk/aws-lambda": "^0.22.0",
"@aws-cdk/aws-neptune": "^0.22.0",
"@aws-cdk/aws-rds": "^0.22.0",
"@aws-cdk/aws-s3": "^0.22.0",
"@aws-cdk/aws-sns": "^0.22.0",
"@aws-cdk/aws-sqs": "^0.22.0",
"@aws-cdk/cdk": "^0.22.0",
"@aws-cdk/runtime-values": "^0.22.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 @@ -14,5 +14,5 @@
}
},
"rejectCycles": "true",
"version": "0.21.0"
"version": "0.22.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.21.0",
"version": "0.22.0",
"description": "The CDK Construct Library for Alexa::ASK",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -55,18 +55,18 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.21.0",
"cdk-build-tools": "^0.21.0",
"cfn2ts": "^0.21.0",
"pkglint": "^0.21.0"
"@aws-cdk/assert": "^0.22.0",
"cdk-build-tools": "^0.22.0",
"cfn2ts": "^0.22.0",
"pkglint": "^0.22.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.21.0"
"@aws-cdk/cdk": "^0.22.0"
},
"peerDependencies": {
"@aws-cdk/cdk": "^0.21.0"
"@aws-cdk/cdk": "^0.22.0"
},
"engines": {
"node": ">= 8.10.0"
}
}
}
36 changes: 18 additions & 18 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.21.0",
"version": "0.22.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"jsii": {
Expand Down Expand Up @@ -33,21 +33,21 @@
"awslint": "cdk-awslint"
},
"dependencies": {
"@aws-cdk/aws-cloudformation": "^0.21.0",
"@aws-cdk/aws-codebuild": "^0.21.0",
"@aws-cdk/aws-codepipeline-api": "^0.21.0",
"@aws-cdk/aws-iam": "^0.21.0",
"@aws-cdk/cdk": "^0.21.0",
"@aws-cdk/cx-api": "^0.21.0"
"@aws-cdk/aws-cloudformation": "^0.22.0",
"@aws-cdk/aws-codebuild": "^0.22.0",
"@aws-cdk/aws-codepipeline-api": "^0.22.0",
"@aws-cdk/aws-iam": "^0.22.0",
"@aws-cdk/cdk": "^0.22.0",
"@aws-cdk/cx-api": "^0.22.0"
},
"devDependencies": {
"@aws-cdk/assert": "^0.21.0",
"@aws-cdk/aws-codepipeline": "^0.21.0",
"@aws-cdk/aws-s3": "^0.21.0",
"cdk-build-tools": "^0.21.0",
"cdk-integ-tools": "^0.21.0",
"@aws-cdk/assert": "^0.22.0",
"@aws-cdk/aws-codepipeline": "^0.22.0",
"@aws-cdk/aws-s3": "^0.22.0",
"cdk-build-tools": "^0.22.0",
"cdk-integ-tools": "^0.22.0",
"fast-check": "^1.7.0",
"pkglint": "^0.21.0"
"pkglint": "^0.22.0"
},
"repository": {
"type": "git",
Expand All @@ -65,12 +65,12 @@
"cdk"
],
"peerDependencies": {
"@aws-cdk/aws-cloudformation": "^0.21.0",
"@aws-cdk/aws-codepipeline-api": "^0.21.0",
"@aws-cdk/aws-iam": "^0.21.0",
"@aws-cdk/cdk": "^0.21.0"
"@aws-cdk/aws-cloudformation": "^0.22.0",
"@aws-cdk/aws-codepipeline-api": "^0.22.0",
"@aws-cdk/aws-iam": "^0.22.0",
"@aws-cdk/cdk": "^0.22.0"
},
"engines": {
"node": ">= 8.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.21.0",
"version": "0.22.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.21.0",
"pkglint": "^0.21.0"
"cdk-build-tools": "^0.22.0",
"pkglint": "^0.22.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.21.0",
"@aws-cdk/cdk": "^0.22.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.21.0",
"version": "0.22.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.21.0",
"pkglint": "^0.21.0"
"cdk-build-tools": "^0.22.0",
"pkglint": "^0.22.0"
},
"dependencies": {
"@aws-cdk/cdk": "^0.21.0",
"@aws-cdk/cloudformation-diff": "^0.21.0",
"@aws-cdk/cx-api": "^0.21.0",
"@aws-cdk/cdk": "^0.22.0",
"@aws-cdk/cloudformation-diff": "^0.22.0",
"@aws-cdk/cx-api": "^0.22.0",
"source-map-support": "^0.5.6"
},
"repository": {
Expand Down
36 changes: 18 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.21.0",
"version": "0.22.0",
"description": "Docker image assets",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -51,31 +51,31 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "^0.21.0",
"@aws-cdk/assert": "^0.22.0",
"@types/proxyquire": "^1.3.28",
"aws-cdk": "^0.21.0",
"cdk-build-tools": "^0.21.0",
"cdk-integ-tools": "^0.21.0",
"pkglint": "^0.21.0",
"aws-cdk": "^0.22.0",
"cdk-build-tools": "^0.22.0",
"cdk-integ-tools": "^0.22.0",
"pkglint": "^0.22.0",
"proxyquire": "^2.1.0"
},
"dependencies": {
"@aws-cdk/aws-cloudformation": "^0.21.0",
"@aws-cdk/aws-ecr": "^0.21.0",
"@aws-cdk/aws-iam": "^0.21.0",
"@aws-cdk/aws-lambda": "^0.21.0",
"@aws-cdk/aws-s3": "^0.21.0",
"@aws-cdk/cdk": "^0.21.0",
"@aws-cdk/cx-api": "^0.21.0"
"@aws-cdk/aws-cloudformation": "^0.22.0",
"@aws-cdk/aws-ecr": "^0.22.0",
"@aws-cdk/aws-iam": "^0.22.0",
"@aws-cdk/aws-lambda": "^0.22.0",
"@aws-cdk/aws-s3": "^0.22.0",
"@aws-cdk/cdk": "^0.22.0",
"@aws-cdk/cx-api": "^0.22.0"
},
"homepage": "https://github.com/awslabs/aws-cdk",
"peerDependencies": {
"@aws-cdk/aws-ecr": "^0.21.0",
"@aws-cdk/aws-iam": "^0.21.0",
"@aws-cdk/aws-s3": "^0.21.0",
"@aws-cdk/cdk": "^0.21.0"
"@aws-cdk/aws-ecr": "^0.22.0",
"@aws-cdk/aws-iam": "^0.22.0",
"@aws-cdk/aws-s3": "^0.22.0",
"@aws-cdk/cdk": "^0.22.0"
},
"engines": {
"node": ">= 8.10.0"
}
}
}
Loading