Skip to content

Conversation

@yjbanov
Copy link
Contributor

@yjbanov yjbanov commented Aug 1, 2024

Hide the --web-renderer option in the Flutter Tool. The defaults already cover all fully supported modes:

  • flutter build web provides canvaskit + dart2js
  • flutter build web --wasm provides skwasm + dart2wasm

We do not want to encourage production usage of any other permutations (e.g. auto or html), in particular those that simply do not work (e.g. skwasm + dart2js).

Fixes #140096
Fixes #151786

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 1, 2024
@yjbanov yjbanov force-pushed the hide-web-renderer branch from 173a43a to 4912f84 Compare August 1, 2024 17:19
@yjbanov yjbanov force-pushed the hide-web-renderer branch from 4912f84 to 149c030 Compare August 7, 2024 17:11
@yjbanov yjbanov added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 7, 2024
@auto-submit auto-submit bot merged commit e8d2e58 into flutter:master Aug 7, 2024
@jezell
Copy link

jezell commented Aug 7, 2024

@yjbanov does this fix this one?

#152844

TytaniumDev pushed a commit to TytaniumDev/flutter that referenced this pull request Aug 7, 2024
Hide the `--web-renderer` option in the Flutter Tool. The defaults already cover all fully supported modes:

- `flutter build web` provides canvaskit + dart2js
- `flutter build web --wasm` provides skwasm + dart2wasm

We do not want to encourage production usage of any other permutations (e.g. `auto` or `html`), in particular those that simply do not work (e.g. `skwasm` + dart2js).

Fixes flutter#140096
Fixes flutter#151786
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 8, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Aug 8, 2024
Manual roll requested by [email protected]

flutter/flutter@d595e98...b6cd31e

2024-08-08 [email protected] Add a contribution doc on using reliable links in tooling (flutter/flutter#150962)
2024-08-08 [email protected] Roll Flutter Engine from 94cf8c8fad31 to 3978ddd8d7a7 (1 revision) (flutter/flutter#153086)
2024-08-08 [email protected] Roll Flutter Engine from 9dd4a2303898 to 94cf8c8fad31 (2 revisions) (flutter/flutter#153073)
2024-08-08 [email protected] Roll Flutter Engine from 9932f34aac4e to 9dd4a2303898 (1 revision) (flutter/flutter#153067)
2024-08-08 [email protected] Add drawer and navigation drawer in a11y assessment app, also run `dart format` under a11y_assessments/ (flutter/flutter#153034)
2024-08-07 [email protected] Roll Flutter Engine from d4d9537bccdf to 9932f34aac4e (1 revision) (flutter/flutter#153063)
2024-08-07 [email protected] Clean up MenuAnchor (flutter/flutter#152946)
2024-08-07 [email protected] Set default Cupertino `primaryContrastingColor` to white (flutter/flutter#153039)
2024-08-07 [email protected] Roll Flutter Engine from 317eb6107646 to d4d9537bccdf (2 revisions) (flutter/flutter#153058)
2024-08-07 [email protected] Allow dropdown_menu to accept any EdgeInsetsGeometry (flutter/flutter#153053)
2024-08-07 [email protected] Add xcresulttool --legacy flag for deprecated usage (flutter/flutter#152988)
2024-08-07 [email protected] Revert "Marks Mac channels_integration_test to be flaky" (flutter/flutter#153044)
2024-08-07 [email protected] Roll Flutter Engine from 69c29fb309bb to 317eb6107646 (2 revisions) (flutter/flutter#153048)
2024-08-07 [email protected] Marks Linux android_java17_dependency_smoke_tests to be unflaky (flutter/flutter#153011)
2024-08-07 [email protected] Marks Linux android_java11_dependency_smoke_tests to be unflaky (flutter/flutter#153010)
2024-08-07 [email protected] [web] hide the --web-renderer option in the tool (flutter/flutter#152683)
2024-08-07 [email protected] Doc imports again (flutter/flutter#152958)
2024-08-07 [email protected] Roll Flutter Engine from 5a0fd5fbecc6 to 69c29fb309bb (6 revisions) (flutter/flutter#153035)
2024-08-07 [email protected] Roll Packages from 551bde5 to 5cc0a01 (12 revisions) (flutter/flutter#153040)
2024-08-07 [email protected] MenuAnchor hover traversal fixes (flutter/flutter#150914)
2024-08-07 [email protected] Style: Rename CupertinoSwitch activeColor and trackColor to activeTrackColor and InactiveTrackColor (flutter/flutter#151367)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: 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
yjbanov added a commit to flutter/website that referenced this pull request Aug 16, 2024
_Description of what this PR is changing or adding, and why:_

The `--web-renderer` option has been deprecated and hidden (see
flutter/flutter#152683). This updates the docs
to reflect the new reality.
DBowen33 pushed a commit to DBowen33/flutter that referenced this pull request Aug 16, 2024
Hide the `--web-renderer` option in the Flutter Tool. The defaults already cover all fully supported modes:

- `flutter build web` provides canvaskit + dart2js
- `flutter build web --wasm` provides skwasm + dart2wasm

We do not want to encourage production usage of any other permutations (e.g. `auto` or `html`), in particular those that simply do not work (e.g. `skwasm` + dart2js).

Fixes flutter#140096
Fixes flutter#151786
Buchimi pushed a commit to Buchimi/flutter that referenced this pull request Sep 2, 2024
Hide the `--web-renderer` option in the Flutter Tool. The defaults already cover all fully supported modes:

- `flutter build web` provides canvaskit + dart2js
- `flutter build web --wasm` provides skwasm + dart2wasm

We do not want to encourage production usage of any other permutations (e.g. `auto` or `html`), in particular those that simply do not work (e.g. `skwasm` + dart2js).

Fixes flutter#140096
Fixes flutter#151786
parlough added a commit to flutter/website that referenced this pull request Sep 23, 2024
Removes references to the HTML renderer (as it is being deprecated),
except for a small version note. Reorganized the page to better show
the reduced information load and remove redundant headings.

I believe this comes into effect with 3.25.0, at the same time as
flutter/flutter#152683 is released, but
#11045 has already been made, so
this PR may be suitable immediately.

Resolves #11154

---------

Co-authored-by: Shams Zakhour (ignore Sfshaza) <[email protected]>
Co-authored-by: Parker Lougheed <[email protected]>
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update CLI args for --web-renderer to explain new default and clarify "skwasm" [web] Deprecate auto render mode (default to canvaskit)

3 participants