Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/content/release/breaking-changes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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][]
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

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.


[Deprecate `OverlayPortal.targetsRootOverlay`]: /release/breaking-changes/deprecate-overlay-portal-targets-root
[Deprecate `TextField.canRequestFocus`]: /release/breaking-changes/can-request-focus
Expand All @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Similar to the list of breaking changes, this list of link definitions should also be in alphabetical order based on the rule on line 41. Please place this new link definition in the correct alphabetical position.


<a id="released-in-flutter-335" aria-hidden="true"></a>
### Released in Flutter 3.35
Expand Down
50 changes: 50 additions & 0 deletions src/content/release/breaking-changes/linux-merged-threads.md
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.
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This placeholder FIXME:Next version is inconsistent with FIXME:RELEASE_VERSION used elsewhere in the file (lines 4, 9, 36). To maintain consistency, please use FIXME:RELEASE_VERSION here as well.

Suggested change
Flutter FIXME:Next version merges the UI and platform threads by default on Linux.
Flutter FIXME:RELEASE_VERSION merges the UI and platform threads by default on Linux.


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