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

[sync] 2024/02/22 #1409

Merged
merged 137 commits into from
Feb 23, 2024
Merged

[sync] 2024/02/22 #1409

merged 137 commits into from
Feb 23, 2024

Conversation

AmosHuKe
Copy link
Member

@AmosHuKe AmosHuKe commented Feb 22, 2024

ref #374

  • Flutter 3.19 发布之后的上游同步

存在的问题

AmosHuKe and others added 30 commits January 1, 2024 10:24
_Description of what this PR is changing or adding, and why:_

Fixes like this:
Video link for `"Building your first Flutter app (workshop)…………"`
(https://docs.flutter.dev/codelabs#good-for-beginners)
- ❌ Video link: https://docs.flutter.dev/codelabs?v=8sAyPDLorek
- ✅ Video link: https://www.youtube.com/watch?v=8sAyPDLorek

_Issues fixed by this PR (if any):_ none.

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Fixing the highlighted text below the code screenshot (i.e. replace `-`
with the proper letter)

<img width="972" alt="Screen Shot 2024-01-01 at 2 17 05 PM"
src="https://github.com/flutter/website/assets/46427323/8e09e5da-2e8d-4392-9fc2-143ea8ddb4b4">



## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Adds a link to an RFC proposing to bump the minimum supported Windows
deployment platform from Windows 7 to Windows 10.

Link: https://flutter.dev/go/flutter-drop-win7-2024
Linked document:
https://docs.google.com/document/d/18gfRT8klo0zEvn6fIpders7ghoWIBKO22cNYS22WLhc/edit

Issue: flutter/flutter#140830

## Presubmit checklist

- [X] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [X] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [X] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Update the image to a differently named image for consistency

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
…ntegration (#9996)

Bumps [pigeon](https://github.com/flutter/packages/tree/main/packages)
from 15.0.3 to 16.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/flutter/packages/commit/a5bb26d641ee0222e99e27edc6a666bf2d119fd1"><code>a5bb26d</code></a>
[pigeon] java non null void (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5786">#5786</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/c6b86c510865c0adfe8bfa556861018844fea3c8"><code>c6b86c5</code></a>
[file_selector_android] Attempt to close system dialogs before
integration te...</li>
<li><a
href="https://github.com/flutter/packages/commit/7beab0d3051a9a9d5d66d88185f2b7de8ce0082f"><code>7beab0d</code></a>
[url_launcher] Add <code>InAppBrowserConfiguration</code> parameter (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5758">#5758</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/31fc7b5dd0001371f66e659ae25c2813f69780b6"><code>31fc7b5</code></a>
bump mockito across repo to 5.4.4 (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5794">#5794</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/packages/commits/pigeon-v16.0.0/packages">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pigeon&package-manager=pub&previous-version=15.0.3&new-version=16.0.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The iOS API doc paths were changed, update from `objcdoc` to the new `ios-embedder` format.

Fixes flutter/website#9984
Bumps [examples/codelabs](https://github.com/flutter/codelabs) from
`cb35535` to `bfda02c`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/flutter/codelabs/commit/bfda02c75218d8d28a0747ad39379930dc346296"><code>bfda02c</code></a>
<code>adaptive_app</code> Update rebuild script (<a
href="https://github.com/flutter/codelabs/issues/2156">#2156</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/codelabs/compare/cb355359b6ca199e933b1f3e293f900a1ed1b65b...bfda02c75218d8d28a0747ad39379930dc346296">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 3.22.12 to 3.23.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's
changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>3.23.0 - 08 Jan 2024</h2>
<ul>
<li>We are rolling out a feature in January 2024 that will disable
Python dependency installation by default for all users. This improves
the speed of analysis while having only a very minor impact on results.
You can override this behavior by setting
<code>CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION=false</code>
in your workflow, however we plan to remove this ability in future
versions of the CodeQL Action. <a
href="https://github.com/github/codeql-action/pull/2031">#2031</a></li>
<li>The CodeQL Action now requires CodeQL version 2.11.6 or later. For
more information, see <a
href="https://github.com/github/codeql-action/blob/main/#2227---16-nov-2023">the
corresponding changelog entry for CodeQL Action version 2.22.7</a>. <a
href="https://github.com/github/codeql-action/pull/2009">#2009</a></li>
</ul>
<h2>3.22.12 - 22 Dec 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.5. <a
href="https://github.com/github/codeql-action/pull/2047">#2047</a></li>
</ul>
<h2>3.22.11 - 13 Dec 2023</h2>
<ul>
<li>[v3+ only] The CodeQL Action now runs on Node.js v20. <a
href="https://github.com/github/codeql-action/pull/2006">#2006</a></li>
</ul>
<h2>2.22.10 - 12 Dec 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.4. <a
href="https://github.com/github/codeql-action/pull/2016">#2016</a></li>
</ul>
<h2>2.22.9 - 07 Dec 2023</h2>
<p>No user facing changes.</p>
<h2>2.22.8 - 23 Nov 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.3. <a
href="https://github.com/github/codeql-action/pull/2001">#2001</a></li>
</ul>
<h2>2.22.7 - 16 Nov 2023</h2>
<ul>
<li>Add a deprecation warning for customers using CodeQL version 2.11.5
and earlier. These versions of CodeQL were discontinued on 8 November
2023 alongside GitHub Enterprise Server 3.7, and will be unsupported by
CodeQL Action v2.23.0 and later. <a
href="https://github.com/github/codeql-action/pull/1993">#1993</a>
<ul>
<li>If you are using one of these versions, please update to CodeQL CLI
version 2.11.6 or later. For instance, if you have specified a custom
version of the CLI using the 'tools' input to the 'init' Action, you can
remove this input to use the default version.</li>
<li>Alternatively, if you want to continue using a version of the CodeQL
CLI between 2.10.5 and 2.11.5, you can replace
<code>github/codeql-action/*@v2</code> by
<code>github/codeql-action/*@v2.22.7</code> in your code scanning
workflow to ensure you continue using this version of the CodeQL
Action.</li>
</ul>
</li>
</ul>
<h2>2.22.6 - 14 Nov 2023</h2>
<ul>
<li>Customers running Python analysis on macOS using version 2.14.6 or
earlier of the CodeQL CLI should upgrade to CodeQL CLI version 2.15.0 or
later. If you do not wish to upgrade the CodeQL CLI, ensure that you are
using Python version 3.11 or earlier, as CodeQL version 2.14.6 and
earlier do not support Python 3.12. You can achieve this by adding a <a
href="https://github.com/actions/setup-python"><code>setup-python</code></a>
step to your code scanning workflow before the step that invokes
<code>github/codeql-action/init</code>.</li>
<li>Update default CodeQL bundle version to 2.15.2. <a
href="https://github.com/github/codeql-action/pull/1978">#1978</a></li>
</ul>
<h2>2.22.5 - 27 Oct 2023</h2>
<p>No user facing changes.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/e5f05b81d5b6ff8cfa111c80c22c5fd02a384118"><code>e5f05b8</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2066">#2066</a>
from github/update-v3.23.0-fd55bb0b0</li>
<li><a
href="https://github.com/github/codeql-action/commit/48e7b8b751b457ccde050d587c85ce3defc30555"><code>48e7b8b</code></a>
Update changelog for v3.23.0</li>
<li><a
href="https://github.com/github/codeql-action/commit/fd55bb0b00b5802fdceb93f76b498f105e0edbe1"><code>fd55bb0</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2065">#2065</a>
from github/henrymercer/further-run-queries-cleanup</li>
<li><a
href="https://github.com/github/codeql-action/commit/838a0229829cd641a4a60fc3c95e12a673b5fcdb"><code>838a022</code></a>
Clean up running queries workflow now that the queries are determined by
the CLI</li>
<li><a
href="https://github.com/github/codeql-action/commit/8516954d603e47049b34f3da4dfac83009fcd450"><code>8516954</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2062">#2062</a>
from github/henrymercer/remove-action-config-parsing</li>
<li><a
href="https://github.com/github/codeql-action/commit/a533ec62b3aeb59c7467569705b9edaca021df43"><code>a533ec6</code></a>
Merge branch 'main' into henrymercer/remove-action-config-parsing</li>
<li><a
href="https://github.com/github/codeql-action/commit/08ae9bf4d0d441bd9dcf6c2d80742c9fd2bf3cf0"><code>08ae9bf</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2063">#2063</a>
from github/henrymercer/remove-ml-powered-queries-repo</li>
<li><a
href="https://github.com/github/codeql-action/commit/58ff74adc38e087ca7f6670dfe24cd319aea5f11"><code>58ff74a</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2031">#2031</a>
from github/rasmuswl/no-dep-inst-default</li>
<li><a
href="https://github.com/github/codeql-action/commit/9926570d4c48228ba780bd02a18a4e05dbb1bbe7"><code>9926570</code></a>
Generate JS</li>
<li><a
href="https://github.com/github/codeql-action/commit/2e27b3c56bdb1864f5dd58da25fee61f6cd7bb81"><code>2e27b3c</code></a>
Create helper <code>isPythonDependencyInstallationDisabled</code></li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/012739e5082ff0c22ca6d6ab32e07c36df03c4a4...e5f05b81d5b6ff8cfa111c80c22c5fd02a384118">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=3.22.12&new-version=3.23.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps ruby from `7634222` to `540e942`.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruby&package-manager=docker&previous-version=3.3-slim-bookworm&new-version=3.3-slim-bookworm)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
As it says!

---------

Co-authored-by: Parker Lougheed <parlough@gmail.com>
In the "Triple Pattern" section of the page "List of state management
approaches" of the Flutter documentation there's a link for the
"Segmented State Pattern" that is broken.

The link has been changed to a working one referencing the pattern on
the official documentation of the package.
This link doesn't work:
[https://triple.flutterando.com.br/docs/intro/](https://triple.flutterando.com.br/docs/intro/)
This link does work:
[https://triple.flutterando.com.br/docs/intro/overview#-segmented-state-pattern-ssp](https://triple.flutterando.com.br/docs/intro/overview#-segmented-state-pattern-ssp)

A broken link in the "List of state management approaches" of the
Flutter documentation gets fixed.
This adds the migration guide for the deprecations that have been
removed since the 3.16 release.

Fixes flutter/flutter#139243

---------

Co-authored-by: Parker Lougheed <parlough@gmail.com>
…10027)

The text "<version> file" was easily mistaken as a download link and was
repetitive of the first column anyway. Instead have the text just be
"Attestation bundle". With archive improvements in the future we will
solve this concern more thoroughly.

Fixes flutter/website#10014
See flutter/flutter#141119

---------

Co-authored-by: Shams Zakhour (ignore Sfshaza) <44418985+sfshaza2@users.noreply.github.com>
Bumps ruby from `540e942` to `8c46844`.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruby&package-manager=docker&previous-version=3.3-slim-bookworm&new-version=3.3-slim-bookworm)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update a design doc's URL:

* Old:
[flutter.dev/go/multi-view-sync-embedder-apis](flutter.dev/go/multi-view-sync-embedder-apis)
* New:
[flutter.dev/go/multi-view-sync-over-async](flutter.dev/go/multi-view-sync-over-async)

Context: after peer review, we decided to pivot the design. The previous
name is no longer relevant. I've kept the old URL so that existing links
aren't broken, but please let me know if you'd rather I remove the old
URL instead.
dependabot bot and others added 19 commits February 16, 2024 16:21
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 3.24.1 to 3.24.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's
changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>3.24.3 - 15 Feb 2024</h2>
<ul>
<li>Fix an issue where the CodeQL Action would fail to load a
configuration specified by the <code>config</code> input to the
<code>init</code> Action. <a
href="https://github.com/github/codeql-action/pull/2147">#2147</a></li>
</ul>
<h2>3.24.2 - 15 Feb 2024</h2>
<ul>
<li>Enable improved multi-threaded performance on larger runners for
GitHub Enterprise Server users. This feature is already available to
github.com users. <a
href="https://github.com/github/codeql-action/pull/2141">#2141</a></li>
</ul>
<h2>3.24.1 - 13 Feb 2024</h2>
<ul>
<li>Update default CodeQL bundle version to 2.16.2. <a
href="https://github.com/github/codeql-action/pull/2124">#2124</a></li>
<li>The CodeQL action no longer fails if it can't write to the telemetry
api endpoint. <a
href="https://github.com/github/codeql-action/pull/2121">#2121</a></li>
</ul>
<h2>3.24.0 - 02 Feb 2024</h2>
<ul>
<li>CodeQL Python analysis will no longer install dependencies on GitHub
Enterprise Server, as is already the case for github.com. See <a
href="https://github.com/github/codeql-action/blob/main/#3230---08-jan-2024">release
notes for 3.23.0</a> for more details. <a
href="https://github.com/github/codeql-action/pull/2106">#2106</a></li>
</ul>
<h2>3.23.2 - 26 Jan 2024</h2>
<ul>
<li>On Linux, the maximum possible value for the <code>--threads</code>
option now respects the CPU count as specified in <code>cgroup</code>
files to more accurately reflect the number of available cores when
running in containers. <a
href="https://github.com/github/codeql-action/pull/2083">#2083</a></li>
<li>Update default CodeQL bundle version to 2.16.1. <a
href="https://github.com/github/codeql-action/pull/2096">#2096</a></li>
</ul>
<h2>3.23.1 - 17 Jan 2024</h2>
<ul>
<li>Update default CodeQL bundle version to 2.16.0. <a
href="https://github.com/github/codeql-action/pull/2073">#2073</a></li>
<li>Change the retention period for uploaded debug artifacts to 7 days.
Previously, this was whatever the repository default was. <a
href="https://github.com/github/codeql-action/pull/2079">#2079</a></li>
</ul>
<h2>3.23.0 - 08 Jan 2024</h2>
<ul>
<li>We are rolling out a feature in January 2024 that will disable
Python dependency installation by default for all users. This improves
the speed of analysis while having only a very minor impact on results.
You can override this behavior by setting
<code>CODEQL_ACTION_DISABLE_PYTHON_DEPENDENCY_INSTALLATION=false</code>
in your workflow, however we plan to remove this ability in future
versions of the CodeQL Action. <a
href="https://github.com/github/codeql-action/pull/2031">#2031</a></li>
<li>The CodeQL Action now requires CodeQL version 2.11.6 or later. For
more information, see <a
href="https://github.com/github/codeql-action/blob/main/#2227---16-nov-2023">the
corresponding changelog entry for CodeQL Action version 2.22.7</a>. <a
href="https://github.com/github/codeql-action/pull/2009">#2009</a></li>
</ul>
<h2>3.22.12 - 22 Dec 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.5. <a
href="https://github.com/github/codeql-action/pull/2047">#2047</a></li>
</ul>
<h2>3.22.11 - 13 Dec 2023</h2>
<ul>
<li>[v3+ only] The CodeQL Action now runs on Node.js v20. <a
href="https://github.com/github/codeql-action/pull/2006">#2006</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/379614612a29c9e28f31f39a59013eb8012a51f0"><code>3796146</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2148">#2148</a>
from github/update-v3.24.3-3a7796d6a</li>
<li><a
href="https://github.com/github/codeql-action/commit/01d302a04eea70ce81e7926c05c80a4dd30f9d2c"><code>01d302a</code></a>
Update changelog for v3.24.3</li>
<li><a
href="https://github.com/github/codeql-action/commit/3a7796d6ad0e2a3b9d7480095a365f27bc6452d1"><code>3a7796d</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2147">#2147</a>
from github/henrymercer/fix-config-outside-workspace...</li>
<li><a
href="https://github.com/github/codeql-action/commit/56b93f29ebc6b37e35f050c9ed056fbe82c78060"><code>56b93f2</code></a>
Add changelog note</li>
<li><a
href="https://github.com/github/codeql-action/commit/381e65f460073fc12b3dac08ba3f62b2b2e7ba46"><code>381e65f</code></a>
Allow generated user config file to be outside the workspace</li>
<li><a
href="https://github.com/github/codeql-action/commit/d88d538126113b4fe52fe9ba17f9dc19ba505d12"><code>d88d538</code></a>
Add PR check for specifying configuration using the <code>config</code>
input</li>
<li><a
href="https://github.com/github/codeql-action/commit/dc983b33c32da66f1acc44a1d5ed69d94e9ffb64"><code>dc983b3</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2143">#2143</a>
from github/mergeback/v3.24.2-to-main-ece8414c</li>
<li><a
href="https://github.com/github/codeql-action/commit/66a4732f1d8a89e7232232a4bdd1a4d16ee73eb5"><code>66a4732</code></a>
Update checked-in dependencies</li>
<li><a
href="https://github.com/github/codeql-action/commit/e62fb8e891989ac0311b4082acf0b45cac614f2a"><code>e62fb8e</code></a>
Update changelog and version after v3.24.2</li>
<li><a
href="https://github.com/github/codeql-action/commit/ece8414c725e29de2e18c0859fda9e7280df9488"><code>ece8414</code></a>
Merge pull request <a
href="https://github.com/github/codeql-action/issues/2142">#2142</a>
from github/update-v3.24.2-1a41e5519</li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/e675ced7a7522a761fc9c8eb26682c8b27c42b2b...379614612a29c9e28f31f39a59013eb8012a51f0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=3.24.1&new-version=3.24.3)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes flutter/website#10163 and sneakily uses
some new language features where appropriate :)
Bumps [site-shared](https://github.com/dart-lang/site-shared) from
`9127a89` to `0aca7cc`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dart-lang/site-shared/commit/0aca7cc277b0ad39fe3bae7439af0d25bfb5b53a"><code>0aca7cc</code></a>
Tighten package and SDK version constraints as of 3.3 (<a
href="https://github.com/dart-lang/site-shared/issues/209">#209</a>)</li>
<li>See full diff in <a
href="https://github.com/dart-lang/site-shared/compare/9127a89a3394f6617cae4aebf1f30d804f21ac74...0aca7cc277b0ad39fe3bae7439af0d25bfb5b53a">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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixed typo - Flutter project directory name

Co-authored-by: Anthony Sansone <atsansone@users.noreply.github.com>
This aligns closer with other similar variables on the site and will
make the 11ty migration easier to review. It also avoids the mistake of
accidentally not including the shims.
Revise copy under cards on macOS install page. Fixes #10172
This PR fixes the indentation of a pubspec.yaml example inside the fonts
cookbook.

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.
Announces a change to `flutter` planned in a later release that might
break (a small number of) Flutter apps.

See flutter/flutter#143577 for the relevant
issue on flutter/flutter.

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.

---------

Co-authored-by: Shams Zakhour (ignore Sfshaza) <44418985+sfshaza2@users.noreply.github.com>
_Description of what this PR is changing or adding, and why:_
Re-add the Build Tools for Visual Studio 2022 option. This is a
significantly smaller download than a full Visual Studio installation.

This was originally added by
flutter/website#7484 but was removed by
flutter/website#9238.

_Issues fixed by this PR (if any):_

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.

---------

Co-authored-by: Anthony Sansone <atsansone@users.noreply.github.com>
## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.

### Changes
Below settings were tested in Kotlin DSL based Android Projects

1. ``` repositories {
maven(url = "https://storage.googleapis.com/download.flutter.io")
maven(url =
"/Users/shivam/StudioProjects/flutter_module/build/host/outputs/repo")
    }```
 need to be added in `settings.gradle.kts`

ADDED
2. Implementing `profileImplementation` in Kotlin DSL projects

~~**Note**: I still cannot find about `profileImplementation` in DSL.
will find and update soon.~~

---------

Co-authored-by: Anthony Sansone <atsansone@users.noreply.github.com>
Co-authored-by: Brett Morgan <brettmorgan@google.com>
Co-authored-by: Shams Zakhour (ignore Sfshaza) <44418985+sfshaza2@users.noreply.github.com>
The Flutter docs site scores a [C for
security](https://securityheaders.com/?q=https%3A%2F%2Fdocs.flutter.dev).
One factor is the Content Security Policy, an HTTP header that can
prevent [Cross Site Scripting
(XSS)](https://securityheaders.com/?q=https%3A%2F%2Fdocs.flutter.dev)
attacks.

This PR adds the CSP to the Flutter docs site HTTP headers. It would
resemble the fix applied to the Dart homepage in
[Dart PR #3540](dart-lang/site-www#3540) based
on [Dart issue #1521](dart-lang/site-www#1521)

This change is based on the pub.dev site. Fixes #6381

Co-authored-by: Brett Morgan <brettmorgan@google.com>
Removes the old `/apprentice-giveaway`, `/adoptawidget`, `/clock`, and
`/create` top-level marketing pages, their custom styles, images, etc.
None have been used or referenced for multiple years now. This PR does
however introduce some relevant redirect destinations for those paths.

This will help the site and its styles to be be easier to maintain,
slightly improve site build times, and ease the migration to 11ty.
This extends PR flutter/website#10144 (which I
will close), by removing several extraneous right curly brackets from
Dart samples. It also ran the refresh-code-excepts tool, which updated 3
code excerpts.

Fixes flutter/website#10138

Thanks, @afradadahsan, for filing the original PR!
A new state management library that's similar to the native state
management pattern in Flutter was added.

## Presubmit checklist

- [x] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [x] This PR follows the [Google Developer Documentation Style
Guidelines](https://developers.google.com/style) — for example, it
doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
- [x] This PR uses [semantic line
breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks)
of 80 characters or fewer.

---------

Co-authored-by: Shams Zakhour (ignore Sfshaza) <44418985+sfshaza2@users.noreply.github.com>
Added hardware architectures to supported platforms. 

Fixes #10136
Fixes #6713
@AmosHuKe AmosHuKe requested a review from a team as a code owner February 22, 2024 17:11
@AmosHuKe AmosHuKe marked this pull request as draft February 22, 2024 17:11
@AmosHuKe
Copy link
Member Author

本地已基础验证。

fluttercn

@AmosHuKe AmosHuKe marked this pull request as ready for review February 23, 2024 07:33
Copy link
Member

@AlexV525 AlexV525 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

太卡了,看不了
21618613360a953d5d637129ee8de290

@AmosHuKe
Copy link
Member Author

笑死

@AlexV525 AlexV525 merged commit 69765ab into cfug:main Feb 23, 2024
5 checks passed
@AmosHuKe AmosHuKe deleted the sync-20240222 branch February 23, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.