File tree 1 file changed +14
-3
lines changed
1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 429
429
430
430
#### ` dart:js_util `
431
431
432
- - The ` js_util ` methods ` getProperty ` , ` setProperty ` , ` callMethod ` ,
433
- ` callConstructor ` , and ` newObject ` now support a generic type argument
434
- to specify the return type.
432
+ - The ` js_util ` methods ` setProperty ` , ` callMethod ` , and ` callConstructor ` have
433
+ been optimized to remove checks on arguments when the checks can be elided.
434
+ Also, those methods, along with ` getProperty ` and ` newObject ` , now support a
435
+ generic type argument to specify a return type. These two changes make simple
436
+ ` js_util ` usage, like reading and writing primitive properties or calling
437
+ methods with simple arguments, have zero overhead.
435
438
436
439
#### ` dart:web_sql `
437
440
@@ -592,6 +595,14 @@ This feature requires
592
595
` dart pub get/upgrade/downgrade/add/remove ` that will result in the ` example/ `
593
596
folder dependencies to be updated after operating in the current directory.
594
597
598
+ ### Other libraries
599
+
600
+ #### ` package:js `
601
+
602
+ - Extensions on JS interop or native ` dart:html ` classes can now declare
603
+ members as ` external ` . These members are equivalent to regular extension
604
+ members that use ` js_util ` to expose the underlying JavaScript.
605
+
595
606
## 2.14.4 - 2021-10-14
596
607
597
608
This is a patch release that fixes:
You can’t perform that action at this time.
0 commit comments