-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add Flutter Linux merged threads migration annoucement #12534
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,6 +50,7 @@ They're sorted by release and listed in alphabetical order: | |
| * [`$FLUTTER_ROOT/version` replaced by `$FLUTTER_ROOT/bin/cache/flutter.version.json`][] | ||
| * [SnackBar with action no longer auto-dismisses][] | ||
| * [Deprecate `SemanticsProperties.focusable` and `SemanticsConfiguration.isFocusable`][] | ||
| * [Merged threads on Linux][] | ||
|
|
||
| [Deprecate `OverlayPortal.targetsRootOverlay`]: /release/breaking-changes/deprecate-overlay-portal-targets-root | ||
| [Deprecate `TextField.canRequestFocus`]: /release/breaking-changes/can-request-focus | ||
|
|
@@ -59,6 +60,7 @@ They're sorted by release and listed in alphabetical order: | |
| [`$FLUTTER_ROOT/version` replaced by `$FLUTTER_ROOT/bin/cache/flutter.version.json`]: /release/breaking-changes/flutter-root-version-file | ||
| [SnackBar with action no longer auto-dismisses]: /release/breaking-changes/snackbar-with-action-behavior-update | ||
| [Deprecate `SemanticsProperties.focusable` and `SemanticsConfiguration.isFocusable`]: /release/breaking-changes/deprecate-focusable | ||
| [Merged threads on Linux]: /release/breaking-changes/linux-merged-threads | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| <a id="released-in-flutter-335" aria-hidden="true"></a> | ||
| ### Released in Flutter 3.35 | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,50 @@ | ||||||
| --- | ||||||
| title: Merged threads on Linux | ||||||
| description: >- | ||||||
| Learn about threading changes on Linux in Flutter FIXME:RELEASE_VERSION | ||||||
| --- | ||||||
|
|
||||||
| ## Summary | ||||||
|
|
||||||
| Flutter FIXME:RELEASE_VERSION merges the UI and platform threads by default on Linux. | ||||||
|
|
||||||
| ## Context | ||||||
|
|
||||||
| Originally, Flutter had separate threads to produce UI frames and to | ||||||
| interact with the native platform. | ||||||
|
|
||||||
| The split-thread design prevented Flutter apps and plugins from using Dart FFI | ||||||
| to interoperate with native APIs that must be called on the platform thread. | ||||||
|
|
||||||
| ## Description of change | ||||||
|
|
||||||
| Flutter FIXME:Next version merges the UI and platform threads by default on Linux. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This placeholder
Suggested change
|
||||||
|
|
||||||
| This mirrors all the other platforms, whose threads were merged by default in | ||||||
| Flutter 3.29 (iOS and Android) and 3.35 (macOS and Windows). | ||||||
|
|
||||||
| ## Migration guide | ||||||
|
|
||||||
| Merged threads should not affect your app. | ||||||
|
|
||||||
| If you suspect merged threads has regressed your app, please reach out on | ||||||
| [Issue 150525][]. | ||||||
|
|
||||||
| ## Timeline | ||||||
|
|
||||||
| Landed in version: FIXME:LANDED_VERSION<br> | ||||||
| In stable release: FIXME:RELEASE_VERSION | ||||||
|
|
||||||
| ## References | ||||||
|
|
||||||
| Relevant issue: | ||||||
|
|
||||||
| * [Issue 150525][] | ||||||
|
|
||||||
| Relevant PRs: | ||||||
|
|
||||||
| * [PR 176759][] | ||||||
|
|
||||||
| [Issue 150525]: {{site.repo.flutter}}/issues/150525 | ||||||
| [PR 176759]: {{site.repo.flutter}}/pull/176759 | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to line 41, this list should be in alphabetical order. This new entry is appended at the end, not in alphabetical order. Please place it in the correct alphabetical position to follow the documented convention.