Skip to content

Commit

Permalink
Merge branch 'dev' into fix-2420
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit authored Nov 13, 2023
2 parents 8f3a918 + 7d5e52a commit f76e77f
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 23 deletions.
8 changes: 5 additions & 3 deletions packages/flutter_riverpod/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Riverpod is now stable!
- **Breaking** The return value when reading a `StateProvider` changed.
Before, doing `ref.read(someStateProvider)` would return the `StateController` instance.
Now, this will only return the state of the `StateController`.
This new behaviour matches `StateNotifierProvider`.
This new behavior matches `StateNotifierProvider`.

For a simple migration, the old behavior is available by writing
`ref.read(someStateProvider.state)`.
Expand Down Expand Up @@ -635,7 +635,7 @@ Fix an issue where `*Provider.autoDispose` were not able to specify the
### Bug-fixes

- fixed a bug where providers were rebuilding even when not listened to
- fixed `ref.listen` now working when downcasting the value of a provider.
- fixed `ref.listen` now working when downcasing the value of a provider.
- fixed a bug where disposing a scoped `ProviderContainer` could cause other
`ProviderContainer`s to stop working.
- fixed an issue where conditionally depending on an "autoDispose" provider
Expand Down Expand Up @@ -821,7 +821,7 @@ Removed an assert that could cause issues when an application is partially migra

## 0.14.0+1

- Re-added `StateProvider.overrideWithValue`/`StateProvider.overrideWithProvider` that were unvoluntarily removed.
- Re-added `StateProvider.overrideWithValue`/`StateProvider.overrideWithProvider` that were involuntarily removed.

## 0.14.0

Expand Down Expand Up @@ -1240,3 +1240,5 @@ The behavior is the same. Only the syntax changed.
## 0.1.0

Initial release

<!-- cSpell:ignoreRegExp @\w+ -->
4 changes: 3 additions & 1 deletion packages/hooks_riverpod/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ Fix an issue where `*Provider.autoDispose` were not able to specify the
### Bug-fixes

- fixed a bug where providers were rebuilding even when not listened to
- fixed `ref.listen` now working when downcasting the value of a provider.
- fixed `ref.listen` now working when downcasing the value of a provider.
- fixed a bug where disposing a scoped `ProviderContainer` could cause other
`ProviderContainer`s to stop working.
- fixed an issue where conditionally depending on an "autoDispose" provider
Expand Down Expand Up @@ -1435,3 +1435,5 @@ The behavior is the same. Only the syntax changed.
## 0.1.0

Initial release

<!-- cSpell:ignoreRegExp @\w+ -->
8 changes: 5 additions & 3 deletions packages/riverpod/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ Riverpod is now stable!
- **Breaking** The return value when reading a `StateProvider` changed.
Before, doing `ref.read(someStateProvider)` would return the `StateController` instance.
Now, this will only return the state of the `StateController`.
This new behaviour matches `StateNotifierProvider`.
This new behavior matches `StateNotifierProvider`.

For a simple migration, the old behavior is available by writing
`ref.read(someStateProvider.state)`.
Expand Down Expand Up @@ -682,7 +682,7 @@ Fix an issue where `*Provider.autoDispose` were not able to specify the
### Bug-fixes

- fixed a bug where providers were rebuilding even when not being listened to
- fixed `ref.listen` now working when downcasting the value of a provider.
- fixed `ref.listen` now working when downcasing the value of a provider.
- fixed a bug where disposing a scoped `ProviderContainer` could cause other
`ProviderContainer`s to stop working.
- fixed an issue where conditionally depending on an "autoDispose" provider
Expand Down Expand Up @@ -821,7 +821,7 @@ Removed an assert that could cause issues when an application is partially migra

## 0.14.0+1

- Re-added `StateProvider.overrideWithValue`/`StateProvider.overrideWithProvider` that were unvoluntarily removed.
- Re-added `StateProvider.overrideWithValue`/`StateProvider.overrideWithProvider` that were involuntarily removed.

## 0.14.0

Expand Down Expand Up @@ -1158,3 +1158,5 @@ The behavior is the same. Only the syntax changed.
## 0.1.0

Initial release

<!-- cSpell:ignoreRegExp @\w+ -->
4 changes: 3 additions & 1 deletion packages/riverpod_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Upgrade Riverpod to latest

## 1.1.0

- The generated hash function of providers is now correctluy private (thanks to @westito)
- The generated hash function of providers is now correctly private (thanks to @westito)
- Allow customizing the name of the generated providers (thanks to @trejdych)
- Update dependencies.

Expand Down Expand Up @@ -225,3 +225,5 @@ Fix version conflict with Riverpod
## 1.0.0

Initial release

<!-- cSpell:ignoreRegExp @\w+ -->
6 changes: 4 additions & 2 deletions packages/riverpod_lint/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## 2.3.4 - 2023-11-13

- Updated `scoped_providers_should_specify_dependencies` to ignore instances of using pumpWidget in tests (thanks to [lockieRichter](https://github.com/lockieRichter))
- Updated `scoped_providers_should_specify_dependencies` to ignore instances of using pumpWidget in tests (thanks to @lockieRichter)

## 2.3.3 - 2023-10-28

Expand All @@ -26,7 +26,7 @@

## 2.3.0 - 2023-10-06

- Added `async_value_nullable_patttern` lint, to warn against using `AsyncValue(:final value?)` in pattern match when `value` is possibly nullable.
- Added `async_value_nullable_pattern` lint, to warn against using `AsyncValue(:final value?)` in pattern match when `value` is possibly nullable.
- Added `protected_notifier_state` lint, which warns against using the `Notifier.state`
property of a notifier different than the current one.
Aka a Notifier "A" should not directly access the `state` if a Notifier "B".
Expand Down Expand Up @@ -185,3 +185,5 @@ Fix quick-fix for provider_dependencies
## 1.0.0

Initial release

<!-- cSpell:ignoreRegExp @\w+ -->

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

59 changes: 50 additions & 9 deletions website/docs/essentials/passing_args/codegen/provider.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f76e77f

Please sign in to comment.