Skip to content

Commit

Permalink
2.1.2 (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed Dec 24, 2022
1 parent ffdabd7 commit 07e603e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 12 deletions.
6 changes: 5 additions & 1 deletion packages/flutter_riverpod/CHANGELOG.md
@@ -1,7 +1,11 @@
## [Unreleased patch]
## 2.1.2

- It is now correctly possible to use `ProviderSubscription`s inside `ConsumerState.dispose` (thanks to @1980)
- Update dependencies.
- fixes an exception on newer Dart versions
- fixes an edge-case where `FutureProvider`/`AsyncNotifier` did not emit the new state when the created `Future` completed (#1997)
- fixes errors inside FutureProvider/AsyncNotifier/StreamProvider not preserving the previous state (if any).
- Update dependencies.

## 2.1.1

Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_riverpod/pubspec.yaml
Expand Up @@ -2,7 +2,7 @@ name: flutter_riverpod
description: >
A simple way to access state from anywhere in your application
while robust and testable.
version: 2.1.1
version: 2.1.2
homepage: https://riverpod.dev
repository: https://github.com/rrousselGit/riverpod

Expand All @@ -15,7 +15,7 @@ dependencies:
flutter:
sdk: flutter
meta: ^1.4.0
riverpod: 2.1.1
riverpod: 2.1.2
state_notifier: ^0.7.2

dev_dependencies:
Expand Down
7 changes: 6 additions & 1 deletion packages/hooks_riverpod/CHANGELOG.md
@@ -1,5 +1,10 @@
## [Unreleased patch]
## 2.1.2

- It is now correctly possible to use `ProviderSubscription`s inside `ConsumerState.dispose` (thanks to @1980)
- Update dependencies.
- fixes an exception on newer Dart versions
- fixes an edge-case where `FutureProvider`/`AsyncNotifier` did not emit the new state when the created `Future` completed (#1997)
- fixes errors inside FutureProvider/AsyncNotifier/StreamProvider not preserving the previous state (if any).
- Update dependencies.

## 2.1.1
Expand Down
6 changes: 3 additions & 3 deletions packages/hooks_riverpod/pubspec.yaml
Expand Up @@ -2,7 +2,7 @@ name: hooks_riverpod
description: >
A simple way to access state from anywhere in your application
while robust and testable.
version: 2.1.1
version: 2.1.2
homepage: https://riverpod.dev
repository: https://github.com/rrousselGit/riverpod

Expand All @@ -15,8 +15,8 @@ dependencies:
flutter:
sdk: flutter
flutter_hooks: ^0.18.0
flutter_riverpod: 2.1.1
riverpod: 2.1.1
flutter_riverpod: 2.1.2
riverpod: 2.1.2
state_notifier: ^0.7.2

dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion packages/riverpod/CHANGELOG.md
@@ -1,4 +1,4 @@
## [Unreleased patch]
## 2.1.2

- Update dependencies.
- fixes an exception on newer Dart versions
Expand Down
2 changes: 1 addition & 1 deletion packages/riverpod/pubspec.yaml
Expand Up @@ -2,7 +2,7 @@ name: riverpod
description: >
A simple way to access state from anywhere in your application while robust
and testable.
version: 2.1.1
version: 2.1.2
homepage: https://riverpod.dev
repository: https://github.com/rrousselGit/riverpod

Expand Down
6 changes: 3 additions & 3 deletions website/docs/getting_started.mdx
Expand Up @@ -50,7 +50,7 @@ dependencies:
flutter:
sdk: flutter
flutter_hooks: ^0.18.0
hooks_riverpod: ^2.1.1
hooks_riverpod: ^2.1.2
```

Then run `flutter pub get`.
Expand All @@ -66,7 +66,7 @@ environment:
dependencies:
flutter:
sdk: flutter
flutter_riverpod: ^2.1.1
flutter_riverpod: ^2.1.2
```

Then run `flutter pub get`.
Expand All @@ -79,7 +79,7 @@ environment:
sdk: ">=2.12.0-0 <3.0.0"

dependencies:
riverpod: ^2.1.1
riverpod: ^2.1.2
```

Then run `dart pub get`.
Expand Down

0 comments on commit 07e603e

Please sign in to comment.