Skip to content
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

Re-land: Enable prefer_mixin and bump plugin_platform_interface to 2.1.7 #5841

Merged
merged 2 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ linter:
- prefer_is_not_empty
- prefer_is_not_operator
- prefer_iterable_whereType
# - prefer_mixin # DIFFERENT FROM FLUTTER/FLUTTER: enable when v2.1.7 of plugin_platform_interface is the oldest supported version (which makes MockPlatformInterfaceMixin a mixin class)
- prefer_mixin
# - prefer_null_aware_method_calls # "call()" is confusing to people new to the language since it's not documented anywhere
- prefer_null_aware_operators
- prefer_relative_imports
Expand Down
4 changes: 4 additions & 0 deletions packages/camera/camera/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.10.5+9

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 0.10.5+8

* Fixes new lint warnings.
Expand Down
4 changes: 2 additions & 2 deletions packages/camera/camera/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Flutter plugin for controlling the camera. Supports previewing
Dart.
repository: https://github.com/flutter/packages/tree/main/packages/camera/camera
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
version: 0.10.5+8
version: 0.10.5+9

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down Expand Up @@ -33,7 +33,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
plugin_platform_interface: ^2.0.0
plugin_platform_interface: ^2.1.7

topics:
- camera
4 changes: 4 additions & 0 deletions packages/camera/camera_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.7.2

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 2.7.1

* Fixes new lint warnings.
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 @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/camera/camera
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%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.7.1
version: 2.7.2

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -14,7 +14,7 @@ dependencies:
cross_file: ^0.3.1
flutter:
sdk: flutter
plugin_platform_interface: ^2.1.0
plugin_platform_interface: ^2.1.7
stream_transform: ^2.0.0

dev_dependencies:
Expand Down
3 changes: 2 additions & 1 deletion packages/file_selector/file_selector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 1.0.2

* Updates minimum required plugin_platform_interface version to 2.1.7.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

## 1.0.1
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
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for opening and saving files, or selecting
directories, using native file selection UI.
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 1.0.1
version: 1.0.2

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down Expand Up @@ -39,7 +39,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
plugin_platform_interface: ^2.0.0
plugin_platform_interface: ^2.1.7
test: ^1.16.3

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

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 0.5.0+5

* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
Expand Down
4 changes: 2 additions & 2 deletions packages/file_selector/file_selector_android/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: file_selector_android
description: Android implementation of the file_selector package.
repository: https://github.com/flutter/packages/tree/main/packages/file_selector/file_selector_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
version: 0.5.0+5
version: 0.5.0+6

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -21,7 +21,7 @@ dependencies:
file_selector_platform_interface: ^2.5.0
flutter:
sdk: flutter
plugin_platform_interface: ^2.0.2
plugin_platform_interface: ^2.1.7

dev_dependencies:
build_runner: ^2.1.4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 2.6.2

* Updates minimum required plugin_platform_interface version to 2.1.7.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

## 2.6.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/file_selector
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.6.1
version: 2.6.2

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -15,7 +15,7 @@ dependencies:
flutter:
sdk: flutter
http: ">=0.13.0 <2.0.0"
plugin_platform_interface: ^2.1.0
plugin_platform_interface: ^2.1.7

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

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 2.5.1

* Fixes new lint warnings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.5.1
version: 2.5.2

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -29,7 +29,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
plugin_platform_interface: ^2.0.0
plugin_platform_interface: ^2.1.7
stream_transform: ^2.0.0

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

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 2.6.1

* Fixes new lint warnings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter_android
description: Android implementation of the google_maps_flutter plugin.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_android
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.6.1
version: 2.6.2

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -28,7 +28,7 @@ dev_dependencies:
async: ^2.5.0
flutter_test:
sdk: flutter
plugin_platform_interface: ^2.0.0
plugin_platform_interface: ^2.1.7

topics:
- google-maps
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.3.5

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 2.3.4

* Fixes new lint warnings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter_ios
description: iOS implementation of the google_maps_flutter plugin.
repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter_ios
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
version: 2.3.4
version: 2.3.5

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -26,7 +26,7 @@ dev_dependencies:
async: ^2.5.0
flutter_test:
sdk: flutter
plugin_platform_interface: ^2.0.0
plugin_platform_interface: ^2.1.7

topics:
- google-maps
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.4.3

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 2.4.2

* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/google_maps_f
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%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.4.2
version: 2.4.3

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -14,7 +14,7 @@ dependencies:
collection: ^1.15.0
flutter:
sdk: flutter
plugin_platform_interface: ^2.1.0
plugin_platform_interface: ^2.1.7
stream_transform: ^2.0.0

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

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 2.4.4

* Updates `clearAuthCache` override to match base class declaration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/google_sign_i
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+google_sign_in%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.4.4
version: 2.4.5

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -13,7 +13,7 @@ environment:
dependencies:
flutter:
sdk: flutter
plugin_platform_interface: ^2.1.0
plugin_platform_interface: ^2.1.7

dev_dependencies:
flutter_test:
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 @@
## 1.0.7

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 1.0.6

* Fixes new lint warnings.
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 @@ -3,7 +3,7 @@ description: Flutter plugin for selecting images from the Android and iOS image
library, and taking new pictures with the camera.
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
version: 1.0.6
version: 1.0.7

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down Expand Up @@ -42,7 +42,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
mockito: 5.4.4
plugin_platform_interface: ^2.0.0
plugin_platform_interface: ^2.1.7

topics:
- camera
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.9.3

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 2.9.2

* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/image_picker/
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.9.2
version: 2.9.3

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -15,7 +15,7 @@ dependencies:
flutter:
sdk: flutter
http: ">=0.13.0 <2.0.0"
plugin_platform_interface: ^2.1.0
plugin_platform_interface: ^2.1.7

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

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 3.1.12

* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
Expand Down
4 changes: 2 additions & 2 deletions packages/in_app_purchase/in_app_purchase/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: in_app_purchase
description: A Flutter plugin for in-app purchases. Exposes APIs for making in-app purchases through the App Store and Google Play.
repository: https://github.com/flutter/packages/tree/main/packages/in_app_purchase/in_app_purchase
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
version: 3.1.12
version: 3.1.13

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down Expand Up @@ -30,7 +30,7 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
plugin_platform_interface: ^2.0.0
plugin_platform_interface: ^2.1.7
test: ^1.16.0

topics:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 1.3.7

* Updates minimum required plugin_platform_interface version to 2.1.7.
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.

## 1.3.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/in_app_purcha
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%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: 1.3.6
version: 1.3.7

environment:
sdk: ">=3.0.0 <4.0.0"
Expand All @@ -13,7 +13,7 @@ environment:
dependencies:
flutter:
sdk: flutter
plugin_platform_interface: ^2.1.0
plugin_platform_interface: ^2.1.7

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

* Updates minimum required plugin_platform_interface version to 2.1.7.

## 2.1.7

* Adds pub topics to package metadata.
Expand Down
4 changes: 2 additions & 2 deletions packages/local_auth/local_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for Android and iOS devices to allow local
authentication via fingerprint, touch ID, face ID, passcode, pin, or pattern.
repository: https://github.com/flutter/packages/tree/main/packages/local_auth/local_auth
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
version: 2.1.7
version: 2.1.8

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down Expand Up @@ -33,7 +33,7 @@ dev_dependencies:
integration_test:
sdk: flutter
mockito: 5.4.4
plugin_platform_interface: ^2.1.2
plugin_platform_interface: ^2.1.7

topics:
- authentication
Expand Down
Loading