1. 14 Mar, 2024 16 commits
  2. 13 Mar, 2024 22 commits
  3. 12 Mar, 2024 2 commits
    • engine-flutter-autoroll's avatar
      Roll Flutter Engine from f1db33f48070 to e25e977a0222 (2 revisions) (#145035) · 4dc2ea3e
      engine-flutter-autoroll authored
      https://github.com/flutter/engine/compare/f1db33f48070...e25e977a0222
      
      2024-03-12 skia-flutter-autoroll@skia.org Roll Skia from 47baa55b4669 to 187488b64570 (1 revision) (flutter/engine#51362)
      2024-03-12 chinmaygarde@google.com [Impeller] Add utility for type safe masks. (flutter/engine#51361)
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
      Please CC bdero@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
      is aware of the problem.
      
      To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
      
      To report a problem with the AutoRoller itself, please file a bug:
      https://issues.skia.org/issues/new?component=1389291&template=1850622
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
      4dc2ea3e
    • Jackson Gardner's avatar
      Flutter Web Bootstrapping Improvements (#144434) · 3c30e3cb
      Jackson Gardner authored
      This makes several changes to flutter web app bootstrapping.
      * The build now produces a `flutter_bootstrap.js` file.
        * By default, this file does the basic streamlined startup of a flutter app with the service worker settings and no user configuration.
        * The user can also put a `flutter_bootstrap.js` file in the `web` subdirectory in the project directory which can have whatever custom bootstrapping logic they'd like to write instead. This file is also templated, and can use any of the tokens  that can be used with the `index.html` (with the exception of `{{flutter_bootstrap_js}}`, see below).
      * Introduced a few new templating tokens for `index.html`:
        * `{{flutter_js}}` => inlines the entirety of `flutter.js`
        * `{{flutter_service_worker_version}}` => replaced directly by the service worker version. This can be used instead of the script that sets the `serviceWorkerVersion` local variable that we used to have by default.
        * `{{flutter_bootstrap_js}}` => inlines the entirety of `flutter_bootstrap.js` (this token obviously doesn't apply to `flutter_bootstrap.js` itself).
      * Changed `IndexHtml` to be called `WebTemplate` instead, since it is used for more than just the index.html now.
      * We now emit warnings at build time for certain deprecated flows:
        * Warn on the old service worker version pattern (i.e.`(const|var) serviceWorkerVersion = null`) and recommends using `{{flutter_service_worker_version}}` token instead
        * Warn on use of `FlutterLoader.loadEntrypoint` and recommend using `FlutterLoader.load` instead
        * Warn on manual loading of `flutter_service_worker.js`.
      * The default `index.html` on `flutter create` now uses an async script tag with `flutter_bootstrap.js`.
      3c30e3cb