Skip to content

Commit 3f7a50a

Browse files
committed
release: 0.14.3
1 parent 0ea0dfc commit 3f7a50a

File tree

4 files changed

+67
-19
lines changed

4 files changed

+67
-19
lines changed

webf/CHANGELOG.md

Lines changed: 63 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,78 @@
1-
## 0.14.2-beta.2+1
1+
## 0.14.3
2+
3+
This version will support Flutter 3.3.x ~ 3.7.x.
4+
5+
**Features**
6+
7+
1. Optimize location API for better performance results. https://github.com/openwebf/webf/pull/420
8+
2. Optimize the webf_bridge and quickjs binary size. https://github.com/openwebf/webf/pull/414
9+
3. Support CSS initial length value. https://github.com/openwebf/webf/pull/421
10+
4. Optimize Element.children() and Document.all() performance. https://github.com/openwebf/webf/pull/424
11+
5. Support element <line> for svg. https://github.com/openwebf/webf/pull/475
12+
6. Add WebFController.onTitleChanged API. https://github.com/openwebf/webf/pull/479
213

314
**Bug Fixed**
415

5-
1. fix: fix percentage width and height not working under inline block box. https://github.com/openwebf/webf/pull/430
6-
2. fix: fix Node.insertBefore with SVGElement error. https://github.com/openwebf/webf/pull/431
7-
3. fix: fix cookie delete file error when it's not available. https://github.com/openwebf/webf/pull/429
16+
1. Fix percentage width and height not working under inline block box. https://github.com/openwebf/webf/pull/430
17+
2. Fix Node.insertBefore with SVGElement error. https://github.com/openwebf/webf/pull/431
18+
3. Fix cookie delete file error when it's not available. https://github.com/openwebf/webf/pull/429
19+
4. Fix use css vars with initial. https://github.com/openwebf/webf/pull/421/commits/1da2e5899c53e82a31271c26de3333168e780134
20+
0.15.0-beta.3
21+
5. Fix toggle position: fixed on bodyElement with other fixed elements. https://github.com/openwebf/webf/pull/416
22+
6. Fix css nth-child not work. https://github.com/openwebf/webf/pull/417
23+
7. Fix Node.childNodes didn't update when nodes changed. https://github.com/openwebf/webf/pull/419
24+
8. Fix loading fonts cause assertion when remove or attach RenderObjects. https://github.com/openwebf/webf/pull/425
25+
9. fix crash when reload pages. https://github.com/openwebf/webf/pull/476
26+
10. Fix memory leaks. https://github.com/openwebf/webf/pull/487
27+
28+
## 0.14.2
829

9-
**Features**
30+
This version will support Flutter 3.3.x ~ 3.7.x.
1031

11-
1. feat: optimize location API for better performance results. https://github.com/openwebf/webf/pull/420
32+
**Break Changes**
1233

13-
## 0.14.2-beta.2
34+
1. Remove `navigator.connection` API. https://github.com/openwebf/webf/pull/411
1435

1536
**Features**
1637

17-
1. feat: optimize the webf_bridge and quickjs binary size. https://github.com/openwebf/webf/pull/414
18-
2. feat: support CSS initial length value. https://github.com/openwebf/webf/pull/421
19-
3. feat: optimize Element.children() and Document.all() performance. https://github.com/openwebf/webf/pull/424
38+
1. Optimize location API for better performance results. https://github.com/openwebf/webf/pull/420
39+
2. Optimize the size of webf_bridge.xcframework and quickjs.xcframework. https://github.com/openwebf/webf/pull/414
40+
3. Support CSS initial length value. https://github.com/openwebf/webf/pull/421
41+
4. Optimize Element.children() and Document.all() performance. https://github.com/openwebf/webf/pull/424
42+
5. Support base64 format font data in `@font-face` src. https://github.com/openwebf/webf/pull/399
43+
6. Support Element.dir API. https://github.com/openwebf/webf/pull/418
44+
7. Add `<circle />` and `<ellipse>` tags for SVG. https://github.com/openwebf/webf/pull/423
45+
8. Support share customized JS properties in event object. https://github.com/openwebf/webf/pull/427
46+
9. Support `window.pageXOffset` and `window.pageYOffset` API. https://github.com/openwebf/webf/pull/428/files
47+
10. Optimize layout/paint performance when block box size is fixed. https://github.com/openwebf/webf/pull/450
48+
11. Optimize performance when update Element.className. https://github.com/openwebf/webf/pull/452
49+
12. Support CanvasRenderingContext2D.createPattern() API. https://github.com/openwebf/webf/pull/464
2050

