Skip to content

Commit 98a90d6

Browse files
Update plugin_platform_interface min version (flutter#3650)
To avoid intra-repo plugin conflicts during the NNBD stable migration, `plugin_platform_interface` allowed either 1.x or 2.0. However, 1.0.x isn't null-safe so this can cause apps that don't have all their packages fully updated can fail to run in strong mode (due to having an old local `plugin_platform_interface`. Now that everything has been updated, we can bump all the minimums so that people updating their plugins will get new versions of the dependency.
1 parent c42db71 commit 98a90d6

File tree

35 files changed

+105
-37
lines changed

35 files changed

+105
-37
lines changed

packages/battery/battery/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrate to null safety.

packages/battery/battery/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: battery
22
description: Flutter plugin for accessing information about the battery state
33
(full, charging, discharging) on Android and iOS.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/battery/battery
5-
version: 2.0.0
5+
version: 2.0.1
66

77
flutter:
88
plugin:
@@ -22,7 +22,7 @@ dependencies:
2222
dev_dependencies:
2323
flutter_test:
2424
sdk: flutter
25-
plugin_platform_interface: ">=1.0.0 <3.0.0"
25+
plugin_platform_interface: ^2.0.0
2626
integration_test:
2727
path: ../../integration_test
2828
pedantic: ^1.10.0

packages/battery/battery_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrate to null safety.

packages/battery/battery_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ description: A common platform interface for the battery plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/battery
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 2.0.0
6+
version: 2.0.1
77

88
dependencies:
99
flutter:
1010
sdk: flutter
1111
meta: ^1.3.0
12-
plugin_platform_interface: ">=1.0.0 <3.0.0"
12+
plugin_platform_interface: ^2.0.0
1313

1414
dev_dependencies:
1515
flutter_test:

packages/camera/camera_platform_interface/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
- Stable null safety release.
48

59
## 1.6.0
610

7-
- Added VideoRecordedEvent to support ending a video recording in the native implementation.
11+
- Added VideoRecordedEvent to support ending a video recording in the native implementation.
812

913
## 1.5.0
1014

packages/camera/camera_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ description: A common platform interface for the camera plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/camera/camera_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 2.0.0
6+
version: 2.0.1
77

88
dependencies:
99
flutter:
1010
sdk: flutter
1111
meta: ^1.3.0
12-
plugin_platform_interface: ">=1.0.0 <3.0.0"
12+
plugin_platform_interface: ^2.0.0
1313
cross_file: ^0.3.1
1414
stream_transform: ^2.0.0
1515

packages/connectivity/connectivity/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.0.2
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 3.0.1
26

37
* Migrate tests to null safety.

packages/connectivity/connectivity/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: connectivity
22
description: Flutter plugin for discovering the state of the network (WiFi &
33
mobile/cellular) connectivity on Android and iOS.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity
5-
version: 3.0.1
5+
version: 3.0.2
66

77
flutter:
88
plugin:
@@ -35,7 +35,7 @@ dev_dependencies:
3535
test: ^1.16.3
3636
integration_test:
3737
path: ../../integration_test
38-
plugin_platform_interface: ">=1.0.0 <3.0.0"
38+
plugin_platform_interface: ^2.0.0
3939
pedantic: ^1.10.0
4040

4141
environment:

packages/connectivity/connectivity_platform_interface/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrate to null safety.
@@ -12,7 +16,7 @@
1216

1317
## 1.0.5
1418

15-
* Remove dart:io Platform checks from the MethodChannel implementation. This is
19+
* Remove dart:io Platform checks from the MethodChannel implementation. This is
1620
tripping the analysis of other versions of the plugin.
1721

1822
## 1.0.4

packages/connectivity/connectivity_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ description: A common platform interface for the connectivity plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 2.0.0
6+
version: 2.0.1
77

88
dependencies:
99
flutter:
1010
sdk: flutter
1111
meta: ^1.3.0
12-
plugin_platform_interface: ">=1.0.0 <3.0.0"
12+
plugin_platform_interface: ^2.0.0
1313

1414
dev_dependencies:
1515
flutter_test:

packages/device_info/device_info_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrate to null safety.

packages/device_info/device_info_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ description: A common platform interface for the device_info plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/device_info
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 2.0.0
6+
version: 2.0.1
77

88
dependencies:
99
flutter:
1010
sdk: flutter
1111
meta: ^1.3.0
12-
plugin_platform_interface: ">=1.0.0 <3.0.0"
12+
plugin_platform_interface: ^2.0.0
1313

1414
dev_dependencies:
1515
flutter_test:

packages/file_selector/file_selector/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.2
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 0.8.1
26

37
Endorse the web implementation.

packages/file_selector/file_selector/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: file_selector
22
description: Flutter plugin for opening and saving files.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/file_selector/file_selector
4-
version: 0.8.1
4+
version: 0.8.2
55

66
flutter:
77
plugin:
@@ -19,7 +19,7 @@ dev_dependencies:
1919
flutter_test:
2020
sdk: flutter
2121
test: ^1.16.3
22-
plugin_platform_interface: ">=1.0.0 <3.0.0"
22+
plugin_platform_interface: ^2.0.0
2323
pedantic: ^1.10.0
2424

2525
environment:

packages/file_selector/file_selector_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.2
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.1
26

37
* Replace extensions with leading dots.

packages/file_selector/file_selector_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ description: A common platform interface for the file_selector plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/file_selector/file_selector_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 2.0.1
6+
version: 2.0.2
77

88
dependencies:
99
flutter:
1010
sdk: flutter
1111
meta: ^1.3.0
1212
http: ^0.13.0
13-
plugin_platform_interface: ">=1.0.0 <3.0.0"
13+
plugin_platform_interface: ^2.0.0
1414
cross_file: ^0.3.0
1515

1616
dev_dependencies:

packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrate to null-safety

packages/google_maps_flutter/google_maps_flutter/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: google_maps_flutter
22
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter/google_maps_flutter
4-
version: 2.0.0
4+
version: 2.0.1
55

66
dependencies:
77
flutter:
@@ -19,7 +19,7 @@ dev_dependencies:
1919
sdk: flutter
2020
test: ^1.16.0
2121
pedantic: ^1.10.0
22-
plugin_platform_interface: ">=1.0.0 <3.0.0"
22+
plugin_platform_interface: ^2.0.0
2323
stream_transform: ^2.0.0
2424

2525
flutter:

packages/google_maps_flutter/google_maps_flutter_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrated to null-safety.

packages/google_maps_flutter/google_maps_flutter_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ description: A common platform interface for the google_maps_flutter plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter/google_maps_flutter_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 2.0.0
6+
version: 2.0.1
77

88
dependencies:
99
flutter:
1010
sdk: flutter
1111
meta: ^1.3.0
12-
plugin_platform_interface: ">=1.0.0 <3.0.0"
12+
plugin_platform_interface: ^2.0.0
1313
stream_transform: ^2.0.0
1414
collection: ^1.15.0
1515

packages/image_picker/image_picker/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.7.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 0.7.0
26

37
* Migrate to nullsafety

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: image_picker
22
description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
5-
version: 0.7.0
5+
version: 0.7.1
66

77
flutter:
88
plugin:
@@ -26,7 +26,7 @@ dev_dependencies:
2626
path: ../../integration_test
2727
mockito: ^5.0.0-nullsafety.7
2828
pedantic: ^1.10.0
29-
plugin_platform_interface: ">=1.0.0 <3.0.0"
29+
plugin_platform_interface: ^2.0.0
3030

3131
environment:
3232
sdk: ">=2.12.0-259.9.beta <3.0.0"

packages/image_picker/image_picker_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrate to null safety.

packages/image_picker/image_picker_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ description: A common platform interface for the image_picker plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 2.0.0
6+
version: 2.0.1
77

88
dependencies:
99
flutter:
1010
sdk: flutter
1111
meta: ^1.3.0
1212
http: ^0.13.0
13-
plugin_platform_interface: ">=1.0.0 <3.0.0"
13+
plugin_platform_interface: ^2.0.0
1414

1515
dev_dependencies:
1616
flutter_test:

packages/path_provider/path_provider/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrate to null safety.

packages/path_provider/path_provider/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: path_provider
22
description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider
4-
version: 2.0.0
4+
version: 2.0.1
55

66
flutter:
77
plugin:
@@ -34,7 +34,7 @@ dev_dependencies:
3434
flutter_driver:
3535
sdk: flutter
3636
pedantic: ^1.10.0
37-
plugin_platform_interface: ">=1.0.0 <3.0.0"
37+
plugin_platform_interface: ^2.0.0
3838
test: ^1.16.0
3939

4040
environment:

packages/path_provider/path_provider_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 2.0.0
26

37
* Migrate to null safety.

packages/path_provider/path_provider_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ description: A common platform interface for the path_provider plugin.
33
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_platform_interface
44
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
55
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
6-
version: 2.0.0
6+
version: 2.0.1
77

88
dependencies:
99
flutter:
1010
sdk: flutter
1111
meta: ^1.3.0
1212
platform: ^3.0.0
13-
plugin_platform_interface: ">=1.0.0 <3.0.0"
13+
plugin_platform_interface: ^2.0.0
1414

1515
dev_dependencies:
1616
flutter_test:

packages/url_launcher/url_launcher/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.0.2
2+
3+
* Update platform_plugin_interface version requirement.
4+
15
## 6.0.1
26

37
* Update result to `True` on iOS when the url was loaded successfully.

packages/url_launcher/url_launcher/example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dev_dependencies:
1919
sdk: flutter
2020
pedantic: ^1.10.0
2121
mockito: ^5.0.0-nullsafety.7
22-
plugin_platform_interface: ">=1.0.0 <3.0.0"
22+
plugin_platform_interface: ^2.0.0
2323

2424
flutter:
2525
uses-material-design: true

0 commit comments

Comments
 (0)