Skip to content

Commit 48a326a

Browse files
author
Elad Ben-Israel
committed
v0.11.0
Bug Fixes --------- * **aws-apigateway:** allow + in path parts ([#769](#769)) ([0c50d27](0c50d27)), closes [#768](#768) * **aws-cdk:** continue after exceptions in stack monitor ([#791](#791)) ([b0f3298](b0f3298)), closes [#787](#787) * **aws-cloudfront:** check for undefined and determining of the defaultRootObject prop is set or not ([#801](#801)) ([32a74c6](32a74c6)) * **aws-cloudfront:** properly support loggingConfig ([#809](#809)) ([5512f70](5512f70)), closes [#721](#721) * **aws-codecommit:** typo in README ([#780](#780)) ([0e79c2d](0e79c2d)) * **aws-ec2:** Add Burstable Generation 3 Instances ([#812](#812)) ([d36ee6d](d36ee6d)) * **aws-ec2:** fix capitalization of "VPCEndpointType" to "VpcEndpointType" ([#789](#789)) ([7a8ee2c](7a8ee2c)), closes [#765](#765) * **aws-ec2:** fix typo in resource identifier ([#818](#818)) ([f529c80](f529c80)) * **aws-elbv2:** fix load balancer registration ([#890](#890)) ([8cc9abe](8cc9abe)) * **aws-s3:** properly export bucketDomainName ([#844](#844)) ([a65060d](a65060d)) * **aws-sqs:** Queue.import() doesn't return a value ([#885](#885)) ([c592b7f](c592b7f)), closes [#879](#879) * **cdk:** fix TagManager to evaluate to undefined if no tags are included ([#882](#882)) ([477c827](477c827)) * **cdk:** init templates were not upgraded to typescript ^3.0.0 ([#904](#904)) ([2cc7475](2cc7475)) * **cdk:** jsx support conflicts with React usage ([#884](#884)) ([76d8031](76d8031)), closes [#830](#830) * **cfn2ts:** expect Token instead of CloudFormationToken ([#896](#896)) ([6eee1d2](6eee1d2)) * **docs:** fix issue [#718](#718) (Aurora DB example) ([#783](#783)) ([016f3a8](016f3a8)) * **docs:** update supported languages in README ([#819](#819), [#450](#450)) ([#820](#820)) ([ffac98c](ffac98c)) * Correct heading level of CHANGELOG.md 0.10.0 ([40d9ef0](40d9ef0)) * Emit valid YAML-1.1 ([#876](#876)) ([ff857ea](ff857ea)), closes [#875](#875) * **toolkit:** improve error message for large templates ([#900](#900)) ([a41f48f](a41f48f)), closes [#34](#34) Code Refactoring ---------------- * **aws-iam:** move IAM classes cdk to aws-iam ([#866](#866)) ([d46a95b](d46a95b)), closes [#196](#196) * **util:** remove [@aws-cdk](https://github.com/aws-cdk)/util ([#745](#745)) ([10015cb](10015cb)), closes [#709](#709) * **framework:** remove app boilerplate and improvements to cx protocol ([#868](#868)) ([005beec](005beec)), closes [#216](#216) Features -------- * **aws-apigateway:** "LambdaRestApi" and "addProxy" routes ([#867](#867)) ([905a95d](905a95d)) * **aws-cdk:** add maven wrapper to java template ([#811](#811)) ([72aa872](72aa872)) * **aws-cloudformation:** rename the CFN CodePipeline Actions. ([#771](#771)) ([007e7b4](007e7b4)) * **aws-cloudformation:** update the ReadMe of the module to reflect the new Action names. ([#775](#775)) ([6c0e75b](6c0e75b)), closes [#771](#771) * **aws-cloudfront:** Support Security Policy ([#804](#804)) ([b39bf11](b39bf11)), closes [#795](#795) * **aws-codedeploy:** Add the auto-scaling groups property to ServerDeploymentGroup. ([#739](#739)) ([0b28886](0b28886)) * **aws-codedeploy:** Deployment Configuration Construct. ([#653](#653)) ([e6b67ad](e6b67ad)) * **aws-codedeploy:** support setting a load balancer on a Deployment Group. ([#786](#786)) ([e7af9f5](e7af9f5)) * **aws-codepipeline:** allow specifying the runOrder property when creating Actions. ([#776](#776)) ([d146c8d](d146c8d)) * **aws-codepipeline, aws-codecommit, aws-s3:** change the convention for naming the source Actions to XxxSourceAction. ([#753](#753)) ([9c3ce7f](9c3ce7f)) * **aws-dynamodb:** IAM grants support ([#870](#870)) ([c5a4200](c5a4200)) * **aws-dynamodb:** support Global Secondary Indexes ([#760](#760)) ([3601440](3601440)) * **aws-dynamodb:** tags support ([#814](#814)) ([924c84e](924c84e)) * **aws-dynamodB:** support Local Secondary Indexes ([#825](#825)) ([3175af3](3175af3)) * **aws-ec2:** add support for ICMP protocol's classification Types & Codes to SecurityGroupRule ([#893](#893)) ([85bd3c0](85bd3c0)) * **aws-ec2:** allow configuring subnets for NAT gateway ([#874](#874)) ([8ec761c](8ec761c)) * **aws-ec2:** support UDP port ranges in SecurityGroups ([#835](#835)) ([b42ef90](b42ef90)) * **aws-elasticloadbalancingv2:** support for ALB/NLB ([#750](#750)) ([bd9ee01](bd9ee01)) * **aws-s3:** support granting public access to objects ([#886](#886)) ([bdee191](bdee191)), closes [#877](#877) * **cdk:** Add support for UseOnlineResharding with UpdatePolicies ([#881](#881)) ([1f717e1](1f717e1)) * **cdk:** configurable default SSM context provider ([#889](#889)) ([353412b](353412b)) * **core:** resource overrides (escape hatch) ([#784](#784)) ([5054eef](5054eef)), closes [#606](#606) * **aws-codepipeline**: Manage IAM permissions for (some) CFN CodePipeline actions ([#843](#843)) ([4c69118](4c69118)) * **toolkit:** Stop creating 'empty' stacks ([#779](#779)) ([1dddd8a](1dddd8a)) * **aws-autoscaling, aws-ec2:** Tagging support for AutoScaling/SecurityGroup ([#766](#766)) ([3d48eb2](3d48eb2)) ### BREAKING CHANGES * **framework:** The `cdk.App` constructor doesn't accept any arguments, and `app.run()` does not return a `string` anymore. All AWS CDK apps in all languages would need to be modified to adhere to the new API of the `cdk.App` construct. Instead of: const app = new App(process.argv); // ERROR // add stacks process.stdout.write(app.run()); // ERROR The new usage is: const app = new App(); // add stacks app.run(); * **framework:** The CDK is no longer shipped with built-in support for JSX. You can still use JSX but you will have to manually configure it. * **aws-iam:** `PolicyDocument`, `PolicyStatement` and all `PolicyPrincipal` classes moved from the @aws-cdk/cdk module and into the @aws-cdk/aws-iam module. * **aws-codepipeline-api**: `Artifact.subartifact` method of the CodePipeline API was renamed to `Artifact.atPath`. * constructor signature of `TagManager` has changed. `initialTags` is now passed inside a props object. * **util:** @aws-cdk/util is no longer available * **aws-elasticloadbalancingv2:** Adds classes for modeling Application and Network Load Balancers. AutoScalingGroups now implement the interface that makes constructs a load balancing target. The breaking change is that Security Group rule identifiers have been changed in order to make adding rules more reliable. No code changes are necessary but existing deployments may experience unexpected changes. * **aws-cloudformation:** this renames all CloudFormation Actions for CodePipeline to bring them in line with Actions defined in other service packages. * **aws-codepipeline, aws-codecommit, aws-s3:** change the names of the source Actions from XxxSource to XxxSourceAction. This is to align them with the other Actions, like Build. Also, CodeBuild has the concept of Sources, so it makes sense to strongly differentiate between the two.
1 parent aa68793 commit 48a326a

File tree

96 files changed

+797
-675
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+797
-675
lines changed

CHANGELOG.md

+122
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,125 @@
1+
<a name="0.11.0"></a>
2+
## [0.11.0](https://github.com/awslabs/aws-cdk/compare/v0.10.0...v0.11.0) (2018-10-11)
3+
4+
__IMPORTANT NOTE__: This release includes a [breaking change](https://github.com/awslabs/aws-cdk/issues/868)
5+
in the toolkit <=> app protocol. This means that in order to synthesize CDK apps that use this version,
6+
the globally installed CDK toolkit must also be updated:
7+
8+
```shell
9+
$ npm i -g aws-cdk
10+
$ cdk --version
11+
0.11.0 (build ...)
12+
```
13+
14+
Like always, you will also need to update your project's library versions:
15+
16+
|Language|Update?|
17+
|--------|-------|
18+
|JavaScript/TypeScript (npm)|[`npx npm-check-updates -u`](https://www.npmjs.com/package/npm-check-updates)|
19+
|Java (maven)|[`mvn versions:use-latest-versions`](https://www.mojohaus.org/versions-maven-plugin/use-latest-versions-mojo.html)
20+
|.NET (NuGet)|[`nuget update`](https://docs.microsoft.com/en-us/nuget/tools/cli-ref-update)
21+
22+
23+
### Bug Fixes
24+
25+
* **aws-apigateway:** allow + in path parts ([#769](https://github.com/awslabs/aws-cdk/issues/769)) ([0c50d27](https://github.com/awslabs/aws-cdk/commit/0c50d27)), closes [#768](https://github.com/awslabs/aws-cdk/issues/768)
26+
* **aws-cdk:** continue after exceptions in stack monitor ([#791](https://github.com/awslabs/aws-cdk/issues/791)) ([b0f3298](https://github.com/awslabs/aws-cdk/commit/b0f3298)), closes [#787](https://github.com/awslabs/aws-cdk/issues/787)
27+
* **aws-cloudfront:** check for undefined and determining of the defaultRootObject prop is set or not ([#801](https://github.com/awslabs/aws-cdk/issues/801)) ([32a74c6](https://github.com/awslabs/aws-cdk/commit/32a74c6))
28+
* **aws-cloudfront:** properly support loggingConfig ([#809](https://github.com/awslabs/aws-cdk/issues/809)) ([5512f70](https://github.com/awslabs/aws-cdk/commit/5512f70)), closes [#721](https://github.com/awslabs/aws-cdk/issues/721)
29+
* **aws-codecommit:** typo in README ([#780](https://github.com/awslabs/aws-cdk/issues/780)) ([0e79c2d](https://github.com/awslabs/aws-cdk/commit/0e79c2d))
30+
* **aws-ec2:** Add Burstable Generation 3 Instances ([#812](https://github.com/awslabs/aws-cdk/issues/812)) ([d36ee6d](https://github.com/awslabs/aws-cdk/commit/d36ee6d))
31+
* **aws-ec2:** fix capitalization of "VPCEndpointType" to "VpcEndpointType" ([#789](https://github.com/awslabs/aws-cdk/issues/789)) ([7a8ee2c](https://github.com/awslabs/aws-cdk/commit/7a8ee2c)), closes [#765](https://github.com/awslabs/aws-cdk/issues/765)
32+
* **aws-ec2:** fix typo in resource identifier ([#818](https://github.com/awslabs/aws-cdk/issues/818)) ([f529c80](https://github.com/awslabs/aws-cdk/commit/f529c80))
33+
* **aws-elbv2:** fix load balancer registration ([#890](https://github.com/awslabs/aws-cdk/issues/890)) ([8cc9abe](https://github.com/awslabs/aws-cdk/commit/8cc9abe))
34+
* **aws-s3:** properly export bucketDomainName ([#844](https://github.com/awslabs/aws-cdk/issues/844)) ([a65060d](https://github.com/awslabs/aws-cdk/commit/a65060d))
35+
* **aws-sqs:** Queue.import() doesn't return a value ([#885](https://github.com/awslabs/aws-cdk/issues/885)) ([c592b7f](https://github.com/awslabs/aws-cdk/commit/c592b7f)), closes [#879](https://github.com/awslabs/aws-cdk/issues/879)
36+
* **cdk:** fix TagManager to evaluate to undefined if no tags are included ([#882](https://github.com/awslabs/aws-cdk/issues/882)) ([477c827](https://github.com/awslabs/aws-cdk/commit/477c827))
37+
* **cdk:** init templates were not upgraded to typescript ^3.0.0 ([#904](https://github.com/awslabs/aws-cdk/issues/904)) ([2cc7475](https://github.com/awslabs/aws-cdk/commit/2cc7475))
38+
* **cdk:** jsx support conflicts with React usage ([#884](https://github.com/awslabs/aws-cdk/issues/884)) ([76d8031](https://github.com/awslabs/aws-cdk/commit/76d8031)), closes [#830](https://github.com/awslabs/aws-cdk/issues/830)
39+
* **cfn2ts:** expect Token instead of CloudFormationToken ([#896](https://github.com/awslabs/aws-cdk/issues/896)) ([6eee1d2](https://github.com/awslabs/aws-cdk/commit/6eee1d2))
40+
* **docs:** fix issue [#718](https://github.com/awslabs/aws-cdk/issues/718) (Aurora DB example) ([#783](https://github.com/awslabs/aws-cdk/issues/783)) ([016f3a8](https://github.com/awslabs/aws-cdk/commit/016f3a8))
41+
* **docs:** update supported languages in README ([#819](https://github.com/awslabs/aws-cdk/issues/819), [#450](https://github.com/awslabs/aws-cdk/issues/450)) ([#820](https://github.com/awslabs/aws-cdk/issues/820)) ([ffac98c](https://github.com/awslabs/aws-cdk/commit/ffac98c))
42+
* Correct heading level of CHANGELOG.md 0.10.0 ([40d9ef0](https://github.com/awslabs/aws-cdk/commit/40d9ef0))
43+
* Emit valid YAML-1.1 ([#876](https://github.com/awslabs/aws-cdk/issues/876)) ([ff857ea](https://github.com/awslabs/aws-cdk/commit/ff857ea)), closes [#875](https://github.com/awslabs/aws-cdk/issues/875)
44+
* **toolkit:** improve error message for large templates ([#900](https://github.com/awslabs/aws-cdk/issues/900)) ([a41f48f](https://github.com/awslabs/aws-cdk/commit/a41f48f)), closes [#34](https://github.com/awslabs/aws-cdk/issues/34)
45+
46+
### Code Refactoring
47+
48+
* **aws-iam:** move IAM classes cdk to aws-iam ([#866](https://github.com/awslabs/aws-cdk/issues/866)) ([d46a95b](https://github.com/awslabs/aws-cdk/commit/d46a95b)), closes [#196](https://github.com/awslabs/aws-cdk/issues/196)
49+
* **util:** remove [@aws-cdk](https://github.com/aws-cdk)/util ([#745](https://github.com/awslabs/aws-cdk/issues/745)) ([10015cb](https://github.com/awslabs/aws-cdk/commit/10015cb)), closes [#709](https://github.com/awslabs/aws-cdk/issues/709)
50+
* **framework:** remove app boilerplate and improvements to cx protocol ([#868](https://github.com/awslabs/aws-cdk/issues/868)) ([005beec](https://github.com/awslabs/aws-cdk/commit/005beec)), closes [#216](https://github.com/awslabs/aws-cdk/issues/216)
51+
52+
53+
### Features
54+
55+
* **aws-apigateway:** "LambdaRestApi" and "addProxy" routes ([#867](https://github.com/awslabs/aws-cdk/issues/867)) ([905a95d](https://github.com/awslabs/aws-cdk/commit/905a95d))
56+
* **aws-cdk:** add maven wrapper to java template ([#811](https://github.com/awslabs/aws-cdk/issues/811)) ([72aa872](https://github.com/awslabs/aws-cdk/commit/72aa872))
57+
* **aws-cloudformation:** rename the CFN CodePipeline Actions. ([#771](https://github.com/awslabs/aws-cdk/issues/771)) ([007e7b4](https://github.com/awslabs/aws-cdk/commit/007e7b4))
58+
* **aws-cloudformation:** update the ReadMe of the module to reflect the new Action names. ([#775](https://github.com/awslabs/aws-cdk/issues/775)) ([6c0e75b](https://github.com/awslabs/aws-cdk/commit/6c0e75b)), closes [#771](https://github.com/awslabs/aws-cdk/issues/771)
59+
* **aws-cloudfront:** Support Security Policy ([#804](https://github.com/awslabs/aws-cdk/issues/804)) ([b39bf11](https://github.com/awslabs/aws-cdk/commit/b39bf11)), closes [#795](https://github.com/awslabs/aws-cdk/issues/795)
60+
* **aws-codedeploy:** Add the auto-scaling groups property to ServerDeploymentGroup. ([#739](https://github.com/awslabs/aws-cdk/issues/739)) ([0b28886](https://github.com/awslabs/aws-cdk/commit/0b28886))
61+
* **aws-codedeploy:** Deployment Configuration Construct. ([#653](https://github.com/awslabs/aws-cdk/issues/653)) ([e6b67ad](https://github.com/awslabs/aws-cdk/commit/e6b67ad))
62+
* **aws-codedeploy:** support setting a load balancer on a Deployment Group. ([#786](https://github.com/awslabs/aws-cdk/issues/786)) ([e7af9f5](https://github.com/awslabs/aws-cdk/commit/e7af9f5))
63+
* **aws-codepipeline:** allow specifying the runOrder property when creating Actions. ([#776](https://github.com/awslabs/aws-cdk/issues/776)) ([d146c8d](https://github.com/awslabs/aws-cdk/commit/d146c8d))
64+
* **aws-codepipeline, aws-codecommit, aws-s3:** change the convention for naming the source Actions to XxxSourceAction. ([#753](https://github.com/awslabs/aws-cdk/issues/753)) ([9c3ce7f](https://github.com/awslabs/aws-cdk/commit/9c3ce7f))
65+
* **aws-dynamodb:** IAM grants support ([#870](https://github.com/awslabs/aws-cdk/issues/870)) ([c5a4200](https://github.com/awslabs/aws-cdk/commit/c5a4200))
66+
* **aws-dynamodb:** support Global Secondary Indexes ([#760](https://github.com/awslabs/aws-cdk/issues/760)) ([3601440](https://github.com/awslabs/aws-cdk/commit/3601440))
67+
* **aws-dynamodb:** tags support ([#814](https://github.com/awslabs/aws-cdk/issues/814)) ([924c84e](https://github.com/awslabs/aws-cdk/commit/924c84e))
68+
* **aws-dynamodB:** support Local Secondary Indexes ([#825](https://github.com/awslabs/aws-cdk/issues/825)) ([3175af3](https://github.com/awslabs/aws-cdk/commit/3175af3))
69+
* **aws-ec2:** add support for ICMP protocol's classification Types & Codes to SecurityGroupRule ([#893](https://github.com/awslabs/aws-cdk/issues/893)) ([85bd3c0](https://github.com/awslabs/aws-cdk/commit/85bd3c0))
70+
* **aws-ec2:** allow configuring subnets for NAT gateway ([#874](https://github.com/awslabs/aws-cdk/issues/874)) ([8ec761c](https://github.com/awslabs/aws-cdk/commit/8ec761c))
71+
* **aws-ec2:** support UDP port ranges in SecurityGroups ([#835](https://github.com/awslabs/aws-cdk/issues/835)) ([b42ef90](https://github.com/awslabs/aws-cdk/commit/b42ef90))
72+
* **aws-elasticloadbalancingv2:** support for ALB/NLB ([#750](https://github.com/awslabs/aws-cdk/issues/750)) ([bd9ee01](https://github.com/awslabs/aws-cdk/commit/bd9ee01))
73+
* **aws-s3:** support granting public access to objects ([#886](https://github.com/awslabs/aws-cdk/issues/886)) ([bdee191](https://github.com/awslabs/aws-cdk/commit/bdee191)), closes [#877](https://github.com/awslabs/aws-cdk/issues/877)
74+
* **cdk:** Add support for UseOnlineResharding with UpdatePolicies ([#881](https://github.com/awslabs/aws-cdk/issues/881)) ([1f717e1](https://github.com/awslabs/aws-cdk/commit/1f717e1))
75+
* **cdk:** configurable default SSM context provider ([#889](https://github.com/awslabs/aws-cdk/issues/889)) ([353412b](https://github.com/awslabs/aws-cdk/commit/353412b))
76+
* **core:** resource overrides (escape hatch) ([#784](https://github.com/awslabs/aws-cdk/issues/784)) ([5054eef](https://github.com/awslabs/aws-cdk/commit/5054eef)), closes [#606](https://github.com/awslabs/aws-cdk/issues/606)
77+
* **aws-codepipeline**: Manage IAM permissions for (some) CFN CodePipeline actions ([#843](https://github.com/awslabs/aws-cdk/issues/843)) ([4c69118](https://github.com/awslabs/aws-cdk/commit/4c69118))
78+
* **toolkit:** Stop creating 'empty' stacks ([#779](https://github.com/awslabs/aws-cdk/issues/779)) ([1dddd8a](https://github.com/awslabs/aws-cdk/commit/1dddd8a))
79+
* **aws-autoscaling, aws-ec2:** Tagging support for AutoScaling/SecurityGroup ([#766](https://github.com/awslabs/aws-cdk/issues/766)) ([3d48eb2](https://github.com/awslabs/aws-cdk/commit/3d48eb2))
80+
81+
### BREAKING CHANGES
82+
83+
* **framework:** The `cdk.App` constructor doesn't accept any arguments,
84+
and `app.run()` does not return a `string` anymore. All AWS CDK apps in
85+
all languages would need to be modified to adhere to the new API of the
86+
`cdk.App` construct.
87+
88+
Instead of:
89+
90+
const app = new App(process.argv); // ERROR
91+
// add stacks
92+
process.stdout.write(app.run()); // ERROR
93+
94+
The new usage is:
95+
96+
const app = new App();
97+
// add stacks
98+
app.run();
99+
* **framework:** The CDK is no longer shipped with built-in support for JSX.
100+
You can still use JSX but you will have to manually configure it.
101+
* **aws-iam:** `PolicyDocument`, `PolicyStatement` and
102+
all `PolicyPrincipal` classes moved from the @aws-cdk/cdk module
103+
and into the @aws-cdk/aws-iam module.
104+
* **aws-codepipeline-api**: `Artifact.subartifact` method of the
105+
CodePipeline API was renamed to `Artifact.atPath`.
106+
* constructor signature of `TagManager` has changed.
107+
`initialTags` is now passed inside a props object.
108+
* **util:** @aws-cdk/util is no longer available
109+
* **aws-elasticloadbalancingv2:** Adds classes for modeling Application and Network Load
110+
Balancers. AutoScalingGroups now implement the interface that makes
111+
constructs a load balancing target. The breaking change is that Security
112+
Group rule identifiers have been changed in order to make adding rules
113+
more reliable. No code changes are necessary but existing deployments
114+
may experience unexpected changes.
115+
* **aws-cloudformation:** this renames all CloudFormation Actions for CodePipeline
116+
to bring them in line with Actions defined in other service packages.
117+
* **aws-codepipeline, aws-codecommit, aws-s3:** change the names of the source Actions from XxxSource to XxxSourceAction.
118+
This is to align them with the other Actions, like Build.
119+
Also, CodeBuild has the concept of Sources, so it makes sense to strongly differentiate between the two.
120+
121+
122+
1123
<a name="0.10.0"></a>
2124
## [0.10.0](https://github.com/awslabs/aws-cdk/compare/v0.9.2...v0.10.0) (2018-09-27)
3125

examples/cdk-examples-java/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cdk-examples-java",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "CDK examples in Java",
55
"private": true,
66
"repository": {
@@ -22,7 +22,7 @@
2222
},
2323
"license": "Apache-2.0",
2424
"devDependencies": {
25-
"aws-cdk": "^0.10.0",
26-
"pkgtools": "^0.10.0"
25+
"aws-cdk": "^0.11.0",
26+
"pkgtools": "^0.11.0"
2727
}
2828
}

examples/cdk-examples-typescript/package.json

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cdk-examples-typescript",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "A bunch of CDK examples",
55
"private": true,
66
"scripts": {
@@ -18,26 +18,26 @@
1818
},
1919
"license": "Apache-2.0",
2020
"devDependencies": {
21-
"aws-cdk": "^0.10.0",
22-
"cdk-build-tools": "^0.10.0",
23-
"pkglint": "^0.10.0"
21+
"aws-cdk": "^0.11.0",
22+
"cdk-build-tools": "^0.11.0",
23+
"pkglint": "^0.11.0"
2424
},
2525
"dependencies": {
26-
"@aws-cdk/aws-autoscaling": "^0.10.0",
27-
"@aws-cdk/aws-cloudformation": "^0.10.0",
28-
"@aws-cdk/aws-cognito": "^0.10.0",
29-
"@aws-cdk/aws-dynamodb": "^0.10.0",
30-
"@aws-cdk/aws-ec2": "^0.10.0",
31-
"@aws-cdk/aws-elasticloadbalancing": "^0.10.0",
32-
"@aws-cdk/aws-iam": "^0.10.0",
33-
"@aws-cdk/aws-lambda": "^0.10.0",
34-
"@aws-cdk/aws-neptune": "^0.10.0",
35-
"@aws-cdk/aws-rds": "^0.10.0",
36-
"@aws-cdk/aws-s3": "^0.10.0",
37-
"@aws-cdk/aws-sns": "^0.10.0",
38-
"@aws-cdk/aws-sqs": "^0.10.0",
39-
"@aws-cdk/cdk": "^0.10.0",
40-
"@aws-cdk/runtime-values": "^0.10.0"
26+
"@aws-cdk/aws-autoscaling": "^0.11.0",
27+
"@aws-cdk/aws-cloudformation": "^0.11.0",
28+
"@aws-cdk/aws-cognito": "^0.11.0",
29+
"@aws-cdk/aws-dynamodb": "^0.11.0",
30+
"@aws-cdk/aws-ec2": "^0.11.0",
31+
"@aws-cdk/aws-elasticloadbalancing": "^0.11.0",
32+
"@aws-cdk/aws-iam": "^0.11.0",
33+
"@aws-cdk/aws-lambda": "^0.11.0",
34+
"@aws-cdk/aws-neptune": "^0.11.0",
35+
"@aws-cdk/aws-rds": "^0.11.0",
36+
"@aws-cdk/aws-s3": "^0.11.0",
37+
"@aws-cdk/aws-sns": "^0.11.0",
38+
"@aws-cdk/aws-sqs": "^0.11.0",
39+
"@aws-cdk/cdk": "^0.11.0",
40+
"@aws-cdk/runtime-values": "^0.11.0"
4141
},
4242
"repository": {
4343
"url": "https://github.com/awslabs/aws-cdk.git",

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"tools/*"
88
],
99
"rejectCycles": "true",
10-
"version": "0.10.0"
10+
"version": "0.11.0"
1111
}

packages/@aws-cdk/applet-js/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/applet-js",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "Javascript CDK applet host program",
55
"main": "bin/cdk-applet-js.js",
66
"types": "bin/cdk-applet-js.d.ts",
@@ -23,11 +23,11 @@
2323
"license": "Apache-2.0",
2424
"devDependencies": {
2525
"@types/yamljs": "^0.2.0",
26-
"cdk-build-tools": "^0.10.0",
27-
"pkglint": "^0.10.0"
26+
"cdk-build-tools": "^0.11.0",
27+
"pkglint": "^0.11.0"
2828
},
2929
"dependencies": {
30-
"@aws-cdk/cdk": "^0.10.0",
30+
"@aws-cdk/cdk": "^0.11.0",
3131
"source-map-support": "^0.5.6",
3232
"yamljs": "^0.2.0"
3333
},

packages/@aws-cdk/assert/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/assert",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "An assertion library for use with CDK Apps",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -23,13 +23,13 @@
2323
},
2424
"license": "Apache-2.0",
2525
"devDependencies": {
26-
"cdk-build-tools": "^0.10.0",
27-
"pkglint": "^0.10.0"
26+
"cdk-build-tools": "^0.11.0",
27+
"pkglint": "^0.11.0"
2828
},
2929
"dependencies": {
30-
"@aws-cdk/cdk": "^0.10.0",
31-
"@aws-cdk/cloudformation-diff": "^0.10.0",
32-
"@aws-cdk/cx-api": "^0.10.0",
30+
"@aws-cdk/cdk": "^0.11.0",
31+
"@aws-cdk/cloudformation-diff": "^0.11.0",
32+
"@aws-cdk/cx-api": "^0.11.0",
3333
"source-map-support": "^0.5.6"
3434
},
3535
"repository": {

packages/@aws-cdk/assets/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/assets",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "Integration of CDK apps with local assets",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -49,17 +49,17 @@
4949
},
5050
"license": "Apache-2.0",
5151
"devDependencies": {
52-
"@aws-cdk/assert": "^0.10.0",
53-
"aws-cdk": "^0.10.0",
54-
"cdk-build-tools": "^0.10.0",
55-
"cdk-integ-tools": "^0.10.0",
56-
"pkglint": "^0.10.0"
52+
"@aws-cdk/assert": "^0.11.0",
53+
"aws-cdk": "^0.11.0",
54+
"cdk-build-tools": "^0.11.0",
55+
"cdk-integ-tools": "^0.11.0",
56+
"pkglint": "^0.11.0"
5757
},
5858
"dependencies": {
59-
"@aws-cdk/aws-iam": "^0.10.0",
60-
"@aws-cdk/aws-s3": "^0.10.0",
61-
"@aws-cdk/cdk": "^0.10.0",
62-
"@aws-cdk/cx-api": "^0.10.0"
59+
"@aws-cdk/aws-iam": "^0.11.0",
60+
"@aws-cdk/aws-s3": "^0.11.0",
61+
"@aws-cdk/cdk": "^0.11.0",
62+
"@aws-cdk/cx-api": "^0.11.0"
6363
},
6464
"homepage": "https://github.com/awslabs/aws-cdk"
6565
}

packages/@aws-cdk/aws-amazonmq/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/aws-amazonmq",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "The CDK Construct Library for AWS::AmazonMQ",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -53,12 +53,12 @@
5353
},
5454
"license": "Apache-2.0",
5555
"devDependencies": {
56-
"@aws-cdk/assert": "^0.10.0",
57-
"cdk-build-tools": "^0.10.0",
58-
"cfn2ts": "^0.10.0",
59-
"pkglint": "^0.10.0"
56+
"@aws-cdk/assert": "^0.11.0",
57+
"cdk-build-tools": "^0.11.0",
58+
"cfn2ts": "^0.11.0",
59+
"pkglint": "^0.11.0"
6060
},
6161
"dependencies": {
62-
"@aws-cdk/cdk": "^0.10.0"
62+
"@aws-cdk/cdk": "^0.11.0"
6363
}
6464
}

packages/@aws-cdk/aws-apigateway/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/aws-apigateway",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "The CDK Construct Library for AWS::ApiGateway",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -52,16 +52,16 @@
5252
},
5353
"license": "Apache-2.0",
5454
"devDependencies": {
55-
"@aws-cdk/assert": "^0.10.0",
56-
"cdk-build-tools": "^0.10.0",
57-
"cdk-integ-tools": "^0.10.0",
58-
"cfn2ts": "^0.10.0",
59-
"pkglint": "^0.10.0"
55+
"@aws-cdk/assert": "^0.11.0",
56+
"cdk-build-tools": "^0.11.0",
57+
"cdk-integ-tools": "^0.11.0",
58+
"cfn2ts": "^0.11.0",
59+
"pkglint": "^0.11.0"
6060
},
6161
"dependencies": {
62-
"@aws-cdk/aws-iam": "^0.10.0",
63-
"@aws-cdk/aws-lambda": "^0.10.0",
64-
"@aws-cdk/cdk": "^0.10.0"
62+
"@aws-cdk/aws-iam": "^0.11.0",
63+
"@aws-cdk/aws-lambda": "^0.11.0",
64+
"@aws-cdk/cdk": "^0.11.0"
6565
},
6666
"homepage": "https://github.com/awslabs/aws-cdk"
6767
}

packages/@aws-cdk/aws-applicationautoscaling/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws-cdk/aws-applicationautoscaling",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "The CDK Construct Library for AWS::ApplicationAutoScaling",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -52,13 +52,13 @@
5252
},
5353
"license": "Apache-2.0",
5454
"devDependencies": {
55-
"@aws-cdk/assert": "^0.10.0",
56-
"cdk-build-tools": "^0.10.0",
57-
"cfn2ts": "^0.10.0",
58-
"pkglint": "^0.10.0"
55+
"@aws-cdk/assert": "^0.11.0",
56+
"cdk-build-tools": "^0.11.0",
57+
"cfn2ts": "^0.11.0",
58+
"pkglint": "^0.11.0"
5959
},
6060
"dependencies": {
61-
"@aws-cdk/cdk": "^0.10.0"
61+
"@aws-cdk/cdk": "^0.11.0"
6262
},
6363
"homepage": "https://github.com/awslabs/aws-cdk"
6464
}

0 commit comments

Comments
 (0)