Skip to content

Commit

Permalink
Update plugin_platform_interface min version (flutter#3650)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
stuartmorgan authored Mar 1, 2021
1 parent c42db71 commit 98a90d6
Show file tree
Hide file tree
Showing 35 changed files with 105 additions and 37 deletions.
4 changes: 4 additions & 0 deletions packages/battery/battery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null safety.
Expand Down
4 changes: 2 additions & 2 deletions packages/battery/battery/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: battery
description: Flutter plugin for accessing information about the battery state
(full, charging, discharging) on Android and iOS.
homepage: https://github.com/flutter/plugins/tree/master/packages/battery/battery
version: 2.0.0
version: 2.0.1

flutter:
plugin:
Expand All @@ -22,7 +22,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0
integration_test:
path: ../../integration_test
pedantic: ^1.10.0
Expand Down
4 changes: 4 additions & 0 deletions packages/battery/battery_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null safety.
Expand Down
4 changes: 2 additions & 2 deletions packages/battery/battery_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ description: A common platform interface for the battery plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/battery
# 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.0.0
version: 2.0.1

dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0

dev_dependencies:
flutter_test:
Expand Down
6 changes: 5 additions & 1 deletion packages/camera/camera_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

- Stable null safety release.

## 1.6.0

- Added VideoRecordedEvent to support ending a video recording in the native implementation.
- Added VideoRecordedEvent to support ending a video recording in the native implementation.

## 1.5.0

Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ description: A common platform interface for the camera plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/camera/camera_platform_interface
# 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.0.0
version: 2.0.1

dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0
cross_file: ^0.3.1
stream_transform: ^2.0.0

Expand Down
4 changes: 4 additions & 0 deletions packages/connectivity/connectivity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.2

* Update platform_plugin_interface version requirement.

## 3.0.1

* Migrate tests to null safety.
Expand Down
4 changes: 2 additions & 2 deletions packages/connectivity/connectivity/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: connectivity
description: Flutter plugin for discovering the state of the network (WiFi &
mobile/cellular) connectivity on Android and iOS.
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity
version: 3.0.1
version: 3.0.2

flutter:
plugin:
Expand Down Expand Up @@ -35,7 +35,7 @@ dev_dependencies:
test: ^1.16.3
integration_test:
path: ../../integration_test
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0
pedantic: ^1.10.0

environment:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null safety.
Expand All @@ -12,7 +16,7 @@

## 1.0.5

* Remove dart:io Platform checks from the MethodChannel implementation. This is
* Remove dart:io Platform checks from the MethodChannel implementation. This is
tripping the analysis of other versions of the plugin.

## 1.0.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ description: A common platform interface for the connectivity plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_platform_interface
# 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.0.0
version: 2.0.1

dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0

dev_dependencies:
flutter_test:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null safety.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ description: A common platform interface for the device_info plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/device_info
# 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.0.0
version: 2.0.1

dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0

dev_dependencies:
flutter_test:
Expand Down
4 changes: 4 additions & 0 deletions packages/file_selector/file_selector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.8.2

* Update platform_plugin_interface version requirement.

## 0.8.1

Endorse the web implementation.
Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: file_selector
description: Flutter plugin for opening and saving files.
homepage: https://github.com/flutter/plugins/tree/master/packages/file_selector/file_selector
version: 0.8.1
version: 0.8.2

flutter:
plugin:
Expand All @@ -19,7 +19,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
test: ^1.16.3
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0
pedantic: ^1.10.0

environment:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.2

* Update platform_plugin_interface version requirement.

## 2.0.1

* Replace extensions with leading dots.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ description: A common platform interface for the file_selector plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/file_selector/file_selector_platform_interface
# 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.0.1
version: 2.0.2

dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
http: ^0.13.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0
cross_file: ^0.3.0

dev_dependencies:
Expand Down
4 changes: 4 additions & 0 deletions packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null-safety
Expand Down
4 changes: 2 additions & 2 deletions packages/google_maps_flutter/google_maps_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: google_maps_flutter
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter/google_maps_flutter
version: 2.0.0
version: 2.0.1

dependencies:
flutter:
Expand All @@ -19,7 +19,7 @@ dev_dependencies:
sdk: flutter
test: ^1.16.0
pedantic: ^1.10.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0
stream_transform: ^2.0.0

flutter:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrated to null-safety.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ description: A common platform interface for the google_maps_flutter plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter/google_maps_flutter_platform_interface
# 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.0.0
version: 2.0.1

dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0
stream_transform: ^2.0.0
collection: ^1.15.0

Expand Down
4 changes: 4 additions & 0 deletions packages/image_picker/image_picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.7.1

* Update platform_plugin_interface version requirement.

## 0.7.0

* Migrate to nullsafety
Expand Down
4 changes: 2 additions & 2 deletions packages/image_picker/image_picker/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: image_picker
description: Flutter plugin for selecting images from the Android and iOS image
library, and taking new pictures with the camera.
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
version: 0.7.0
version: 0.7.1

flutter:
plugin:
Expand All @@ -26,7 +26,7 @@ dev_dependencies:
path: ../../integration_test
mockito: ^5.0.0-nullsafety.7
pedantic: ^1.10.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0

environment:
sdk: ">=2.12.0-259.9.beta <3.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null safety.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ description: A common platform interface for the image_picker plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker_platform_interface
# 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.0.0
version: 2.0.1

dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
http: ^0.13.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0

dev_dependencies:
flutter_test:
Expand Down
4 changes: 4 additions & 0 deletions packages/path_provider/path_provider/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null safety.
Expand Down
4 changes: 2 additions & 2 deletions packages/path_provider/path_provider/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: path_provider
description: Flutter plugin for getting commonly used locations on host platform file systems, such as the temp and app data directories.
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider
version: 2.0.0
version: 2.0.1

flutter:
plugin:
Expand Down Expand Up @@ -34,7 +34,7 @@ dev_dependencies:
flutter_driver:
sdk: flutter
pedantic: ^1.10.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0
test: ^1.16.0

environment:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Update platform_plugin_interface version requirement.

## 2.0.0

* Migrate to null safety.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ description: A common platform interface for the path_provider plugin.
homepage: https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_platform_interface
# 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.0.0
version: 2.0.1

dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
platform: ^3.0.0
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0

dev_dependencies:
flutter_test:
Expand Down
4 changes: 4 additions & 0 deletions packages/url_launcher/url_launcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.0.2

* Update platform_plugin_interface version requirement.

## 6.0.1

* Update result to `True` on iOS when the url was loaded successfully.
Expand Down
2 changes: 1 addition & 1 deletion packages/url_launcher/url_launcher/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dev_dependencies:
sdk: flutter
pedantic: ^1.10.0
mockito: ^5.0.0-nullsafety.7
plugin_platform_interface: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.0

flutter:
uses-material-design: true
Expand Down
Loading

0 comments on commit 98a90d6

Please sign in to comment.