-
Notifications
You must be signed in to change notification settings - Fork 4.3k
chore(release): 1.133.0 #17599
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
Merged
Merged
chore(release): 1.133.0 #17599
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
Included in this PR: - chore(stepfunctions): migrate tests to assertions - chore(stepfunctions-tasks): migrate tests to assertions For both modules, removes dev dependency to `assert-internal` and replaces it with `assertions`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
A previous commit - 0fb2179 - removed the need for vendoring in the old assert module. It had previously required its dependencies to be bundled. These dependencies are no longer required. This clean up was missed in the previous commit. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
closes #14828 By this PR, we can allow access to management API by the following code. ```ts const api = new WebSocketApi(stack, 'Api'); const defaultStage = new WebSocketStage(stack, 'Stage', { webSocketApi: api, stageName: 'dev', }); const principal = new User(stack, 'User'); api.grantManagementApiAccess(principal); // allow access to the management API for all the stage defaultStage.grantManagementApiAccess(principal); // allow access to the management API for a specific stage ``` We use WebSocket API Management API to send messages to a WebSocket API. [(doc)](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html) To use the API, we must set IAM statement as below [(doc)](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-control-access-iam.html): ```json { "Effect": "Allow", "Action": [ "execute-api:ManageConnections" ], "Resource": [ "arn:aws:execute-api:us-east-1:account-id:api-id/stage-name/POST/@connections/*" ] } ``` We need `/*` at the end of resource ARN because there will be arbitrary strings (`connectionId`). i.e. `{apiArn}/{stageName}/POST/@connections/{connectionId}` ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The init template tests now run tests for each language. However, the python app init template does not have any defined tests (the sample test is commented out). This causes the init template test to fail. Leaving the SQS assertion commented out, but uncommenting the rest of the test so a no-op test runs successfully. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
`jsii-rosetta infuse` will modify all the assemblies in-place to add examples to types that don't have examples yet. Re-roll 3 of this feature. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…Path` (#17376) Add `DynamoAttributeValue.listFromJsonPath(value: string)` to allow specifying a list/array from the state input as a parameter in a DynamoDB PutItem or UpdateItem optimized integration in stepfunctions-tasks. Closes #17375 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Add timezone property to ScheduledAction.
example:
```typescript
import * as asg from '@aws-cdk/aws-autoscaling';
new asg.ScheduledAction(this, 'test', {
autoScalingGroup: 'test',
desiredCapacity: 1,
minCapacity: 1,
maxCapacity: 2,
schedule: {
expressionString: '0 3 * * *'
},
timeZone: 'Asia/Seoul'
});
```
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Add support for nested stacks ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This will prevent regression in compilation status for the top 25 construct libraries, that we've gone through the effort of making compile. This also gets rid of the `@example` values in most of the construct libraries here. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This PR refactor the test that I committed earlier based on the above comment. - #17307 (comment) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…17403) ## Summary This PR modifies the aws-logs `index.ts` file to also forward the exports from `policy.ts` ([a newly created file](#17015) that implements the `ResourcePolicy` class). Fixes: #17402 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…gure layers and environment (#17372) ## Summary This PR adds the following to `SingletonFunction`: - `runtime` - property - `logGroup` - property - `addLayers()` - method - `addEnvironment()` - method Fixes: #17369 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
## Summary This PR adds `@aws-cdk/asserts` to the dependency list of `aws-codebuild`. Fixes: #17416 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…onstraint (#17371) Service Catalog Launch Role Constraints support the ability to reference a role by name. Many customers use Service Catalog in a hub and spoke model, sharing portfolios to many accounts. This feature allows the launch role to be account agnostic, as the arn is tied to a single account. As a result, a launch role constraint can be created once with the role name and shared rather than sharing the portfolio and creating a launch role constraint in each spoke account. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* Co-authored-by: Aidan Crank <[email protected]>
`rosetta` folder is erroneously tracked by git. This PR adds `rosetta` to `.gitignore` and removes the folder from the repo. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
Currently ubergen bundles all fixtures into the same `rosetta` folder. This means that all fixtures in files called `default.ts-fixture` replace each other as they are found and vie to be the last `default.ts-fixture` standing in the `rosetta` folder. This causes unintended compiliation failures for `yarn rosetta:extract --compile` in projects that rely on ubergen, since they will be copied into the wrong `default.ts-fixture`. The solution here in jsii is to find fixtures based on submodules: aws/jsii#3131. This PR updates ubergen to construct the necessary subfolders in `rosetta` so that the expected submodule fixtures can be found. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Add `watch` to the list of commands that require bundling. Closes #17391 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This PR refactor the test that I committed earlier, and is based on the following comment. - #17307 (comment) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
I'm trying to implement aws-iot L2 Constructs. This PR is one of steps after following PR: - #16681 (comment) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…al tooling (#17343) ---- Reference issue #14593 Building on this initial PR: #1433 We're looking to add asset metadata to the NestedStack resource. The implementation is similar to this one [design/code-asset-metadata.md](https://github.com/aws/aws-cdk/pull/design/code-asset-metadata.md). This will allow SAM CLI to support CDK-synthed templates nested function resources. *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
) fixes #16188 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
) Adds Assets metadata to RestApi resource in case if AssetApiDefinition is used. This Metadata will enable SAM CLI to find local assets used by RestApi in the template. It follows the same design in document [design/code-asset-metadata.md](https://github.com/aws/aws-cdk/pull/design/code-asset-metadata.md) Fixes #14593 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…lambda (#17273) fixing cross region subscriptions to SQS and Lambda. This PR handles a couple different scenarios. This only applies to SNS topics that are instanceof sns.Topic, it does not apply to imported topics (sns.ITopic). The current behavior for imported topics will remain the same. 1. SNS Topic and subscriber (sqs or lambda) are created in separate stacks with explicit environment. In this case if the `region` is different between the two stacks then the topic region will be provided in the subscription. 2. SNS Topic and subscriber (sqs or lambda) are created in separate stacks, and _both_ are env agnostic (no explicit region is provided) In this case a region is not specified in the subscription resource, which means it is assumed that they are both created in the same region. The alternatives are to either throw an error telling the user to specify a region, or to create a CfnOutput with the topic region. Since it should be a rare occurrence for a user to be deploying a CDK app with multiple env agnostic stacks that are meant for different environments, I think the best option is to assume same region. 3. SNS Topic and subscriber (sqs or lambda) are created in separate stacks, and _one_ of them are env agnostic (no explicit region is provided) In this case if the SNS stack has an explicit environment then we will provide that in the subscription resource (assume that it is cross region). If the SNS stack is env agnostic then we will do nothing (assume they are created in the same region). fixes #7044,#13707 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Three changes: - Clearly show all versions involved in regression tests (framework, CLI and tests). - Stop printing all extracted files, it's very distracting. - Also copy over the `helper` directory from previous tests. Otherwise, any backwards incompatible changes we make in the tests themselves are going to break the tests. Not an issue right now, but it might be in the future. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
Render legacy style alarms even if the user explicitly passes in the `Aws.ACCOUNT_ID` token: we can compare these strings since we every call to `Aws.ACCOUNT_ID` is guaranteed to return the same tokenized string. Only switch to modern-style alarms if we cannot successfully determine that they are definitely equal. This simplifies one more case that would accidentally trigger new-style alarms, which some SNS notification consumers are not equipped to handle. Add a section to the README explaining the differences between old and new-style alarms, and that SNS consumers need to pay attention to the differences. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Released my action as an aws open source project [https://github.com/aws-github-ops/aws-issue-triage-manager](aws-issue-triage-manager) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Fix examples and turn on strict mode for `kinesis` and related modules. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…s-lambda-python/test/lambda-handler-project/shared (#17557) Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.2 to 8.3.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p> <blockquote> <h2>8.3.2</h2> <p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html">https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html</a></p> <h2>Security</h2> <ul> <li> <p>CVE-2021-23437 Raise ValueError if color specifier is too long [hugovk, radarhere]</p> </li> <li> <p>Fix 6-byte OOB read in FliDecode [wiredfool]</p> </li> </ul> <h2>Python 3.10 wheels</h2> <ul> <li>Add support for Python 3.10 <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5569">#5569</a>, <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5570">#5570</a> [hugovk, radarhere]</li> </ul> <h2>Fixed regressions</h2> <ul> <li> <p>Ensure TIFF <code>RowsPerStrip</code> is multiple of 8 for JPEG compression <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5588">#5588</a> [kmilos, radarhere]</p> </li> <li> <p>Updates for <code>ImagePalette</code> channel order <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5599">#5599</a> [radarhere]</p> </li> <li> <p>Hide FriBiDi shim symbols to avoid conflict with real FriBiDi library <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5651">#5651</a> [nulano]</p> </li> </ul> <h2>8.3.1</h2> <p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/8.3.1.html">https://pillow.readthedocs.io/en/stable/releasenotes/8.3.1.html</a></p> <h2>Changes</h2> <ul> <li>Catch OSError when checking if fp is sys.stdout <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5585">#5585</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Handle removing orientation from alternate types of EXIF data <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5584">#5584</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Make Image.<strong>array</strong> take optional dtype argument <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5572">#5572</a> [<a href="https://github.com/t-vi"><code>@t-vi</code></a>]</li> </ul> <h2>8.3.0</h2> <p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html</a></p> <h2>Changes</h2> <ul> <li>Use snprintf instead of sprintf <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5567">#5567</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Limit TIFF strip size when saving with LibTIFF <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5514">#5514</a> [<a href="https://github.com/kmilos"><code>@kmilos</code></a>]</li> <li>Allow ICNS save on all operating systems <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/4526">#4526</a> [<a href="https://github.com/newpanjing"><code>@newpanjing</code></a>]</li> <li>De-zigzag JPEG's DQT when loading; deprecate convert_dict_qtables <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/4989">#4989</a> [<a href="https://github.com/gofr"><code>@gofr</code></a>]</li> <li>Do not use background or transparency index for new color <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5564">#5564</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Simplified code <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5315">#5315</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Replaced xml.etree.ElementTree <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5565">#5565</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p> <blockquote> <h2>8.3.2 (2021-09-02)</h2> <ul> <li> <p>CVE-2021-23437 Raise ValueError if color specifier is too long [hugovk, radarhere]</p> </li> <li> <p>Fix 6-byte OOB read in FliDecode [wiredfool]</p> </li> <li> <p>Add support for Python 3.10 <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5569">#5569</a>, <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5570">#5570</a> [hugovk, radarhere]</p> </li> <li> <p>Ensure TIFF <code>RowsPerStrip</code> is multiple of 8 for JPEG compression <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5588">#5588</a> [kmilos, radarhere]</p> </li> <li> <p>Updates for <code>ImagePalette</code> channel order <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5599">#5599</a> [radarhere]</p> </li> <li> <p>Hide FriBiDi shim symbols to avoid conflict with real FriBiDi library <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5651">#5651</a> [nulano]</p> </li> </ul> <h2>8.3.1 (2021-07-06)</h2> <ul> <li> <p>Catch OSError when checking if fp is sys.stdout <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5585">#5585</a> [radarhere]</p> </li> <li> <p>Handle removing orientation from alternate types of EXIF data <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5584">#5584</a> [radarhere]</p> </li> <li> <p>Make Image.<strong>array</strong> take optional dtype argument <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5572">#5572</a> [t-vi, radarhere]</p> </li> </ul> <h2>8.3.0 (2021-07-01)</h2> <ul> <li> <p>Use snprintf instead of sprintf. CVE-2021-34552 <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5567">#5567</a> [radarhere]</p> </li> <li> <p>Limit TIFF strip size when saving with LibTIFF <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5514">#5514</a> [kmilos]</p> </li> <li> <p>Allow ICNS save on all operating systems <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/4526">#4526</a> [baletu, radarhere, newpanjing, hugovk]</p> </li> <li> <p>De-zigzag JPEG's DQT when loading; deprecate convert_dict_qtables <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/4989">#4989</a> [gofr, radarhere]</p> </li> <li> <p>Replaced xml.etree.ElementTree <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5565">#5565</a> [radarhere]</p> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python-pillow/Pillow/commit/8013f130a5077b238a4346b73e149432b180a8ea"><code>8013f13</code></a> 8.3.2 version bump</li> <li><a href="https://github.com/python-pillow/Pillow/commit/23c7ca82f09df6ba1047d2d96714eb825f0d7948"><code>23c7ca8</code></a> Update CHANGES.rst</li> <li><a href="https://github.com/python-pillow/Pillow/commit/8450366be331762ae327036e3c6658c517b05638"><code>8450366</code></a> Update release notes</li> <li><a href="https://github.com/python-pillow/Pillow/commit/a0afe89990f5ba40a019afc2f22e1b656f8cfd03"><code>a0afe89</code></a> Update test case</li> <li><a href="https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b"><code>9e08eb8</code></a> Raise ValueError if color specifier is too long</li> <li><a href="https://github.com/python-pillow/Pillow/commit/bd5cf7db87c6abf7c3510a50170851af5538249f"><code>bd5cf7d</code></a> FLI tests for Oss-fuzz crash.</li> <li><a href="https://github.com/python-pillow/Pillow/commit/94a0cf1b14f09626c7403af83fa9fef0dfc9bb47"><code>94a0cf1</code></a> Fix 6-byte OOB read in FliDecode</li> <li><a href="https://github.com/python-pillow/Pillow/commit/cece64f4be10ab28b12a83a3555af579dad343a5"><code>cece64f</code></a> Add 8.3.2 (2021-09-02) [CI skip]</li> <li><a href="https://github.com/python-pillow/Pillow/commit/e42238637651f191c2fc6e3f4024348c126e0ccc"><code>e422386</code></a> Add release notes for Pillow 8.3.2</li> <li><a href="https://github.com/python-pillow/Pillow/commit/08dcbb873217874eee0830fc5aaa1f231c5af4fa"><code>08dcbb8</code></a> Pillow 8.3.2 supports Python 3.10 [ci skip]</li> <li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/6.2.2...8.3.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/aws/aws-cdk/network/alerts). </details>
Use the User-Agent header of the AWS JS SDKs to record when the `cdk watch` command is invoked, and also when a `hotswap` deployment happens (and when it was requested, but we had to fall back on a CFN deployment). ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Align the import prefix for this additional class. Otherwise copying the code will not compile. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Co-authored-by: AWS CDK Team <[email protected]>
We currently allow two different import styles for our monopackage:
```ts
import { aws_ec2 } from 'aws-cdk-lib';
import * as aws_ec2 from 'aws-cdk-lib/aws-ec2';
```
However, the way this is currently implemented breaks the source
analysis performed by Rosetta on examples. Rosetta will only be
able to trace the first of these to the submodule that is being
imported. The second style actually is a completely different JavaScript
file that "represents" the export, and the tracing will break.
Today these resolve to:
```
import { aws_ec2 } from "aws-cdk-lib";
------> aws-cdk-lib/lib/aws-ec2/index.ts
import * as aws_ec2 from "aws-cdk-lib/aws-ec2";
------> aws-cdk-lib/aws-ec2.ts
```
This PR changes the layout of the package generated by `ubergen` to have
the submodule directories at the root, so that the imports resolve the
same:
```ts
// aws-cdk-lib/index.ts
export * as aws_ec2 from './aws-ec2';
// aws-cdk-lib/aws-ec2/index.ts
module_contents_here();
```
This means we now collect all submodules into the *root* of `aws-cdk-lib` and `monocdk`, instead of into
the `lib` subdirectory. It makes the gitignore config slightly different from the ones we usually have (but arguably better).
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This will break the jsii integ tests when the hashing algorithm changes between two jsii versions: the CDK build depends on a `jsii-rosetta` whose version is controlled by `yarn.lock`, and will therefore never match the candidate `jsii` version that is being used by the jsii integ tests (As jsii's method for running the integ tests only involves substituting the jsii binaries using in `pack.sh`).
… resource provider functions (#17551) ---- Following up on issue #14593 and PR #1433. It seems that log retention and customer resource provider constructs create the corresponding lambda functions using ```CfnResource()``` which means that the asset metadata isn't appended to the output template. *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Any random change that changes asset hashes is a pain to deal with, and slows us down massively. We have a pragma to ignore hashes, and we just turn that pragma on in most integ tests. Might as well flip the default around then: ignore the hashes UNLESS requested otherwise. Do the hashes help? Theoretically during our latest upgrade of jsii, the upgrade that incorrectly added extra statements to our Lambda's sources that *happen* to also be compiled with jsii, we could have used the hashes to detect this undesirable change. But did we? No, we just updated the hashes and went on with our life, because there are so many hashes to update all the time that we don't think twice about it. Therefore these hashes in shapshots are not a useful mechanism, they only slow us down for no gain. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…s-lambda-python/test/lambda-handler (#17559) Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.2 to 8.3.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/releases">pillow's releases</a>.</em></p> <blockquote> <h2>8.3.2</h2> <p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html">https://pillow.readthedocs.io/en/stable/releasenotes/8.3.2.html</a></p> <h2>Security</h2> <ul> <li> <p>CVE-2021-23437 Raise ValueError if color specifier is too long [hugovk, radarhere]</p> </li> <li> <p>Fix 6-byte OOB read in FliDecode [wiredfool]</p> </li> </ul> <h2>Python 3.10 wheels</h2> <ul> <li>Add support for Python 3.10 <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5569">#5569</a>, <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5570">#5570</a> [hugovk, radarhere]</li> </ul> <h2>Fixed regressions</h2> <ul> <li> <p>Ensure TIFF <code>RowsPerStrip</code> is multiple of 8 for JPEG compression <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5588">#5588</a> [kmilos, radarhere]</p> </li> <li> <p>Updates for <code>ImagePalette</code> channel order <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5599">#5599</a> [radarhere]</p> </li> <li> <p>Hide FriBiDi shim symbols to avoid conflict with real FriBiDi library <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5651">#5651</a> [nulano]</p> </li> </ul> <h2>8.3.1</h2> <p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/8.3.1.html">https://pillow.readthedocs.io/en/stable/releasenotes/8.3.1.html</a></p> <h2>Changes</h2> <ul> <li>Catch OSError when checking if fp is sys.stdout <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5585">#5585</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Handle removing orientation from alternate types of EXIF data <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5584">#5584</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Make Image.<strong>array</strong> take optional dtype argument <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5572">#5572</a> [<a href="https://github.com/t-vi"><code>@t-vi</code></a>]</li> </ul> <h2>8.3.0</h2> <p><a href="https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html">https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html</a></p> <h2>Changes</h2> <ul> <li>Use snprintf instead of sprintf <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5567">#5567</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Limit TIFF strip size when saving with LibTIFF <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5514">#5514</a> [<a href="https://github.com/kmilos"><code>@kmilos</code></a>]</li> <li>Allow ICNS save on all operating systems <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/4526">#4526</a> [<a href="https://github.com/newpanjing"><code>@newpanjing</code></a>]</li> <li>De-zigzag JPEG's DQT when loading; deprecate convert_dict_qtables <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/4989">#4989</a> [<a href="https://github.com/gofr"><code>@gofr</code></a>]</li> <li>Do not use background or transparency index for new color <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5564">#5564</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Simplified code <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5315">#5315</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> <li>Replaced xml.etree.ElementTree <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5565">#5565</a> [<a href="https://github.com/radarhere"><code>@radarhere</code></a>]</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst">pillow's changelog</a>.</em></p> <blockquote> <h2>8.3.2 (2021-09-02)</h2> <ul> <li> <p>CVE-2021-23437 Raise ValueError if color specifier is too long [hugovk, radarhere]</p> </li> <li> <p>Fix 6-byte OOB read in FliDecode [wiredfool]</p> </li> <li> <p>Add support for Python 3.10 <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5569">#5569</a>, <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5570">#5570</a> [hugovk, radarhere]</p> </li> <li> <p>Ensure TIFF <code>RowsPerStrip</code> is multiple of 8 for JPEG compression <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5588">#5588</a> [kmilos, radarhere]</p> </li> <li> <p>Updates for <code>ImagePalette</code> channel order <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5599">#5599</a> [radarhere]</p> </li> <li> <p>Hide FriBiDi shim symbols to avoid conflict with real FriBiDi library <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5651">#5651</a> [nulano]</p> </li> </ul> <h2>8.3.1 (2021-07-06)</h2> <ul> <li> <p>Catch OSError when checking if fp is sys.stdout <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5585">#5585</a> [radarhere]</p> </li> <li> <p>Handle removing orientation from alternate types of EXIF data <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5584">#5584</a> [radarhere]</p> </li> <li> <p>Make Image.<strong>array</strong> take optional dtype argument <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5572">#5572</a> [t-vi, radarhere]</p> </li> </ul> <h2>8.3.0 (2021-07-01)</h2> <ul> <li> <p>Use snprintf instead of sprintf. CVE-2021-34552 <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5567">#5567</a> [radarhere]</p> </li> <li> <p>Limit TIFF strip size when saving with LibTIFF <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5514">#5514</a> [kmilos]</p> </li> <li> <p>Allow ICNS save on all operating systems <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/4526">#4526</a> [baletu, radarhere, newpanjing, hugovk]</p> </li> <li> <p>De-zigzag JPEG's DQT when loading; deprecate convert_dict_qtables <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/4989">#4989</a> [gofr, radarhere]</p> </li> <li> <p>Replaced xml.etree.ElementTree <a href="https://github-redirect.dependabot.com/python-pillow/Pillow/issues/5565">#5565</a> [radarhere]</p> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python-pillow/Pillow/commit/8013f130a5077b238a4346b73e149432b180a8ea"><code>8013f13</code></a> 8.3.2 version bump</li> <li><a href="https://github.com/python-pillow/Pillow/commit/23c7ca82f09df6ba1047d2d96714eb825f0d7948"><code>23c7ca8</code></a> Update CHANGES.rst</li> <li><a href="https://github.com/python-pillow/Pillow/commit/8450366be331762ae327036e3c6658c517b05638"><code>8450366</code></a> Update release notes</li> <li><a href="https://github.com/python-pillow/Pillow/commit/a0afe89990f5ba40a019afc2f22e1b656f8cfd03"><code>a0afe89</code></a> Update test case</li> <li><a href="https://github.com/python-pillow/Pillow/commit/9e08eb8f78fdfd2f476e1b20b7cf38683754866b"><code>9e08eb8</code></a> Raise ValueError if color specifier is too long</li> <li><a href="https://github.com/python-pillow/Pillow/commit/bd5cf7db87c6abf7c3510a50170851af5538249f"><code>bd5cf7d</code></a> FLI tests for Oss-fuzz crash.</li> <li><a href="https://github.com/python-pillow/Pillow/commit/94a0cf1b14f09626c7403af83fa9fef0dfc9bb47"><code>94a0cf1</code></a> Fix 6-byte OOB read in FliDecode</li> <li><a href="https://github.com/python-pillow/Pillow/commit/cece64f4be10ab28b12a83a3555af579dad343a5"><code>cece64f</code></a> Add 8.3.2 (2021-09-02) [CI skip]</li> <li><a href="https://github.com/python-pillow/Pillow/commit/e42238637651f191c2fc6e3f4024348c126e0ccc"><code>e422386</code></a> Add release notes for Pillow 8.3.2</li> <li><a href="https://github.com/python-pillow/Pillow/commit/08dcbb873217874eee0830fc5aaa1f231c5af4fa"><code>08dcbb8</code></a> Pillow 8.3.2 supports Python 3.10 [ci skip]</li> <li>Additional commits viewable in <a href="https://github.com/python-pillow/Pillow/compare/6.2.2...8.3.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/aws/aws-cdk/network/alerts). </details>
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Automatic backups of read replica instances are only supported for MySQL and MariaDB. See https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html#USER_ReadRepl.Overview.Differences Closes #17356 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Collaborator
Author
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Contributor
|
Thank you for contributing! Your pull request will be automatically updated and merged without squashing (do not update manually, and be sure to allow changes to be pushed to your fork). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
pr/auto-approve
Notifies the GH action to auto-approve this PR
pr/no-squash
This PR should be merged instead of squash-merging it
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See CHANGELOG