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. #904
- Support
style
element andclassName
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