-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Announcement]: 📢 package web migration and releases #2653
Comments
@miquelbeltran The missing API's are probably because they are non-standard. We can however, provide the missing API's using extension types, so I don't think any of those migrations are actually blocked. See https://github.com/dart-lang/web?tab=readme-ov-file#compatibility |
All web packages have been migrated now, and the releases should be published this week. Special thank you to @koji-1009 for taking care of the migration of |
New package releases have been published. It should also be easier to keep up with the web package updates, otherwise please try to use Closing this issue now and un-pinning it. |
This ticket contains up-to-date information regarding the state of the migration from
dart:html
to packageweb
: https://pub.dev/packages/webThis is a live ticket and information posted here will be changing.
As always, we would like to remind you that this is a project run by volunteers in their free time, and ask you to be mindful when asking for updates. Repeated requests and general unprofessional behavior is considered a breach of our Code of Conduct.
F.A.Q.
When will be packages migrated?
Update 2024-03-20: All packages that have a web implementation have been migrated.
Packages migrated
package_info_plus
device_info_plus
connectivity_plus
sensors_plus
share_plus
battery_plus
Packages that don't require migration to
web
android_alarm_manager_plus
android_intent_plus
network_info_plus
All these packages are not supported on web.
Tickets
You can search in the repo for a specific package to see if it has been migrated, or if it still in progress:
package:web
to support WASM #2602package:web
to support WASM #2603When will be packages released?
Update 2024-03-20: Releases should be going out this week, if everything is correct.
Dependency Overrides
If you have
web
package conflicts, you can try to override the version using "dependency override" https://dart.dev/tools/pub/dependencies#dependency-overrides, but there is no warranty that versions are compatible. Do this under your own risk!Git Ref
You can also use a git ref to reference a specific commit in your pubspec.yml, so you don't have to wait for a package release. Do this under your own risk!
I have a version conflict with the package
web
Due to the package
web
being fairly new, each new release can be potentially a major release, and will require a new plus plugin release.You can try using
dependency_overrides
as explained above to fix the issue, although the code may not be compatible with the selectedweb
version.Latest Firebase Packages are incompatible with Plus Plugins Package
We are aware. This is due to Firebase plugins adding a dependency to
web: ^0.5.0
.You can solve this issue with the
dependency_overrides
as mentioned before, until a new release with the updated dependency is released.This will happen again when
web: 0.6.0
is released!Min Dart SDK version
Because
web
0.5.0
depends on the sdk version3.3.0
, all plugins using this package will start using sdk>=3.3.0
.This may require using the latest stable Flutter releases.
The text was updated successfully, but these errors were encountered: