Repository navigation
[web] Update Flutter 3.50 web caching, Wasm, and viewport-fit docs - #13986
Conversation
- 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
|
Staged preview of the updated docs.flutter.dev site (updated for commit 6abd4c7): |
…x 147+, and interop removal
There was a problem hiding this comment.
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.
|
Thanks! Addressed all 6 review comments in aa8c9f7. |
conooi
left a comment
There was a problem hiding this comment.
Added a couple of suggestions that I missed the first time around but otherwise LGTM!
Co-authored-by: Connie Ooi <[email protected]>
Co-authored-by: Connie Ooi <[email protected]>
|
Staged preview of the updated flutter.dev site (updated for commit f1efa93): |
Keep all six Flutter 3.50 breaking-change index entries in alphabetical order.
Updates Flutter web deployment, WebAssembly, initialization, and breaking-change documentation for the Flutter 3.50 release:
flutter build web --web-content-hash(8-character SHA-256 content hashes across entrypoints andbuild/web/assets/**, splitCache-Controlrules, overlay deployment for active tabs, andprecache_manifest.json).WasmGC+wasm:js-string+try_tableacross Chromium 137+, Safari 26.2+, and Firefox 147+),FlutterConfigurationoptions (wasmAllowList,renderer,verboseBuildSelection,suppressMultithreadingWarning,wasmDeferredModulesLoader), and--no-deprecated-js-interop(highlighting upcoming Dart SDK removal of legacy JS interop libraries).viewport-fit=coverSafeAreabreaking-change migration guide (viewport-fit-cover-safe-area.md), notes browser history URL percent-encoding preservation, updatesinitialization.mdfor{{flutter_service_worker_version}}/serviceWorkerSettingsdeprecation, and removes obsolete--no-web-experimental-hot-reload/ 2019 HTML-renderer prose.Fixes #13825
Fixes #13961
Fixes #13962