From 4e3e5942ef7ebd70f252fcdaf36882fc10ebf609 Mon Sep 17 00:00:00 2001 From: andycall Date: Thu, 2 May 2024 00:30:10 +0800 Subject: [PATCH] release: 0.16.0 --- webf/CHANGELOG.md | 137 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 129 insertions(+), 8 deletions(-) diff --git a/webf/CHANGELOG.md b/webf/CHANGELOG.md index e9b89929fd..81b27ba888 100644 --- a/webf/CHANGELOG.md +++ b/webf/CHANGELOG.md @@ -1,3 +1,124 @@ +## 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: + +```dart +WebFController( + context, + runningThread: FlutterUIThread(), +); +``` + +**Big News** + +1. Added PreRendering and Preload loading modes, which can save up to 90% of loading time. + Click [here](http://openwebf.com/docs/tutorials/performance_optimization/prerendering_and_preload_mode) for more details. + +**Features** + +1. Support preloadedBundles in WebF. https://github.com/openwebf/webf/pull/500 +2. Add pre-rendering and persistent rendering modes. https://github.com/openwebf/webf/pull/501 +3. Optimize the evaluate times at the first time. https://github.com/openwebf/webf/pull/503 +4. Add MutationObserver API support. https://github.com/openwebf/webf/pull/508 +5. Add Dedicated Threading support. https://github.com/openwebf/webf/pull/512 +6. Optimize raster performance on Animated images. https://github.com/openwebf/webf/pull/513 +7. Turn off quickjs GC at page loading phase. https://github.com/openwebf/webf/pull/515 +8. Optimization matrix algorithm. https://github.com/openwebf/webf/pull/516 +9. Support override default contentType for WebFBundle. https://github.com/openwebf/webf/pull/534 +10. Support dns-prefetch. https://github.com/openwebf/webf/pull/535 +11. Add more SVG tags. https://github.com/openwebf/webf/pull/543 +12. Optimize MutationObserver performance. https://github.com/openwebf/webf/pull/545 +13. QuickJS add property inline cache. https://github.com/openwebf/webf/pull/546 +14. Optimize paint and add profile records. https://github.com/openwebf/webf/pull/547 +15. Pause the activity of webf when app visibility changed. https://github.com/openwebf/webf/pull/549 +16. Optimize bytecode cache load speed and fix http cache. https://github.com/openwebf/webf/pull/552 +17. Add Element.parentElement support. https://github.com/openwebf/webf/pull/555 +18. Add repaintBoundary for animated images when using css background-images https://github.com/openwebf/webf/pull/557 +19. Add support for hash router https://github.com/openwebf/webf/pull/572 +20. Add support for object event listener. https://github.com/openwebf/webf/pull/575 +21. Optimize performance for recalculate styles https://github.com/openwebf/webf/pull/579 + +**Bug Fixed** + +1. Fix class selector not match on html element. https://github.com/openwebf/webf/pull/490 +2. Fix concurrent modification during iteration. https://github.com/openwebf/webf/pull/491 +3. Fix JavaScript stack overflow error when print Proxy object. https://github.com/openwebf/webf/pull/493 +4. Fix borderXxxRadius transition. https://github.com/openwebf/webf/pull/495 +5. Avoid Hive.init cause conflicts with box paths. https://github.com/openwebf/webf/pull/504 +6. Fix assertion error when change display in input element. https://github.com/openwebf/webf/pull/505 +7. Fix lenght variable issue. https://github.com/openwebf/webf/pull/510 +8. Fix transform value not updated in percentage when box size changed. https://github.com/openwebf/webf/pull/514 +9. Fix crashed due to trigger touch events to inaccessible dom elements. https://github.com/openwebf/webf/pull/517 +10. Fix crash due to init touchEvent from JS. https://github.com/openwebf/webf/pull/518 +11. Fix event.target still can be pointed by event after finalized by JavaScript GC. https://github.com/openwebf/webf/pull/519 +12. Fix flex-grow not work. https://github.com/openwebf/webf/pull/524 +13. Fix bg_image_update not update error. https://github.com/openwebf/webf/pull/526 +14. Fix text calculate constraints error. https://github.com/openwebf/webf/pull/527 +15. Fix min precision case some error and waste cpu. https://github.com/openwebf/webf/pull/528 +16. Fix sliver layout child boundingClientRect offset error. https://github.com/openwebf/webf/pull/530 +17. Fix build on ArchLinux. https://github.com/openwebf/webf/pull/536 +18. Fix devtool select img element. https://github.com/openwebf/webf/pull/538 +19. Fix ui command exec order in dedicated thread mode. https://github.com/openwebf/webf/pull/540 +20. Fix img gif work error. https://github.com/openwebf/webf/pull/541 +21. Fix request flutter to update frame when sync commands to dart. https://github.com/openwebf/webf/pull/548 +22. Fix textarea elements in ios/android can not auto unfocus. https://github.com/openwebf/webf/pull/551 +23. Fix crash when binding object had been released by GC. https://github.com/openwebf/webf/pull/553 +24. Fix windows platform crash with 0.16.0. https://github.com/openwebf/webf/pull/558 +25. Fix page load failed when using async attributes in `