Skip to main content

bloc_signals_riverpod 1.1.4 copy "bloc_signals_riverpod: ^1.1.4" to clipboard
bloc_signals_riverpod: ^1.1.4 copied to clipboard

Riverpod interoperability adapters for BlocSignal state containers.

Changelog #

1.1.4 #

  • Fix (riverpod): Resolve RiverpodNotifierBlocSignal.notifier dynamically from the container across invalidations, forward onError in RiverpodBlocSignal provider subscriptions, guard BlocSignalNotifier.build() against synchronous mid-build state assignment, and evict closed autoClose: true entries from _providerCache (#476).

1.1.3 #

  • Fix (riverpod): Remove obsolete invalid_use_of_protected_member ignore comment following BlocSignalBase.equals visibility update (#320).
  • Dependencies: Bump bloc_signals to ^1.6.0.

1.1.2 #

  • Fix WidgetRef container resolution, disposal lifecycle, and interop synchronization (#266):

    • Clarify toBlocSignal(refOrContainer) contract to strictly accept Ref (with automatic ref.onDispose cleanup) or ProviderContainer, eliminating silent subscription leaks from unsupported duck-typing.
    • Consolidate container and disposal resolution logic in ProviderListenableBlocSignalX into shared internal helpers.
    • Implement Expando provider caching on bloc.toProvider({bool autoClose = false}) to guarantee referential stability across repeated calls.
    • Add optional autoClose parameter to toProvider() and BlocSignalNotifier, automatically closing the underlying container when the Riverpod provider scope is disposed.
    • Override updateShouldNotify on BlocSignalNotifier to delegate to bloc.equals for consistent state comparison semantics.
  • 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 both riverpod.dart and src/internals.dart.
    • Configure package analysis options to ensure clean static analysis on dependency lower bounds (dart pub downgrade).

1.1.0 #

  • Add bidirectional read-and-mutate interoperability (#207):
    • Introduce RiverpodNotifierBlocSignal<NotifierT, T> exposing typed .notifier on mutable Riverpod providers (NotifierProvider, AsyncNotifierProvider, StateNotifierProvider, StateProvider, and StreamNotifierProvider).
    • Introduce BlocSignalNotifier<B, T> exposing typed .cubit and .bloc getter aliases on ref.read(provider.notifier).
    • Add typed toBlocSignal(...) provider extension methods.

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_signals dependency constraint to ^1.0.0.

0.9.0 #

  • Staging release candidate for the 1.0.0 production milestone.
  • Update bloc_signals dependency 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 to RiverpodBlocSignal constructors and ProviderListenable.toBlocSignal() extension.
  • Add comprehensive ecosystem package cross-linking table and motto to README.
  • Add quick inlined Riverpod 2/3 interop code examples.
  • Update bloc_signals dependency 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 Riverpod AsyncValue into a Signals AsyncState.
    • asyncState.toAsyncValue(): Converts a Signals AsyncState into a Riverpod AsyncValue.

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_signals dependency to ^0.2.6.

0.1.0 #

  • Initial release of bloc_signals_riverpod.
  • Bidirectional interoperability adapters:
    • ProviderListenable.toBlocSignal(refOrContainer): Convert any Riverpod provider into a BlocSignalBase with automatic ref.onDispose cleanup.
    • blocSignal.toProvider(): Convert any BlocSignalBase into a Riverpod NotifierProvider.
1
likes
160
points
195
downloads

Documentation

API reference

Publisher

verified publisherblocsignal.dev

Weekly Downloads

Riverpod interoperability adapters for BlocSignal state containers.

Repository (GitHub)
View/report issues
Contributing

Topics

#riverpod #bloc #signals #interop

License

MIT (license)

Dependencies

bloc_signals, meta, riverpod, signals_core

More

Packages that depend on bloc_signals_riverpod