Skip to content

Commit

Permalink
release: v1.22.0
Browse files Browse the repository at this point in the history
See CHANGELOG
  • Loading branch information
skinny85 authored Jan 23, 2020
2 parents 842cc5f + 8cc1e73 commit 309ac1b
Show file tree
Hide file tree
Showing 282 changed files with 13,359 additions and 5,245 deletions.
115 changes: 0 additions & 115 deletions .github/CODEOWNERS

This file was deleted.

5 changes: 4 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pull_request_rules:
label:
add: [ contribution/core ]
conditions:
- author~=^(eladb|RomainMuller|garnaat|nija-at|shivlaks|skinny85|rix0rrr|NGL321|Jerry-AWS|SomayaB)$
- author~=^(eladb|RomainMuller|garnaat|nija-at|shivlaks|skinny85|rix0rrr|NGL321|Jerry-AWS|SomayaB|MrArnoldPalmer|NetaNir|iliapolo)$
- -label~="contribution/core"
- name: automatic merge
actions:
Expand Down Expand Up @@ -46,6 +46,9 @@ pull_request_rules:
- author!=NGL321
- author!=Jerry-AWS
- author!=SomayaB
- author!=MrArnoldPalmer
- author!=NetaNir
- author!=iliapolo
- base=master
- -merged
- -closed
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@

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.

## [1.22.0](https://github.com/aws/aws-cdk/compare/v1.21.1...v1.22.0) (2020-01-23)


### ⚠ BREAKING CHANGES

* **eks:** (experimental module) the `Mapping` struct was renamed to `AwsAuthMapping`.
* **core:** Arn.parseArn now returns empty string for nullable Arn components. Users who were depending on an undefined value will now receive the falsy empty string.
* **ecr-assets:** all docker image assets are now pushed to a single ECR repository named `aws-cdk/assets` with an image tag based on the hash of the docker build source directory (the directory where your `Dockerfile` resides). See PR #5733 for details and discussion.
* **autoscaling:** AutoScaling by using `scaleOnMetric` will no longer force the alarm period to 1 minute, but use the period from the Metric object instead (5 minutes by default). Use `metric.with({ period: Duration.minute(1) })` to create a high-frequency scaling policy.

### Features

