Skip to content

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

Open
kevmoo wants to merge 3 commits into
mainfrom
web-350-docs
Open

kevmoo wants to merge 3 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, 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

Staged preview of the updated docs.flutter.dev site (updated for commit 118ea7f):

https://flutter-docs-prod--docs-pr13986-web-350-docs-k095d2tn.web.app

Comment thread sites/docs/src/content/deployment/web.md
Comment thread sites/docs/src/content/deployment/web.md Outdated
Comment thread sites/docs/src/content/platform-integration/web/wasm.md Outdated
Comment thread sites/docs/src/content/platform-integration/web/wasm.md Outdated
Comment thread sites/docs/src/content/release/breaking-changes/viewport-fit-cover-safe-area.md Outdated
@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.

Comment thread sites/docs/src/content/deployment/web.md
Comment thread sites/docs/src/content/platform-integration/web/wasm.md
Comment thread sites/docs/src/content/platform-integration/web/wasm.md Outdated
Comment thread sites/docs/src/content/platform-integration/web/wasm.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants