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.71.0 #11197

Merged
merged 41 commits into from
Oct 29, 2020
Merged

chore(release): 1.71.0 #11197

merged 41 commits into from
Oct 29, 2020

Conversation

aws-cdk-automation
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation commented Oct 29, 2020

See CHANGELOG

AnderEnder and others added 30 commits October 23, 2020 23:07
Add additional minor versions for engines

Closes #11066

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Closes #11052

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Bumps [jest-junit](https://github.com/jest-community/jest-junit) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/jest-community/jest-junit/releases)
- [Commits](jest-community/jest-junit@v11.1.0...v12.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [jest](https://github.com/facebook/jest) from 26.6.0 to 26.6.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](jestjs/jest@v26.6.0...v26.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.4.1 to 26.4.2.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v26.4.1...v26.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [@types/md5](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/md5) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/md5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.776.0 to 2.778.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.776.0...v2.778.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
…432 (#11105)

Bumps [parcel](https://github.com/parcel-bundler/parcel) from 2.0.0-nightly.429 to 2.0.0-nightly.432.
- [Release notes](https://github.com/parcel-bundler/parcel/releases)
- [Changelog](https://github.com/parcel-bundler/parcel/blob/v2/CHANGELOG.md)
- [Commits](https://github.com/parcel-bundler/parcel/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
…11033)

Fixes #11015 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Adding the --all option to deploy all stacks.

`cdk deploy --all` 

This is an alias of `*`. The previous command does the same as the following one:

`cdk deploy '*'` 

Closes #3222

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
)

We stage assets into the Cloud Assembly directory. If there are multiple
nested Cloud Assemblies, the same asset will be staged multiple times.
This leads to an N-fold increase in size of the Cloud Assembly when used
in combination with CDK Pipelines (where N is the number of stages
deployed), and may even lead the Cloud Assembly to exceed CodePipeline's
maximum artifact size of 250MB.

Add the concept of an `assetOutdir` next to a regular Cloud Assembly
`outDir`, so that multiple Cloud Assemblies can share an asset
directory. As an initial implementation, the `assetOutdir` of nested
Cloud Assemblies is just the regular `outdir` of the root Assembly.

We are playing a bit fast and loose with the semantics of file paths
across our code base; many properties just say "the path of X" without
making clear whether it's absolute or relative, and if it's relative
what it's relative to (`cwd()`? Or the Cloud Assembly directory?).

Turns out that especially in dealing with assets, the answer is
"can be anything" and things just happen to work out based on who is
providing the path and who is consuming it. In order to limit the
scope of the changes I needed to make I kept modifications to the
`AssetStaging` class:

* `stagedPath` now consistently returns an absolute path.
* `relativeStagedPath()` a path relative to the Cloud Assembly or an
  absolute path, as appropriate.

Related changes in this PR:

- Refactor the *copying* vs. *bundling* logic in `AssetStaging`. I found
  the current maze of `if`s and member variable changes too hard to
  follow to convince myself the new code would be doing the right thing,
  so I refactored it to reduce the branching factor.

- Switch the tests of `aws-ecr-assets` over to Jest using
  `nodeunitShim`.

Fixes #10877, fixes #9627, fixes #9917.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
If AWS_CDK_DISABLE_VERSION_CHECK is defined, skip checking for newer
versions.

fixes #10974


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Java 14 is out of date and new new latest version is 15 according to
https://en.wikipedia.org/wiki/Java_version_history

Keeping Java14 for backwards compatibility since 15 is very new.

example:

```
$ java -version
openjdk version "15.0.1" 2020-10-20
OpenJDK Runtime Environment Corretto-15.0.1.9.1 (build 15.0.1+9)
OpenJDK 64-Bit Server VM Corretto-15.0.1.9.1 (build 15.0.1+9, mixed mode, sharing)
```


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
tests for the cognito module are in jest and don't need nodeunit


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…on, StopQueryExeuction, GetQueryResults and GetQueryExecution (#11045)

feat(stepfunctions-tasks): support for Athena APIs: StartQueryExecution, StopQueryExeuction, GetQueryResults and GetQueryExecution 

**Implementation**

Update package `@aws-cdk/aws-stepfunctions-tasks` to include support for Athena **StartQueryExecution**, **StopQueryExeuction**, **GetQueryResults**, **GetQueryExecution**    API as per documentation here: 
https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html

Includes support for the following Amazon Athena API calls:
* `StartQueryExecution`
* `StopQueryExeuction`
* `GetQueryResults`
* `GetQueryExecution`

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
* docs(contributing): Add note on global npm installs, change OpenJDK URL

* Added missing package maturities

* Change id to stack_id in Python init template

* Change stack_id to construct_id

* Change id to construct_id in Python sample-app

* Fix construct_id

* Fix super with construct_id

* Fix broken init templates

* Fix missing maturity

* Fix init templates

* Fix init templates

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
… recommendation (#10995)

Replace virtualenv directory `.env` to `.venv` for the python templates

Closes #9134

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Bumps [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint) from 7.2.3 to 7.2.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](sindresorhus/camelcase@v6.0.0...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
https://aws.amazon.com/about-aws/whats-new/2020/10/aws-cloudformation-now-supports-increased-limits-on-five-service-quotas/

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
enironment ->
environment

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…1101)

closes #10694

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Some users want to use `CfnInit` more flexibly, not with one of
our supported avenues of `Instance` or `AutoScalingGroup` (a prime
use case is AutoScalingGroups with LaunchTemplates, which we have no
L2 for yet).

To do that, they need to be able to call `CfnInit.attach()`.

This change makes that method public so users are able to call it.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…cy ARNs (#9867)

The current bootstrapping experience has sharp edges. It requires you
to pass `--cloudformation-execution-policies` in all cases, even if
you just want a "simple", same-account bootstrap stack. If you bootstrap
your own accounts, you probably don't have a centralized SecOps
team that is limiting you, and you're probably intending to deploy
everything using the CDK, which means you're looking for AdministratorAccess.

In effect, you are forced to constantly Google and copy/paste the ARN
for `AdministratorAccess` (because who can remember that)
and it's a bad experience.

In the case of bootstrapping an account just for use "by itself",
however (which is the 90% use case for bootstrapping),
the trust boundary is very clear and there's no risk of privilege
escalation between accounts.

Add an optimization where in the case of a "simple", non-cross account
bootstrap, we'll default to the AdministratorAccess ARN for you.

Once you establish `--trust` with another account, we'll still
force you to spell out the execution policy you'll want to use though.

Fixes #8571.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
RomainMuller and others added 10 commits October 28, 2020 16:12
The collection of creation stack traces for each instanciation of a
`Lazy` object is fairly slow, and retention of the stack traces incurs a
significant toll on heap memory usage; especially in contexts where many
such instances are created.

In order to remove the performance toll of those and remove the impact
on heap allocation, while retaining the ability to get access to the
stack traces when they are useful (i.e: for debugging a resolution time
issue), the stack trace capture is now conditioned to the `CDK_DEBUG`
environment variable being set to `'true'`, which can also be set via
the new `--debug` argument of the `cdk` command line tool.

BREAKING CHANGE: Creation stack traces for `Lazy` values are no longer
captured by default. The `CDK_DEBUG=true` environment variable must be
set in order to capture stack traces (this is also achieved by using the
`--debug` option of the `cdk` CLI). Users should not need those stack
traces most of the time, and should only enable creation stack trace
captures when tyring to troubleshoot a resolution error that they are
otherwise unable to trace back.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Introduces CloudFormation init (cfn-init) support for autoscaling groups.
This builds on the previous work (#9065) and (#9664) that introduced init
support for instances.

This change also reworks the existing signaling functionality, as this becomes
even more important with cfn-init.

A final change is to export the `CloudFormationInit._attach` method and related
options.

Credit for 90% of this goes to @rix0rrr; all cfn-init support was pair-
programmed, but the ASG stuff was mostly him.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The canary runtime property determines which [synthetics runtime version](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_Library.html) will be included in the lambda function created by the Synthetics service. The difference between runtime versions could be as dramatic as a change to the supported nodejs version.  Given that the "sane default" value changes as new runtime versions are released, it is better to leave it to the user to make an informed decision which version to use.

Merged the previous two integration tests so it will be easier to test. 

BREAKING CHANGE: `runtime` is now a required property.  
 


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…in Developer Preview (#11180)




----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.778.0 to 2.781.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](aws/aws-sdk-js@v2.778.0...v2.781.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.4.2 to 26.4.3.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v26.4.2...v26.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
This new version includes the `node.addr` property which deprecates `uniqueId`.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
fixes #11161


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This library is being checked by pkglint to ensure a minimum compatible version is honored.
As long as this requirement exists, the workflow cannot automatically upgrade constructs
without causing a build break, which is undesirable in this context.
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
@aws-cdk-automation aws-cdk-automation added the pr/no-squash This PR should be merged instead of squash-merging it label Oct 29, 2020
@RomainMuller RomainMuller requested a review from a team October 29, 2020 14:20
@RomainMuller RomainMuller self-assigned this Oct 29, 2020
@nija-at nija-at added the pr/do-not-merge This PR should not be merged at this time. label Oct 29, 2020
@gitpod-io
Copy link

gitpod-io bot commented Oct 29, 2020

@aws-cdk-automation
Copy link
Collaborator Author

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 52bf72b
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@RomainMuller RomainMuller removed the pr/do-not-merge This PR should not be merged at this time. label Oct 29, 2020
@mergify
Copy link
Contributor

mergify bot commented Oct 29, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically without squashing (do not update manually, and be sure to allow changes to be pushed to your fork).

@RomainMuller RomainMuller merged commit 953bc25 into release Oct 29, 2020
@RomainMuller RomainMuller deleted the bump/1.71.0 branch October 29, 2020 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-squash This PR should be merged instead of squash-merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.