From a4925fae82cf0811325a6cec6eb8800db38d1845 Mon Sep 17 00:00:00 2001 From: Filip Hracek Date: Tue, 27 Aug 2019 15:39:05 -0700 Subject: [PATCH] Add deprecation notice See https://github.com/google/flutter-provide/issues/3#issuecomment-525503648 for more context. --- CHANGELOG.md | 6 ++++++ README.md | 21 +++++++++++++-------- pubspec.yaml | 2 +- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e06c064..02d0a92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.3 + +- Added deprecation notice. Please use `package:provider` instead. +- See [Issue #3](https://github.com/google/flutter-provide/issues/3#issuecomment-525503648) + for more context + ## 1.0.2 - Update README with a note about `package:provider` and `package:scoped_model` diff --git a/README.md b/README.md index 941b5ef..d471901 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ -**NOTE 2019-02-21:** There's a discussion in the Flutter community over the difference between this -package, `package:provider`, and `package:scoped_model`. There is a possibility that (some) -of these efforts will merge. Learn more in issue -[#3](https://github.com/google/flutter-provide/issues/3). +**DEPRECATION NOTE:** +After discussion in the Flutter community over the difference between this +package, `package:provider`, and `package:scoped_model` (all with a similar, +InheritedWidget-based philosophy), we have decided to merge these efforts. -If you must choose a package today, it's safer to go with `package:scoped_model` than with this -package. +The community-initiated `provider` supersedes this package, `provide`. Get `provider` +[here](https://pub.dev/packages/provider). + +To be clear, this package will always be available at +[pub.dev/packages/provide](https://pub.dev/packages/provide) — pub doesn't allow +packages to "disappear". But the package likely won't be upgraded. + +See [Issue #3](https://github.com/google/flutter-provide/issues/3) for the full +discussion. -Watch the issue above or follow [Flutter's Twitter account](https://twitter.com/flutterio) -for updates. --- diff --git a/pubspec.yaml b/pubspec.yaml index fb2eed5..b73fc69 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: provide -version: 1.0.2 +version: 1.0.3 description: > A simple framework for state management in Flutter. This package contains classes to allow the passing of data down the widget tree.