Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump web from 0.4.2 to 0.5.0 #39

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2024

Bumps web from 0.4.2 to 0.5.0.

Release notes

Sourced from web's releases.

package:web v0.5.0

  • Redeprecate APIs that were deprecated in 0.4.1 but undeprecated in 0.4.2.
  • Add support for dart fix migrations from dart:html classes to package:web classes.
  • Contribute a markdown file for the renamed classes from dart:html to package:web (see renames.md).
  • Migrate classes to use interop extension types that implement JSObject.
  • Add generics to APIs that use JSArray and JSPromise. Typedefs of a Dart primitive type are instead replaced with their JS type equivalent if they appear as a type parameter in order to conform with the type bounds of JSArray and JSPromise.
  • Changed record types to be JSObject instead of JSAny.
  • Reduce the number of DOM APIs we generate code for. Currently, the API needs to be standards-track, and be supported by Safari, Chrome, and Firefox.
  • Updated the source IDL version to 3.43.1.
  • Deprecate a few type aliases in favor of their standardized versions:
    Deprecated Preferred
    AudioElement HTMLAudioElement
    HtmlElement HTMLElement
    CanvasElement HTMLCanvasElement
    ImageElement HTMLImageElement
    VideoElement HTMLVideoElement
    CssStyleDeclaration CSSStyleDeclaration
    ContextEvent WebGLContextEvent
    WebGL WebGLRenderingContext
  • Deprecate the top-level createElementTag, createCanvasElement, createIFrameElement, and querySelector functions. Instead, use the standard creation and query methods on document.
  • Deprecate the client extension methods on MouseEvent and Touch. Instead, directly use the clientX and clientY properties.
  • Deprecate the HttpRequest API borrowed from dart:html. Consider migrating to package:http instead.
Changelog

Sourced from web's changelog.

0.5.0

  • Redeprecate APIs that were deprecated in 0.4.1 but undeprecated in 0.4.2.

  • Add support for dart fix migrations from dart:html classes to package:web classes.

  • Contribute a markdown file for the renamed classes from dart:html to package:web (see renames.md).

  • Migrate classes to use interop extension types that implement JSObject.

  • Add generics to APIs that use JSArray and JSPromise. Typedefs of a Dart primitive type are instead replaced with their JS type equivalent if they appear as a type parameter in order to conform with the type bounds of JSArray and JSPromise.

  • Changed record types to be JSObject instead of JSAny.

  • Reduce the number of DOM APIs we generate code for. Currently, the API needs to be standards-track, and be supported by Safari, Chrome, and Firefox.

  • Updated the source IDL version to 3.43.1.

  • Deprecate a few type aliases in favor of their standardized versions:

    Deprecated Preferred
    AudioElement HTMLAudioElement
    HtmlElement HTMLElement
    CanvasElement HTMLCanvasElement
    ImageElement HTMLImageElement
    VideoElement HTMLVideoElement
    CssStyleDeclaration CSSStyleDeclaration
    ContextEvent WebGLContextEvent
    WebGL WebGLRenderingContext
  • Deprecate the top-level createElementTag, createCanvasElement, createIFrameElement, and querySelector functions. Instead, use the standard creation and query methods on document.

  • Deprecate the client extension methods on MouseEvent and Touch. Instead, directly use the clientX and clientY properties.

  • Deprecate the HttpRequest API borrowed from dart:html. Consider migrating to package:http instead.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [web](https://github.com/dart-lang/web) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/dart-lang/web/releases)
- [Changelog](https://github.com/dart-lang/web/blob/main/CHANGELOG.md)
- [Commits](dart-lang/web@v0.4.2...v0.5.0)

---
updated-dependencies:
- dependency-name: web
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Feb 16, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 6, 2024

Superseded by #40.

@dependabot dependabot bot closed this Mar 6, 2024
@dependabot dependabot bot deleted the dependabot/pub/web-0.5.0 branch March 6, 2024 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants