Skip to content

0.16.0

Compare
Choose a tag to compare
@andycall andycall released this 01 May 16:33

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

  1. Added PreRendering and Preload loading modes, which can save up to 90% of loading time.
    Click here for more details.

Features

  1. Support preloadedBundles in WebF. #500
  2. Add pre-rendering and persistent rendering modes. #501
  3. Optimize the evaluate times at the first time. #503
  4. Add MutationObserver API support. #508
  5. Add Dedicated Threading support. #512
  6. Optimize raster performance on Animated images. #513
  7. Turn off quickjs GC at page loading phase. #515
  8. Optimization matrix algorithm. #516
  9. Support override default contentType for WebFBundle. #534
  10. Support dns-prefetch. #535
  11. Add more SVG tags. #543
  12. Optimize MutationObserver performance. #545
  13. QuickJS add property inline cache. #546
  14. Optimize paint and add profile records. #547
  15. Pause the activity of webf when app visibility changed. #549
  16. Optimize bytecode cache load speed and fix http cache. #552
  17. Add Element.parentElement support. #555
  18. Add repaintBoundary for animated images when using css background-images #557
  19. Add support for hash router #572
  20. Add support for object event listener. #575
  21. Optimize performance for recalculate styles #579

Bug Fixed

  1. Fix class selector not match on html element. #490
  2. Fix concurrent modification during iteration. #491
  3. Fix JavaScript stack overflow error when print Proxy object. #493
  4. Fix borderXxxRadius transition. #495
  5. Avoid Hive.init cause conflicts with box paths. #504
  6. Fix assertion error when change display in input element. #505
  7. Fix lenght variable issue. #510
  8. Fix transform value not updated in percentage when box size changed. #514
  9. Fix crashed due to trigger touch events to inaccessible dom elements. #517
  10. Fix crash due to init touchEvent from JS. #518
  11. Fix event.target still can be pointed by event after finalized by JavaScript GC. #519
  12. Fix flex-grow not work. #524
  13. Fix bg_image_update not update error. #526
  14. Fix text calculate constraints error. #527
  15. Fix min precision case some error and waste cpu. #528
  16. Fix sliver layout child boundingClientRect offset error. #530
  17. Fix build on ArchLinux. #536
  18. Fix devtool select img element. #538
  19. Fix ui command exec order in dedicated thread mode. #540
  20. Fix img gif work error. #541
  21. Fix request flutter to update frame when sync commands to dart. #548
  22. Fix textarea elements in ios/android can not auto unfocus. #551
  23. Fix crash when binding object had been released by GC. #553
  24. Fix windows platform crash with 0.16.0. #558
  25. Fix page load failed when using async attributes in <script /> elements. #561
  26. Fix dart element memory leaks when js gc collected. #563
  27. Fix crash on flutter engine dispose. #566
  28. Fix background-image disappear with multiple image links. #574
  29. Fix js log does not show in terrminal and devtools. #584
  30. Fix mem leaks caused by event dispatch. #585
  31. Fix input when resume apps #589
  32. Fix memory leak caused by img element #590
  33. Fix input elements or widget elements when preload or prerendering complete. #595
  34. Fix animation time resume. #597
  35. Fix invalid xcframework for ios release. #600