Skip to content

Commit

Permalink
chore(release): 1.51.0 (#8967)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jul 9, 2020
2 parents 84acc92 + e6bc7d5 commit 8c2d53c
Show file tree
Hide file tree
Showing 109 changed files with 7,492 additions and 945 deletions.
1 change: 1 addition & 0 deletions .gitallowed
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ account: '234567890123'
# Account patterns used in the README
account: '000000000000'
account: '111111111111'
account: '222222222222'
account: '333333333333'

# used in physical names tests in @aws-cdk/core
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

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.51.0](https://github.com/aws/aws-cdk/compare/v1.50.0...v1.51.0) (2020-07-09)


### Features

* **cloudfront:** Add connectionAttempts, connectionTimeout in origin configuration ([#8573](https://github.com/aws/aws-cdk/issues/8573)) ([84b923f](https://github.com/aws/aws-cdk/commit/84b923fb853d674e0a07f4296f2b23800d139366)), closes [#8572](https://github.com/aws/aws-cdk/issues/8572)
* Developer Preview of CDK Pipelines ([#8868](https://github.com/aws/aws-cdk/issues/8868)) ([d2609bd](https://github.com/aws/aws-cdk/commit/d2609bdbd0ba0347ff617267e928a2b54482e78a)), closes [aws/aws-cdk-rfcs#49](https://github.com/aws/aws-cdk-rfcs/issues/49)


### Bug Fixes

* **appmesh:** Update enums for appmesh ([#8716](https://github.com/aws/aws-cdk/issues/8716)) ([64e3d88](https://github.com/aws/aws-cdk/commit/64e3d888a66da84c066298564ad2875cb93bfd27))
* **cli:** Python sample app template does not follow PEP8 ([#8936](https://github.com/aws/aws-cdk/issues/8936)) ([0717919](https://github.com/aws/aws-cdk/commit/07179194d8fc4e3beaeafbe6cf04a2f3d1addd2c))
* **codepipeline:** set correct header assignment in S3 deployment cache control ([#8864](https://github.com/aws/aws-cdk/issues/8864)) ([be1094b](https://github.com/aws/aws-cdk/commit/be1094b4f4ef1eb194333faaf804db610535fea1)), closes [#8774](https://github.com/aws/aws-cdk/issues/8774)
* **ec2:** VpcEndpoint AZ lookup fails for AWS services ([#8386](https://github.com/aws/aws-cdk/issues/8386)) ([54e5c36](https://github.com/aws/aws-cdk/commit/54e5c3658241320244ae3055ec3ef7ca18926001))
* **iam:** cannot import service role with a principal in its path ([#8692](https://github.com/aws/aws-cdk/issues/8692)) ([55eb7d7](https://github.com/aws/aws-cdk/commit/55eb7d794450702e540246819f622a2bba22380e)), closes [#8691](https://github.com/aws/aws-cdk/issues/8691)

## [1.50.0](https://github.com/aws/aws-cdk/compare/v1.49.1...v1.50.0) (2020-07-07)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"tools/*"
],
"rejectCycles": "true",
"version": "1.50.0"
"version": "1.51.0"
}
11 changes: 9 additions & 2 deletions packages/@aws-cdk/app-delivery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!--BEGIN STABILITY BANNER-->
---

![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)
![Deprecated](https://img.shields.io/badge/deprecated-critical.svg?style=for-the-badge)

> The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
> This API may emit warnings. Backward compatibility is not guaranteed.
---
<!--END STABILITY BANNER-->
Expand All @@ -13,6 +13,13 @@ This library includes a *CodePipeline* composite Action for deploying AWS CDK Ap

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.


# Replacement recommended

This library has been deprecated. We recommend you use the
[@aws-cdk/pipelines](https://docs.aws.amazon.com/cdk/api/latest/docs/pipelines.html) module instead.


### Limitations
The construct library in it's current form has the following limitations:
1. It can only deploy stacks that are hosted in the same AWS account and region as the *CodePipeline* is.
Expand Down
6 changes: 3 additions & 3 deletions packages/@aws-cdk/app-delivery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@types/nodeunit": "^0.0.31",
"cdk-build-tools": "0.0.0",
"cdk-integ-tools": "0.0.0",
"fast-check": "^1.25.1",
"fast-check": "^1.26.0",
"nodeunit": "^0.11.3",
"pkglint": "0.0.0"
},
Expand Down Expand Up @@ -92,8 +92,8 @@
"engines": {
"node": ">= 10.13.0 <13 || >=13.7.0"
},
"stability": "experimental",
"maturity": "experimental",
"stability": "deprecated",
"maturity": "deprecated",
"nyc": {
"statements": 75
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-applicationautoscaling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/nodeunit": "^0.0.31",
"cdk-build-tools": "0.0.0",
"cfn2ts": "0.0.0",
"fast-check": "^1.25.1",
"fast-check": "^1.26.0",
"nodeunit": "^0.11.3",
"pkglint": "0.0.0"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-appmesh/lib/shared-interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { Duration } from '@aws-cdk/core';
export enum Protocol {
HTTP = 'http',
TCP = 'tcp',
HTTP2 = 'http2',
GRPC = 'grpc',
}

/**
Expand Down
4 changes: 4 additions & 0 deletions packages/@aws-cdk/aws-appmesh/lib/virtual-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ function renderHealthCheck(hc: HealthCheck | undefined, pm: PortMapping): CfnVir
throw new Error('The path property cannot be set with Protocol.TCP');
}

if (hc.protocol === Protocol.GRPC && hc.path) {
throw new Error('The path property cannot be set with Protocol.GRPC');
}

const healthCheck: CfnVirtualNode.HealthCheckProperty = {
healthyThreshold: hc.healthyThreshold || 2,
intervalMillis: (hc.interval || cdk.Duration.seconds(5)).toMilliseconds(), // min
Expand Down
4 changes: 3 additions & 1 deletion packages/@aws-cdk/aws-appmesh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@
"props-default-doc:@aws-cdk/aws-appmesh.VirtualRouterAttributes.meshName",
"props-default-doc:@aws-cdk/aws-appmesh.VirtualRouterAttributes.virtualRouterArn",
"props-default-doc:@aws-cdk/aws-appmesh.VirtualRouterAttributes.virtualRouterName",
"docs-public-apis:@aws-cdk/aws-appmesh.Protocol.HTTP"
"docs-public-apis:@aws-cdk/aws-appmesh.Protocol.HTTP",
"docs-public-apis:@aws-cdk/aws-appmesh.Protocol.HTTP2",
"docs-public-apis:@aws-cdk/aws-appmesh.Protocol.GRPC"
]
},
"stability": "experimental",
Expand Down
20 changes: 20 additions & 0 deletions packages/@aws-cdk/aws-appmesh/test/test.health-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,24 @@ export = {

test.done();
},

'throws if path and Protocol.GRPC'(test: Test) {
// GIVEN
const stack = new cdk.Stack();

// WHEN
const toThrow = (protocol: appmesh.Protocol) => getNode(stack).addListeners({
healthCheck: {
protocol,
path: '/',
},
});

// THEN
test.doesNotThrow(() => toThrow(appmesh.Protocol.HTTP));
test.throws(() => toThrow(appmesh.Protocol.GRPC), /The path property cannot be set with Protocol.GRPC/);

test.done();
},

};
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-appsync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export class ApiStack extends Stack {
type: AttributeType.STRING,
},
});
// If your table is already created you can also use use import table and use it as data source.
const customerDS = api.addDynamoDbDataSource('Customer', 'The customer data source', customerTable);
customerDS.createResolver({
typeName: 'Query',
Expand Down
Loading

0 comments on commit 8c2d53c

Please sign in to comment.