2151
**Bug Fixed**
2252

23-
1. fix: fix use css vars with initial. https://github.com/openwebf/webf/pull/421/commits/1da2e5899c53e82a31271c26de3333168e780134
24-
0.15.0-beta.3
25-
2. fix: fix toggle position: fixed on bodyElement with other fixed elements. https://github.com/openwebf/webf/pull/416
26-
3. fix: css nth-child not work. https://github.com/openwebf/webf/pull/417
27-
4. fix: fix Node.childNodes didn't update when nodes changed. https://github.com/openwebf/webf/pull/419
28-
5. fix: fix loading fonts cause assertion when remove or attach RenderObjects. https://github.com/openwebf/webf/pull/425
53+
1. Fix use css vars with initial. https://github.com/openwebf/webf/pull/421
54+
2. Fix toggle position: fixed on bodyElement with other fixed elements. https://github.com/openwebf/webf/pull/416
55+
3. Fss nth-child not work. https://github.com/openwebf/webf/pull/417
56+
4. Fix Node.childNodes didn't update when nodes changed. https://github.com/openwebf/webf/pull/419
57+
5. Fix loading fonts cause assertion when remove or attach RenderObjects. https://github.com/openwebf/webf/pull/425
58+
6. Fix percentage width and height not working under inline block box. https://github.com/openwebf/webf/pull/430
59+
7. Fix Node.insertBefore with SVGElement error. https://github.com/openwebf/webf/pull/431
60+
8. Fix cookie delete file error when it's not available. https://github.com/openwebf/webf/pull/429
61+
9. Fix read ANDROID_SDK_HOME before implying to platform defaults. https://github.com/openwebf/webf/pull/422
62+
10. Fix cookie delete file error. https://github.com/openwebf/webf/pull/429
63+
11. Fix percentage width and height not working under inline block box. https://github.com/openwebf/webf/pull/430
64+
12. Fix Node.insertBefore with SVGElement error. https://github.com/openwebf/webf/pull/431
65+
13. Fix DevTool's network panel not working. https://github.com/openwebf/webf/pull/435
66+
14. Losen intl dependency constraint. https://github.com/openwebf/webf/pull/439
67+
15. Fix built-in methods in the event object cannot be overridden. https://github.com/openwebf/webf/pull/443
68+
16. Fix crash when touching pseduo elements. https://github.com/openwebf/webf/pull/445
69+
17. Fix event not responding when multiple flutter engine created. https://github.com/openwebf/webf/pull/451
70+
18. Fix Element.style.cssText API not works. https://github.com/openwebf/webf/pull/455
71+
19. Fix use-of-free crash of shared string property in event object. https://github.com/openwebf/webf/pull/458
72+
20. Fix dynamic build items in WidgetElement. https://github.com/openwebf/webf/pull/461
73+
21. Fix CSS content property have sequences of unicode chars. https://github.com/openwebf/webf/pull/463
74+
22. Fix crash when create unsupported svg element with style. https://github.com/openwebf/webf/pull/465
75+
2976

3077
## 0.14.1
3178

webf/lib/src/dom/screen.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
import 'dart:ui';
66
import 'package:webf/foundation.dart';
77
import 'package:webf/bridge.dart';
8+
import 'package:webf/launcher.dart';
89

910
// As its name suggests, the Screen interface represents information about the screen of the output device.
1011
// https://drafts.csswg.org/cssom-view/#the-screen-interface
1112
class Screen extends BindingObject {
12-
Screen(int contextId) : super(BindingContext(contextId, allocateNewBindingObject()));
13+
Screen(int contextId, WebFViewController view) : super(BindingContext(view, contextId, allocateNewBindingObject()));
1314

1415
@override
1516
void initializeMethods(Map<String, BindingObjectMethod> methods) {

webf/lib/src/dom/window.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Window extends EventTarget {
1818
final Screen screen;
1919

2020
Window(BindingContext? context, this.document)
21-
: screen = Screen(context!.contextId),
21+
: screen = Screen(context!.contextId, document.ownerView),
2222
super(context);
2323

2424
@override

webf/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: webf
22
description: W3C standards-compliant web rendering engine based on Flutter, allowing web applications to run natively on Flutter.
3-
version: 0.14.2-beta.2+1
3+
version: 0.14.3
44
homepage: https://openwebf.com
55

66
environment:

0 commit comments

Comments
 (0)