Skip to content

Releases: openkraken/kraken

0.11.0

07 Apr 11:36
eccd876
Compare
Choose a tag to compare

Breaking Changes

  • Update flutter requirement to 2.8.x #1298

Bug Fixed

  • Fix Kraken widget instance memory leak from window. #1297

0.10.4

02 Apr 05:41
9ab8945
Compare
Choose a tag to compare

Features

  • Support window.innerWidth & window.innerHeight, and screen.availWidth & screen.availHeight. #1256

Bug Fixed

  • Fix error when using KrakenBundle.fromByteCode(). #1245
  • Fix DataBundle string with non latin. #1263

** Others **

  • Change copyright to The Kraken authors.

0.10.3

25 Mar 08:06
2c43abb
Compare
Choose a tag to compare

Bug Fixed

  • Fix Http cache file io error #1202.
  • Fix align-self not work for positioned flex item. #1207
  • Fix text-align should only work for text node for flex item. #1208
  • Fix crash with scrolling. #1209
  • Fix children of inline-block element not stretch. #1214
  • Fix style set to empty string. #1220
  • Fix flex item not stretch when child size changed. #1229
  • Fix html parse error. #1231
  • Fix asset protocol error. #1232
  • Fix file protocol. #1234

0.10.2

02 Mar 12:04
0a6bf9b
Compare
Choose a tag to compare

Bug Fixed

  • Fix report error cause stack overflow. #1164
  • Fix object-fit not work due to image resize optimization. #1165
  • Fix crash when reload. #1167
  • Fix referer and origin. #1170
  • Fix large file content may fail. #1176
  • Fix native event memory align on 32 bit devices. #1182
  • Fix image load error cause crash. #1187

0.10.1

10 Feb 04:36
37c86ed
Compare
Choose a tag to compare

Bug Fixed

  • Fix custom flutter widget when kraken disposed. #1142
  • Fix scrollable size should include padding. #1135
  • Fix http request doesn't support multiple headers. #1148
  • Fix document.location is undefined. #1150
  • Fix WebSocket dev server error. #1131
  • Fix image intrinsic size not correct which include padding and border. #1127
  • Fix unhandledPromiseRejection event. #1137
  • Fix fetch API request options. #1139
  • Fix HttpCache error on linux platform. #1113
  • Fix exception leak cause globalObject not fully freed. #1117
  • Fix border radius of one percentage value. #1121
  • Fix empty screen when page reload. #1109
  • Fix linux dynamic rpath. #1111
  • Fix error when set empty string to textOverflow. #1095
  • Fix input delete key binding. #1096
  • Fix load kraken bundle from env and native side. #1098
  • Fix crash when reload page. #1102
  • Fix stack overflow when working with multiple thread. #1086
  • Fix sepeated setting of style is invalid. #1088

0.10.0

12 Jan 06:34
Compare
Choose a tag to compare

Break Changes

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. #904
  • Support style element and className attribute. #656
  • Support link element and CSS variables. #961
  • Support assets: protocol to unify the means to load local assets for different platforms. #866
  • Support pause kraken pages when navigator changes. #877
  • Support linux platform. #887
  • Support customize kraken dynamic library path. #1048

Bug Fixed

  • Fix width error in case of min width width padding. #843
  • Fix percentage with decimal point. #845
  • Fix iOS App store certificate validation. #847
  • Fix text height with text-overflow ellipsis. #848
  • Fix clone documentFragment node support. #851
  • Fix layout wrapping space. #856
  • Fix position placeholder offset not including margin. #857
  • Fix position sticky fail with overflow hidden. #858
  • Fix HTMLAnchorElement lack full property support. #864
  • Fix HTMLBRElement size not correct. #867
  • Fix crash due to disposeEventTarget sync implementation. #873
  • Fix image performance by add image cache. #879
  • Fix empty text node renderObject. #881
  • Fix previous blank of text node. #886
  • Fix only trigger gc once when disposed. #892
  • Fix crash due to weak reference between style and element. #895
  • Fix layout performance by caching constraints. #897
  • Fix sliver child is text without renderer should not accept. #898
  • Fix renderObject and element memory leaks. #900
  • Fix hit test children not works in sliver list. #905
  • Fix intersection observer performance. #908
  • Fix crash when reportError. #913
  • Fix style fail after resize. #916
  • Fix some sliver usage cases. #922
  • Fix free event targets properties by gc mark. #929
  • Fix insert before fixed element. #930
  • Fix document.createElement in multiple context. #935
  • Fix error due to lacking negative length validation. #938
  • Fix bridge memory leaks. #939
  • Fix nested fixed element paint order. #947
  • Fix image natural size with same url. #948
  • Fix createElement and createTextNode performance. #952
  • Fix text not shrink in flex container. #980
  • Fix text rendering performance. #990
  • Fix flex stretch height when positioned child exists. #1004
  • Fix transform should avoid trigger layout. #1008
  • Fix ui command buffer instance leak. #1014
  • Fix element attributes incorrect reference count. #1020
  • Fix relayout boundary of flex item. #1023
  • Fix element insert order of insertBefore. #1024
  • Fix event target string property leak. #1028
  • Fix reposition children logic lacking when position changed. #1033
  • Fix this_val on global func call. #1036
  • Fix event type atom id changed when free. #1040
  • Fix offsetTop and offsetLeft should relative to body element if no positioned parent found. #1041
  • Fix percentage of positioned element. #1044
  • Fix input should blur when click other target. #1052
  • Fix positioned element logical width/height calculation. #1053

