Upgrading riverpod 0.6 to 0.7
Breaking0.6.1 → 0.7.0Breaking1New1Fixed1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- A provider that is not set to auto-dispose can no longer watch one that is, so some existing provider relationships will stop compiling.
Must act 1 item needs code or config changes
What you must change
Breaking1
ref.watch on non ".autoDispose" providers can no longer read ".autoDispose" providers.ref.watchautoDisposeAPI changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- changed:
method ProviderReference.watch<T>(RootProvider<Object, T> provider): T → method ProviderReference.watch<T>(AlwaysAliveProviderBase<Object, T> provider): T