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 @@ -323,9 +323,12 @@ them, you must set the lower bound on the SDK constraint for your package to
323
323
324
324
#### ` dart:js_util `
325
325
326
- - The ` js_util ` methods ` getProperty ` , ` setProperty ` , ` callMethod ` ,
327
- ` callConstructor ` , and ` newObject ` now support a generic type argument
328
- to specify the return type.
326
+ - The ` js_util ` methods ` setProperty ` , ` callMethod ` , and ` callConstructor ` have
327
+ been optimized to remove checks on arguments when the checks can be elided.
328
+ Also, those methods, along with ` getProperty ` and ` newObject ` , now support a
329
+ generic type argument to specify a return type. These two changes make simple
330
+ ` js_util ` usage, like reading and writing primitive properties or calling
331
+ methods with simple arguments, have zero overhead.
329
332
330
333
#### ` dart:web_sql `
331
334
@@ -486,6 +489,14 @@ This feature requires
486
489
` dart pub get/upgrade/downgrade/add/remove ` that will result in the ` example/ `
487
490
folder dependencies to be updated after operating in the current directory.
488
491
492
+ ### Other libraries
493
+
494
+ #### ` package:js `
495
+
496
+ - Extensions on JS interop or native ` dart:html ` classes can now declare
497
+ members as ` external ` . These members are equivalent to regular extension
498
+ members that use ` js_util ` to expose the underlying JavaScript.
499
+
489
500
## 2.14.4 - 2021-10-14
490
501
491
502
This is a patch release that fixes:
You can’t perform that action at this time.
0 commit comments