Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/flutter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b45fa18
Choose a base ref
...
head repository: flutter/flutter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f5a8537
Choose a head ref
  • 12 commits
  • 22 files changed
  • 4 contributors

Commits on Nov 14, 2025

  1. Add 3.38.1 release notes (#178493)

    Retroactively adding this note. Sadly these will be release in the next hotfix, but they will be available on master once #178487 lands.
    
    **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.
    camsim99 authored Nov 14, 2025
    Configuration menu
    Copy the full SHA
    ad76f2b View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2025

  1. [CP-stable][ Widget Preview ] Gracefully handle unexpected analysis c…

    …ontext disposal (#178646)
    
    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    #178472
    
    ### Changelog Description:
    Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples
    
    - [flutter/178472](#178472) Widget preview command can crash on exit if in the middle of analyzing changes to a Dart file.
    
    ### Impact Description:
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
    
    Unnecessary noise in our crash reporting. Shouldn't have a noticeable impact on development experience.
    
    ### Workaround:
    Is there a workaround for this issue?
    
    No.
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    1. Run `flutter widget-preview start` in a Flutter project
    2. Edit a source file and immediately send SIGQUIT to the `flutter` process
    3. Repeat this process multiple times to verify no error is reported
    flutteractionsbot authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    5c04145 View commit details
    Browse the repository at this point in the history
  2. [CP-stable]Allow empty dart defines in flutter assemble (#178542)

    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    #178452
    
    ### Changelog Description:
    Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples
    
    Flutter fails to build on iOS with error message: "Improperly formatted define flag" in add-to-app scenarios
    
    ### Impact Description:
    
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
    
    Impacts development: Add-to-app apps fails to build / xcode archive fails
    
    ### Workaround:
    Is there a workaround for this issue?
    
    Yes, users can patch the flutter_tool code and apply the change locally.
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    The issue can be reproduced / verified by building [flutter/samples@main/add_to_app/multiple_flutters](https://github.com/flutter/samples/tree/main/add_to_app/multiple_flutters).
    Some users have reported that the fix [worked for them](#178452 (comment))
    flutteractionsbot authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    95324c1 View commit details
    Browse the repository at this point in the history
  3. [CP-stable][ Widget Preview ] Throw ToolExit if Flutter Web is not …

    …enabled (#178534)
    
    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    #178486
    
    ### Impact Description:
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)?
    Does it impact development (ex. flutter doctor crashes when Android Studio is installed),
    or the shipping of production apps (the app crashes on launch).
    This information is for domain experts and release engineers to understand the consequences of saying yes or no to the cherry pick.
    
    Running `flutter widget-preview start` with Flutter web disabled will result in an error message stating that either Chrome couldn't be found or a `StateError` is thrown (for `--web-server`).
    
    ### Changelog Description:
    Explain this cherry pick:
    * In one line that is accessible to most Flutter developers.
    * That describes the state prior to the fix.
    * That includes which platforms are impacted.
    See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples.
    
    [flutter/178486] When running `flutter widget-preview start` with Flutter Web disabled, an exception is thrown and the widget previewer fails to start.
    
    ### Workaround:
    Is there a workaround for this issue?
    
    Run `flutter config --enable-web`, but there's currently no indication that this needs to be done.
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    1. Run `flutter config --no-enable-web`
    2. Run `flutter widget-preview start` in a Flutter project
    3. Verify an error message with instructions to enable Flutter web is output
    flutteractionsbot authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    b8a7a92 View commit details
    Browse the repository at this point in the history
  4. [CP-stable][ Widget Preview ] Ignore modifications to files in epheme…

    …ral directories (#178497)
    
    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    #178317
    
    ### Changelog Description:
    Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples
    
    Running `flutter pub get` can crash the widget previewer when plugin dependencies are added or updated.
    
    ### Impact Description:
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
    
    The widget previewer can crash when `flutter pub get` is run and causes plugins to be updated or added to the project. IDEs regularly run `flutter pub get` and automatically start up the widget previewer, making this the top tool crasher for 3.38. Also, when an IDE-managed widget previewer crashes, it silently dies without any indication to the user as the preview environment continues to work but will no longer hot reload when the user makes changes to their sources.
    
    ### Workaround:
    Is there a workaround for this issue?
    
    1. Run `flutter pub get`
    2. Start / restart the IDE
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    1. Run `flutter widget-preview start` in a Flutter project
    2. Add a plugin dependency to the project's `pubspec.yaml`
    3. Run `flutter pub get` in the project, which should not cause the `flutter widget-preview start` process to crash
    flutteractionsbot authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    7e4b2a4 View commit details
    Browse the repository at this point in the history
  5. [CP-stable]Add support for Visual Studio 2026 (#178450)

    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    #176399
    
    ### Changelog Description:
    Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples
    
    Visual Studio 2026 is not supported when compiling Windows desktop applications.
    
    ### Impact Description:
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
    
    Developers that only have Visual Studio 2026 installed are unable to compile Windows applications.
    
    ### Workaround:
    Is there a workaround for this issue?
    
    Install an older version of Visual Studio.
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    1. Install Visual Studio 2026 on a Windows installation without any other Visual Studio versions installed.
    2. Run `flutter run -d windows` to run a Windows desktop application.
    3. The application should successfully build and run.
    flutteractionsbot authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    444b8c3 View commit details
    Browse the repository at this point in the history
  6. [CP-stable][ Widget Preview ] Don't require 'flutter pub get' to be r…

    …un in the root project (#178394)
    
    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    #178052
    
    ### Changelog Description:
    Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples
    
    The widget previewer fails to start if `flutter pub get` has not been run in the target project.
    
    ### Impact Description:
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
    
    The widget previewer will fail to launch. For CLI users, the error message stating that the command needs to be run within a Flutter project is misleading. For IDE users, they may get a dialog stating the widget previewer failed to start with no actionable feedback.
    
    ### Workaround:
    Is there a workaround for this issue?
    
    Run `flutter pub get` in the project and then restart the widget previewer, either by relaunching the IDE or re-running `flutter widget-preview start`.
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    1. Delete `.dart_tool/` from a Flutter project.
    2. Run `flutter widget-preview start` within that project.
    3. The widget previewer should start successfully.
    flutteractionsbot authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    06f9b6a View commit details
    Browse the repository at this point in the history
  7. [CP-stable][ Tool ] Only process a single unhandled tool exception (#…

    …178469)
    
    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    #178318
    
    ### Changelog Description:
    Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples
    
    Certain `flutter` crash scenarios can result in multiple crash reports being submitted for a single process crash.
    
    ### Impact Description:
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
    
    Crash analytics data can be skewed to make certain bugs appear much more severe then they actually are.
    
    ### Workaround:
    Is there a workaround for this issue?
    
    Don't crash? :)
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    Run attached unit test.
    flutteractionsbot authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    b473856 View commit details
    Browse the repository at this point in the history
  8. [CP-stable]Roll dartdoc to 9.0.0 (#178638)

    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    < Replace with issue link here >
    
    #178639
    
    ### Changelog Description:
    Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples
    
    Classes marked with `@Deprecated.implement` should not be crossed out.
    
    ### Impact Description:
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
    
    Confusing dartdoc rendering on https://api.flutter.dev
    
    ### Workaround:
    Is there a workaround for this issue?
    
    N/A
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    N/A
    flutteractionsbot authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    2ca3bb8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8311571 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2025

  1. [CP-stable]Check for devicectl launch logs from std and file (#178675)

    This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request)
    Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.
    
    ### Issue Link:
    What is the link to the issue this cherry-pick is addressing?
    
    #178421
    
    ### Changelog Description:
    Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples
    
    Fixes an issue where debugging from an IDE hangs when using a physical iOS 26 device.
    
    ### Impact Description:
    What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)
    
    When debugging from an IDE with a physical iOS 26 device, it installs and app but hangs on a white screen during launching.
    
    ### Workaround:
    Is there a workaround for this issue?
    
    Use a simulator or use release mode
    
    ### Risk:
    What is the risk level of this cherry-pick?
    
    ### Test Coverage:
    Are you confident that your fix is well-tested by automated tests?
    
    ### Validation Steps:
    What are the steps to validate that this fix works?
    
    Create an app
    Use an IDE (like VS Code) to debug the app on an iOS 26 physical device
    flutteractionsbot authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    a7cb63e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5a8537 View commit details
    Browse the repository at this point in the history
Loading