Commit fe2a260
authored
## Related Issues
fixes #4669
<!--
Update to link the issue that is going to be fixed by this.
Unless this concerns documentation, make sure to create an issue first
before raising a PR.
You do not need to describe what this PR is doing, as this should
already be covered by the associated issue.
If the linked issue isn't enough, then chances are a new issue
is needed.
Don't hesitate to create many issues! This can avoid working
on something, only to have your PR closed or have to be rewritten
due to a disagreement/misunderstanding.
-->
## Checklist
Before you create this PR confirm that it meets all requirements listed
below by checking the relevant checkboxes (`[x]`).
- [ ] I have updated the `CHANGELOG.md` of the relevant packages.
Changelog files must be edited under the form:
```md
## Unreleased fix/major/minor
- Description of your change. (thanks to @yourgithubid)
```
- [ ] If this contains new features or behavior changes,
I have updated the documentation to match those changes.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Fixed an issue where resuming a paused provider could fail to notify
listeners, ensuring buffered events are processed on resume.
* **Tests**
* Added regression tests covering provider flush/notification behavior
across navigation/resume scenarios.
* **Documentation**
* Updated changelogs to add an "Unreleased fix" entry and remove
duplicated/incorrect bullets for prior releases.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent f8734c9 commit fe2a260
File tree
5 files changed
+67
-6
lines changed- packages
- flutter_riverpod
- test/src/core
- hooks_riverpod
- riverpod
- lib/src/core
5 files changed
+67
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
723 | 728 | | |
724 | 729 | | |
725 | 730 | | |
726 | | - | |
727 | 731 | | |
728 | 732 | | |
729 | 733 | | |
| |||
1024 | 1028 | | |
1025 | 1029 | | |
1026 | 1030 | | |
1027 | | - | |
1028 | 1031 | | |
1029 | 1032 | | |
1030 | 1033 | | |
| |||
1498 | 1501 | | |
1499 | 1502 | | |
1500 | 1503 | | |
1501 | | - | |
| |||
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
878 | 883 | | |
879 | 884 | | |
880 | 885 | | |
881 | | - | |
882 | 886 | | |
883 | 887 | | |
884 | 888 | | |
| |||
1211 | 1215 | | |
1212 | 1216 | | |
1213 | 1217 | | |
1214 | | - | |
1215 | 1218 | | |
1216 | 1219 | | |
1217 | 1220 | | |
| |||
1700 | 1703 | | |
1701 | 1704 | | |
1702 | 1705 | | |
1703 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
0 commit comments