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/01/01 #1403

Merged
merged 73 commits into from
Jan 30, 2024
Merged

[sync] 2024/01/01 #1403

merged 73 commits into from
Jan 30, 2024

Conversation

AmosHuKe
Copy link
Member

@AmosHuKe AmosHuKe commented Jan 1, 2024

ref #374

Note

上游较多更新(重构):

  • src/get-started/install 相关
  • src/cookbook/design/fonts.md
  • src/testing/code-debugging.md
  • src/ui/layout/tutorial.md

部分更新说明

  • 内嵌视频拥有懒加载
  • 内嵌视频(youtube 和 bilibili)统一使用变量配置
    • youtube: src/_includes/docs/yt_shims.liquid
    • bilibili: src/_includes/docs/bili_shims.liquid

YehudaKremer and others added 30 commits December 3, 2023 19:22
_Description of what this PR is changing or adding, and why:_

When I started to learn about integration tests, I was a little lost in
Flutter documentation because there were only 1 or 2 poor examples in
the docs: https://flutter.dev/docs/testing/integration-tests. Later, I
discovered the
[testing_app](https://github.com/flutter/samples/tree/main/testing_app/integration_test)
which contains multiple examples which would have helped me if I
discovered them earlier.

Therefore, I think it's a good idea to add a simple link in the docs.

_Issues fixed by this PR (if any):_ Fixes
flutter/flutter#87437

## 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 links based on `_config.yml`

Co-authored-by: Brett Morgan <[email protected]>
@atsansone This will fix the error you're seeing. It's surfaced in
today's stable build because of a fix to the analyzer that was allowing
`const` when it shouldn't have.
## Description

Adds a migration guide for the `RawKeyEvent`/`RawKeyboard` migration.

## Related Issues
 - flutter/flutter#136419

---------

Co-authored-by: Kate Lovett <[email protected]>
_Description of what this PR is changing or adding, and why:_

Migration guide for flutter/flutter#136708
Fixes flutter/flutter#139333


## 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.
Fixes flutter/website#9690

---------

Co-authored-by: Brett Morgan <[email protected]>
Co-authored-by: Anthony Sansone <[email protected]>
_Description of what this PR is changing or adding, and why:_ Updating
the Codelab list

_Issues fixed by this PR (if any):_ N/A

## 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: Parker Lougheed <[email protected]>
Adds a link for a new RFC/design doc.

---------

Co-authored-by: Parker Lougheed <[email protected]>
This PR adds a guide explaining how to migrate from _imperative apply_
of Flutter's Gradle plugins to _declarative apply_.

Resolves flutter/flutter#135392

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


## Preview


[here](https://flutter-docs-prod--pr9857-migration-guide-gradle-plugi-vyllekcb.web.app/release/breaking-changes/flutter-gradle-plugin-apply)

---------

Co-authored-by: Anthony Sansone <[email protected]>
Co-authored-by: Gustl22 <[email protected]>
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 2.22.8 to 2.22.9.
<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>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<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://redirect.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://redirect.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://redirect.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>
<h2>2.22.4 - 20 Oct 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.1. <a
href="https://redirect.github.com/github/codeql-action/pull/1953">#1953</a></li>
<li>Users will begin to see warnings on Node.js 16 deprecation in their
Actions logs on code scanning runs starting October 23, 2023.
<ul>
<li>All code scanning workflows should continue to succeed regardless of
the warning.</li>
<li>The team at GitHub maintaining the CodeQL Action is aware of the
deprecation timeline and actively working on creating another version of
the CodeQL Action, v3, that will bump us to Node 20.</li>
<li>For more information, and to communicate with the maintaining team,
please use <a
href="https://redirect.github.com/github/codeql-action/issues/1959">this
issue</a>.</li>
</ul>
</li>
</ul>
<h2>2.22.3 - 13 Oct 2023</h2>
<ul>
<li>Provide an authentication token when downloading the CodeQL Bundle
from the API of a GitHub Enterprise Server instance. <a
href="https://redirect.github.com/github/codeql-action/pull/1945">#1945</a></li>
</ul>
<h2>2.22.2 - 12 Oct 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.0. <a
href="https://redirect.github.com/github/codeql-action/pull/1938">#1938</a></li>
<li>Improve the log output when an error occurs in an invocation of the
CodeQL CLI. <a
href="https://redirect.github.com/github/codeql-action/pull/1927">#1927</a></li>
</ul>
<h2>2.22.1 - 09 Oct 2023</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/c0d1daa7f7e14667747d73a7dbbe8c074bc8bfe2"><code>c0d1daa</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2020">#2020</a>
from github/update-v2.22.9-e1d1fad1b</li>
<li><a
href="https://github.com/github/codeql-action/commit/c6e24c94be1c0836c1f80e4ee2c5ae88f37cb55e"><code>c6e24c9</code></a>
Update changelog for v2.22.9</li>
<li><a
href="https://github.com/github/codeql-action/commit/e1d1fad1b8d40e5f76f9e6ff14b0430176eaa23c"><code>e1d1fad</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2014">#2014</a>
from github/nickfyson/update-release-process</li>
<li><a
href="https://github.com/github/codeql-action/commit/0e9a210226d6fd1008805163b449ed40fb6bd191"><code>0e9a210</code></a>
update workflows to run on all release branches</li>
<li><a
href="https://github.com/github/codeql-action/commit/47e90f23ead0b95ca73fc7f3b45d1a93cff09cf6"><code>47e90f2</code></a>
Merge branch 'main' into nickfyson/update-release-process</li>
<li><a
href="https://github.com/github/codeql-action/commit/ee748cf360358684ead808cff8f4a0e9d1cca895"><code>ee748cf</code></a>
respond to more review comments</li>
<li><a
href="https://github.com/github/codeql-action/commit/57932be6d40f2cd95e2c7b6690bea3b6e58762cf"><code>57932be</code></a>
remove unused function</li>
<li><a
href="https://github.com/github/codeql-action/commit/a6ea3c5a45b53ef29985956a67d19aa9db1fc2ef"><code>a6ea3c5</code></a>
define backport commit message in constant</li>
<li><a
href="https://github.com/github/codeql-action/commit/3537bea5807bc605478c9ff7af7f7af948b6025e"><code>3537bea</code></a>
Apply suggestions from code review</li>
<li><a
href="https://github.com/github/codeql-action/commit/3675be0110bc35cc6e05c280a95f1b920990ed68"><code>3675be0</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2017">#2017</a>
from cklin/update-supported-enterprise-server-versions</li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/407ffafae6a767df3e0230c3df91b6443ae8df75...c0d1daa7f7e14667747d73a7dbbe8c074bc8bfe2">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=2.22.8&new-version=2.22.9)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This PR fixes errors in the migration guide:
- missing entry for this guide from _index_
([link](https://docs.flutter.dev/release/breaking-changes#not-yet-released-to-stable))
- {agpVersion} and {kotlinVersion} not displaying
([link](https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply))

Original PR #9857

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

## Preview


[here](https://flutter-docs-prod--pr9907-fix-migration-guide-gradle-p-f53g480f.web.app/release/breaking-changes/flutter-gradle-plugin-apply#google-mobile-services-and-crashlytics)
_Description:_

This PR updates the command for building Linux apps for distribution,
according to the new style of folder structure used by Flutter. The
previous command was outdated and did not work with the latest version
of Flutter.

_Issues fixed by this PR:_

Fixes cfug#1234 

## 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.
Bumps ruby from `02a091c` to `14eba67`.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruby&package-manager=docker&previous-version=3.2.2-slim-bookworm&new-version=3.2.2-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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [examples/codelabs](https://github.com/flutter/codelabs) from
`4e2eb0c` to `42bdf45`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/flutter/codelabs/commit/42bdf45108324416c16476fef305017118af593c"><code>42bdf45</code></a>
Drop <code>flame-building-doodle-dash</code> (<a
href="https://redirect.github.com/flutter/codelabs/issues/2150">#2150</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/codelabs/compare/4e2eb0c652bb1811e022c210b94938919d30a6c4...42bdf45108324416c16476fef305017118af593c">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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Closes flutter/website#9898

The blog post here links to a few **great** community workshops.
Unfortunately some of them are no longer live, others have errors or a
bunch of lint warnings, and the feature is not guaranteed to continue in
its current form.
## 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: Brett Morgan <[email protected]>
I fixed a couple of small typos, and bumped the version it was released
in to the actual version.
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 2.22.9 to 2.22.10.
<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>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>2.22.10 - 12 Dec 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.4. <a
href="https://redirect.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://redirect.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://redirect.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://redirect.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>
<h2>2.22.4 - 20 Oct 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.1. <a
href="https://redirect.github.com/github/codeql-action/pull/1953">#1953</a></li>
<li>Users will begin to see warnings on Node.js 16 deprecation in their
Actions logs on code scanning runs starting October 23, 2023.
<ul>
<li>All code scanning workflows should continue to succeed regardless of
the warning.</li>
<li>The team at GitHub maintaining the CodeQL Action is aware of the
deprecation timeline and actively working on creating another version of
the CodeQL Action, v3, that will bump us to Node 20.</li>
<li>For more information, and to communicate with the maintaining team,
please use <a
href="https://redirect.github.com/github/codeql-action/issues/1959">this
issue</a>.</li>
</ul>
</li>
</ul>
<h2>2.22.3 - 13 Oct 2023</h2>
<ul>
<li>Provide an authentication token when downloading the CodeQL Bundle
from the API of a GitHub Enterprise Server instance. <a
href="https://redirect.github.com/github/codeql-action/pull/1945">#1945</a></li>
</ul>
<h2>2.22.2 - 12 Oct 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.15.0. <a
href="https://redirect.github.com/github/codeql-action/pull/1938">#1938</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/305f6546310b9203e892c28c1484e82977f4f63d"><code>305f654</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2028">#2028</a>
from github/update-v2.22.10-fe23b5a3e</li>
<li><a
href="https://github.com/github/codeql-action/commit/31e94d8cb16220f5617d878dad8d698487b2bb49"><code>31e94d8</code></a>
Update changelog for v2.22.10</li>
<li><a
href="https://github.com/github/codeql-action/commit/fe23b5a3e1de4ae7f64965059233ee74e959035e"><code>fe23b5a</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2016">#2016</a>
from github/update-bundle/codeql-bundle-v2.15.4</li>
<li><a
href="https://github.com/github/codeql-action/commit/183559cea87c163bb01e99e0a15fd5500b23307f"><code>183559c</code></a>
Merge branch 'main' into update-bundle/codeql-bundle-v2.15.4</li>
<li><a
href="https://github.com/github/codeql-action/commit/382a50a0284c0de445104889a9d6003acb4b3c1d"><code>382a50a</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2021">#2021</a>
from github/mergeback/v2.22.9-to-main-c0d1daa7</li>
<li><a
href="https://github.com/github/codeql-action/commit/458b4226ad8e38f90ff6a4ad1e18ab2593e7e3dc"><code>458b422</code></a>
Update checked-in dependencies</li>
<li><a
href="https://github.com/github/codeql-action/commit/5e0f9dbc48f564b68392e465dcdacd74eab63e25"><code>5e0f9db</code></a>
Update changelog and version after v2.22.9</li>
<li><a
href="https://github.com/github/codeql-action/commit/b6dc4ba94b60904bd83cc6e9186e94a7e55366a0"><code>b6dc4ba</code></a>
Add changelog note</li>
<li><a
href="https://github.com/github/codeql-action/commit/1c3b8c867ba7d8de952a0d8522ca6e125fa18034"><code>1c3b8c8</code></a>
Update default bundle to codeql-bundle-v2.15.4</li>
<li>See full diff in <a
href="https://github.com/github/codeql-action/compare/c0d1daa7f7e14667747d73a7dbbe8c074bc8bfe2...305f6546310b9203e892c28c1484e82977f4f63d">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=2.22.9&new-version=2.22.10)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…9740)

## Description of what this PR is changing or adding, and why:

In the final code snippet of section 3
[\[ref\]](https://docs.flutter.dev/cookbook/networking/background-parsing#convert-the-response-into-a-list-of-photos),
the comment above the statement `return parsePhotos(response.body);`
says, `// Use the compute function to run parsePhotos in a separate
isolate.`.
This comment is misleading as we are not using the `compute` function
here. The `compute` function is introduced in section 4, **_where this
exact comment is repeated_** in a code snippet above the statement
`return compute(parsePhotos, response.body);`
[\[ref\]](https://docs.flutter.dev/cookbook/networking/background-parsing#4-move-this-work-to-a-separate-isolate).
I've attached an image of the code snippet with the misleading comment
highlighted below for reference.

Hence, I think this comment should be reworded in the last code snippet
of section 3, where the statement `return parsePhotos(response.body);`
is present.
I suggest it should be reworded as `// Synchronously run parsePhotos in
the main isolate.` because this wording improves the clarity of _where_
and _how_ the statement below it, executes.

## Image of Code Snippet with Misleading Comment Highlighted

<img width="821" alt="Image of Code Snippet with Misleading Comment
Highlighted"
src="https://github.com/flutter/website/assets/12199011/f3afa667-9a2f-4e9b-b9dd-5078df188da0">

## 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 <[email protected]>
…ntegration (#9921)

Bumps [pigeon](https://github.com/flutter/packages/tree/main/packages)
from 14.0.1 to 15.0.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/flutter/packages/commit/8d3c5068ff772490eda40ecdd628fbd2070675de"><code>8d3c506</code></a>
[pigeon] Adds <a
href="https://github.com/CanIgnoreReturnValue"><code>@​CanIgnoreReturnValue</code></a>
annotation (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5601">#5601</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/92bbf65dd2f8e6cb2cec1abe99d559fa74437683"><code>92bbf65</code></a>
[image_picker] updates to resize logic. (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5527">#5527</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/bf6c32c9cc51516740be03286950c37dc9428dc1"><code>bf6c32c</code></a>
[various] Update examples using video_player (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5653">#5653</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/4147244c6379a1db3b8d911523190bead3e71ca2"><code>4147244</code></a>
[pigeon] Fix Kotlin generator to use provided errorClassName (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5480">#5480</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/42396ee81548417843f0abd67190fd93e0e0f2de"><code>42396ee</code></a>
[web_benchmarks] Add support for analyzing benchmark results (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5630">#5630</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/8163731c489338377154eb3fde2cfdd9293373c0"><code>8163731</code></a>
[pointer_interceptor] Fully publish pointer_interceptor package (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5640">#5640</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/cb6dbcdd230528c0c246c81d93386c512f9a23d0"><code>cb6dbcd</code></a>
[multicast_dns] Adjust README (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5529">#5529</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/5e81fd5d670b4b5583983ac8081b46c29249afcf"><code>5e81fd5</code></a>
[google_sign_in_web] Migrate to pkg:web. (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5612">#5612</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/b99ade61ec70a4377ec66277d39f17b88fb6320e"><code>b99ade6</code></a>
[google_maps_flutter] Disable failing iOS tests (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/5629">#5629</a>)</li>
<li><a
href="https://github.com/flutter/packages/commit/935b92f5373f8ebcadd827962d3bfb044f20e422"><code>935b92f</code></a>
Add <code>parse</code> constructors for the
<code>BenchmarkResults</code> and <code>BenchmarkScore</code>
clas...</li>
<li>Additional commits viewable in <a
href="https://github.com/flutter/packages/commits/pigeon-v15.0.1/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=14.0.1&new-version=15.0.1)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Parker Lougheed <[email protected]>
…914)

_Description of what this PR is changing or adding, and why:_

Add `title` attributes to all `iframe` videos per WCAG guidelines. Also
adds lazy loading and standardizes other attributes as well.

Fixes #9528 

## Presubmit checklist

- [ ] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [ ] 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).
- [ ] 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.
Fixes #5133

---------

Co-authored-by: Parker Lougheed <[email protected]>
This refactors the Layout Tutorial for current best practice including
adding screenshots and using Padding where needed.

Fixes #2108
Fixes #1799 
Fixes #9118
dependabot bot and others added 18 commits December 21, 2023 13:21
Bumps ruby from `00c43b8` to `75f884a`.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruby&package-manager=docker&previous-version=3.2.2-slim-bookworm&new-version=3.2.2-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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixes #9541

@kenzieschmoll : This should meet your requirement. The site will need
to stage before you can see the result.
Bumps [examples/codelabs](https://github.com/flutter/codelabs) from
`93555bd` to `cb35535`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/flutter/codelabs/commit/cb355359b6ca199e933b1f3e293f900a1ed1b65b"><code>cb35535</code></a>
Bump go_router from 12.1.3 to 13.0.0 in /deeplink_cookbook (<a
href="https://redirect.github.com/flutter/codelabs/issues/2155">#2155</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/codelabs/compare/93555bd6fa4817c5b60cdae6dfd96e8a92607735...cb355359b6ca199e933b1f3e293f900a1ed1b65b">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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix the comment style to be compatible with `build.gradle`s format.

Copy pasting in the `#` comments leads to the file not being parsed in
Android Studio.

## 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.
…(#9864)

This PR introduces additional documentation for a new feature, the
conditional bundling of assets based on app flavor, which will be
introduced by flutter/flutter#132985.

I've decided to incorporate the documentation into the flavors page, as
I believe this is where this new feature would be most relevant. I do
not suspect many users would start using the flavors feature
specifically for this new feature.

I've also tried to keep this documentation simple, explaining how to use
the feature entirely through an example (similar to how the [Adding
assets and images](https://docs.flutter.dev/ui/assets/assets-and-images)
works).

## 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) <[email protected]>
Also reduces installation time of the tool and compatibility with Node
20 (which we are using).
- Updates to Ruby 3.3 for latest bug fixes and performance improvements.
- Updates to use the YJIT compiler as suggested by Ruby and Shopify.
- Update Jekyll for compatibility with Ruby 3.3.
- Update to latest bundler and gems.
Updated page to explain font types, font formats, when to use fonts,
what fonts to choose, and why you shouldn't override a font.

Fixes #9940

_Description of what this PR is changing or adding, and why:_

_Issues fixed by this PR (if any):_

## Presubmit checklist

- [ ] This PR doesn’t contain automatically generated corrections
(Grammarly or similar).
- [ ] 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).
- [ ] 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.
@AmosHuKe AmosHuKe changed the title [sync] 2024/01/01 [WIP][sync] 2024/01/01 Jan 1, 2024
@AmosHuKe
Copy link
Member Author

AmosHuKe commented Jan 2, 2024

已本地基础验证

555463037

@AmosHuKe AmosHuKe marked this pull request as ready for review January 2, 2024 10:33
@AmosHuKe AmosHuKe requested a review from a team as a code owner January 2, 2024 10:33
@AmosHuKe AmosHuKe changed the title [WIP][sync] 2024/01/01 [sync] 2024/01/01 Jan 2, 2024
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.

救一手我豆豆

@AlexV525 AlexV525 merged commit e2baf59 into cfug:main Jan 30, 2024
5 checks passed
@AmosHuKe AmosHuKe deleted the sync-20240101 branch February 2, 2024 14:27
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.