Skip to content

Commit

Permalink
[shared_preferences] Bump platform versions to NNBD stable (flutter#3595
Browse files Browse the repository at this point in the history
)
  • Loading branch information
stuartmorgan authored Feb 22, 2021
1 parent d3ab071 commit 1baec7a
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 65 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
## 2.0.0-nullsafety

* Update version for consistency.

## 0.0.4-nullsafety
## 2.0.0

* Migrate to null-safety.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ dev_dependencies:
sdk: flutter
integration_test:
path: ../../../integration_test
pedantic: ^1.8.0
pedantic: ^1.10.0

flutter:
uses-material-design: true

environment:
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.8"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.20.0"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: shared_preferences_linux
description: Linux implementation of the shared_preferences plugin
version: 2.0.0-nullsafety
version: 2.0.0
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_linux

flutter:
Expand All @@ -11,19 +11,19 @@ flutter:
pluginClass: none

environment:
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.8"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.20.0"

dependencies:
flutter:
sdk: flutter
file: ^6.0.0-nullsafety.4
meta: ^1.0.4
path: ^1.8.0-nullsafety.3
path_provider_linux: ^0.2.0-nullsafety
shared_preferences_platform_interface: ^2.0.0-nullsafety
file: ^6.0.0
meta: ^1.3.0
path: ^1.8.0
path_provider_linux: ^2.0.0
shared_preferences_platform_interface: ^2.0.0

dev_dependencies:
flutter_test:
sdk: flutter
pedantic: ^1.8.0
pedantic: ^1.10.0
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
## 2.0.0-nullsafety
## 2.0.0

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.0.2-nullsafety

* Update Dart SDK constraint for null safety.
* Migrate to null safety.

## 0.0.1+12

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Demonstrates how to use the shared_preferences plugin.
dependencies:
flutter:
sdk: flutter
shared_preferences_platform_interface: ^2.0.0-nullsafety
shared_preferences_platform_interface: ^2.0.0
shared_preferences_macos:
# When depending on this package from a real application you should use:
# shared_preferences_macos: ^x.y.z
Expand All @@ -18,11 +18,11 @@ dev_dependencies:
sdk: flutter
integration_test:
path: ../../../integration_test
pedantic: ^1.8.0
pedantic: ^1.10.0

flutter:
uses-material-design: true

environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.12.8"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: shared_preferences_macos
description: macOS implementation of the shared_preferences plugin.
version: 2.0.0-nullsafety
version: 2.0.0
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_macos

flutter:
Expand All @@ -10,13 +10,13 @@ flutter:
pluginClass: SharedPreferencesPlugin

environment:
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.8"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.20.0"

dependencies:
shared_preferences_platform_interface: ^2.0.0-nullsafety
shared_preferences_platform_interface: ^2.0.0
flutter:
sdk: flutter

dev_dependencies:
pedantic: ^1.8.0
pedantic: ^1.10.0
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
## 2.0.0-nullsafety

* Update version to (semi-belatedly) meet 1.0-consistency promise.

## 0.2.0-nullsafety
## 2.0.0

* Migrate to null-safety.

Expand Down
12 changes: 6 additions & 6 deletions packages/shared_preferences/shared_preferences_web/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: shared_preferences_web
description: Web platform implementation of shared_preferences
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_web
version: 2.0.0-nullsafety
version: 2.0.0

flutter:
plugin:
Expand All @@ -11,18 +11,18 @@ flutter:
fileName: shared_preferences_web.dart

dependencies:
shared_preferences_platform_interface: ^2.0.0-nullsafety
shared_preferences_platform_interface: ^2.0.0
flutter:
sdk: flutter
flutter_web_plugins:
sdk: flutter
meta: ^1.1.7
meta: ^1.3.0

dev_dependencies:
flutter_test:
sdk: flutter
pedantic: ^1.8.0
pedantic: ^1.10.0

environment:
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.13+hotfix.4"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.20.0"
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@

## 2.0.0-nullsafety

* Update version for consistency.

## 0.0.3-nullsafety
## 2.0.0

* Migrate to null-safety.

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: shared_preferences_windows_example
description: Demonstrates how to use the shared_preferences_windows plugin.

environment:
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.8"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.20.0"

dependencies:
flutter:
sdk: flutter
shared_preferences_windows: ^0.0.1
shared_preferences_windows: ^2.0.0

dependency_overrides:
shared_preferences_windows:
Expand All @@ -24,7 +24,7 @@ dev_dependencies:
sdk: flutter
integration_test:
path: ../../../integration_test
pedantic: ^1.8.0
pedantic: ^1.10.0

flutter:
uses-material-design: true
20 changes: 10 additions & 10 deletions packages/shared_preferences/shared_preferences_windows/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: shared_preferences_windows
description: Windows implementation of shared_preferences
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_windows
version: 2.0.0-nullsafety
version: 2.0.0


flutter:
Expand All @@ -12,20 +12,20 @@ flutter:
pluginClass: none

environment:
sdk: '>=2.12.0-0 <3.0.0'
flutter: ">=1.12.8"
sdk: '>=2.12.0-259.9.beta <3.0.0'
flutter: ">=1.20.0"

dependencies:
shared_preferences_platform_interface: ^2.0.0-nullsafety
shared_preferences_platform_interface: ^2.0.0
flutter:
sdk: flutter
file: ^6.0.0-nullsafety.4
meta: ^1.1.7
path: ^1.6.4
path_provider_platform_interface: ^2.0.0-nullsafety
path_provider_windows: ^0.1.0-nullsafety.2
file: ^6.0.0
meta: ^1.3.0
path: ^1.8.0
path_provider_platform_interface: ^2.0.0
path_provider_windows: ^2.0.0

dev_dependencies:
flutter_test:
sdk: flutter
pedantic: ^1.10.0-nullsafety.3
pedantic: ^1.10.0

0 comments on commit 1baec7a

Please sign in to comment.