Skip to content

Commit

Permalink
Merge pull request aws#7482 from aws/bump/1.34.0
Browse files Browse the repository at this point in the history
chore(release): 1.34.0
  • Loading branch information
RomainMuller authored Apr 21, 2020
2 parents bf20588 + fb0852b commit 33f8ec8
Show file tree
Hide file tree
Showing 1,172 changed files with 17,211 additions and 16,854 deletions.
7 changes: 6 additions & 1 deletion .dependabot/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@ update_configs:
dependency_name: "@jsii/*"
- match:
dependency_name: "codemaker"

- match:
dependency_name: "semver"
- match:
dependency_name: "@types/node"
version_requirement: ">=11.0.0-0"

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

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.34.0](https://github.com/aws/aws-cdk/compare/v1.33.1...v1.34.0) (2020-04-21)


### ⚠ BREAKING CHANGES

* **glue:** `DateFormat` constant names are now **UPPERCASE** (`JSON, AVRO, LOGSTASH, ...`)

### Features

* **cognito:** add mutable property in cognito user pool custom attribute ([#7190](https://github.com/aws/aws-cdk/issues/7190)) ([16e85df](https://github.com/aws/aws-cdk/commit/16e85df5c3077496d3ebe7c4fa8230514756c027)), closes [#7011](https://github.com/aws/aws-cdk/issues/7011) [#7011](https://github.com/aws/aws-cdk/issues/7011) [#7011](https://github.com/aws/aws-cdk/issues/7011) [#7011](https://github.com/aws/aws-cdk/issues/7011)
* **ecs:** add Fargate 1.4.0 support ([#7267](https://github.com/aws/aws-cdk/issues/7267)) ([5c83a46](https://github.com/aws/aws-cdk/commit/5c83a46920525d9e3891794d1f4c41f0e8e7982c))


### Bug Fixes

* **cloudwatch:** can't override Alarm statistic with percentile ([d5918c3](https://github.com/aws/aws-cdk/commit/d5918c330b6770b84efc5417ce1109a68c22119b)), closes [#7341](https://github.com/aws/aws-cdk/issues/7341)
* **glue:** DataFormat constants are not visible in non-JS languages ([#7458](https://github.com/aws/aws-cdk/issues/7458)) ([e5d4c31](https://github.com/aws/aws-cdk/commit/e5d4c31f4580218d39473258342dafda8d64338a))
* **monocdk:** assert package has incorrect imports ([#7404](https://github.com/aws/aws-cdk/issues/7404)) ([825c9e1](https://github.com/aws/aws-cdk/commit/825c9e1b443568c5d898b3fa0c543d5a7747396c))
* **stepfunctions-tasks:** encryptionKey is Key instead of IKey ([#7429](https://github.com/aws/aws-cdk/issues/7429)) ([f1e2c67](https://github.com/aws/aws-cdk/commit/f1e2c675b1234a4806ce88f7416b1b9753a347fa))

## [1.33.1](https://github.com/aws/aws-cdk/compare/v1.33.0...v1.33.1) (2020-04-19)


Expand Down Expand Up @@ -584,6 +604,7 @@ capaciety).

* **route53:** the value of `hostedZoneId` will no longer include `/hostedzone/` prefix and only includes the hostedZoneId when using `HostedZone.fromLookup` or `fromHostedZoneAttributes`
* **cloudfront:** (experimental module) `S3OriginConfig.originAccessIdentityId` or type `string` has been removed in favor of `S3OriginConfig.originAccessIdentity` of type `IOriginAccessIdentity`.
* **cli:** `cdk diff` now exits with 0 even when there's a diff, use `--fail` to exit with 1. To enable this feature for old projects, add the context key `"aws-cdk:diffNoFail": "true"` in your `cdk.json` file.

### Features

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ The following linters are used -
- [pkglint](#pkglint)
- [awslint](#awslint)

#### eslint
#### eslint

Historically, the CDK has used tslint for linting its typescript source code. With [tslint's deprecation in
2019](https://medium.com/palantir/tslint-in-2019-1a144c2317a9), we are slowly moving over to using eslint.
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.33.1"
"version": "1.34.0"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"devDependencies": {
"conventional-changelog-cli": "^2.0.31",
"fs-extra": "^8.1.0",
"jsii-diff": "^1.1.0",
"jsii-pacmak": "^1.1.0",
"jsii-rosetta": "^1.1.0",
"jsii-diff": "^1.3.2",
"jsii-pacmak": "^1.3.2",
"jsii-rosetta": "^1.3.2",
"lerna": "^3.20.2",
"standard-version": "^7.1.0",
"typescript": "~3.8.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/alexa-ask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@
},
"dependencies": {
"@aws-cdk/core": "0.0.0",
"constructs": "^3.0.0"
"constructs": "^3.0.2"
},
"peerDependencies": {
"@aws-cdk/core": "0.0.0",
"constructs": "^3.0.0"
"constructs": "^3.0.2"
},
"engines": {
"node": ">= 10.12.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/app-delivery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@aws-cdk/core": "0.0.0",
"@aws-cdk/cx-api": "0.0.0",
"@aws-cdk/cloud-assembly-schema": "0.0.0",
"constructs": "^3.0.0"
"constructs": "^3.0.2"
},
"devDependencies": {
"@aws-cdk/assert": "0.0.0",
Expand Down Expand Up @@ -87,7 +87,7 @@
"@aws-cdk/core": "0.0.0",
"@aws-cdk/cx-api": "0.0.0",
"@aws-cdk/cloud-assembly-schema": "0.0.0",
"constructs": "^3.0.0"
"constructs": "^3.0.2"
},
"engines": {
"node": ">= 10.12.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/app-delivery/test/integ.cicd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const app = new cdk.App();
const stack = new cdk.Stack(app, 'CICD');
const pipeline = new codepipeline.Pipeline(stack, 'CodePipeline', {
artifactBucket: new s3.Bucket(stack, 'ArtifactBucket', {
removalPolicy: cdk.RemovalPolicy.DESTROY
})
removalPolicy: cdk.RemovalPolicy.DESTROY,
}),
});
const sourceOutput = new codepipeline.Artifact('Artifact_CICDGitHubF8BA7ADD');
const source = new cpactions.GitHubSourceAction({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export = nodeunit.testCase({
adminPermissions: false,
}));
}, 'Cross-environment deployment is not supported');
}
)
},
),
);
test.done();
},
Expand Down Expand Up @@ -74,8 +74,8 @@ export = nodeunit.testCase({
adminPermissions: false,
}));
}, 'createChangeSetRunOrder must be < executeChangeSetRunOrder');
}
)
},
),
);
test.done();
},
Expand Down Expand Up @@ -138,48 +138,48 @@ export = nodeunit.testCase({
StackName: 'TestStack',
ActionMode: 'CHANGE_SET_REPLACE',
Capabilities: 'CAPABILITY_NAMED_IAM',
}
},
})));
expect(pipelineStack).to(haveResource('AWS::CodePipeline::Pipeline', hasPipelineAction({
Configuration: {
StackName: 'AnonymousIAM',
ActionMode: 'CHANGE_SET_REPLACE',
Capabilities: 'CAPABILITY_IAM',
}
},
})));
expect(pipelineStack).notTo(haveResource('AWS::CodePipeline::Pipeline', hasPipelineAction({
Configuration: {
StackName: 'NoCapStack',
ActionMode: 'CHANGE_SET_REPLACE',
Capabilities: 'CAPABILITY_NAMED_IAM',
}
},
})));
expect(pipelineStack).notTo(haveResource('AWS::CodePipeline::Pipeline', hasPipelineAction({
Configuration: {
StackName: 'NoCapStack',
ActionMode: 'CHANGE_SET_REPLACE',
Capabilities: 'CAPABILITY_IAM',
}
},
})));
expect(pipelineStack).to(haveResource('AWS::CodePipeline::Pipeline', hasPipelineAction({
Configuration: {
StackName: 'NoCapStack',
ActionMode: 'CHANGE_SET_REPLACE',
}
},
})));
expect(pipelineStack).to(haveResource('AWS::CodePipeline::Pipeline', hasPipelineAction({
Configuration: {
StackName: 'AutoExpand',
ActionMode: 'CHANGE_SET_REPLACE',
Capabilities: 'CAPABILITY_AUTO_EXPAND',
}
},
})));
expect(pipelineStack).to(haveResource('AWS::CodePipeline::Pipeline', hasPipelineAction({
Configuration: {
StackName: 'AnonymousIAMAndAutoExpand',
ActionMode: 'CHANGE_SET_REPLACE',
Capabilities: 'CAPABILITY_IAM,CAPABILITY_AUTO_EXPAND',
}
},
})));
test.done();
},
Expand Down Expand Up @@ -245,16 +245,16 @@ export = nodeunit.testCase({
Action: '*',
Effect: 'Allow',
Resource: '*',
}
},
],
}
},
}));
expect(pipelineStack).to(haveResource('AWS::CodePipeline::Pipeline', hasPipelineAction({
Configuration: {
StackName: 'TestStack',
ActionMode: 'CHANGE_SET_REPLACE',
Capabilities: 'CAPABILITY_NAMED_IAM,CAPABILITY_AUTO_EXPAND',
}
},
})));
test.done();
},
Expand All @@ -271,7 +271,7 @@ export = nodeunit.testCase({
stack: pipelineStack,
input: selfUpdatingStack.synthesizedApp,
adminPermissions: false,
role
role,
});
selfUpdateStage.addAction(deployAction);
test.same(deployAction.deploymentRole, role);
Expand Down Expand Up @@ -305,9 +305,9 @@ export = nodeunit.testCase({
'ec2:DescribeSecurityGroups',
'ec2:CreateSecurityGroup',
'ec2:RevokeSecurityGroupEgress',
'ec2:RevokeSecurityGroupIngress'
'ec2:RevokeSecurityGroupIngress',
],
resources: ['*']
resources: ['*'],
}));

