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

chore(release): 1.51.0 #8967

Merged
merged 23 commits into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
7af03ac
chore(mergeback): 1.50.0 (#8928)
mergify[bot] Jul 7, 2020
b25fc07
docs(lambda): fix typo in README (#8924)
Jul 7, 2020
be1094b
fix(codepipeline): set correct header assignment in S3 deployment cac…
nonken Jul 7, 2020
fdba41a
chore(deps): bump aws-sdk from 2.710.0 to 2.711.0 (#8930)
dependabot-preview[bot] Jul 7, 2020
64e3d88
fix(appmesh): Update enums for appmesh (#8716)
NickBlow Jul 8, 2020
61e7094
feat(appsync) allow using imported table as data source (#8790)
nirvana124 Jul 8, 2020
84b923f
feat(cloudfront): Add connectionAttempts, connectionTimeout in origin…
civilizeddev Jul 8, 2020
d2609bd
feat: Developer Preview of CDK Pipelines (#8868)
rix0rrr Jul 8, 2020
a6bffa1
chore(cloudfront): convert tests to Jest (#8939)
njlynch Jul 8, 2020
b4cba5b
chore: add account 2222222222 to git-secrets allowed pattern (#8942)
rix0rrr Jul 8, 2020
55eb7d7
fix(iam): cannot import service role with a principal in its path (#8…
ThomasSteinbach Jul 8, 2020
54e5c36
fix(ec2): VpcEndpoint AZ lookup fails for AWS services (#8386)
flemjame-at-amazon Jul 8, 2020
0717919
fix(cli): Python sample app template does not follow PEP8 (#8936)
ojongerius Jul 8, 2020
c424c57
docs(ecs): fix typo in awsLogs (#8878)
jimmyhmiller Jul 8, 2020
da6f0fd
chore(stepfunctions): fix documentation for `Pass` state (#8944)
rix0rrr Jul 8, 2020
ab321ef
chore(deps-dev): bump lodash from 4.17.15 to 4.17.18 (#8949)
dependabot-preview[bot] Jul 8, 2020
a57f9f1
chore(deps-dev): bump lodash from 4.17.18 to 4.17.19 (#8952)
dependabot-preview[bot] Jul 8, 2020
a1b3091
chore(deps): bump aws-sdk from 2.711.0 to 2.712.0 (#8954)
dependabot-preview[bot] Jul 8, 2020
1bc8dfa
chore(appsync): reorganize code base to improve readability (#8933)
BryanPan342 Jul 8, 2020
ba5b268
refactor(appsync): rename files to follow dash-case syntax (#8958)
BryanPan342 Jul 9, 2020
13248b3
chore(app-delivery): deprecate @aws-cdk/app-delivery (#8965)
rix0rrr Jul 9, 2020
165e5eb
chore(deps-dev): bump fast-check from 1.25.1 to 1.26.0 (#8955)
dependabot-preview[bot] Jul 9, 2020
e6bc7d5
chore(release): 1.51.0
Jul 9, 2020
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
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