Skip to content

Commit 64c8741

Browse files
authored
Merge branch 'master' into ktheory/19382
2 parents 24855a9 + 1bef14e commit 64c8741

File tree

493 files changed

+8332
-8055
lines changed

Some content is hidden

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

493 files changed

+8332
-8055
lines changed

Diff for: .github/PULL_REQUEST_TEMPLATE.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11

22
----
33

4+
### All Submissions:
5+
6+
* [ ] Have you followed the guidelines in our [Contributing guide?](../CONTRIBUTING.md)
7+
8+
### Adding new Unconventional Dependencies:
9+
10+
* [ ] This PR adds new unconventional dependencies following the process described [here](../CONTRIBUTING.md/#adding-new-unconventional-dependencies)
11+
412
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*

Diff for: .github/workflows/issue-label-assign.yml

+100-91
Large diffs are not rendered by default.

Diff for: CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
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.
44

5+
## [1.149.0](https://github.com/aws/aws-cdk/compare/v1.148.0...v1.149.0) (2022-03-17)
6+
7+
8+
### Features
9+
10+
* **appsync:** add OpenSearch domain data source ([#16529](https://github.com/aws/aws-cdk/issues/16529)) ([922a9dc](https://github.com/aws/aws-cdk/commit/922a9dcf07174334ac67b9fcbacb01aafdfd9c6a)), closes [#16528](https://github.com/aws/aws-cdk/issues/16528)
11+
* **assertions:** Add the `hasNoXXX` methods. ([#19330](https://github.com/aws/aws-cdk/issues/19330)) ([6bdc9eb](https://github.com/aws/aws-cdk/commit/6bdc9eb52608329f1e66c420cb6c61aa942d17b0)), closes [#18874](https://github.com/aws/aws-cdk/issues/18874)
12+
* **aws-lambda-nodejs:** support additional esbuild configurations ([#17788](https://github.com/aws/aws-cdk/issues/17788)) ([ab313a4](https://github.com/aws/aws-cdk/commit/ab313a4abbec14a1886a7c87673dbc66354811ef))
13+
* **cfnspec:** cloudformation spec v60.0.0 ([#19347](https://github.com/aws/aws-cdk/issues/19347)) ([20da648](https://github.com/aws/aws-cdk/commit/20da648cebddd6feaf8a54d2bf40f3ba3bd30979))
14+
* **cli:** parallel asset publishing ([#19367](https://github.com/aws/aws-cdk/issues/19367)) ([c8cafef](https://github.com/aws/aws-cdk/commit/c8cafefc4cd98e7217973cd9eb0e92263a916b4f)), closes [#19193](https://github.com/aws/aws-cdk/issues/19193)
15+
* **ec2:** add support for x2idn and x2iedn instances ([#19334](https://github.com/aws/aws-cdk/issues/19334)) ([9699efc](https://github.com/aws/aws-cdk/commit/9699efc0c0b0e2b265daf824147be2827555cafa))
16+
* **elbv2:** add name validation for target group and load balancer names ([#19385](https://github.com/aws/aws-cdk/issues/19385)) ([97e0973](https://github.com/aws/aws-cdk/commit/97e09730cbb7c155e6697ace166348064d810449)), closes [/docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2](https://github.com/aws//docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html/issues/cfn-elasticloadbalancingv2) [/docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html#cfn-elasticloadbalancingv2](https://github.com/aws//docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-loadbalancer.html/issues/cfn-elasticloadbalancingv2)
17+
* **iotevents:** support SetVariable action ([#19305](https://github.com/aws/aws-cdk/issues/19305)) ([c222b12](https://github.com/aws/aws-cdk/commit/c222b122206e00dc9932639efd54d78a16ebf6d3))
18+
* **lambda:** dotnet6 runtime ([#19144](https://github.com/aws/aws-cdk/issues/19144)) ([bbed27d](https://github.com/aws/aws-cdk/commit/bbed27d95ab2724db937964d01aec5564a77e84f))
19+
* **synthetics:** add vpc configuration ([#18447](https://github.com/aws/aws-cdk/issues/18447)) ([c991e92](https://github.com/aws/aws-cdk/commit/c991e92453034330b68daa5b5721119e770b6109)), closes [#11865](https://github.com/aws/aws-cdk/issues/11865) [#9954](https://github.com/aws/aws-cdk/issues/9954)
20+
21+
22+
### Bug Fixes
23+
24+
* **cli:** failure to load malformed YAML is swallowed ([#19338](https://github.com/aws/aws-cdk/issues/19338)) ([1875c28](https://github.com/aws/aws-cdk/commit/1875c28865690d59c22939039a5d0e37039ab63c)), closes [#19335](https://github.com/aws/aws-cdk/issues/19335)
25+
* **lambda-event-sources:** increase batch size restriction ([#19317](https://github.com/aws/aws-cdk/issues/19317)) ([1bc5144](https://github.com/aws/aws-cdk/commit/1bc5144b05938829f90b89001ccda8fd4aefe343)), closes [#19285](https://github.com/aws/aws-cdk/issues/19285)
26+
* **lambda-nodejs:** cannot use esbuildArgs with older esbuild versions ([#19343](https://github.com/aws/aws-cdk/issues/19343)) ([59a4d81](https://github.com/aws/aws-cdk/commit/59a4d81cc712eedfd755232d157a2e492eb3d886))
27+
* **stepfunctions-tasks:** migrate from deprecated batch properties ([#19298](https://github.com/aws/aws-cdk/issues/19298)) ([75f5b3b](https://github.com/aws/aws-cdk/commit/75f5b3b69abf592b2c6d0ec6c19c374754e50f97)), closes [#18993](https://github.com/aws/aws-cdk/issues/18993)
28+
529
## [1.148.0](https://github.com/aws/aws-cdk/compare/v1.147.0...v1.148.0) (2022-03-09)
630

731

Diff for: CONTRIBUTING.md

+27
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ $ yarn watch & # runs in the background
292292

293293
* Shout out to collaborators.
294294

295+
* Call out any new [unconventional dependencies](#adding-new-unconventional-dependencies) that are created as part of your PR.
296+
295297
* If not obvious (i.e. from unit tests), describe how you verified that your change works.
296298

297299
* If this PR includes breaking changes, they must be listed at the end in the following format
@@ -312,6 +314,30 @@ $ yarn watch & # runs in the background
312314
* Make sure to update the PR title/description if things change. The PR title/description are going to be used as the
313315
commit title/message and will appear in the CHANGELOG, so maintain them all the way throughout the process.
314316

317+
#### Adding new unconventional dependencies
318+
319+
**For the aws-cdk an unconventional dependency is defined as any dependency that is not managed via the module's
320+
`package.json` file.**
321+
322+
Sometimes constructs introduce new unconventional dependencies. Any new unconventional dependency that is introduced needs to have
323+
an auto upgrade process in place. The recommended way to update dependencies is through [dependabot](https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates).
324+
You can find the dependabot config file [here](./.github/dependabot.yml).
325+
326+
An example of this is the [@aws-cdk/lambda-layer-awscli](packages/@aws-cdk/lambda-layer-awscli) module.
327+
This module creates a lambda layer that bundles the AWS CLI. This is considered an unconventional
328+
dependency because the AWS CLI is bundled into the CDK as part of the build, and the version
329+
of the AWS CLI that is bundled is not managed by the `package.json` file.
330+
331+
In order to automatically update the version of the AWS CLI, a custom build process was
332+
created that takes upgrades into consideration. You can take a look at the files in
333+
[packages/@aws-cdk/lambda-layer-awscli/layer](packages/@aws-cdk/lambda-layer-awscli/layer)
334+
to see how the build works, but at a high level a [requirements.txt](packages/@aws-cdk/lambda-layer-awscli/layer/requirements.txt)
335+
file was created to manage the version. This file was then added to [dependabot.yml](https://github.com/aws/aws-cdk/blob/ab57eb6d1ed69b40ed6ec774853c275785acace8/.github/dependabot.yml#L14-L20)
336+
so that dependabot will automatically upgrade the version as new versions are released.
337+
338+
**If you think your PR introduces a new unconventional dependency, make sure to call it
339+
out in the description so that we can discuss the best way to manage that dependency.**
340+
315341
### Step 5: Merge
316342

317343
* Make sure your PR builds successfully (we have CodeBuild setup to automatically build all PRs).
@@ -343,6 +369,7 @@ Breaking changes come in two flavors:
343369
* API surface changes
344370
* Behavior changes
345371

372+
346373
### API surface changes
347374

348375
This encompasses any changes that affect the shape of the API. Changes that

Diff for: package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"fs-extra": "^9.1.0",
2222
"graceful-fs": "^4.2.9",
2323
"jest-junit": "^13.0.0",
24-
"jsii-diff": "^1.54.0",
25-
"jsii-pacmak": "^1.54.0",
26-
"jsii-reflect": "^1.54.0",
27-
"jsii-rosetta": "^1.54.0",
24+
"jsii-diff": "^1.55.0",
25+
"jsii-pacmak": "^1.55.0",
26+
"jsii-reflect": "^1.55.0",
27+
"jsii-rosetta": "^1.55.0",
2828
"lerna": "^4.0.0",
2929
"patch-package": "^6.4.7",
3030
"semver": "^6.3.0",

0 commit comments

Comments
 (0)