// THEN //
Expand Down Expand Up @@ -339,7 +339,7 @@ export = nodeunit.testCase({
'Arn',
],
},
'/*'
'/*',
],
],
},
Expand All @@ -366,7 +366,7 @@ export = nodeunit.testCase({
'ec2:DescribeSecurityGroups',
'ec2:CreateSecurityGroup',
'ec2:RevokeSecurityGroupEgress',
'ec2:RevokeSecurityGroupIngress'
'ec2:RevokeSecurityGroupIngress',
],
Effect: 'Allow',
Resource: '*',
Expand Down Expand Up @@ -401,11 +401,11 @@ export = nodeunit.testCase({
adminPermissions: false,
});
}, /Cannot deploy the stack DeployedStack because it references/);
}
)
},
),
);
test.done();
}
},
});

class FakeAction implements codepipeline.IAction {
Expand Down
6 changes: 3 additions & 3 deletions packages/@aws-cdk/assert/jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ expect.extend({
if (pass) {
return {
pass,
message: () => 'Not ' + assertion.description
message: () => 'Not ' + assertion.description,
};
} else {
return {
pass,
message: () => assertion.description
message: () => assertion.description,
};
}
},
Expand Down Expand Up @@ -76,7 +76,7 @@ expect.extend({
props: HaveOutputProperties) {

return applyAssertion(haveOutput(props), actual);
}
},
});

function applyAssertion(assertion: JestFriendlyAssertion<StackInspector>, actual: cxapi.CloudFormationStackArtifact | core.Stack) {
Expand Down
8 changes: 4 additions & 4 deletions packages/@aws-cdk/assert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@types/jest": "^25.2.1",
"cdk-build-tools": "0.0.0",
"jest": "^25.3.0",
"jest": "^25.4.0",
"pkglint": "0.0.0",
"ts-jest": "^25.4.0"
},
Expand All @@ -40,12 +40,12 @@
"@aws-cdk/core": "0.0.0",
"@aws-cdk/cx-api": "0.0.0",
"@aws-cdk/cloud-assembly-schema": "0.0.0",
"constructs": "^3.0.0"
"constructs": "^3.0.2"
},
"peerDependencies": {
"@aws-cdk/core": "0.0.0",
"jest": "^25.3.0",
"constructs": "^3.0.0"
"jest": "^25.4.0",
"constructs": "^3.0.2"
},
"repository": {
"url": "https://github.com/aws/aws-cdk.git",
Expand Down
Loading

0 comments on commit 33f8ec8

Please sign in to comment.