-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[web] Updates package:web dependency to ^0.5.0. #5791
[web] Updates package:web dependency to ^0.5.0. #5791
Conversation
3e5c823
to
1fae6fe
Compare
f28a73c
to
f61d8c7
Compare
f61d8c7
to
2b99c89
Compare
2b99c89
to
cbc80ed
Compare
a9c9910
to
c7f71f2
Compare
7bf1cef
to
70859ab
Compare
7c97874
to
66ca672
Compare
I'll take over landing this one! |
66ca672
to
735f84b
Compare
$ grep js_util * -Irn | grep "_web" | grep "dart:" | cut -d: -f1 | sort | uniq -c | sort -r
5 camera/camera_web/example/integration_test/camera_service_test.dart
4 camera/camera_web/lib/src/shims/dart_js_util.dart
3 camera/camera_web/lib/src/camera_service.dart
1 google_maps_flutter/google_maps_flutter_web/lib/google_maps_flutter_web.dart
1 google_maps_flutter/google_maps_flutter_web/example/integration_test/google_maps_plugin_test.dart
1 camera/camera_web/example/integration_test/helpers/mocks.dart js_util seems to be almost gone from the repo (except from known non-migrated packages) |
I think this is OK now. PTAL @stuartmorgan (and @kevmoo)! |
I'd review it if I could! Thanks @ditman |
packages/google_identity_services_web/lib/src/js_interop/package_web_tweaks.dart
Show resolved
Hide resolved
@@ -25,7 +25,7 @@ dependencies: | |||
google_identity_services_web: ^0.3.0 | |||
google_sign_in_platform_interface: ^2.4.0 | |||
http: ">=0.13.0 <2.0.0" | |||
web: ">=0.3.0 <0.5.0" | |||
web: ">=0.3.0 <0.6.0" # because google_identity_services |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment explaining the lower limit or the upper limit? More details would help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is because google_identity_services
has not been upgraded yet...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment explains the upper limit, this is the package I'll immediately update after landing this PR, so the upper limit will live there only for one small publish.
packages/video_player/video_player_web/example/integration_test/utils.dart
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM modulo the changelog nits
Applying |
This PR updates `google_sign_in_web` to use package `web: ^0.5.0`. ## Testing Manually verified using the `example/lib/button_tester.dart` app. This should be text exempt? This is a refactor with no semantic change (also, I wouldn't know how to test we're using `package:web` the expected way!) I removed a couple of `//ignore` at least! ## Issues * Fast follow of: #5791
flutter/packages@8bba41b...48048f6 2024-02-20 [email protected] [google_sign_in_web] Updates package:web dependency to 0.5.0. (flutter/packages#6167) 2024-02-20 [email protected] [web] Updates package:web dependency to ^0.5.0. (flutter/packages#5791) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC [email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This PR updates the packages that are using `package:web` to version `^0.5.0`. Ancilliary changes: * Bump `environment` to `flutter: ">=3.19.0"` and `sdk: ^3.3.0`. * Bump version to next `Y` * Clean-up code that was kept for compatibility with versions of `web: <0.5.0`. The main exception to this is `package:google_sign_in_web`, which depends on a version of `google_identity_services_web` that has a dependency on package:web that is `<0.5.0`, so that package needs to have a range until `google_identity_services_web` gets published with the new ^0.5.0 dependency. Co-Authored-By: David Iglesias<[email protected]>
…r#6167) This PR updates `google_sign_in_web` to use package `web: ^0.5.0`. ## Testing Manually verified using the `example/lib/button_tester.dart` app. This should be text exempt? This is a refactor with no semantic change (also, I wouldn't know how to test we're using `package:web` the expected way!) I removed a couple of `//ignore` at least! ## Issues * Fast follow of: flutter#5791
This PR updates the packages that are using
package:web
to version^0.5.0
.Ancilliary changes:
environment
toflutter: ">=3.19.0"
andsdk: ^3.3.0
.Y
web: <0.5.0
.The main exception to this is
package:google_sign_in_web
, which depends on a version ofgoogle_identity_services_web
that has a dependency on package:web that is<0.5.0
, so that package needs to have a range untilgoogle_identity_services_web
gets published with the new ^0.5.0 dependency.Co-Authored-By: @ditman