Skip to content

[web] Update Flutter 3.50 web caching, Wasm, and viewport-fit docs - #13986

Merged
kevmoo merged 8 commits into
mainfrom
web-350-docs
Oct 24, 2026
Merged

kevmoo merged 8 commits into
mainfrom
web-350-docs

Conversation

@kevmoo

@kevmoo kevmoo commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Updates Flutter web deployment, WebAssembly, initialization, and breaking-change documentation for the Flutter 3.50 release:

  • Documents flutter build web --web-content-hash (8-character SHA-256 content hashes across entrypoints and build/web/assets/**, split Cache-Control rules, overlay deployment for active tabs, and precache_manifest.json).
  • Updates the WebAssembly browser compatibility matrix (WasmGC + wasm:js-string + try_table across Chromium 137+, Safari 26.2+, and Firefox 147+), FlutterConfiguration options (wasmAllowList, renderer, verboseBuildSelection, suppressMultithreadingWarning, wasmDeferredModulesLoader), and --no-deprecated-js-interop (highlighting upcoming Dart SDK removal of legacy JS interop libraries).
  • Adds the viewport-fit=cover SafeArea breaking-change migration guide (viewport-fit-cover-safe-area.md), notes browser history URL percent-encoding preservation, updates initialization.md for {{flutter_service_worker_version}} / serviceWorkerSettings deprecation, and removes obsolete --no-web-experimental-hot-reload / 2019 HTML-renderer prose.

Fixes #13825
Fixes #13961
Fixes #13962

- Document `flutter build web --web-content-hash`, two-tier `Cache-Control` headers, overlay deployment for active tabs, `precache_manifest.json`, and `{{flutter_build_config}}` compatibility in `deployment/web.md`, `faq.md`, and `initialization.md`.
- Update `wasm.md` and `initialization.md` for Flutter 3.50 / Dart 3.14: document W3C `WasmGC` + `wasm:js-string` + `try_table` requirements, the Chromium 137+ / Safari 26.2+ / Firefox 147+ compatibility matrix, `wasmAllowList`, `renderer`, `verboseBuildSelection`, `suppressMultithreadingWarning`, `wasmDeferredModulesLoader`, and `--no-deprecated-js-interop`.
- Document `viewport-fit=cover` `SafeArea` support (with breaking change guide `viewport-fit-cover-safe-area.md`), URL percent-encoding preservation in browser history, and remove obsolete `--no-web-experimental-hot-reload` / 2019 HTML renderer prose and dead link references.

Fixes #13825
Fixes #13961
Fixes #13962
@flutter-website-bot

flutter-website-bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

@kevmoo
kevmoo marked this pull request as ready for review October 16, 2026 22:17
@kevmoo
kevmoo requested review from a team and sfshaza2 as code owners October 16, 2026 22:17

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Flutter web documentation for Flutter 3.50, introducing details on web content hashing (--web-content-hash), mobile browser viewport and SafeArea support (viewport-fit=cover), updated Wasm browser compatibility requirements, and modern JS interop enforcement (--no-deprecated-js-interop). The review feedback identifies a few documentation inaccuracies, including a typo in the hashed asset manifest filename, incorrect Safari/iOS minimum versions for Wasm support, and a minor distinction regarding the deprecation of package:js versus built-in SDK libraries.

@conooi conooi self-assigned this Oct 19, 2026
@kevmoo

kevmoo commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Thanks! Addressed all 6 review comments in aa8c9f7.

@kevmoo
kevmoo requested a review from conooi October 22, 2026 17:13

@conooi conooi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Added a couple of suggestions that I missed the first time around but otherwise LGTM!

@flutter-website-bot

Copy link
Copy Markdown
Collaborator

Keep all six Flutter 3.50 breaking-change index entries in alphabetical order.
@kevmoo
kevmoo merged commit 89e39d0 into main Oct 24, 2026
14 checks passed
@kevmoo
kevmoo deleted the web-350-docs branch October 24, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants