-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
☔ Deprecate legacy HTML/JS libraries/packages #59716
Comments
Shouldn't all the missing api issues be solved before deprecating old packages? this way consumers can have a clear migration path. |
Towards #59716 Change-Id: Iaea45a8fccf5c3e2fb52ef34420ddbcd5b92a13f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/401201 Reviewed-by: Srujan Gaddam <srujzs@google.com> Auto-Submit: Kevin Moore <kevmoo@google.com> Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com>
That tag covers more than just "missing from package:web but are in the web libraries", so it isn't necessarily an indicator of migrate-ability. Something would be a blocker if a functionality was exposed before which has no alternative or workaround in either The motivation behind this is to avoid further proliferation of legacy interop code and eventually get it down to a point where the ecosystem can move forward with Wasm easily. |
the highest impact issue I can think of that needs to be addressed is callback interfaces, e.g. EventListener
this means that all customers migrating to |
This was also discussed a while back #56358 and I have raised the same concern |
There's a canonical issue for typing JS functions: https://dart-review.googlesource.com/c/sdk/+/401046. There are some downsides to generating typed |
#59716 Deprecate dart:html, dart:svg, dart:indexed_db, dart:web_audio, and dart:web_gl in favor of package:web and dart:js_interop. dart:web_sql has already been deprecated and unable to be imported. CoreLibraryReviewExempt: JS-specific library, deprecation only. Change-Id: I2799b474be660153318a60d5e801ecd8431b08a2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/401045 Reviewed-by: Sigmund Cherem <sigmund@google.com>
#59716 Deprecate these in favor of dart:js_interop. Modifies code samples to account for the deprecated imports. CoreLibraryReviewExempt: JS-specific library, deprecation only. Change-Id: I9f01cd203212aaeca08aa1c5a4000b67f54756b9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/401046 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Kevin Moore <kevmoo@google.com>
The text was updated successfully, but these errors were encountered: