[various] Add `http` 1.0 compatibility (#4147)
The `http` package was updated to 1.0. There are no change that affect our usage (it just adds new class restrictions), so this extends all dependencies to include both 0.13.x and 1.x.
All changes here are tool-applied (`update-dependencies` and `update-release-info`) except for the script/tools/ pubspec update, so are identical in all packages.
Fixes https://github.com/flutter/flutter/issues/127926
diff --git a/packages/extension_google_sign_in_as_googleapis_auth/CHANGELOG.md b/packages/extension_google_sign_in_as_googleapis_auth/CHANGELOG.md
index f396a1e..1c8f46b 100644
--- a/packages/extension_google_sign_in_as_googleapis_auth/CHANGELOG.md
+++ b/packages/extension_google_sign_in_as_googleapis_auth/CHANGELOG.md
@@ -1,5 +1,6 @@
-## NEXT
+## 2.0.10
+* Adds compatibility with `http` 1.0.
* Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
* Aligns Dart and Flutter SDK constraints.
diff --git a/packages/extension_google_sign_in_as_googleapis_auth/pubspec.yaml b/packages/extension_google_sign_in_as_googleapis_auth/pubspec.yaml
index 05cd7c5..c44fe6e 100644
--- a/packages/extension_google_sign_in_as_googleapis_auth/pubspec.yaml
+++ b/packages/extension_google_sign_in_as_googleapis_auth/pubspec.yaml
@@ -8,7 +8,7 @@
description: A bridge package between google_sign_in and googleapis_auth, to create Authenticated Clients from google_sign_in user credentials.
repository: https://github.com/flutter/packages/tree/main/packages/extension_google_sign_in_as_googleapis_auth
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+extension_google_sign_in_as_googleapis_auth%22
-version: 2.0.9
+version: 2.0.10
environment:
sdk: ">=2.18.0 <4.0.0"
@@ -19,7 +19,7 @@
sdk: flutter
google_sign_in: ">=5.0.0 <7.0.0"
googleapis_auth: ^1.1.0
- http: ^0.13.0
+ http: ">=0.13.0 <2.0.0"
meta: ^1.3.0
dev_dependencies:
diff --git a/packages/file_selector/file_selector_platform_interface/CHANGELOG.md b/packages/file_selector/file_selector_platform_interface/CHANGELOG.md
index 0ede4dd..ba4ed2c 100644
--- a/packages/file_selector/file_selector_platform_interface/CHANGELOG.md
+++ b/packages/file_selector/file_selector_platform_interface/CHANGELOG.md
@@ -1,5 +1,6 @@
-## NEXT
+## 2.5.1
+* Adds compatibility with `http` 1.0.
* Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
## 2.5.0
diff --git a/packages/file_selector/file_selector_platform_interface/pubspec.yaml b/packages/file_selector/file_selector_platform_interface/pubspec.yaml
index 94023c9..b7ce75d 100644
--- a/packages/file_selector/file_selector_platform_interface/pubspec.yaml
+++ b/packages/file_selector/file_selector_platform_interface/pubspec.yaml
@@ -4,7 +4,7 @@
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
-version: 2.5.0
+version: 2.5.1
environment:
sdk: ">=2.18.0 <4.0.0"
@@ -14,7 +14,7 @@
cross_file: ^0.3.0
flutter:
sdk: flutter
- http: ^0.13.0
+ http: ">=0.13.0 <2.0.0"
plugin_platform_interface: ^2.1.0
dev_dependencies:
diff --git a/packages/google_identity_services_web/example/pubspec.yaml b/packages/google_identity_services_web/example/pubspec.yaml
index 3244341..16e6d3d 100644
--- a/packages/google_identity_services_web/example/pubspec.yaml
+++ b/packages/google_identity_services_web/example/pubspec.yaml
@@ -11,7 +11,7 @@
sdk: flutter
google_identity_services_web:
path: ../
- http: ^0.13.5
+ http: ">=0.13.0 <2.0.0"
js: ^0.6.4
dev_dependencies:
diff --git a/packages/google_maps_flutter/google_maps_flutter_web/example/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter_web/example/pubspec.yaml
index 60c6b72..525576f 100644
--- a/packages/google_maps_flutter/google_maps_flutter_web/example/pubspec.yaml
+++ b/packages/google_maps_flutter/google_maps_flutter_web/example/pubspec.yaml
@@ -21,7 +21,7 @@
sdk: flutter
google_maps: ^6.1.0
google_maps_flutter: ^2.2.0 # Needed for projection_test.dart
- http: ^1.0.0
+ http: ">=0.13.0 <2.0.0"
integration_test:
sdk: flutter
mockito: 5.4.1
diff --git a/packages/google_sign_in/google_sign_in/CHANGELOG.md b/packages/google_sign_in/google_sign_in/CHANGELOG.md
index 4b57520..8263f8d 100644
--- a/packages/google_sign_in/google_sign_in/CHANGELOG.md
+++ b/packages/google_sign_in/google_sign_in/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 6.1.4
+
+* Adds compatibility with `http` 1.0.
+
## 6.1.3
* Clarifies `canAccessScopes` method documentation.
diff --git a/packages/google_sign_in/google_sign_in/example/pubspec.yaml b/packages/google_sign_in/google_sign_in/example/pubspec.yaml
index 46791b7..df47e48 100644
--- a/packages/google_sign_in/google_sign_in/example/pubspec.yaml
+++ b/packages/google_sign_in/google_sign_in/example/pubspec.yaml
@@ -18,7 +18,7 @@
path: ../
google_sign_in_platform_interface: ^2.4.0
google_sign_in_web: ^0.12.0
- http: ^0.13.0
+ http: ">=0.13.0 <2.0.0"
dev_dependencies:
espresso: ^0.2.0
diff --git a/packages/google_sign_in/google_sign_in/pubspec.yaml b/packages/google_sign_in/google_sign_in/pubspec.yaml
index b41fda8..2464d4f 100644
--- a/packages/google_sign_in/google_sign_in/pubspec.yaml
+++ b/packages/google_sign_in/google_sign_in/pubspec.yaml
@@ -3,7 +3,7 @@
for signing in with a Google account on Android and iOS.
repository: https://github.com/flutter/packages/tree/main/packages/google_sign_in/google_sign_in
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22
-version: 6.1.3
+version: 6.1.4
environment:
sdk: ">=2.18.0 <4.0.0"
@@ -33,7 +33,7 @@
sdk: flutter
flutter_test:
sdk: flutter
- http: ^0.13.0
+ http: ">=0.13.0 <2.0.0"
integration_test:
sdk: flutter
mockito: 5.4.1
diff --git a/packages/google_sign_in/google_sign_in_android/example/pubspec.yaml b/packages/google_sign_in/google_sign_in_android/example/pubspec.yaml
index 6306864..cdd3f76 100644
--- a/packages/google_sign_in/google_sign_in_android/example/pubspec.yaml
+++ b/packages/google_sign_in/google_sign_in_android/example/pubspec.yaml
@@ -17,7 +17,7 @@
# the parent directory to use the current plugin's version.
path: ../
google_sign_in_platform_interface: ^2.2.0
- http: ^0.13.0
+ http: ">=0.13.0 <2.0.0"
dev_dependencies:
espresso: ^0.2.0
diff --git a/packages/google_sign_in/google_sign_in_ios/example/pubspec.yaml b/packages/google_sign_in/google_sign_in_ios/example/pubspec.yaml
index ba9c8b1..a72b485 100644
--- a/packages/google_sign_in/google_sign_in_ios/example/pubspec.yaml
+++ b/packages/google_sign_in/google_sign_in_ios/example/pubspec.yaml
@@ -17,7 +17,7 @@
# the parent directory to use the current plugin's version.
path: ../
google_sign_in_platform_interface: ^2.2.0
- http: ^0.13.0
+ http: ">=0.13.0 <2.0.0"
dev_dependencies:
flutter_driver:
diff --git a/packages/google_sign_in/google_sign_in_web/CHANGELOG.md b/packages/google_sign_in/google_sign_in_web/CHANGELOG.md
index 6ac12d9..363226b 100644
--- a/packages/google_sign_in/google_sign_in_web/CHANGELOG.md
+++ b/packages/google_sign_in/google_sign_in_web/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.12.0+2
+
+* Adds compatibility with `http` 1.0.
+
## 0.12.0+1
* Fixes unawaited_futures violations.
diff --git a/packages/google_sign_in/google_sign_in_web/example/pubspec.yaml b/packages/google_sign_in/google_sign_in_web/example/pubspec.yaml
index 2de0725..71fc2bb 100644
--- a/packages/google_sign_in/google_sign_in_web/example/pubspec.yaml
+++ b/packages/google_sign_in/google_sign_in_web/example/pubspec.yaml
@@ -20,7 +20,7 @@
sdk: flutter
flutter_test:
sdk: flutter
- http: ^0.13.0
+ http: ">=0.13.0 <2.0.0"
integration_test:
sdk: flutter
js: ^0.6.3
diff --git a/packages/google_sign_in/google_sign_in_web/pubspec.yaml b/packages/google_sign_in/google_sign_in_web/pubspec.yaml
index ccc8dc3..9a2847f 100644
--- a/packages/google_sign_in/google_sign_in_web/pubspec.yaml
+++ b/packages/google_sign_in/google_sign_in_web/pubspec.yaml
@@ -3,7 +3,7 @@
for signing in with a Google account on Android, iOS and Web.
repository: https://github.com/flutter/packages/tree/main/packages/google_sign_in/google_sign_in_web
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%22
-version: 0.12.0+1
+version: 0.12.0+2
environment:
sdk: ">=2.18.0 <4.0.0"
@@ -24,7 +24,7 @@
sdk: flutter
google_identity_services_web: ^0.2.1
google_sign_in_platform_interface: ^2.4.0
- http: ^0.13.5
+ http: ">=0.13.0 <2.0.0"
js: ^0.6.3
dev_dependencies:
diff --git a/packages/image_picker/image_picker_platform_interface/CHANGELOG.md b/packages/image_picker/image_picker_platform_interface/CHANGELOG.md
index 1308001..0e50cd2 100644
--- a/packages/image_picker/image_picker_platform_interface/CHANGELOG.md
+++ b/packages/image_picker/image_picker_platform_interface/CHANGELOG.md
@@ -1,5 +1,6 @@
-## NEXT
+## 2.6.4
+* Adds compatibility with `http` 1.0.
* Updates minimum supported SDK version to Flutter 3.3/Dart 2.18.
* Aligns Dart and Flutter SDK constraints.
diff --git a/packages/image_picker/image_picker_platform_interface/pubspec.yaml b/packages/image_picker/image_picker_platform_interface/pubspec.yaml
index 5bc22ae..9c8a55a 100644
--- a/packages/image_picker/image_picker_platform_interface/pubspec.yaml
+++ b/packages/image_picker/image_picker_platform_interface/pubspec.yaml
@@ -4,7 +4,7 @@
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
-version: 2.6.3
+version: 2.6.4
environment:
sdk: ">=2.18.0 <4.0.0"
@@ -14,7 +14,7 @@
cross_file: ^0.3.1+1
flutter:
sdk: flutter
- http: ^0.13.0
+ http: ">=0.13.0 <2.0.0"
plugin_platform_interface: ^2.1.0
dev_dependencies:
diff --git a/packages/metrics_center/CHANGELOG.md b/packages/metrics_center/CHANGELOG.md
index ba74ca1..270f34f 100644
--- a/packages/metrics_center/CHANGELOG.md
+++ b/packages/metrics_center/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.0.9
+
+* Adds compatibility with `http` 1.0.
+
## 1.0.8
* Removes obsolete null checks on non-nullable values.
diff --git a/packages/metrics_center/pubspec.yaml b/packages/metrics_center/pubspec.yaml
index 128b98b..4fd8fa9 100644
--- a/packages/metrics_center/pubspec.yaml
+++ b/packages/metrics_center/pubspec.yaml
@@ -1,5 +1,5 @@
name: metrics_center
-version: 1.0.8
+version: 1.0.9
description:
Support multiple performance metrics sources/formats and destinations.
repository: https://github.com/flutter/packages/tree/main/packages/metrics_center
@@ -14,7 +14,7 @@
gcloud: ^0.8.2
googleapis: ^3.0.0
googleapis_auth: ^1.1.0
- http: ^0.13.3
+ http: ">=0.13.0 <2.0.0"
dev_dependencies:
build_runner: ^2.1.1
diff --git a/script/tool/pubspec.yaml b/script/tool/pubspec.yaml
index 0926fe4..44babd7 100644
--- a/script/tool/pubspec.yaml
+++ b/script/tool/pubspec.yaml
@@ -11,7 +11,7 @@
file: ^6.1.0
# Pin git to 2.0.x until dart >=2.18 is legacy
git: '>=2.0.0 <2.1.0'
- http: ^0.13.3
+ http: '>=0.13.3 <2.0.0'
http_multi_server: ^3.0.1
meta: ^1.3.0
path: ^1.8.0