Skip to content

chore(release): 1.62.0 #3658

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 35 commits into from
Jul 12, 2022
Merged

chore(release): 1.62.0 #3658

merged 35 commits into from
Jul 12, 2022

Conversation

aws-cdk-automation
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation commented Jul 12, 2022

See CHANGELOG

RomainMuller and others added 30 commits June 16, 2022 14:58

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Since Go language  is generally available, change the status icon, too.


---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
This is to ensure jsii runtimes are able to warn about unsupported Node releases (all the code is rolled up via webpack, and is hence loaded as a single file, so all of it needs to be valid ES2018 or else it won't load.

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
…=8.3.6 in /gh-pages (#3611)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…/packages/@jsii/go-runtime/jsii-runtime-go (#3614)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.4.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/stretchr/testify/commit/48391ba5eb8c5f49132138e67ec112d180b88f63"><code>48391ba</code></a> Fix panic in AssertExpectations for mocks without expectations (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1207">#1207</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/840cb801497147a6d30a568e0874dfefb10867a9"><code>840cb80</code></a> arrays value types in a zero-initialized state are considered empty (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1126">#1126</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/07dc7ee5abe6d1c0ef6449f731ca9bf08e1787f8"><code>07dc7ee</code></a> Bump actions/setup-go from 3.1.0 to 3.2.0 (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1191">#1191</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/c33fc8d30db6f6d2c5d270c5023eb0f2181bbab5"><code>c33fc8d</code></a> Bump actions/checkout from 2 to 3 (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1163">#1163</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/3c33e07c4c233bf61e1414f5acb3cda06ffef1d1"><code>3c33e07</code></a> Added Go 1.18.1 as a build/supported version (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1182">#1182</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/e2b56b3a384eb40136b2cff13e07e932dd95bf28"><code>e2b56b3</code></a> Bump github.com/stretchr/objx from 0.1.0 to 0.4.0</li>
<li>See full diff in <a href="https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/stretchr/testify&package-manager=go_modules&previous-version=1.7.2&new-version=1.7.4)](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 will merge this PR once CI passes on it, as requested by @RomainMuller.

[//]: # (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)


</details>
…/packages/@jsii/go-runtime/jsii-runtime-go (#3616)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.7.5.
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/stretchr/testify/commit/b5ce16571001d6e96e1693ac891fed5c2510c651"><code>b5ce165</code></a> fixing panic in calls to assertion with nil m.mutex (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1212">#1212</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/c206b2e823e70c1e4e7ca8eded9e410acc8f71be"><code>c206b2e</code></a> Mock can be deadlocked by a panic (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1157">#1157</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/1b73601ae8d1c3e389e93092f595b1f6e3d68251"><code>1b73601</code></a> suite: correctly set stats on test panic (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1195">#1195</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/ba1076d8b3b67cdaf7bf92c95b3641636a039be2"><code>ba1076d</code></a> Add .Unset method to mock (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/982">#982</a>)</li>
<li><a href="https://github.com/stretchr/testify/commit/c31ea0312f8a96ca55801db5ebdf62119800fb70"><code>c31ea03</code></a> Support comparing byte slice (<a href="https://github-redirect.dependabot.com/stretchr/testify/issues/1202">#1202</a>)</li>
<li>See full diff in <a href="https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/stretchr/testify&package-manager=go_modules&previous-version=1.7.4&new-version=1.7.5)](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)


</details>
Also, adding a reference benchmark building the same code using the
TypeScript compiler only.



---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
…=8.3.8 in /gh-pages (#3621)

Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p>
<blockquote>
<h2>mkdocs-material-8.3.8</h2>
<ul>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/4053">#4053</a>: Limit width of videos to content area</li>
<li>Fixed empty tags in front matter breaking search</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p>
<blockquote>
<p>mkdocs-material-8.3.8+insiders-4.19.1 (2022-06-25)</p>
<ul>
<li>Added mkdocs-git-committers-plugin to Dockerfile</li>
<li>Added mkdocs-git-revision-date-localized-plugin to Dockerfile</li>
</ul>
<p>mkdocs-material-8.3.8+insiders-4.19.0 (2022-06-24)</p>
<ul>
<li>Added support for document contributors</li>
<li>Updated French translations for cookie consent</li>
</ul>
<p>mkdocs-material-8.3.8 (2022-06-24)</p>
<ul>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/4053">#4053</a>: Limit width of videos to content area</li>
<li>Fixed empty tags in front matter breaking search</li>
</ul>
<p>mkdocs-material-8.3.7 (2022-06-22)</p>
<ul>
<li>Fixed search being stuck initializing when using tags (8.3.4 regression)</li>
</ul>
<p>mkdocs-material-8.3.6+insiders-4.18.2 (2022-06-16)</p>
<ul>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/4026">#4026</a>: Fixed tooltips not mounted for nested navigation links</li>
</ul>
<p>mkdocs-material-8.3.6 (2022-06-16)</p>
<ul>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/4028">#4028</a>: Links not clickable when using versioning (8.3.5 regression)</li>
</ul>
<p>mkdocs-material-8.3.5+insiders-4.18.1 (2022-06-14)</p>
<ul>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/3990">#3990</a>: Chinese search highlighting not working on non-boundaries</li>
</ul>
<p>mkdocs-material-8.3.5 (2022-06-14)</p>
<ul>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/4012">#4012</a>: Stay on page not working for alias of active version</li>
</ul>
<p>mkdocs-material-8.3.4+insiders-4.18.0 (2022-06-11)</p>
<ul>
<li>Added support for automatic dark/light mode</li>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/4009">#4009</a>: Privacy plugin uses invalid paths for file cache on Windows</li>
</ul>
<p>mkdocs-material-8.3.4 (2022-06-11)</p>
<ul>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/4004">#4004</a>: Tags with multiple words not searchable</li>
</ul>
<p>mkdocs-material-8.3.3 (2022-06-07)</p>
<ul>
<li>Fixed <a href="https://github-redirect.dependabot.com/squidfunk/mkdocs-material/issues/4000">#4000</a>: Mermaid diagrams too dark in dark mode (8.3.0 regression)</li>
</ul>
<p>mkdocs-material-8.3.2+insiders-4.17.2 (2022-06-05)</p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/5860dac074480c2f925824ff1cf3d29eb760f1aa"><code>5860dac</code></a> Updated Insiders changelog</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/6f8b640ec7b5a8a923c096670b9106657b51af68"><code>6f8b640</code></a> Prepare 8.3.8 release</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/5ed04897db4819f0a0c2c0779ad12bb0921e0f09"><code>5ed0489</code></a> Limit width of HTML5 videos to content area</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/2e99447155cf251265d20f005ef52d9667172230"><code>2e99447</code></a> Debug GitHub Actions workflow</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/d7d9e059330fc8711563b404f6a3fa21aa6f3f73"><code>d7d9e05</code></a> Debug GitHub Actions workflow</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/3ed984d691488dd3beb1408715910edf8f8e4282"><code>3ed984d</code></a> Debug GitHub Actions workflow</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/17e276fe6b99d5b3613b60e03672bc5bac9314e8"><code>17e276f</code></a> Debug GitHub Actions workflow</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/b44aa0641bd454d2f19fc7a3fea0b36db087da92"><code>b44aa06</code></a> Debug GitHub Actions workflow</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/8ab4e3d7e40d878cad8a692568ef5fa33d11d651"><code>8ab4e3d</code></a> Debug GitHub Actions workflow</li>
<li><a href="https://github.com/squidfunk/mkdocs-material/commit/3cce3ea9b172f06aefc831ae58fec2d4a26a8ea8"><code>3cce3ea</code></a> Documentation</li>
<li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/8.3.6...8.3.8">compare view</a></li>
</ul>
</details>
<br />


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)


</details>
The idea is to try and achieve a situation where iteration
times are not tainted by different memory situations (caches
may cause memory pressure and will skew the benchmark results).

Running in node sub-processes should allow removing this unknown
from the picture.

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
…es (#3570)

Adds a set of utility functions under `@jsii/spec` that can (and will) be leveraged by other jsii modules.

Currently has the following functions exposed:

- `getAssemblyFile()`
- `writeAssembly()`
- `loadAssemblyFromPath()`
- `loadAssemblyFromFile()`

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
This PR utilizes the functions added in #3570 everywhere in the jsii monorepo. The benefit of this is two-fold -- it refactors all places where we load/read assemblies and points them to the source of truth (introduced in #3570). This also means the logic for compressing assemblies will be available for all packages in the jsii monorepo if/when we flip that switch.

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
Aliasing `typescript` to `typescript-3.9` results in occasionally
surprising hoisting behavior, in particular using `npm 18`. In
particular, if two distinct  versions of `typescript` are installed,
aliasing allows both to be hoisted at the top-level, which results in
ambiguity as to which of them gets to have the `node_modules/.bin/tsc`
symlink.

This PR stops aliasing `typescript` to `typescript-3.9` and does the
necessary work to ensure builds continue to operate smoothly, menaing
it replaced TypeScript configuration files for jest with plain ESM
configuration files including typed JSDoc comments (for IDE supprot to
continue working as before), as `jest` otherwise uses `ts-node` to
transform the configuration files, and  `ts-node` uses the "most local"
`typescript` library to perform this parsing (and unfortunately,
`typescript@3.9` does not support the `ES2020` target we are using).


This also required allowing `jsii.tsc.types` to be specified in the
`package.json` file of jsii projects, as otherwise the TypeScript
compiler attempts to load `@types/*` packages that are not compatible
with `typescript@3.9` (for example, `@synclair/typebox` requires
`typescript@>=4.5`). This setting is anyway generally useful in
complex monorepo situations.

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
…al (#3412)

If two enum members have the same value, only the first one will be retained.

This is a bit of an issue as we are renaming enum members: the named version will never appear in the assembly, and so not work over jsii.

What's worse, if we deprecate-and-strip the original one, neither of the enum members will appear.

Addressing the issue by failing the compilation by adding validation for enum values

Related change in CDK aws/aws-cdk#19320
Fixes #2782.

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.7.5...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ges/@jsii/python-runtime (#3628)

Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/psf/black/releases">black's releases</a>.</em></p>
<blockquote>
<h2>22.6.0</h2>
<h3>Style</h3>
<ul>
<li>Fix unstable formatting involving <code>#fmt: skip</code> and <code># fmt:skip</code> comments (notice the lack of spaces) (<a href="https://github-redirect.dependabot.com/psf/black/issues/2970">#2970</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Docstring quotes are no longer moved if it would violate the line length limit (<a href="https://github-redirect.dependabot.com/psf/black/issues/3044">#3044</a>)</li>
<li>Parentheses around return annotations are now managed (<a href="https://github-redirect.dependabot.com/psf/black/issues/2990">#2990</a>)</li>
<li>Remove unnecessary parentheses around awaited objects (<a href="https://github-redirect.dependabot.com/psf/black/issues/2991">#2991</a>)</li>
<li>Remove unnecessary parentheses in <code>with</code> statements (<a href="https://github-redirect.dependabot.com/psf/black/issues/2926">#2926</a>)</li>
<li>Remove trailing newlines after code block open (<a href="https://github-redirect.dependabot.com/psf/black/issues/3035">#3035</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Add <code>scripts/migrate-black.py</code> script to ease introduction of Black to a Git project (<a href="https://github-redirect.dependabot.com/psf/black/issues/3038">#3038</a>)</li>
</ul>
<h3>Output</h3>
<ul>
<li>Output Python version and implementation as part of <code>--version</code> flag (<a href="https://github-redirect.dependabot.com/psf/black/issues/2997">#2997</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Use <code>tomli</code> instead of <code>tomllib</code> on Python 3.11 builds where <code>tomllib</code> is not available (<a href="https://github-redirect.dependabot.com/psf/black/issues/2987">#2987</a>)</li>
</ul>
<h3>Parser</h3>
<ul>
<li><a href="https://peps.python.org/pep-0654/#except">PEP 654</a> syntax (for example, <code>except *ExceptionGroup:</code>) is now supported (<a href="https://github-redirect.dependabot.com/psf/black/issues/3016">#3016</a>)</li>
<li><a href="https://peps.python.org/pep-0646">PEP 646</a> syntax (for example, <code>Array[Batch, *Shape]</code> or <code>def fn(*args: *T) -&gt; None</code>) is now supported (<a href="https://github-redirect.dependabot.com/psf/black/issues/3071">#3071</a>)</li>
</ul>
<h3>Vim Plugin</h3>
<ul>
<li>Fix <code>strtobool</code> function. It didn't parse true/on/false/off. (<a href="https://github-redirect.dependabot.com/psf/black/issues/3025">#3025</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/psf/black/compare/22.3.0...22.6.0">https://github.com/psf/black/compare/22.3.0...22.6.0</a></p>
<hr />
<p><strong>Thank you!</strong></p>
<ul>
<li><a href="https://github.com/jpy-git"><code>@​jpy-git</code></a> for improving our parentheses formatting significantly</li>
<li><a href="https://github.com/siuryan"><code>@​siuryan</code></a> for fixing a fmt: skip bug, making it a little less annoying to use :)</li>
<li><a href="https://github.com/isidentical"><code>@​isidentical</code></a> for implementing support for PEP 654 and 646 syntax</li>
<li><a href="https://github.com/defntvdm"><code>@​defntvdm</code></a> for fixing our vim plugin, especially as we (the maintainers) don't really know vim script sadly</li>
<li><a href="https://github.com/idorrington92"><code>@​idorrington92</code></a> for fixing the docstring bug where Black would move the closing quotes causing it to violate the line length limit (whoops!)</li>
<li><a href="https://github.com/hbrunn"><code>@​hbrunn</code></a> for contributing the migrate-black script</li>
<li><a href="https://github.com/saroad2"><code>@​saroad2</code></a> for improving newline handling after code blocks and test infrastructure improvements</li>
</ul>
<p>... and everyone else who contributed documentation, tests, or other improvements to the Black project!</p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/psf/black/blob/main/CHANGES.md">black's changelog</a>.</em></p>
<blockquote>
<h2>22.6.0</h2>
<h3>Style</h3>
<ul>
<li>Fix unstable formatting involving <code>#fmt: skip</code> and <code># fmt:skip</code> comments (notice the
lack of spaces) (<a href="https://github-redirect.dependabot.com/psf/black/issues/2970">#2970</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Docstring quotes are no longer moved if it would violate the line length limit (<a href="https://github-redirect.dependabot.com/psf/black/issues/3044">#3044</a>)</li>
<li>Parentheses around return annotations are now managed (<a href="https://github-redirect.dependabot.com/psf/black/issues/2990">#2990</a>)</li>
<li>Remove unnecessary parentheses around awaited objects (<a href="https://github-redirect.dependabot.com/psf/black/issues/2991">#2991</a>)</li>
<li>Remove unnecessary parentheses in <code>with</code> statements (<a href="https://github-redirect.dependabot.com/psf/black/issues/2926">#2926</a>)</li>
<li>Remove trailing newlines after code block open (<a href="https://github-redirect.dependabot.com/psf/black/issues/3035">#3035</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Add <code>scripts/migrate-black.py</code> script to ease introduction of Black to a Git project
(<a href="https://github-redirect.dependabot.com/psf/black/issues/3038">#3038</a>)</li>
</ul>
<h3>Output</h3>
<ul>
<li>Output Python version and implementation as part of <code>--version</code> flag (<a href="https://github-redirect.dependabot.com/psf/black/issues/2997">#2997</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Use <code>tomli</code> instead of <code>tomllib</code> on Python 3.11 builds where <code>tomllib</code> is not
available (<a href="https://github-redirect.dependabot.com/psf/black/issues/2987">#2987</a>)</li>
</ul>
<h3>Parser</h3>
<ul>
<li><a href="https://peps.python.org/pep-0654/#except">PEP 654</a> syntax (for example,
<code>except *ExceptionGroup:</code>) is now supported (<a href="https://github-redirect.dependabot.com/psf/black/issues/3016">#3016</a>)</li>
<li><a href="https://peps.python.org/pep-0646">PEP 646</a> syntax (for example,
<code>Array[Batch, *Shape]</code> or <code>def fn(*args: *T) -&gt; None</code>) is now supported (<a href="https://github-redirect.dependabot.com/psf/black/issues/3071">#3071</a>)</li>
</ul>
<h3>Vim Plugin</h3>
<ul>
<li>Fix <code>strtobool</code> function. It didn't parse true/on/false/off. (<a href="https://github-redirect.dependabot.com/psf/black/issues/3025">#3025</a>)</li>
</ul>
<h2>22.3.0</h2>
<h3>Preview style</h3>
<ul>
<li>Code cell separators <code>#%%</code> are now standardised to <code># %%</code> (<a href="https://github-redirect.dependabot.com/psf/black/issues/2919">#2919</a>)</li>
<li>Remove unnecessary parentheses from <code>except</code> statements (<a href="https://github-redirect.dependabot.com/psf/black/issues/2939">#2939</a>)</li>
<li>Remove unnecessary parentheses from tuple unpacking in <code>for</code> loops (<a href="https://github-redirect.dependabot.com/psf/black/issues/2945">#2945</a>)</li>
<li>Avoid magic-trailing-comma in single-element subscripts (<a href="https://github-redirect.dependabot.com/psf/black/issues/2942">#2942</a>)</li>
</ul>
<h3>Configuration</h3>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/psf/black/commit/f6c139c5215ce04fd3e73a900f1372942d58eca0"><code>f6c139c</code></a> Prepare docs for release 22.6.0 (<a href="https://github-redirect.dependabot.com/psf/black/issues/3139">#3139</a>)</li>
<li><a href="https://github.com/psf/black/commit/eb5d175c9cd3c14a0731f8afd0cc5a18264353e7"><code>eb5d175</code></a> Update preview style docs to include recent changes (<a href="https://github-redirect.dependabot.com/psf/black/issues/3136">#3136</a>)</li>
<li><a href="https://github.com/psf/black/commit/d848209d38cadaa060a023c223495e7874984ddc"><code>d848209</code></a> Bump furo from 2022.6.4.1 to 2022.6.21 in /docs (<a href="https://github-redirect.dependabot.com/psf/black/issues/3138">#3138</a>)</li>
<li><a href="https://github.com/psf/black/commit/fa6caa6ca8489103d22d23f8f4ae4d3569bb115e"><code>fa6caa6</code></a> Only call get_future_imports when needed (<a href="https://github-redirect.dependabot.com/psf/black/issues/3135">#3135</a>)</li>
<li><a href="https://github.com/psf/black/commit/6463fb874f6fd93d9a3b857e24987d5fa6ae0d57"><code>6463fb8</code></a> Bump sphinx from 5.0.1 to 5.0.2 in /docs (<a href="https://github-redirect.dependabot.com/psf/black/issues/3128">#3128</a>)</li>
<li><a href="https://github.com/psf/black/commit/e3c9b0430eae5de35fdbeed047f9b2f07f9b78de"><code>e3c9b04</code></a> Replace link to Requests documentation (<a href="https://github-redirect.dependabot.com/psf/black/issues/3125">#3125</a>)</li>
<li><a href="https://github.com/psf/black/commit/6c1bd08f16b636de38b92aeb2e0a1e8ebef0a0b1"><code>6c1bd08</code></a> Test run black on self (<a href="https://github-redirect.dependabot.com/psf/black/issues/3114">#3114</a>)</li>
<li><a href="https://github.com/psf/black/commit/799adb53239e4a1e87253d40bc1cbd34f9103c52"><code>799adb5</code></a> Bump actions/setup-python from 3 to 4 (<a href="https://github-redirect.dependabot.com/psf/black/issues/3121">#3121</a>)</li>
<li><a href="https://github.com/psf/black/commit/162ecd1d2cf9471efefb5b61c17d28b73acb79a1"><code>162ecd1</code></a> Use is_number_token instead of assertion (<a href="https://github-redirect.dependabot.com/psf/black/issues/3069">#3069</a>)</li>
<li><a href="https://github.com/psf/black/commit/8c8675c62aef4fb662c686d19ebd35dc047258f0"><code>8c8675c</code></a> Update documentation dependencies (<a href="https://github-redirect.dependabot.com/psf/black/issues/3118">#3118</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/psf/black/compare/22.3.0...22.6.0">compare view</a></li>
</ul>
</details>
<br />


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)


</details>
ECR Public will throttle to 1 image pull/second.

Since we start multiple workflows in parallel, make sure they don't all pull from ECR Public at the exact same time by jittering their start times.



---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
Bring attention to error messages as part of the contract of the
`@jsii/kernel` serialization component, as such messages are currently a
known pain point (not specific enough, confusing, overloaded, ...).

Introducing snapshot tests, and quick win improvements to the existing
error messages where possible.

Fixes #3636 

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
Usage is demonstrated here: cdklabs/construct-hub#920

Two implementations were considered to fit the use case in construct hub, `loadAssemblyFromBuffer` and `loadAssemblyFromTarball`. I went with loading from a buffer because it allows us to utilize prior art in construct hub for parsing tarballs, does not need an added dependency on `tar`, and causes minimal impact when refactoring the ingestion lambda to use this function.

Also includes a small refactoring of the test suite. 

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/IonicaBizau/parse-url/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=parse-url&package-manager=npm_and_yarn&previous-version=6.0.0&new-version=6.0.2)](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/jsii/network/alerts).

</details>
Co-authored-by: Romain Marcadier <rmuller@amazon.fr>
This is necessary as the previous benchark target had multiple occurrences
of enums with several constants having the same value, which is now illegal
in jsii code (#3207).

The fix for this (aws/aws-cdk@7f4f150) was released in CDK 2.31.0.
Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date.
Moved away from using objects as maps to using actual `Map` objects,
which is expected to have better performance characteristics at that
kind of scale (lower memory footprint, less churn, ...).

Additionally, improved context information produced in error messages
around callbacks, etc...

Fixes #3638



---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
RomainMuller and others added 4 commits July 8, 2022 09:45
It requires node 14.18.0 or greater, which is way more recent than
the earliest node engine we claim to support.



---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
Usage: `yarn rosetta extract --compress-tablet`

This should reduce the `.jsii.tabl.json` size by about 90%.

---

By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license].

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
@aws-cdk-automation aws-cdk-automation added the pr/no-squash This PR should be merged instead of squash-merging it label Jul 12, 2022
@mergify
Copy link
Contributor

mergify bot commented Jul 12, 2022

Thank you for contributing! ❤️ I will now look into making sure the PR is up-to-date, then proceed to try and merge it!

@mergify mergify bot added the pr/ready-to-merge This PR is ready to be merged. label Jul 12, 2022
@mergify
Copy link
Contributor

mergify bot commented Jul 12, 2022

Merging (no-squash)...

@mergify mergify bot merged commit 293ac17 into release Jul 12, 2022
@mergify mergify bot deleted the bump/1.62.0 branch July 12, 2022 17:40
@mergify mergify bot removed the pr/ready-to-merge This PR is ready to be merged. label Jul 12, 2022
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.

None yet

9 participants