Sourced from web's releases.
package:web v1.0.0
- Added supertypes' fields to dictionary constructors as dictionaries are allowed to contain those fields.
- Empty dictionary constructors now create an empty object instead of being treated like non-object literal
external
constructors.- Generate MDN API documentation for getters.
- Update the docs for generated interface types to reference the MDN Web Docs project.
- Address several broken links in API documentation.
- Generate APIs based on if they're on track to be a standard and not experimental. This is a looser restriction from the previous requirement that APIs need to be implemented by Chrome, Firefox, and Safari. As part of this, dictionaries and typedefs are only emitted if they're used by a generated API.
- Added
onUnload
event stream toElementEventGetters
extension methods.- Expose
ElementStream
as a public class.- Require Dart
^3.4.0
.- APIs that return a double value now return
double
instead ofnum
. This is to avoid users accidentally downcastingnum
, which has different semantics depending on whether you compile to JS or Wasm. See issue #57[] for more details.- Fix an issue where some union types didn't account for typedef nullability. #57: dart-lang/web#57
Sourced from web's changelog.
1.0.0
- Added supertypes' fields to dictionary constructors as dictionaries are allowed to contain those fields.
- Empty dictionary constructors now create an empty object instead of being treated like non-object literal
external
constructors.- Generate MDN API documentation for getters.
- Update the docs for generated interface types to reference the MDN Web Docs project.
- Address several broken links in API documentation.
- Generate APIs based on if they're on track to be a standard and not experimental. This is a looser restriction from the previous requirement that APIs need to be implemented by Chrome, Firefox, and Safari. As part of this, dictionaries and typedefs are only emitted if they're used by a generated API.
- Added
onUnload
event stream toElementEventGetters
extension methods.- Expose
ElementStream
as a public class.- Require Dart
^3.4.0
.- APIs that return a double value now return
double
instead ofnum
. This is to avoid users accidentally downcastingnum
, which has different semantics depending on whether you compile to JS or Wasm. See issue #57[] for more details.- Fix an issue where some union types didn't account for typedef nullability.
e89fe49
Publish package:web v1 (#271)e4c4d81
Bump the github-actions group with 2 updates (#269)2ae509e
Update doc comments, bump version to 1.0.0-wip (#268)72a806f
Account for static members in MDN docs (#267)82b94c2
Add MAC_FF_META to KeyCode constants (#264)9e20f7f
Update Web IDL to 3.49.0 (#266)50239e9
Rename members when they collide with return/parameter type names (#265)6b8a465
Account for typedef nullability (#257)f6a7d38
Emit double as return value instead of num (#256)6d22294
Add Float16Array alias (#255)