Skip to content

package:web v1.0.0

Compare
Choose a tag to compare
@srujzs srujzs released this 16 Jul 01:33
· 24 commits to main since this release
e89fe49
  • 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 to ElementEventGetters extension methods.
  • Expose ElementStream as a public class.
  • Require Dart ^3.4.0.
  • APIs that return a double value now return double instead of num. This is
    to avoid users accidentally downcasting num, 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]: #57