bloc_signals_riverpod 1.1.4
bloc_signals_riverpod: ^1.1.4 copied to clipboard
Riverpod interoperability adapters for BlocSignal state containers.
Changelog #
1.1.4 #
- Fix (riverpod): Resolve
RiverpodNotifierBlocSignal.notifierdynamically from the container across invalidations, forwardonErrorinRiverpodBlocSignalprovider subscriptions, guardBlocSignalNotifier.build()against synchronous mid-buildstateassignment, and evict closedautoClose: trueentries from_providerCache(#476).
1.1.3 #
- Fix (riverpod): Remove obsolete
invalid_use_of_protected_memberignore comment followingBlocSignalBase.equalsvisibility update (#320). - Dependencies: Bump
bloc_signalsto^1.6.0.
1.1.2 #
-
Fix
WidgetRefcontainer resolution, disposal lifecycle, and interop synchronization (#266):- Clarify
toBlocSignal(refOrContainer)contract to strictly acceptRef(with automaticref.onDisposecleanup) orProviderContainer, eliminating silent subscription leaks from unsupported duck-typing. - Consolidate container and disposal resolution logic in
ProviderListenableBlocSignalXinto shared internal helpers. - Implement
Expandoprovider caching onbloc.toProvider({bool autoClose = false})to guarantee referential stability across repeated calls. - Add optional
autoCloseparameter totoProvider()andBlocSignalNotifier, automatically closing the underlying container when the Riverpod provider scope is disposed. - Override
updateShouldNotifyonBlocSignalNotifierto delegate tobloc.equalsfor consistent state comparison semantics.
- Clarify
-
Fix dependency lower bound analysis failure on pub.dev (#211):
- Maintain compatibility across both Riverpod 2.x and Riverpod 3.x (
>=2.5.0 <4.0.0) by importing bothriverpod.dartandsrc/internals.dart. - Configure package analysis options to ensure clean static analysis on dependency lower bounds (
dart pub downgrade).
- Maintain compatibility across both Riverpod 2.x and Riverpod 3.x (
1.1.0 #
- Add bidirectional read-and-mutate interoperability (#207):
- Introduce
RiverpodNotifierBlocSignal<NotifierT, T>exposing typed.notifieron mutable Riverpod providers (NotifierProvider,AsyncNotifierProvider,StateNotifierProvider,StateProvider, andStreamNotifierProvider). - Introduce
BlocSignalNotifier<B, T>exposing typed.cubitand.blocgetter aliases onref.read(provider.notifier). - Add typed
toBlocSignal(...)provider extension methods.
- Introduce
1.0.0+1 #
- Maintenance patch release for pub.dev package score re-analysis.
1.0.0 #
- Official 1.0.0 production release.
- Update
bloc_signalsdependency constraint to^1.0.0.
0.9.0 #
- Staging release candidate for the 1.0.0 production milestone.
- Update
bloc_signalsdependency constraint to^0.9.0.
0.1.5 #
- Fix Riverpod 3.3+ export compatibility by importing
package:riverpod/src/internals.dart. - Add optional
equals:parameter toRiverpodBlocSignalconstructors andProviderListenable.toBlocSignal()extension. - Add comprehensive ecosystem package cross-linking table and motto to README.
- Add quick inlined Riverpod 2/3 interop code examples.
- Update
bloc_signalsdependency to^0.2.8.
0.1.2 #
- Added example documentation and pubspec package topics to achieve 160/160 pub points on pub.dev.
0.1.1 #
- Added bidirectional conversion extensions between Riverpod's
AsyncValue<T>and Signals'AsyncState<T>:asyncValue.toAsyncState(): Converts a RiverpodAsyncValueinto a SignalsAsyncState.asyncState.toAsyncValue(): Converts a SignalsAsyncStateinto a RiverpodAsyncValue.
0.1.4 #
- Add comprehensive ecosystem package cross-linking table and motto to README.
- Add quick inlined Riverpod 2/3 interop code examples.
- Update
bloc_signalsdependency to^0.2.6.
0.1.0 #
- Initial release of
bloc_signals_riverpod. - Bidirectional interoperability adapters:
ProviderListenable.toBlocSignal(refOrContainer): Convert any Riverpod provider into aBlocSignalBasewith automaticref.onDisposecleanup.blocSignal.toProvider(): Convert anyBlocSignalBaseinto a RiverpodNotifierProvider.