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:

0 commit comments

Comments
 (0)