webf 0.16.2 webf: ^0.16.2 copied to clipboard
W3C standards-compliant web rendering engine based on Flutter, allowing web applications to run natively on Flutter.
0.16.2 #
This version supports Flutter 3.24.x, 3.22.x, 3.19.x, 3.16.x, and 3.13.x.
Features
- Add flutter 3.24.x support. https://github.com/openwebf/webf/pull/644
Bug Fixed
- Fix memory leaks in Flutter engineGroup mode. https://github.com/openwebf/webf/pull/629
- Fix rendering order when change css display:none to block. https://github.com/openwebf/webf/pull/639
0.16.1 #
This version supports Flutter 3.22.x, 3.19.x, 3.16.x, and 3.13.x.
Features
- Add support for AbortController JS API. https://github.com/openwebf/webf/pull/606
- Add flutter 3.22.x support. https://github.com/openwebf/webf/pull/624
Bug Fixed
- Fix iOS FontFamilyFallback on -apple-system style, display error on Vietnamese lang. https://github.com/openwebf/webf/pull/609
- Fix crash with unexpected format string on
window.btoa
API. https://github.com/openwebf/webf/pull/615; https://github.com/openwebf/webf/pull/616
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. https://github.com/openwebf/webf/pull/500
- Add pre-rendering and persistent rendering modes. https://github.com/openwebf/webf/pull/501
- Optimize the evaluate times at the first time. https://github.com/openwebf/webf/pull/503
- Add MutationObserver API support. https://github.com/openwebf/webf/pull/508
- Add Dedicated Threading support. https://github.com/openwebf/webf/pull/512
- Optimize raster performance on Animated images. https://github.com/openwebf/webf/pull/513
- Turn off quickjs GC at page loading phase. https://github.com/openwebf/webf/pull/515
- Optimization matrix algorithm. https://github.com/openwebf/webf/pull/516
- Support override default contentType for WebFBundle. https://github.com/openwebf/webf/pull/534
- Support dns-prefetch. https://github.com/openwebf/webf/pull/535
- Add more SVG tags. https://github.com/openwebf/webf/pull/543
- Optimize MutationObserver performance. https://github.com/openwebf/webf/pull/545
- QuickJS add property inline cache. https://github.com/openwebf/webf/pull/546
- Optimize paint and add profile records. https://github.com/openwebf/webf/pull/547
- Pause the activity of webf when app visibility changed. https://github.com/openwebf/webf/pull/549
- Optimize bytecode cache load speed and fix http cache. https://github.com/openwebf/webf/pull/552
- Add Element.parentElement support. https://github.com/openwebf/webf/pull/555
- Add repaintBoundary for animated images when using css background-images https://github.com/openwebf/webf/pull/557
- Add support for hash router https://github.com/openwebf/webf/pull/572
- Add support for object event listener. https://github.com/openwebf/webf/pull/575
- Optimize performance for recalculate styles https://github.com/openwebf/webf/pull/579
Bug Fixed
- Fix class selector not match on html element. https://github.com/openwebf/webf/pull/490
- Fix concurrent modification during iteration. https://github.com/openwebf/webf/pull/491
- Fix JavaScript stack overflow error when print Proxy object. https://github.com/openwebf/webf/pull/493
- Fix borderXxxRadius transition. https://github.com/openwebf/webf/pull/495
- Avoid Hive.init cause conflicts with box paths. https://github.com/openwebf/webf/pull/504
- Fix assertion error when change display in input element. https://github.com/openwebf/webf/pull/505
- Fix lenght variable issue. https://github.com/openwebf/webf/pull/510
- Fix transform value not updated in percentage when box size changed. https://github.com/openwebf/webf/pull/514
- Fix crashed due to trigger touch events to inaccessible dom elements. https://github.com/openwebf/webf/pull/517
- Fix crash due to init touchEvent from JS. https://github.com/openwebf/webf/pull/518
- Fix event.target still can be pointed by event after finalized by JavaScript GC. https://github.com/openwebf/webf/pull/519
- Fix flex-grow not work. https://github.com/openwebf/webf/pull/524
- Fix bg_image_update not update error. https://github.com/openwebf/webf/pull/526
- Fix text calculate constraints error. https://github.com/openwebf/webf/pull/527
- Fix min precision case some error and waste cpu. https://github.com/openwebf/webf/pull/528
- Fix sliver layout child boundingClientRect offset error. https://github.com/openwebf/webf/pull/530
- Fix build on ArchLinux. https://github.com/openwebf/webf/pull/536
- Fix devtool select img element. https://github.com/openwebf/webf/pull/538
- Fix ui command exec order in dedicated thread mode. https://github.com/openwebf/webf/pull/540
- Fix img gif work error. https://github.com/openwebf/webf/pull/541
- Fix request flutter to update frame when sync commands to dart. https://github.com/openwebf/webf/pull/548
- Fix textarea elements in ios/android can not auto unfocus. https://github.com/openwebf/webf/pull/551
- Fix crash when binding object had been released by GC. https://github.com/openwebf/webf/pull/553
- Fix windows platform crash with 0.16.0. https://github.com/openwebf/webf/pull/558
- Fix page load failed when using async attributes in
<script />
elements. https://github.com/openwebf/webf/pull/561 - Fix dart element memory leaks when js gc collected. https://github.com/openwebf/webf/pull/563
- Fix crash on flutter engine dispose. https://github.com/openwebf/webf/pull/566
- Fix background-image disappear with multiple image links. https://github.com/openwebf/webf/pull/574
- Fix js log does not show in terrminal and devtools. https://github.com/openwebf/webf/pull/584
- Fix mem leaks caused by event dispatch. https://github.com/openwebf/webf/pull/585
- Fix input when resume apps https://github.com/openwebf/webf/pull/589
- Fix memory leak caused by img element https://github.com/openwebf/webf/pull/590
- Fix input elements or widget elements when preload or prerendering complete. https://github.com/openwebf/webf/pull/595
- Fix animation time resume. https://github.com/openwebf/webf/pull/597
- Fix invalid xcframework for ios release. https://github.com/openwebf/webf/pull/600
0.15.1 #
This version will support Flutter 3.10.x
Features
- Optimize location API for better performance results. https://github.com/openwebf/webf/pull/420
- Optimize the webf_bridge and quickjs binary size. https://github.com/openwebf/webf/pull/414
- Support CSS initial length value. https://github.com/openwebf/webf/pull/421
- Optimize Element.children() and Document.all() performance. https://github.com/openwebf/webf/pull/424
- Support element
- Add WebFController.onTitleChanged API. https://github.com/openwebf/webf/pull/479
Bug Fixed
- Fix percentage width and height not working under inline block box. https://github.com/openwebf/webf/pull/430
- Fix Node.insertBefore with SVGElement error. https://github.com/openwebf/webf/pull/431
- Fix cookie delete file error when it's not available. https://github.com/openwebf/webf/pull/429
- Fix use css vars with initial. https://github.com/openwebf/webf/pull/421/commits/1da2e5899c53e82a31271c26de3333168e780134 0.15.0-beta.3
- Fix toggle position: fixed on bodyElement with other fixed elements. https://github.com/openwebf/webf/pull/416
- Fix css nth-child not work. https://github.com/openwebf/webf/pull/417
- Fix Node.childNodes didn't update when nodes changed. https://github.com/openwebf/webf/pull/419
- Fix loading fonts cause assertion when remove or attach RenderObjects. https://github.com/openwebf/webf/pull/425
- fix crash when reload pages. https://github.com/openwebf/webf/pull/476
- Fix memory leaks. https://github.com/openwebf/webf/pull/487
0.15.0 #
This version will support Flutter 3.10.x
Break Changes
- Remove
navigator.connection
API. https://github.com/openwebf/webf/pull/411
Features
- Upgrade Flutter support to 3.10.x. https://github.com/openwebf/webf/pull/345
- Optimize location API for better performance results. https://github.com/openwebf/webf/pull/420
- Optimize the size of webf_bridge.xcframework and quickjs.xcframework. https://github.com/openwebf/webf/pull/414
- Support CSS initial length value. https://github.com/openwebf/webf/pull/421
- Optimize Element.children() and Document.all() performance. https://github.com/openwebf/webf/pull/424
- Support base64 format font data in
@font-face
src. https://github.com/openwebf/webf/pull/399 - Support Element.dir API. https://github.com/openwebf/webf/pull/418
- Add
<circle />
and<ellipse>
tags for SVG. https://github.com/openwebf/webf/pull/423 - Support share customized JS properties in event object. https://github.com/openwebf/webf/pull/427
- Support
window.pageXOffset
andwindow.pageYOffset
API. https://github.com/openwebf/webf/pull/428/files - Optimize layout/paint performance when block box size is fixed. https://github.com/openwebf/webf/pull/450
- Optimize performance when update Element.className. https://github.com/openwebf/webf/pull/452
- Support CanvasRenderingContext2D.createPattern() API. https://github.com/openwebf/webf/pull/464
Bug Fixed
- Fix use css vars with initial. https://github.com/openwebf/webf/pull/421
- Fix toggle position: fixed on bodyElement with other fixed elements. https://github.com/openwebf/webf/pull/416
- Fss nth-child not work. https://github.com/openwebf/webf/pull/417
- Fix Node.childNodes didn't update when nodes changed. https://github.com/openwebf/webf/pull/419
- Fix loading fonts cause assertion when remove or attach RenderObjects. https://github.com/openwebf/webf/pull/425
- Fix percentage width and height not working under inline block box. https://github.com/openwebf/webf/pull/430
- Fix Node.insertBefore with SVGElement error. https://github.com/openwebf/webf/pull/431
- Fix cookie delete file error when it's not available. https://github.com/openwebf/webf/pull/429
- Fix read ANDROID_SDK_HOME before implying to platform defaults. https://github.com/openwebf/webf/pull/422
- Fix cookie delete file error. https://github.com/openwebf/webf/pull/429
- Fix percentage width and height not working under inline block box. https://github.com/openwebf/webf/pull/430
- Fix Node.insertBefore with SVGElement error. https://github.com/openwebf/webf/pull/431
- Fix DevTool's network panel not working. https://github.com/openwebf/webf/pull/435
- Losen intl dependency constraint. https://github.com/openwebf/webf/pull/439
- Fix built-in methods in the event object cannot be overridden. https://github.com/openwebf/webf/pull/443
- Fix crash when touching pseduo elements. https://github.com/openwebf/webf/pull/445
- Fix event not responding when multiple flutter engine created. https://github.com/openwebf/webf/pull/451
- Fix Element.style.cssText API not works. https://github.com/openwebf/webf/pull/455
- Fix use-of-free crash of shared string property in event object. https://github.com/openwebf/webf/pull/458
- Fix dynamic build items in WidgetElement. https://github.com/openwebf/webf/pull/461
- Fix CSS content property have sequences of unicode chars. https://github.com/openwebf/webf/pull/463
- Fix crash when create unsupported svg element with style. https://github.com/openwebf/webf/pull/465
0.14.1 #
Features
- Add CSS @font-face support. https://github.com/openwebf/webf/pull/380
- Support ::before/::after selector. https://github.com/openwebf/webf/pull/332
- Add document.elementFromPoint API. https://github.com/openwebf/webf/pull/381
- Support set textContent on textArea elements. https://github.com/openwebf/webf/pull/369
- Support receive binary data from fetch and XMLHttpRequest. https://github.com/openwebf/webf/pull/397
- Add support for event capture phases. https://github.com/openwebf/webf/pull/404
- Support change the current animation stage for transition animations. https://github.com/openwebf/webf/pull/401
- Add CSSStyleDeclaration.cssText support. https://github.com/openwebf/webf/pull/410
- Move the webf_websocket plugin into webf. https://github.com/openwebf/webf/pull/398
Bug Fixed
- Fix error when setting display:none for input and textarea. https://github.com/openwebf/webf/pull/369
- Fix focus state didn't cleared when input unmount from the DOM Tree. https://github.com/openwebf/webf/pull/369
- Fix defaultStyle for textarea elements. https://github.com/openwebf/webf/pull/369
- Fix a crash when a JSObject was finalized after the ExecutingContext was freed. https://github.com/openwebf/webf/pull/372
- Fix a crash when ExecutingContext is not alive at timer callbacks. https://github.com/openwebf/webf/pull/373
- Fix a crashed when running in multiple flutter engine instance. https://github.com/openwebf/webf/pull/377
- Fix the size of the input is wrong when using a unit other than px. https://github.com/openwebf/webf/pull/378
- Fix crashed when shutdown the app. https://github.com/openwebf/webf/pull/383
- Fix Resource temporarily unavailable for Hive lock file. https://github.com/openwebf/webf/pull/387
- Fix a memory leaks in TouchList. https://github.com/openwebf/webf/pull/388
- Fix match error for animation time. https://github.com/openwebf/webf/pull/390/files
- Fix built-in string initialized multiples and cause leaks. https://github.com/openwebf/webf/pull/391
- Fix constructor property on DOM elements. https://github.com/openwebf/webf/pull/402
0.14.0 #
Big News
- Add Flutter 3.3/3.7 support. https://github.com/openwebf/webf/pull/246
- Add SVG suppport. https://github.com/openwebf/webf/pull/279
- Add Windows support. https://github.com/openwebf/webf/pull/162
- Add multiple flutter engine group support. https://github.com/openwebf/webf/pull/338
Features
- Support transform property for computedstyle. https://github.com/openwebf/webf/pull/245
- Add
btoa()
andatob()
API support. https://github.com/openwebf/webf/pull/253 - Add Vue SSR support. https://github.com/openwebf/webf/pull/256
- Replace malloc to mimalloc. https://github.com/openwebf/webf/pull/267
- Add CanvasRenderingContext2D.createLinearGradients and CanvasRenderingContext2D.createRadialGradient support. https://github.com/openwebf/webf/pull/269
- Optimize Fetch() API performance. https://github.com/openwebf/webf/pull/287
- Add Blob.base64() to export base64 string from Blob directly. https://github.com/openwebf/webf/pull/278
- Expand quickjs default prop size and realloc capacity. https://github.com/openwebf/webf/pull/270
- Add context API for WidgetElement. https://github.com/openwebf/webf/pull/264
- Add kbc file type support for script element. https://github.com/openwebf/webf/pull/250
- Support react.js without any polyfill. https://github.com/openwebf/webf/pull/257
- Auto cache parsed bytecode for the first load. https://github.com/openwebf/webf/pull/280
- Invalidate cache when expect Http request errors https://github.com/openwebf/webf/pull/305
- Optimize dart dom and CSS selector performance. https://github.com/openwebf/webf/pull/309
- Support background-clip text. https://github.com/openwebf/webf/pull/318
- Remove ios armv7 armv7s support. https://github.com/openwebf/webf/pull/331
- Add DOMContentLoaded API. https://github.com/openwebf/webf/pull/330
- Optimize image load performance. https://github.com/openwebf/webf/pull/335
- Validate bytecode cache with CRC32 checksum. https://github.com/openwebf/webf/pull/336
- Add Element.querySelectorAll and Element.querySelector API. https://github.com/openwebf/webf/pull/342
- Support document.domain and document.compatMode. https://github.com/openwebf/webf/pull/343
- Support document.readyState. https://github.com/openwebf/webf/pull/347
- Add localStorage and sessionStorage support. https://github.com/openwebf/webf/pull/344
- Support document.visibilityState and document.hidden. https://github.com/openwebf/webf/pull/350
- Add document.defaultView API. https://github.com/openwebf/webf/pull/346
- Add support for Element.dataset API. https://github.com/openwebf/webf/pull/348
- Add Element.matches API. https://github.com/openwebf/webf/pull/365
- Add append() and prepend() support for Element, Document and DocumentElement. https://github.com/openwebf/webf/pull/361
- Add before() and after() support for Element and CharaterData. https://github.com/openwebf/webf/pull/361
- Add Element.closest API. https://github.com/openwebf/webf/pull/364
- Add HTMLScriptElement.readyState API. https://github.com/openwebf/webf/pull/367
Bug Fixed
- fix: fix pan scroll on desktop versions. https://github.com/openwebf/webf/pull/248
- fix: canvas should clip overflowed element. https://github.com/openwebf/webf/pull/263
- fix: ic should use none instead of atom flag and free it to prevent double delete. https://github.com/openwebf/webf/pull/277
- fix: pending promise crash for early gc and add lto to quickjs. https://github.com/openwebf/webf/pull/283
- fix update className property on hidden element. https://github.com/openwebf/webf/pull/255
- fix bytecode read should free atom to prevent leak. https://github.com/openwebf/webf/pull/285
- fix empty src on image. https://github.com/openwebf/webf/pull/286
- fix can not be GC even if it's detached or removed from the DOM tree. https://github.com/openwebf/webf/pull/291
- fix change size of canvas element didn't works. https://github.com/openwebf/webf/pull/276
- fix: ic free atom crash when ctx early free. https://github.com/openwebf/webf/pull/293
- fix: fix script execution order with inline script element. https://github.com/openwebf/webf/pull/273
- fix css function resolve base url. https://github.com/openwebf/webf/pull/282
- fix: rules didn't match which start with undefine at-rules. https://github.com/openwebf/webf/pull/294
- fix: fix child_node_list can be null. https://github.com/openwebf/webf/pull/297
- fix native memory leaks. https://github.com/openwebf/webf/pull/292
- fix renderObject memory leaks. https://github.com/openwebf/webf/pull/298
- fix dom content loaded event trigger condition. https://github.com/openwebf/webf/pull/274
- fix Element.toBlob() is not default to current pixel_ratio. https://github.com/openwebf/webf/pull/306
- fix scrollable size when update. https://github.com/openwebf/webf/pull/301
- fix layout error when using percentage value on transform. https://github.com/openwebf/webf/pull/307
- fix: css priority error. https://github.com/openwebf/webf/pull/310
- fix atob empty string cause crash. https://github.com/openwebf/webf/pull/311
- fix canvas element get multiple context error. https://github.com/openwebf/webf/pull/312
- fix http cache control parse error. https://github.com/openwebf/webf/pull/313
- fix image width/height attribute. https://github.com/openwebf/webf/pull/315
- fix crash when cancelAnimationFrame in frame callbacks. https://github.com/openwebf/webf/pull/317
- fix style didn't take effect and offsetLeftToScrollContainer value is calculated incorrectly. https://github.com/openwebf/webf/pull/322
- fix GIF images cause rendering performance overhead. https://github.com/openwebf/webf/pull/325
- fix: remove flushLayout when reading contentSize. https://github.com/openwebf/webf/pull/326
- fix setting lazy loading for an image didn't work. https://github.com/openwebf/webf/pull/328
- fix remounting widgetElement in the same frame to the DOM tree causes renderWidgets to be unmounted from the renderObject tree. https://github.com/openwebf/webf/pull/329
- fix: make sure renderObject had been layout before read view module properties. https://github.com/openwebf/webf/pull/333
- fix: protect DOMTimers until the ExecutingContext exits. https://github.com/openwebf/webf/pull/334
- fix reading target property on Touch caused crash. https://github.com/openwebf/webf/pull/340
- fix css vars() and calc() in some user cases. https://github.com/openwebf/webf/pull/355
- fix template element's content property cause mem leaks. https://github.com/openwebf/webf/pull/349
0.14.0-beta.1 #
- Support flutter 3.3.10/3.7.3
0.13.3 #
Features
- Add Self Poly Inline Cache for quickjs. https://github.com/openwebf/webf/pull/227
master feat/ic Richards 752 888 +18.0% Crypto 618 713 +15.3% RayTrace 807 833 +3.2% NavierStokes 1497 1319 -11.8% DeltaBlue 744 845 +13.5% Score (version 7) 841 890 +5.5% - Add window.getComputedStyle support. https://github.com/openwebf/webf/pull/183
- Add namespace API. https://github.com/openwebf/webf/pull/126
- The performance of
display: sliver
had been improved. https://github.com/openwebf/webf/pull/225
Bug Fixed
- fix: fix history pushState() API. https://github.com/openwebf/webf/pull/218
- fix: Input use leading to support line-height. https://github.com/openwebf/webf/pull/173
- fix: fix widget element unmount renderObject. https://github.com/openwebf/webf/pull/221
- fix: fix scrollable content not work when toggle display. https://github.com/openwebf/webf/pull/220
- fix: fix set background color on body element. https://github.com/openwebf/webf/pull/130
- fix: fix renderObject didn't disposed when frame update paused. https://github.com/openwebf/webf/pull/231
- fix: fix assertion when webf disposed. https://github.com/openwebf/webf/pull/228
- fix: fix CSS calc value become zero when parameter kind are same. https://github.com/openwebf/webf/issues/234
- fix: Query computed style for kebabize property name. https://github.com/openwebf/webf/pull/239
- fix: fix build error on M1 iOS simulator. https://github.com/openwebf/webf/pull/238
- fix: fix set max-height on scroller box. https://github.com/openwebf/webf/pull/216
- fix: fix animation transform have no effect when value are rotate(360deg). https://github.com/openwebf/webf/pull/184
0.13.2+1 #
- remove logs
0.13.2 #
Features
- Add Element.classList API support. https://github.com/openwebf/webf/pull/196
- Add RemoteDevServerService() for remote debugging. https://github.com/openwebf/webf/pull/198
Bug Fixed
- Fix fix call binding methods on proxies objects. https://github.com/openwebf/webf/pull/193
- Fix input have default content padding. https://github.com/openwebf/webf/pull/194
- Fix history.back() cause page reload. https://github.com/openwebf/webf/pull/195
- Fix location.href never changed. https://github.com/openwebf/webf/pull/195
- Fix CommentNode always return empty string of nodeValue. https://github.com/openwebf/webf/pull/197
- Fix fix img width become infinity when not attached. https://github.com/openwebf/webf/pull/200/files
- Fix unconstrained inline-block can't calculate content box size. https://github.com/openwebf/webf/pull/201
- Fix positioned elements should be reapply when toggle display. https://github.com/openwebf/webf/pull/202
- Fix replaced element didn't render with toggle display. https://github.com/openwebf/webf/pull/203
- Fix view module value changed by scroll offset. https://github.com/openwebf/webf/pull/207
- Fix initializeCookie API when twice load. https://github.com/openwebf/webf/pull/208
- Fix gesture conflict on Android devices. https://github.com/openwebf/webf/pull/210
0.13.2-beta.2 #
- Fix location.href didn't get changed when history changes.
0.13.2-beta.1 #
- fix page reload when history.back().
0.13.1 #
Bug Fixed
- Fix renderBoxModel is null cause performLayout error. https://github.com/openwebf/webf/pull/187
- Fix position absolute cause mistake overflow. https://github.com/openwebf/webf/pull/167
- Fix var in keyframes not work. https://github.com/openwebf/webf/issues/147
- Fix var in translate not work. https://github.com/openwebf/webf/issues/154
- Fix unexpected token in linear-graident. https://github.com/openwebf/webf/issues/119
- Fix tag element selector. https://github.com/openwebf/webf/issues/169
- Fix var attribute dynamic modification exception. https://github.com/openwebf/webf/issues/144
Feature
- Add
initialCookies
params on WebF widget. https://github.com/openwebf/webf/pull/186
0.13.0 #
The biggest update since the webf/kraken
release.
- The DOM API and C++ bindings had been redesigned and refactored. https://github.com/openwebf/webf/pull/18
- DOM node operations methods such as
Node.appendChild
andNode.insertBefore
are 2x - 5x faster than 0.12.0. - The new C++ bindings system can keep the bridge code safer to avoid crashes.
- DOM node operations methods such as
- Add CSS StyleSheets support. https://github.com/openwebf/webf/pull/11
- Support load CSS with
<link />
element. - Support load CSS with
<style />
element.
- Support load CSS with
- Flutter Widgets System had been redesigned and refactored, now all flutter widgets can be used to define your HTMLElements, including from Flutter material design, pub.dev, and yours. https://github.com/openwebf/webf/pull/58
- Add CSS animation support. https://github.com/openwebf/webf/pull/41
- Sync the latest features from quickjs offical. https://github.com/openwebf/webf/pull/165
Others:
Features #
-
Add cookie support. https://github.com/openwebf/webf/pull/65
-
Add Quickjs column number support. https://github.com/openwebf/webf/pull/116
-
Support return value from
webf. invokeModule
API. https://github.com/openwebf/webf/pull/54Upgrade from 0.12.0
This feature could lead to the following error if you using
web.addWebfModuleListener
API in 0.12.0.TypeError: Failed to execute '__webf_add_module_listener__' : 2 argument required, but 1 present. at __webf_add_module_listener__ (native) at <anonymous> (internal://:127) at <eval> (internal://:135)
Please add the target module name to the first arguments:
before
webf.addWebfModuleListener(function(moduleName, event, data) { if (moduleName == 'AlarmClock') { // ... } });
After
webf.addWebfModuleListener('AlarmClock', function(event, data) { // ... });
Bug Fixed
-
CSS
hsl()
not works. https://github.com/openwebf/webf/issues/23 -
flex:1 failed when the parent node style has minHeight/minWidth property. https://github.com/openwebf/webf/pull/28
-
Fix overflow not works with transform. https://github.com/openwebf/webf/pull/48
-
Fix memory leaks caused by CSSLengthValue and ModuleManager. https://github.com/openwebf/webf/pull/57
-
Fix animation shaking when controlling the animation with touch events. https://github.com/openwebf/webf/pull/67
-
Fix webf_bridge.xcframework and quickjs.xcframework did not product when run
flutter build ios-frameworks
command. https://github.com/openwebf/webf/pull/71 -
Fix dynamic library not found in some android devices. https://github.com/openwebf/webf/pull/91
-
Fix position and transform to cause a more scrollable area. https://github.com/openwebf/webf/issues/112
-
Fix the size of HTMLElement is not always equal to the viewport. https://github.com/openwebf/webf/pull/122
-
Fix collapsedMarginBottom seems work incorrectly. https://github.com/openwebf/webf/issues/132
-
Fix opacity after transform not work. https://github.com/openwebf/webf/issues/142
-
Fix set attribute with CSS vars not work. https://github.com/openwebf/webf/pull/155
0.13.0-beta.9 #
- fix input border style.
0.13.0-beta.8 #
- fix macOS arm64 build error.
0.13.0-beta.7 #
- fix github action ndk path.
0.13.0-beta.6 #
- downgrade android NDK version requirement to r22b.
0.13.0-beta.5 #
- fix: request body should be UTF-8 encoded string.
- fix: fix onLoad didn't not trigger when reload.
- fix: fix rendering empty if window size is not ready.
- fix: should dispose webf managed renderObject after flutter framework does.
0.13.0-beta.4 #
- Test for new custom elements system.
0.13.0-beta.3 #
- Fix reload crash.
0.13.0-beta.2 #
- Test for new bridge and css selector.
0.12.0+2 #
Bug Fixed
- Add Flutter version requirement at pubspec.yaml.
0.12.0+1 #
Bug Fixed
- Fix Apple silicon platform build error.
0.12.0 #
Big News
- Set flutter version requirement to v3.0.5.
Bug Fixed
- Fix devtools select dom position offset. https://github.com/openkraken/kraken/pull/1289
- Fix the white-flash of canvas painting. https://github.com/openkraken/kraken/pull/1317
- Fix the memory leak of animation timeline lifecycle. https://github.com/openkraken/kraken/pull/1312
- Fix request failed while response was gzipped. https://github.com/openkraken/kraken/pull/1302
- Fix exception in paragraph paint in some edge cases. https://github.com/openkraken/kraken/pull/1334
- Fix flex-basis with percentage not working. https://github.com/openkraken/kraken/pull/1300
- Fix memory leak when dispatch gesture events. https://github.com/openkraken/kraken/pull/1333
- Fix negative margin value. https://github.com/openkraken/kraken/pull/1308
- Fix margin auto value. https://github.com/openkraken/kraken/pull/1331
- Fix JS error report twice. https://github.com/openkraken/kraken/pull/1337
- Fix event concurrent exception. https://github.com/openkraken/kraken/pull/1354
- Fix text white space collapse. https://github.com/openkraken/kraken/pull/1352
- Fix inline replaced element layout size. https://github.com/openkraken/kraken/pull/1343
- Fix event listener remove when call removeEventListener. https://github.com/openkraken/kraken/pull/1357/files
- Fix error of textNode when attach to WidgetElement. https://github.com/openkraken/kraken/pull/1336
- Fix null safety error when handle pointer events. https://github.com/openkraken/kraken/pull/1360
- Fix script element with async attribute error. https://github.com/openkraken/kraken/pull/1358
- Fix event handlers removal with once time. https://github.com/openkraken/kraken/pull/1359
- Fix text not wrap in flex container of column direction. https://github.com/openkraken/kraken/pull/1356
- Fix the sliver with positioned element usage problem. https://github.com/openkraken/kraken/pull/1341
- Fix set overflow on body can still scroll. https://github.com/openkraken/kraken/pull/1366
- Fix positioned element offset when containing block has transform. https://github.com/openkraken/kraken/pull/1368
- Fix replaced flex item size. https://github.com/openkraken/kraken/pull/1338
- Fix memory usage of img element. https://github.com/openkraken/kraken/pull/1347
- Fix position: fixed elements hittest not correct. https://github.com/openkraken/kraken/pull/1374
- Fix html scroll value. https://github.com/openkraken/kraken/pull/1367
- Fix custom element widget unmount. https://github.com/openkraken/kraken/pull/1375
- Fix the null value for CSS content-visibility and position. https://github.com/openkraken/kraken/pull/1389
- Fix custom element item layout. https://github.com/openkraken/kraken/pull/1392
- Fix script elements sync load order. https://github.com/openkraken/kraken/pull/1405
- Fix element.style property match. https://github.com/openkraken/kraken/pull/1410
- Fix viewport dispose twice. https://github.com/openkraken/kraken/pull/1404
- Fix localToGlobal on silver container. https://github.com/openkraken/kraken/pull/1421
- Fix add PointerDeviceKind on scrollable. https://github.com/openkraken/kraken/pull/1439
- Fix add new child of sliver container. https://github.com/openkraken/kraken/pull/1412
- Fix stylesheet can not load with link elements. https://github.com/openkraken/kraken/pull/1441
- Fix not support relative protocol. https://github.com/openkraken/kraken/pull/1444
Features
- Add reset for canvas rendering context 2d. https://github.com/openkraken/kraken/pull/1310
- Add temporary Console panel at Chrome DevTools. https://github.com/openkraken/kraken/pull/1328
- Add built-in attributes for event handlers. https://github.com/openkraken/kraken/pull/1330
- Add document.getElementsByName API. https://github.com/openkraken/kraken/pull/1383
- Add absolute-size & relative-size keywords of font-size. https://github.com/openkraken/kraken/pull/1430
- Add scroll support of input、textarea、sliver with mouse wheel when setting overflow. https://github.com/openkraken/kraken/pull/1438
0.11.0 #
Breaking Changes
- Update flutter requirement to 2.8.x https://github.com/openkraken/kraken/pull/1298
Bug Fixed
- Fix Kraken widget instance memory leak from window. https://github.com/openkraken/kraken/pull/1297
0.10.4 #
Features
- Support window.innerWidth & window.innerHeight, and screen.availWidth & screen.availHeight. https://github.com/openkraken/kraken/pull/1256
Bug Fixed
- Fix error when using KrakenBundle.fromByteCode(). https://github.com/openkraken/kraken/pull/1245
- Fix DataBundle string with non latin. https://github.com/openkraken/kraken/pull/1263
** Others **
- Change copyright to
The Kraken authors
.
0.10.3 #
Bug Fixed
- Fix Http cache file io error https://github.com/openkraken/kraken/pull/1202.
- Fix align-self not work for positioned flex item. https://github.com/openkraken/kraken/pull/1207
- Fix text-align should only work for text node for flex item. https://github.com/openkraken/kraken/pull/1208
- Fix crash with scrolling. https://github.com/openkraken/kraken/pull/1209
- Fix children of inline-block element not stretch. https://github.com/openkraken/kraken/pull/1214
- Fix style set to empty string. https://github.com/openkraken/kraken/pull/1220
- Fix flex item not stretch when child size changed. https://github.com/openkraken/kraken/pull/1229
- Fix html parse error. https://github.com/openkraken/kraken/pull/1231
- Fix asset protocol error. https://github.com/openkraken/kraken/pull/1232
- Fix file protocol. https://github.com/openkraken/kraken/pull/1234
0.10.2+1 #
Bug Fixed
- Fix ios framework bundle missing CFBundleVersion and CFBundleAShortVersionString key. https://github.com/openkraken/kraken/pull/1194
0.10.2 #
Bug Fixed
- Fix report error cause stack overflow. https://github.com/openkraken/kraken/pull/1164
- Fix object-fit not work due to image resize optimization. https://github.com/openkraken/kraken/pull/1165
- Fix crash when reload. https://github.com/openkraken/kraken/pull/1167
- Fix referer and origin. https://github.com/openkraken/kraken/pull/1170
- Fix large file content may fail. https://github.com/openkraken/kraken/pull/1176
- Fix native event memory align on 32 bit devices. https://github.com/openkraken/kraken/pull/1182
- Fix image load error cause crash. https://github.com/openkraken/kraken/pull/1187
0.10.1 #
Bug Fixed
- Fix custom flutter widget when kraken disposed. https://github.com/openkraken/kraken/pull/1142
- Fix scrollable size should include padding. https://github.com/openkraken/kraken/pull/1135
- Fix http request doesn't support multiple headers. https://github.com/openkraken/kraken/pull/1148
- Fix document.location is undefined. https://github.com/openkraken/kraken/pull/1150
0.10.0+5 #
Bug Fixed
- Fix WebSocket dev server error. https://github.com/openkraken/kraken/pull/1131
- Fix image intrinsic size not correct which include padding and border. https://github.com/openkraken/kraken/pull/1127
- Fix unhandledPromiseRejection event. https://github.com/openkraken/kraken/pull/1137
- Fix fetch API request options. https://github.com/openkraken/kraken/pull/1139
0.10.0+4 #
Bug Fixed
- Fix HttpCache error on linux platform. https://github.com/openkraken/kraken/pull/1113
- Fix exception leak cause globalObject not fully freed. https://github.com/openkraken/kraken/pull/1117
- Fix border radius of one percentage value. https://github.com/openkraken/kraken/pull/1121
0.10.0+3 #
Bug Fixed
- Fix empty screen when page reload. https://github.com/openkraken/kraken/pull/1109
- Fix linux dynamic rpath. https://github.com/openkraken/kraken/pull/1111
0.10.0+2 #
Bug Fixed
- Fix error when set empty string to textOverflow. https://github.com/openkraken/kraken/pull/1095
- Fix input delete key binding. https://github.com/openkraken/kraken/pull/1096
- Fix load kraken bundle from env and native side. https://github.com/openkraken/kraken/pull/1098
- Fix crash when reload page. https://github.com/openkraken/kraken/pull/1102
0.10.0+1 #
Bug Fixed
- Fix stack overflow when working with multiple thread. https://github.com/openkraken/kraken/pull/1086
- Fix sepeated setting of style is invalid. https://github.com/openkraken/kraken/pull/1088
0.10.0 #
Break Changes
Kraken.loadURL
,Kraken.loadContent
,Kraken.loadByteCode
are deprecated. Please useKrakenBundle.fromUrl
,KrakenBundle.fromContent
instead.- Flutter Widget API had been upgraded, please refer to https://openkraken.com/guide/advanced/widget-custom-element for more info.
Big News
- Support using Flutter Widget as HTML Custom Element which can greatly extend the capability of Web, refer to this doc for detailed use.
- Performance optimized:
- Page load time reduced 10%.
- Scrolling FPS incrased 40%.
- Linux platform supported.
- Support Flutter 2.5.3.
Features
- Support defining Flutter widget as HTML custom element. https://github.com/openkraken/kraken/pull/904
- Support
style
element andclassName
attribute. https://github.com/openkraken/kraken/pull/656 - Support
link
element and CSS variables. https://github.com/openkraken/kraken/pull/961 - Support
assets:
protocol to unify the means to load local assets for different platforms. https://github.com/openkraken/kraken/pull/866 - Support pause kraken pages when navigator changes. https://github.com/openkraken/kraken/pull/877
- Support linux platform. https://github.com/openkraken/kraken/pull/887
- Support customize kraken dynamic library path. https://github.com/openkraken/kraken/pull/1048
Bug Fixed
- Fix width error in case of min width width padding. https://github.com/openkraken/kraken/pull/843
- Fix percentage with decimal point. https://github.com/openkraken/kraken/pull/845
- Fix iOS App store certificate validation. https://github.com/openkraken/kraken/pull/847
- Fix text height with text-overflow ellipsis. https://github.com/openkraken/kraken/pull/848
- Fix clone documentFragment node support. https://github.com/openkraken/kraken/pull/851
- Fix layout wrapping space. https://github.com/openkraken/kraken/pull/856
- Fix position placeholder offset not including margin. https://github.com/openkraken/kraken/pull/857
- Fix position sticky fail with overflow hidden. https://github.com/openkraken/kraken/pull/858
- Fix HTMLAnchorElement lack full property support. https://github.com/openkraken/kraken/pull/864
- Fix HTMLBRElement size not correct. https://github.com/openkraken/kraken/pull/867
- Fix crash due to disposeEventTarget sync implementation. https://github.com/openkraken/kraken/pull/873
- Fix image performance by add image cache. https://github.com/openkraken/kraken/pull/879
- Fix empty text node renderObject. https://github.com/openkraken/kraken/pull/881
- Fix previous blank of text node. https://github.com/openkraken/kraken/pull/886
- Fix only trigger gc once when disposed. https://github.com/openkraken/kraken/pull/892
- Fix crash due to weak reference between style and element. https://github.com/openkraken/kraken/pull/895
- Fix layout performance by caching constraints. https://github.com/openkraken/kraken/pull/897
- Fix sliver child is text without renderer should not accept. https://github.com/openkraken/kraken/pull/898
- Fix renderObject and element memory leaks. https://github.com/openkraken/kraken/pull/900
- Fix hit test children not works in sliver list. https://github.com/openkraken/kraken/pull/905
- Fix intersection observer performance. https://github.com/openkraken/kraken/pull/908
- Fix crash when reportError. https://github.com/openkraken/kraken/pull/913
- Fix style fail after resize. https://github.com/openkraken/kraken/pull/916
- Fix some sliver usage cases. https://github.com/openkraken/kraken/pull/922
- Fix free event targets properties by gc mark. https://github.com/openkraken/kraken/pull/929
- Fix insert before fixed element. https://github.com/openkraken/kraken/pull/930
- Fix document.createElement in multiple context. https://github.com/openkraken/kraken/pull/935
- Fix error due to lacking negative length validation. https://github.com/openkraken/kraken/pull/938
- Fix bridge memory leaks. https://github.com/openkraken/kraken/pull/939
- Fix nested fixed element paint order. https://github.com/openkraken/kraken/pull/947
- Fix image natural size with same url. https://github.com/openkraken/kraken/pull/948
- Fix createElement and createTextNode performance. https://github.com/openkraken/kraken/pull/952
- Fix text not shrink in flex container. https://github.com/openkraken/kraken/pull/980
- Fix text rendering performance. https://github.com/openkraken/kraken/pull/990
- Fix flex stretch height when positioned child exists. https://github.com/openkraken/kraken/pull/1004
- Fix transform should avoid trigger layout. https://github.com/openkraken/kraken/pull/1008
- Fix ui command buffer instance leak. https://github.com/openkraken/kraken/pull/1014
- Fix element attributes incorrect reference count. https://github.com/openkraken/kraken/pull/1020
- Fix relayout boundary of flex item. https://github.com/openkraken/kraken/pull/1023
- Fix element insert order of insertBefore. https://github.com/openkraken/kraken/pull/1024
- Fix event target string property leak. https://github.com/openkraken/kraken/pull/1028
- Fix reposition children logic lacking when position changed. https://github.com/openkraken/kraken/pull/1033
- Fix this_val on global func call. https://github.com/openkraken/kraken/pull/1036
- Fix event type atom id changed when free. https://github.com/openkraken/kraken/pull/1040
- Fix offsetTop and offsetLeft should relative to body element if no positioned parent found. https://github.com/openkraken/kraken/pull/1041
- Fix percentage of positioned element. https://github.com/openkraken/kraken/pull/1044
- Fix input should blur when click other target. https://github.com/openkraken/kraken/pull/1052
- Fix positioned element logical width/height calculation. https://github.com/openkraken/kraken/pull/1053
0.9.0 #
Big News
The QuickJS engine is now landed on kraken and we decided to replace our original JavaScriptCore implementation, which can provide low latency page init time and memory usage.
Break Changes
Kraken.defineCustomElement
API had been redesigned, now you can define both element and widget with the same API. https://github.com/openkraken/kraken/pull/792
Features
- Migrate JavaScript Engine from JavaScriptCore to QuickJS.
- Support query attributes on element from
document.querySelector
anddocument.querySelectorAll
. https://github.com/openkraken/kraken/pull/747 - Auto detect physical device type and use different scroll animation behavior.
BouncingScrollPhysics
on iOS andClampingScrollPhysics
on Android. https://github.com/openkraken/kraken/pull/750 - Add empty SVGElement tags but not svg rendering, to let vue app works. https://github.com/openkraken/kraken/pull/757
- Add Apple silicon support. https://github.com/openkraken/kraken/pull/767
- Add Webpack HMR support. https://github.com/openkraken/kraken/pull/785
Bug Fixed
- Fix async error when update src property on image element. https://github.com/openkraken/kraken/pull/759
- Fix http-cache not updating when
last-modified
headers on HTTP request changed. https://github.com/openkraken/kraken/pull/784 - Fix HTML tags can not use custom tags. https://github.com/openkraken/kraken/pull/790
- Fix rendering error when append child on image elemnet. https://github.com/openkraken/kraken/pull/791
- Fix translate negative percentage not working. https://github.com/openkraken/kraken/pull/832
0.8.4 #
Break Changes
- Navigator.vibrate API no long support as default. https://github.com/openkraken/kraken/pull/655
- Rename
kraken.setMethodCallHandler
tokraken.addMethodCallHandler
. https://github.com/openkraken/kraken/pull/658 gestureClient
API migrated toGestureListener
API. https://github.com/openkraken/kraken/pull/716
Features
- Support documentFragment. https://github.com/openkraken/kraken/pull/641
- Add default 1em margin for
<p>
https://github.com/openkraken/kraken/pull/648 - Support document.querySelector and document.querySelectorAll. https://github.com/openkraken/kraken/pull/672
- Improve canvas performance when drawing pictures. https://github.com/openkraken/kraken/pull/679
- Use xcframework for iOS release. https://github.com/openkraken/kraken/pull/698
- Support vue-router with History API. https://github.com/openkraken/kraken/pull/711
- Support
<template />
and element.innerHTML API. https://github.com/openkraken/kraken/pull/713 - Support offline http cache. https://github.com/openkraken/kraken/pull/723
Bug Fixed
- Fix webpack hot reload. https://github.com/openkraken/kraken/issues/642
- Fix hit test with detached child render object. https://github.com/openkraken/kraken/pull/651
- Fix silver conflict with overflow-y. https://github.com/openkraken/kraken/pull/662
- Fix child of flex item with flex-grow not stretch. https://github.com/openkraken/kraken/pull/665
- Fix auto margin in flexbox. https://github.com/openkraken/kraken/pull/667
- Fix positioned element size wrong when no width/height is set. https://github.com/openkraken/kraken/pull/671
- Fix scroll not working when overflowY is set to auto/scroll and overflowX not set. https://github.com/openkraken/kraken/pull/681
- Fix multi frame image can replay when loading from caches. https://github.com/openkraken/kraken/pull/685
- Fix main axis auto size not including margin. https://github.com/openkraken/kraken/pull/702
0.8.3+3 #
Bug Fixed
- Fix error when reading local path. https://github.com/openkraken/kraken/pull/635
0.8.3+2 #
Bug Fixed
- Fix fetch request lost HTTP headers. https://github.com/openkraken/kraken/pull/633
0.8.3+1 #
Bug Fixed
- Fix ios build. https://github.com/openkraken/kraken/pull/629
0.8.3 #
Bug Fixed
- Fix crash caused by context has been released. https://github.com/openkraken/kraken/pull/605
- Fix window.open() not working when bundleURL not exist. https://github.com/openkraken/kraken/pull/612
- Fix location.href is empty when set onLoadError handler. https://github.com/openkraken/kraken/pull/613
- Fix http cache should not intercept multi times. https://github.com/openkraken/kraken/pull/619
- Fix input value when set to null. https://github.com/openkraken/kraken/pull/623
- Fix input change event not trigger when blur. https://github.com/openkraken/kraken/pull/626
- Fix keyboard not shown when keyboard dismissed and input gets focused again. https://github.com/openkraken/kraken/pull/627
Features
- Support window.onerror and global error event. https://github.com/openkraken/kraken/pull/601
- Add HTML Head's tags, like
<head>
,<link>
,<style>
. https://github.com/openkraken/kraken/pull/603 - Support customize
User-Agent
header. https://github.com/openkraken/kraken/pull/604 - Remove androidx dependence. https://github.com/openkraken/kraken/pull/606
- Add default margin for h1-h6 elements. https://github.com/openkraken/kraken/pull/607
0.8.2+1 #
Bug Fixed
- Fix kraken widget layout size https://github.com/openkraken/kraken/pull/584
- Fix input can not focus when hitting enter key https://github.com/openkraken/kraken/pull/595
0.8.2 #
Features
- Support percentage for translate3d translateX and translateY https://github.com/openkraken/kraken/pull/547
- Add findProxyFromEnvironment methods in HttpOverrides. https://github.com/openkraken/kraken/pull/551/files
- Treat empty scheme as https protocol. https://github.com/openkraken/kraken/pull/557/files
- Support length/percentage value for background-size. https://github.com/openkraken/kraken/pull/568
- Support dbclick event. https://github.com/openkraken/kraken/pull/573
Bug Fixed
- Fix crash when HMR enabled. https://github.com/openkraken/kraken/pull/507
- Fix parent box height can't auto caculate by scrollable container children. https://github.com/openkraken/kraken/pull/517
- Fix linear-gradient parse failed when have more than one bracket. https://github.com/openkraken/kraken/pull/518
- Fix image flex items have no size. https://github.com/openkraken/kraken/pull/520
- Fix transition throw error. https://github.com/openkraken/kraken/pull/542
- Fix empty screen in launcher mode. https://github.com/openkraken/kraken/pull/544
- Fix element instanceof HTMLElement return false https://github.com/openkraken/kraken/pull/546
- Fix transition animation execution order. https://github.com/openkraken/kraken/pull/559
- Fix transition of backgroundColor with no default value not working. https://github.com/openkraken/kraken/pull/562
- Fix opacity 0 not working. https://github.com/openkraken/kraken/pull/565
- Fix hittest with z-index order. https://github.com/openkraken/kraken/pull/572
- Fix click event not triggerd on input element. https://github.com/openkraken/kraken/pull/575
- Fix ios bridge build. https://github.com/openkraken/kraken/pull/576
0.8.1 #
Features
- input element not support maxlength property https://github.com/openkraken/kraken/pull/450
- support em and rem CSS length https://github.com/openkraken/kraken/pull/475
Bug Fixed
- remove same origin policy for xhr https://github.com/openkraken/kraken/pull/463
- fix error when scroll to top in silver box https://github.com/openkraken/kraken/issues/468
- fix js contextId allocate order error https://github.com/openkraken/kraken/pull/474 https://github.com/openkraken/kraken/pull/477
0.8.0+2 #
Features
- input element now support inputmode property https://github.com/openkraken/kraken/pull/441
0.8.0+1 #
Bug Fixed
- Fix DOM events can't bind with addEventListener https://github.com/openkraken/kraken/pull/436
0.8.0 #
Big News
- Kraken v0.8.0 now support flutter 2.2.0
Features
- Support dart null safety and all dependencies had upgraded.
- Lock Android NDK version to 21.4.7075529. https://github.com/openkraken/kraken/pull/394
- Add length value support in background-position https://github.com/openkraken/kraken/pull/421
Bug Fixed
- Fix error when setting element's eventHandler property to null https://github.com/openkraken/kraken/pull/426
- Fix crash when trigger
touchcancel
events https://github.com/openkraken/kraken/pull/424 - Fix error when reload kraken pages. https://github.com/openkraken/kraken/pull/419
- Fix element's doesn't show up when setting display: none to display: block. https://github.com/openkraken/kraken/pull/405
- Fix empty blank screen in Android / iOS physical devices launching with SDK mode. https://github.com/openkraken/kraken/pull/399
- Fix WebView (created by iframe element) can't scroll. https://github.com/openkraken/kraken/pull/398
- Fix percentage length doesn't work in flex layout box. https://github.com/openkraken/kraken/pull/397
- Fix input element's height can't set with CSS height property. https://github.com/openkraken/kraken/pull/395
- Fix crash when set element.style multiple times in a short of times. https://github.com/openkraken/kraken/pull/391
0.7.3+2 #
Features
- Input element now support type=password options https://github.com/openkraken/kraken/pull/377
Bug Fixed
- Fix event can't bubble to document element https://github.com/openkraken/kraken/pull/380
- fix: fix bridge crash with getStringProperty on InputElement. https://github.com/openkraken/kraken/pull/386
0.7.3+1 #
- Fix: fix prebuilt binary.
0.7.3 #
Features
- Feat: add network proxy interface in dart widget API https://github.com/openkraken/kraken/pull/292
- Feat: add AsyncStorage.length method https://github.com/openkraken/kraken/pull/298
- Feat: improve bridge call performance. https://github.com/openkraken/kraken/pull/328
- feat: add SVGElement https://github.com/openkraken/kraken/pull/338
Bug Fixed
- Fix input setting value does not take effect before adding the dom tree. https://github.com/openkraken/kraken/pull/297/files
- Fix: remove unnecessary flushUICommand https://github.com/openkraken/kraken/pull/318
- Fix: img lazy loading not work https://github.com/openkraken/kraken/pull/319
- Fix: touchend crash caused by bridge https://github.com/openkraken/kraken/pull/320
- Fix: fix target of the event agent does not point to the clicked Node https://github.com/openkraken/kraken/pull/322
Refactor
- refactor: position sticky https://github.com/openkraken/kraken/pull/324
0.7.2+4 #
feat: support mouse event https://github.com/openkraken/kraken/pull/220 fix: event bubble not works properly https://github.com/openkraken/kraken/pull/264 fix: return value of Event.stopPropagation() should be undefined https://github.com/openkraken/kraken/pull/284 fix/text node value https://github.com/openkraken/kraken/pull/279 fix: fix kraken.methodChannel.setMethodCallHandler did't get called before kraken.invokeMethod called https://github.com/openkraken/kraken/pull/289
0.7.2+3 #
feat: add willReload and didReload hooks for devTools.
0.7.2+2 #
fix: export getUIThreadId and getGlobalContextRef symbols.
0.7.2+1 #
fix: export getDartMethod() symbols.
0.7.2 #
Break Changes
fix: change default font size from 14px to 16px https://github.com/openkraken/kraken/pull/145
Bug Fixed fix: modify customevent to event https://github.com/openkraken/kraken/pull/138 fix: layout performance https://github.com/openkraken/kraken/pull/155 fix: fix elements created by new operator didn't have ownerDocument. https://github.com/openkraken/kraken/pull/178 fix: flex-basis rule https://github.com/openkraken/kraken/pull/176 fix: transform functions split error when more than one. https://github.com/openkraken/kraken/pull/196 fix: Fix the crash caused by navigation in dart https://github.com/openkraken/kraken/pull/249 fix update device_info 1.0.0 https://github.com/openkraken/kraken/pull/262
0.7.1 #
Bug Fixed
- fix: resize img wainting for img layouted#86
- fix: fix: encoding snapshots filename to compact with windows. #69
- fix: fix insertBefore crash when passing none node object. #70
- fix: windows platform support build target to Android. #88
- fix: element size not change when widget size change #90
- fix: fix navigation failed of anchor element. #95
- fix: 'kraken.methodChannel.setMethodCallHandler' override previous handler #96
- fix: repaintBoundary convert logic #111
- fix: element append order wrong with comment node exists #116
- fix: fix access Node.previousSibling crashed when target node at top of childNodes. #126
- fix: fix access Element.children crashed when contains non-element nodes in childNodes. #126
- fix: percentage resolve fail with multiple sibling exists #144
- fix: default unknow element display change to inline #133
Feature