Skip to content

Commit

Permalink
[shared_preferences] Bump app-facing version for NNBD stable (flutter…
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmorgan authored and adsonpleal committed Feb 26, 2021
1 parent 060181c commit 11791c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
6 changes: 1 addition & 5 deletions packages/shared_preferences/shared_preferences/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
## 2.0.0-nullsafety.1

* Fix crash when list string's type is dynamic.

## 2.0.0-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"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.9.1+hotfix.2"
18 changes: 9 additions & 9 deletions packages/shared_preferences/shared_preferences/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: shared_preferences
description: Flutter plugin for reading and writing simple key-value pairs.
Wraps NSUserDefaults on iOS and SharedPreferences on Android.
homepage: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences
version: 2.0.0-nullsafety.1
version: 2.0.0

flutter:
plugin:
Expand All @@ -20,19 +20,19 @@ flutter:
default_package: shared_preferences_web

dependencies:
meta: ^1.0.4
meta: ^1.3.0
flutter:
sdk: flutter
shared_preferences_platform_interface: ^2.0.0-nullsafety
shared_preferences_platform_interface: ^2.0.0
# The design on https://flutter.dev/go/federated-plugins was to leave
# this constraint as "any". We cannot do it right now as it fails pub publish
# validation, so we set a ^ constraint.
# TODO(franciscojma): Revisit this (either update this part in the design or the pub tool).
# https://github.com/flutter/flutter/issues/46264
shared_preferences_linux: ^0.0.4-nullsafety
shared_preferences_macos: ^0.0.2-nullsafety
shared_preferences_web: ^0.2.0-nullsafety
shared_preferences_windows: ^0.0.3-nullsafety
shared_preferences_linux: ^2.0.0
shared_preferences_macos: ^2.0.0
shared_preferences_web: ^2.0.0
shared_preferences_windows: ^2.0.0

dev_dependencies:
flutter_test:
Expand All @@ -41,8 +41,8 @@ dev_dependencies:
sdk: flutter
integration_test:
path: ../../integration_test
pedantic: ^1.8.0
pedantic: ^1.10.0

environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.12.13+hotfix.5"

0 comments on commit 11791c1

Please sign in to comment.