Skip to content

Commit

Permalink
chore(release): 2.20.0 (#19801)
Browse files Browse the repository at this point in the history
See [CHANGELOG](https://github.com/aws/aws-cdk/blob/bump/2.20.0/CHANGELOG.md)

For convenience, extracted the relevant CHANGELOG entry:

## [2.20.0](v2.19.0...v2.20.0) (2022-04-07)


### Features

* **cfnspec:** cloudformation spec v63.0.0 ([#19679](#19679)) ([dba96a9](dba96a9))
* **cfnspec:** cloudformation spec v65.0.0 ([#19745](#19745)) ([796fc64](796fc64))
* **cli:** add --build option ([#19663](#19663)) ([eb9b8e2](eb9b8e2)), closes [#19667](#19667)
* **cli:** preview of `cdk import` ([#17666](#17666)) ([4f12209](4f12209))
* **core:** throw error when stack name exceeds max length ([#19725](#19725)) ([1ffd45e](1ffd45e))
* **eks:** add k8s v1.22 ([#19756](#19756)) ([9a518c5](9a518c5))
* **opensearch:** Add latest Opensearch Version 1.2 ([#19749](#19749)) ([a2ac36e](a2ac36e))
* add new integration test runner ([#19754](#19754)) ([1b4d010](1b4d010))
* **eks:** alb-controller v2.4.1 ([#19653](#19653)) ([1ec08df](1ec08df))
* **lambda:** add support for ephemeral storage ([#19552](#19552)) ([f1d9b6a](f1d9b6a)), closes [#19605](#19605)
* **s3:** EventBridge bucket notifications ([#18614](#18614)) ([d8e602b](d8e602b)), closes [#18076](#18076)


### Bug Fixes

* **aws_applicationautoscaling:** Add missing members to PredefinedMetric enum ([#18978](#18978)) ([75a6fa7](75a6fa7)), closes [#18969](#18969)
* **cli:** apps with many resources scroll resource output offscreen ([#19742](#19742)) ([053d22c](053d22c)), closes [#19160](#19160)
* **cli:** support attributes of DynamoDB Tables for hotswapping ([#19620](#19620)) ([2321ece](2321ece)), closes [#19421](#19421)
* **cloudwatch:** automatic metric math label cannot be suppressed ([#17639](#17639)) ([7fa3bf2](7fa3bf2))
* **codedeploy:** add name validation for Application, Deployment Group and Deployment Configuration ([#19473](#19473)) ([9185042](9185042))
* **codedeploy:** the Service Principal is wrong in isolated regions ([#19729](#19729)) ([7e9a43d](7e9a43d)), closes [#19399](#19399)
* **core:** `Fn.select` incorrectly short-circuits complex expressions ([#19680](#19680)) ([7f26fad](7f26fad))
* **core:** detect and resolve stringified number tokens ([#19578](#19578)) ([7d9ab2a](7d9ab2a)), closes [#19546](#19546) [#19550](#19550)
* **core:** reduce CFN template indent size to save bytes ([#19656](#19656)) ([fd63ca3](fd63ca3))
* **ecs:** 'desiredCount' and 'ephemeralStorageGiB' cannot be tokens ([#19453](#19453)) ([c852239](c852239)), closes [#16648](#16648)
* **ecs:** remove unnecessary error when adding volume to external task definition ([#19774](#19774)) ([5446ded](5446ded)), closes [#19259](#19259)
* **iam:** policies aren't minimized as far as possible ([#19764](#19764)) ([876ed8a](876ed8a)), closes [#19751](#19751)
* **logs:** Faulty Resource Policy Generated ([#19640](#19640)) ([1fdf122](1fdf122)), closes [#17544](#17544)
  • Loading branch information
mergify[bot] committed Apr 7, 2022
2 parents 576bac0 + 6361984 commit 738ef49
Show file tree
Hide file tree
Showing 611 changed files with 17,546 additions and 2,156 deletions.
@@ -1,44 +1,64 @@
name: Bug Report
---
name: "🐛 Bug Report"
description: Report a bug
title: "(module name): short issue description"
title: "(module name): (short issue description)"
labels: [bug, needs-triage]
assignees: []
body:
- type: textarea
id: problem
id: description
attributes:
label: What is the problem?
label: Describe the bug
description: What is the problem? A clear and concise description of the bug.
validations:
required: true

- type: textarea
id: reproduction
id: expected
attributes:
label: Reproduction Steps
label: Expected Behavior
description: |
Minimal amount of code that causes the bug (if possible) or a reference.
The code sample should be an SSCCE. See http://sscce.org/ for details.
In short, provide a code sample that we can copy/paste, run and reproduce.
What did you expect to happen?
validations:
required: true

- type: textarea
id: expected
id: current
attributes:
label: What did you expect to happen?
label: Current Behavior
description: |
What were you trying to achieve by performing the steps above?
What actually happened?
Please include full errors, uncaught exceptions, stack traces, and relevant logs.
If service responses are relevant, please include wire logs.
validations:
required: true

- type: textarea
id: actual
id: reproduction
attributes:
label: What actually happened?
label: Reproduction Steps
description: |
What is the unexpected behavior you were seeing? If you got an error, paste it here.
Provide a self-contained, concise snippet of code that can be used to reproduce the issue.
For more complex issues provide a repo with the smallest sample that reproduces the bug.
Avoid including business logic or unrelated code, it makes diagnosis more difficult.
The code sample should be an SSCCE. See http://sscce.org/ for details. In short, please provide a code sample that we can copy/paste, run and reproduce.
validations:
required: true
- type: textarea
id: solution
attributes:
label: Possible Solution
description: |
Suggest a fix/reason for the bug
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional Information/Context
description: |
Anything else that might be relevant for troubleshooting this bug. Providing context helps us come up with a solution that is most useful in the real world.
validations:
required: false

- type: input
id: cdk-version
Expand Down Expand Up @@ -99,10 +119,3 @@ body:
e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, slack, etc
validations:
required: false

- type: markdown
attributes:
value: |
---
This is :bug: Bug Report
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -1,5 +1,6 @@
---
blank_issues_enabled: false
contact_links:
- name: Stackoverflow
url: https://stackoverflow.com/questions/tagged/aws-cdk
about: Please ask and answer questions here.
- name: 💬 General Question
url: https://github.com/aws/aws-cdk/discussions/categories/q-a
about: Please ask and answer questions as a discussion thread
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/doc.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
@@ -0,0 +1,23 @@
---
name: "📕 Documentation Issue"
description: Report an issue in the API Reference documentation or Developer Guide
title: "(short issue description)"
labels: [documentation, needs-triage]
assignees: []
body:
- type: textarea
id: description
attributes:
label: Describe the issue
description: A clear and concise description of the issue.
validations:
required: true

- type: textarea
id: links
attributes:
label: Links
description: |
Include links to affected documentation page(s).
validations:
required: true
49 changes: 26 additions & 23 deletions .github/ISSUE_TEMPLATE/feature-request.yml
@@ -1,56 +1,59 @@
name: Feature Request
description: Request a new feature
title: "(module name): short issue description"
---
name: 🚀 Feature Request
description: Suggest an idea for this project
title: "(short issue description)"
labels: [feature-request, needs-triage]
assignees: []
body:
- type: textarea
id: description
attributes:
label: Description
description: Short description of the feature you are proposing.
label: Describe the feature
description: A clear and concise description of the feature you are proposing.
validations:
required: true

- type: textarea
id: use-case
attributes:
label: Use Case
description: |
Why do you need this feature?
Why do you need this feature? For example: "I'm always frustrated when..."
validations:
required: true

required: true
- type: textarea
id: solution
attributes:
label: Proposed Solution
description: |
Please include prototype/workaround/sketch/reference implementation.
Suggest how to implement the addition or change. Please include prototype/workaround/sketch/reference implementation.
validations:
required: true

required: false
- type: textarea
id: other
attributes:
label: Other information
label: Other Information
description: |
e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, slack, etc
Any alternative solutions or features you considered, a more detailed explanation, stack traces, related issues, links for context, etc.
validations:
required: false

- type: checkboxes
id: acknowledgments
id: ack
attributes:
label: Acknowledge
label: Acknowledgements
options:
- label: I may be able to implement this feature request
required: false
- label: This feature might incur a breaking change
required: false

- type: markdown
- type: input
id: sdk-version
attributes:
value: |
---
This is a :rocket: Feature Request
label: CDK version used
validations:
required: true
- type: input
id: environment
attributes:
label: Environment details (OS name and version, etc.)
validations:
required: true
87 changes: 0 additions & 87 deletions .github/ISSUE_TEMPLATE/general-issue.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Expand Up @@ -12,6 +12,6 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@v2.1.0
- uses: hmarr/auto-approve-action@v2.2.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
16 changes: 8 additions & 8 deletions .github/workflows/issue-label-assign.yml
Expand Up @@ -2,10 +2,8 @@ name: "Set Issue Label and Assignee"
on:
issues:
types: [opened, edited]
pull_request:
types: [opened, edited]
pull_request_target:
types: [opened, edited]
types: [opened]

jobs:
issue-triage-manager:
Expand Down Expand Up @@ -39,7 +37,7 @@ jobs:
included-labels: "[guidance]"
default-area: ${{ env.OSDS_DEVS }}
parameters: >
[{"area":"guidance","keywords":["guidance"]}]
[{"area":"guidance","keywords":["guidancekeyword"]}]
pr-triage-manager:
permissions:
issues: write
Expand All @@ -48,12 +46,14 @@ jobs:
steps:
- uses: aws-github-ops/aws-issue-triage-manager@main
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
github-token: "${{ secrets.PROJEN_GITHUB_TOKEN }}"
target: "pull-requests"
area-is-keyword: true
excluded-labels: "[contribution/core]"
parameters: ${{ env.AREA_PARAMS }}
affixes: ${{ env.AREA_AFFIXES }}
default-area: >
{"reviewers":{"teamReviewers":["aws-cdk-owners"]}}
parameters: >
[{"area":"pullrequests","keywords":["pullrequestkeyword"]}]
env:
OSDS_DEVS: >
Expand Down

0 comments on commit 738ef49

Please sign in to comment.