bloc_signals_flutter 1.4.0
bloc_signals_flutter: ^1.4.0 copied to clipboard
Flutter extensions and bindings for BlocSignal state management library.
1.4.0 #
- Feat (flutter): Respect container
bloc.equals(previous, current)inBlocSignalBuilderandBlocSignalListener, support customequalsandSignalOptions.equalityCheckinBlocSignalSelectorwhile re-initializingcomputedwhenoptionsorequalschanges indidUpdateWidget, and passlisten: truewhen falling back toBlocSignalProvider.of<T>(context, listen: true)indidUpdateWidget(#320). - Fix (flutter): Lazily subscribe to the source container in
BlocSignalListenableExtension.toValueListenable()andtoListenable()(0 -> 1listener attach,1 -> 0detach) and delegate.valuedirectly tobloc.stateValue, preventing permanent effect leaks when passed inline toValueListenableBuilder(#316). - Dependencies: Bump
bloc_signalsto^1.6.0.
1.3.3 #
- Fix
BlocSignalProvider:- Skip spurious rebuild on lazy
BlocSignalProviderwhen old container was null and initialized in-frame (F5, #298). - Wrap lazy provider factory invocation in
try/finallyto cache errors and prevent unbounded retry loops (F24, #298). - Deterministically release selector subscriptions when element unmounts or leaves the tree (F23, #298).
- Clean up orphaned selector subscriptions on conditional select branches without pruning unnotified dependents (F25, #298).
- Skip spurious rebuild on lazy
1.3.2 #
- Fix
BlocSignalListenerandBlocSignalConsumersubscription transfer when ancestor provider container instance is swapped aboveconstsubtrees (#273).
1.3.1 #
- Update
context.value<T, S>()implementation to delegate tobloc.value(#251). - Bump minimum
bloc_signalsdependency constraint to^1.4.0(#251).
1.3.0 #
- Add
context.value<T, S>()extension to subscribe to state emissions and return current state value inbuild()(#248). - Add
context.state<T, S>()extension to look up the underlyingReadonlySignal<S>without registering an element rebuild dependency forcomputed()oreffect()composition (#248).
1.2.2 #
- Refactor example application to showcase declarative routing with Kaisel 1.1
reevaluateOnandloginBloc.toValueListenable()(#222, #223). - Eliminate imperative navigation side effects (
WidgetsBinding.instance.addPostFrameCallback) from example screen builders. - Bump example
kaiseldependency constraint to^1.1.0.
1.2.1 #
- Fix
context.selectsubscription transfer when provider container instance is swapped aboveconstsubtrees (#204).
1.2.0 #
- Fix generic type erasure in
MultiBlocSignalProviderwhen passed list literals (#136). - Add
buildWhenpredicate parameter toBlocSignalBuilderandBlocSignalConsumer. - Update
MultiBlocSignalListener.listenersparameter toList<dynamic>for list literal generic type preservation.
1.1.0 #
- Make
childparameter optional inBlocSignalProviderandBlocSignalListener, defaulting toconst SizedBox.shrink(). - Eliminate required dummy
child:arguments when usingMultiBlocSignalProviderorMultiBlocSignalListener.
1.0.0+1 #
- Re-trigger pub.flutter-io.cn Pana static 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.
- Add widget unmount cleanup test suite for slow async operations.
- Update
bloc_signalsdependency constraint to^0.9.0.
0.2.9 #
- Add flush-left side-by-side header logo table to README.
- Update
bloc_signalsdependency to^0.2.9.
0.2.8 #
- Add direct links to the Migration Guide and Universal Interoperability Guide skills in README documentation.
- Add complete
@examplecode blocks across all Flutter UI bindings and context extensions (context.read,context.watch,context.select,BlocSignalSelector,ListenableBlocSignal). - Update
bloc_signalsdependency to^0.2.8.
0.2.6 #
- Add comprehensive ecosystem package cross-linking table and motto to README.
- Add quick inlined Flutter UI widget code examples (
BlocSignalBuilder,BlocSignalListener,BlocSignalConsumer,BlocSignalSelector). - Update
bloc_signalsdependency to^0.2.6.
0.2.4 #
- Add optional
equals:parameter toListenableBlocSignalconstructors and.toBlocSignal()extensions (Listenable.toBlocSignal()&ValueListenable.toBlocSignal()).
0.2.3 #
- Route exceptions thrown by
readState()insideListenableBlocSignal._onListenableChanged()directly toonError(error, stackTrace)and observers.
0.2.2 #
- Added bidirectional Flutter
Listenable&ValueListenableinterop adapters:listenable.toBlocSignal(readState: ...)&valueListenable.toBlocSignal(): Convert any FlutterListenable,ChangeNotifier, orValueNotifierinto aBlocSignalBase.blocSignal.toValueListenable(): Expose anyBlocSignalBaseas a FlutterValueListenable<T>for classicpackage:provider(ChangeNotifierProvider) orValueListenableBuilder.
0.2.1 #
- Refactor example app BLoCs (
LoginBlocandTimerBloc) to use constructor-scopedon<E>event handler syntax. - Add unit tests for example BLoCs and update example documentation.
0.2.0 #
- Complete Flutter Bloc API Parity alignments:
- Update
BlocSignalProviderto default tolazy: true. - Convert
BlocSignalListenertoStatefulWidgetto align listener execution lifecycle. - Add
listenWhenfilter parameter toBlocSignalListenerandBlocSignalConsumer. - Implement
MultiBlocSignalListenerto compose multiple listeners cleanly. - Implement
BuildContext.selectextension to efficiently watch state slices via element-cached computed signals.
- Update
0.1.9 #
- Add
BlocSignalListener,BlocSignalConsumer, andBlocSignalSelectorwidgets to achieve 100% widget-level API parity with classicflutter_bloc. - Fix inherited dependency lookup bug in
BlocSignalBuilder,BlocSignalListener,BlocSignalConsumer, andBlocSignalSelectorto ensure proper rebuilds and reactiveness when ancestor provided bloc instances change.
0.1.8 #
- Update
bloc_signalsdependency constraint to^0.1.12.
0.1.7 #
- Widen providers, builders, and lookup extensions to accept
BlocSignalBaseto support both Blocs and Cubits. - Optimize provider lookup performance in
BlocSignalProvider.ofto run in O(1) time.
0.1.6 #
- Remove pre-release Dart SDK constraints in favor of stable
^3.10.0. - Update documentation and link package READMEs to the primary consumable AI coding assistant skill.
- Clarify stateful widget effect disposal guidelines and provide Flutter Hooks integration examples.
0.1.5 #
- Widen Dart SDK constraint to include pre-release versions of Dart
3.10.0.
0.1.4 #
- Relax Dart SDK constraints to
^3.10.0.
0.1.3 #
- Fix relative Migration Guide link in README for pub.flutter-io.cn.
0.1.2 #
- Acknowledge Felix Angelov & Rody Davis in documentation.
- Add comprehensive Timer showcase example.
0.1.1 #
- Add Cubit migration guide to documentation.
0.1.0 #
- Initial release of
bloc_signals_flutterbindings. - Added
BlocSignalProvider,MultiBlocSignalProvider, andBlocSignalBuilderwidgets.