0.16.0
This version supports Flutter 3.19.x, 3.16.x, and 3.13.x.
A version compatible with Flutter 3.10.x landed in 0.15.2.
A version compatible with Flutter 3.7.x landed in 0.14.4.
Architecture Upgrade
The JavaScript Runtime has now migrated to a dedicated thread and is enabled by default in this version.
For users who want to keep the single-threading mode the same as in the previous version, use the following configuration:
WebFController(
context,
runningThread: FlutterUIThread(),
);
Big News
- Added PreRendering and Preload loading modes, which can save up to 90% of loading time.
Click here for more details.
Features
- Support preloadedBundles in WebF. #500
- Add pre-rendering and persistent rendering modes. #501
- Optimize the evaluate times at the first time. #503
- Add MutationObserver API support. #508
- Add Dedicated Threading support. #512
- Optimize raster performance on Animated images. #513
- Turn off quickjs GC at page loading phase. #515
- Optimization matrix algorithm. #516
- Support override default contentType for WebFBundle. #534
- Support dns-prefetch. #535
- Add more SVG tags. #543
- Optimize MutationObserver performance. #545
- QuickJS add property inline cache. #546
- Optimize paint and add profile records. #547
- Pause the activity of webf when app visibility changed. #549
- Optimize bytecode cache load speed and fix http cache. #552
- Add Element.parentElement support. #555
- Add repaintBoundary for animated images when using css background-images #557
- Add support for hash router #572
- Add support for object event listener. #575
- Optimize performance for recalculate styles #579
Bug Fixed
- Fix class selector not match on html element. #490
- Fix concurrent modification during iteration. #491
- Fix JavaScript stack overflow error when print Proxy object. #493
- Fix borderXxxRadius transition. #495
- Avoid Hive.init cause conflicts with box paths. #504
- Fix assertion error when change display in input element. #505
- Fix lenght variable issue. #510
- Fix transform value not updated in percentage when box size changed. #514
- Fix crashed due to trigger touch events to inaccessible dom elements. #517
- Fix crash due to init touchEvent from JS. #518
- Fix event.target still can be pointed by event after finalized by JavaScript GC. #519
- Fix flex-grow not work. #524
- Fix bg_image_update not update error. #526
- Fix text calculate constraints error. #527
- Fix min precision case some error and waste cpu. #528
- Fix sliver layout child boundingClientRect offset error. #530
- Fix build on ArchLinux. #536
- Fix devtool select img element. #538
- Fix ui command exec order in dedicated thread mode. #540
- Fix img gif work error. #541
- Fix request flutter to update frame when sync commands to dart. #548
- Fix textarea elements in ios/android can not auto unfocus. #551
- Fix crash when binding object had been released by GC. #553
- Fix windows platform crash with 0.16.0. #558
- Fix page load failed when using async attributes in
<script />
elements. #561 - Fix dart element memory leaks when js gc collected. #563
- Fix crash on flutter engine dispose. #566
- Fix background-image disappear with multiple image links. #574
- Fix js log does not show in terrminal and devtools. #584
- Fix mem leaks caused by event dispatch. #585
- Fix input when resume apps #589
- Fix memory leak caused by img element #590
- Fix input elements or widget elements when preload or prerendering complete. #595
- Fix animation time resume. #597
- Fix invalid xcframework for ios release. #600