0.9.0

04 Nov 08:28
4918228
Compare
Choose a tag to compare

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. #792

Features

  • Migrate JavaScript Engine from JavaScriptCore to QuickJS.
  • Support query attributes on element from document.querySelector and document.querySelectorAll. #747
  • Auto detect physical device type and use different scroll animation behavior. BouncingScrollPhysics on iOS and ClampingScrollPhysics on Android. #750
  • Add empty SVGElement tags but not svg rendering, to let vue app works. #757
  • Add Apple silicon support. #767
  • Add Webpack HMR support. #785

Bug Fixed

  • Fix async error when update src property on image element. #759
  • Fix http-cache not updating when last-modified headers on HTTP request changed. #784
  • Fix HTML tags can not use custom tags. #790
  • Fix rendering error when append child on image elemnet. #791
  • Fix translate negative percentage not working. #832

0.8.4

18 Oct 13:01
a4df354
Compare
Choose a tag to compare

Break Changes

  • Navigator.vibrate API no long support as default. #655
  • Rename kraken.setMethodCallHandler to kraken.addMethodCallHandler. #658
  • gestureClient API migrated to GestureListener API. #716

Features

  • Support documentFragment. #641
  • Add default 1em margin for <p> #648
  • Support document.querySelector and document.querySelectorAll. #672
  • Improve canvas performance when drawing pictures. #679
  • Use xcframework for iOS release. #698
  • Support vue-router with History API. #711
  • Support <template /> and element.innerHTML API. #713
  • Support offline http cache. #723

Bug Fixed

  • Fix webpack hot reload. #642
  • Fix hit test with detached child render object. #651
  • Fix silver conflict with overflow-y. #662
  • Fix child of flex item with flex-grow not stretch. #665
  • Fix auto margin in flexbox. #667
  • Fix positioned element size wrong when no width/height is set. #671
  • Fix scroll not working when overflowY is set to auto/scroll and overflowX not set. #681
  • Fix multi frame image can replay when loading from caches. #685
  • Fix main axis auto size not including margin. #702

0.8.3+3

26 Aug 03:52
Compare
Choose a tag to compare

Features

  • Support window.onerror and global error event. #601
  • Add HTML Head's tags, like <head>, <link>, <style>. #603
  • Support customize User-Agent header. #604
  • Remove androidx dependence. #606
  • Add default margin for h1-h6 elements. #607

Bug Fixed

  • Fix ios build. #629
  • Fix crash caused by context has been released. #605
  • Fix window.open() not working when bundleURL not exist. #612
  • Fix location.href is empty when set onLoadError handler. #613
  • Fix http cache should not intercept multi times. #619
  • Fix input value when set to null. #623
  • Fix input change event not trigger when blur. #626
  • Fix keyboard not shown when keyboard dismissed and input gets focused again. #627
  • Fix missing HTTP headers with fetch and xhr request. #633
  • Fix error when reading local path. #635

0.8.2

11 Aug 05:04
8dad11a
Compare
Choose a tag to compare

Features

Bug Fixed

  • Fix crash when HMR enabled. #507
  • Fix parent box height can't auto caculate by scrollable container children. #517
  • Fix linear-gradient parse failed when have more than one bracket. #518
  • Fix image flex items have no size. #520
  • Fix transition throw error. #542
  • Fix empty screen in launcher mode. #544
  • Fix element instanceof HTMLElement return false #546
  • Fix transition animation execution order. #559
  • Fix transition of backgroundColor with no default value not working. #562
  • Fix opacity 0 not working. #565
  • Fix hittest with z-index order. #572
  • Fix click event not triggerd on input element. #575
  • Fix ios bridge build. #576