* **apigatewayv2:** fork APIGatewayV2 into its own package ([#5816](https://github.com/aws/aws-cdk/issues/5816)) ([d58667e](https://github.com/aws/aws-cdk/commit/d58667e473c1e07ac8f2f073b3a541569a014e01))
* **cloudformation:** upgrade the CloudFormation resource specification to v10.3.0 ([#5882](https://github.com/aws/aws-cdk/issues/5882)) ([e5e4725](https://github.com/aws/aws-cdk/commit/e5e47252b39ee1aedba1eaf81f32a0110ac2ab32))
* **ecr-assets:** simplify docker asset publishing ([#5733](https://github.com/aws/aws-cdk/issues/5733)) ([b52b43d](https://github.com/aws/aws-cdk/commit/b52b43ddfea0398b3f6e05002bf5b97bc831d1a7)), closes [#3463](https://github.com/aws/aws-cdk/issues/3463) [#5807](https://github.com/aws/aws-cdk/issues/5807)
* **eks:** fargate profiles ([#5589](https://github.com/aws/aws-cdk/issues/5589)) ([450a127](https://github.com/aws/aws-cdk/commit/450a12789f3f145d3409db4a7a9d1eb06ae48e37)), closes [#5303](https://github.com/aws/aws-cdk/issues/5303)
* **lambda:** allow inline code for nodejs12.x runtime ([#5710](https://github.com/aws/aws-cdk/issues/5710)) ([a1cd743](https://github.com/aws/aws-cdk/commit/a1cd7432eb817a0a9361c907445c01eea4cb1321))
* **lambda-destinations:** option to auto-extract the payload when using LambdaDestination ([#5503](https://github.com/aws/aws-cdk/issues/5503)) ([321372f](https://github.com/aws/aws-cdk/commit/321372fb68ba2a9928069d24d500061efec188f8))
* **route53-targets:** Add aws-route53-targets/InterfaceVpcEndpointTarget ([#4868](https://github.com/aws/aws-cdk/issues/4868)) ([6969562](https://github.com/aws/aws-cdk/commit/696956240f36fc7235f77b0d4f2d286ab580f78d))
* bump JSII to version 0.21.2 ([#5919](https://github.com/aws/aws-cdk/issues/5919)) ([dd18456](https://github.com/aws/aws-cdk/commit/dd184563521f2b4eca72af650c98e91177f2831d))


### Bug Fixes

* **apigateway:** LambdaRestApi fails when a user defined Stage is attached ([#5838](https://github.com/aws/aws-cdk/issues/5838)) ([05719d7](https://github.com/aws/aws-cdk/commit/05719d75edefce45781516f440e1e685741006df)), closes [#5744](https://github.com/aws/aws-cdk/issues/5744)
* **autoscaling:** can't use `MathExpression` in `scaleOnMetric` ([d4c1b0e](https://github.com/aws/aws-cdk/commit/d4c1b0ee84abb1c0ca24ddf1260a4b2161dde7b8)), closes [#5776](https://github.com/aws/aws-cdk/issues/5776)
* `SecretsManagerRDSPostgreSQLRotationMultiUser` not working ([49032ee](https://github.com/aws/aws-cdk/commit/49032eef373d6d05f580abf2d3e1cc2a66b31042))
* **autoscaling:** can't use block devices ([fee1324](https://github.com/aws/aws-cdk/commit/fee1324548350842d81fbc646b011db214b59de3)), closes [#5868](https://github.com/aws/aws-cdk/issues/5868)
* **core:** allow empty string components in parseArn ([#5875](https://github.com/aws/aws-cdk/issues/5875)) ([5ed5eb4](https://github.com/aws/aws-cdk/commit/5ed5eb416ec92f12c6bda352bc81b684f7a54517)), closes [#5808](https://github.com/aws/aws-cdk/issues/5808)
* **lambda:** setting log retention to INFINITE causes failure ([#5876](https://github.com/aws/aws-cdk/issues/5876)) ([19ed739](https://github.com/aws/aws-cdk/commit/19ed7397f721e42841ef494bd4fdcc0131505554))
* **route53:** incorrect domain name produced when using HTTPS in ApplicationLoadBalancedFargateService ([#5802](https://github.com/aws/aws-cdk/issues/5802)) ([5ba5a5e](https://github.com/aws/aws-cdk/commit/5ba5a5ea1627046524408d0cf9648d552f0e4b7a))

## [1.21.1](https://github.com/aws/aws-cdk/compare/v1.21.0...v1.21.1) (2020-01-16)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"tools/*"
],
"rejectCycles": "true",
"version": "1.21.1"
"version": "1.22.0"
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-cdk",
"version": "1.21.1",
"version": "1.22.0",
"private": true,
"pkglint": {
"include": "dependencies/node-version"
Expand All @@ -15,11 +15,11 @@
"devDependencies": {
"conventional-changelog-cli": "^2.0.31",
"fs-extra": "^8.1.0",
"jsii-diff": "^0.21.1",
"jsii-pacmak": "^0.21.1",
"jsii-rosetta": "^0.21.1",
"jsii-diff": "^0.21.2",
"jsii-pacmak": "^0.21.2",
"jsii-rosetta": "^0.21.2",
"lerna": "^3.20.2",
"typescript": "~3.7.4"
"typescript": "~3.7.5"
},
"repository": {
"type": "git",
Expand Down
14 changes: 7 additions & 7 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": "1.21.1",
"version": "1.22.0",
"description": "The CDK Construct Library for Alexa::ASK",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -80,16 +80,16 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/assert": "1.21.1",
"cdk-build-tools": "1.21.1",
"cfn2ts": "1.21.1",
"pkglint": "1.21.1"
"@aws-cdk/assert": "1.22.0",
"cdk-build-tools": "1.22.0",
"cfn2ts": "1.22.0",
"pkglint": "1.22.0"
},
"dependencies": {
"@aws-cdk/core": "1.21.1"
"@aws-cdk/core": "1.22.0"
},
"peerDependencies": {
"@aws-cdk/core": "1.21.1"
"@aws-cdk/core": "1.22.0"
},
"engines": {
"node": ">= 10.3.0"
Expand Down
44 changes: 22 additions & 22 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": "1.21.1",
"version": "1.22.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"jsii": {
Expand Down Expand Up @@ -40,24 +40,24 @@
"compat": "cdk-compat"
},
"dependencies": {
"@aws-cdk/aws-cloudformation": "1.21.1",
"@aws-cdk/aws-codebuild": "1.21.1",
"@aws-cdk/aws-codepipeline": "1.21.1",
"@aws-cdk/aws-codepipeline-actions": "1.21.1",
"@aws-cdk/aws-events": "1.21.1",
"@aws-cdk/aws-iam": "1.21.1",
"@aws-cdk/core": "1.21.1",
"@aws-cdk/cx-api": "1.21.1"
"@aws-cdk/aws-cloudformation": "1.22.0",
"@aws-cdk/aws-codebuild": "1.22.0",
"@aws-cdk/aws-codepipeline": "1.22.0",
"@aws-cdk/aws-codepipeline-actions": "1.22.0",
"@aws-cdk/aws-events": "1.22.0",
"@aws-cdk/aws-iam": "1.22.0",
"@aws-cdk/core": "1.22.0",
"@aws-cdk/cx-api": "1.22.0"
},
"devDependencies": {
"@aws-cdk/assert": "1.21.1",
"@aws-cdk/aws-s3": "1.21.1",
"@aws-cdk/assert": "1.22.0",
"@aws-cdk/aws-s3": "1.22.0",
"@types/nodeunit": "^0.0.30",
"cdk-build-tools": "1.21.1",
"cdk-integ-tools": "1.21.1",
"cdk-build-tools": "1.22.0",
"cdk-integ-tools": "1.22.0",
"fast-check": "^1.21.0",
"nodeunit": "^0.11.3",
"pkglint": "1.21.1"
"pkglint": "1.22.0"
},
"repository": {
"type": "git",
Expand All @@ -76,14 +76,14 @@
"cdk"
],
"peerDependencies": {
"@aws-cdk/aws-cloudformation": "1.21.1",
"@aws-cdk/aws-codebuild": "1.21.1",
"@aws-cdk/aws-codepipeline": "1.21.1",
"@aws-cdk/aws-codepipeline-actions": "1.21.1",
"@aws-cdk/aws-events": "1.21.1",
"@aws-cdk/aws-iam": "1.21.1",
"@aws-cdk/core": "1.21.1",
"@aws-cdk/cx-api": "1.21.1"
"@aws-cdk/aws-cloudformation": "1.22.0",
"@aws-cdk/aws-codebuild": "1.22.0",
"@aws-cdk/aws-codepipeline": "1.22.0",
"@aws-cdk/aws-codepipeline-actions": "1.22.0",
"@aws-cdk/aws-events": "1.22.0",
"@aws-cdk/aws-iam": "1.22.0",
"@aws-cdk/core": "1.22.0",
"@aws-cdk/cx-api": "1.22.0"
},
"engines": {
"node": ">= 10.3.0"
Expand Down
10 changes: 8 additions & 2 deletions packages/@aws-cdk/assert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,18 @@ Example:

```ts
expect(stack).to(haveResource('AWS::CertificateManager::Certificate', {
DomainName: 'test.example.com'
DomainName: 'test.example.com',
// Note: some properties omitted here

ShouldNotExist: ABSENT
}));
```

`ABSENT` is a magic value to assert that a particular key in an object is *not* set (or set to `undefined`).


### Check existence of an output
`haveOutput` assertion can be used to check that a stack contains specific output.
`haveOutput` assertion can be used to check that a stack contains specific output.
Parameters to check against can be:
- `outputName`
- `outputValue`
Expand Down
Loading

0 comments on commit 309ac1b

Please sign in to comment.