modulisto 3.0.0 copy "modulisto: ^3.0.0" to clipboard
modulisto: ^3.0.0 copied to clipboard

An advanced state management solution with any number of event flows

Changelog #


3.0.0 - 2025-04-22 #

Bug Fixes #

  • (collections_store) hide value under UnmodifiableView's - (90a61e3)
  • (unit) check unit state on addListener, removeListener - (17f308f)

Features #

  • (unit) introduce ModuleBindedUnitBase with auto-disposition bind - (1dec02a)
  • [BREAKING CHANGE] operation - (0bc2a72)
  • [BREAKING CHANGE] mutation context - (5359780)
  • mutator accepts only Store and it subtypes - (c58ac9b)
  • MapValueUnitView maps new value lazily - (87ab905)

Miscellaneous Chores #

  • (debug) debugReportOperationTypeMismatch naming - (1447224)
  • (operation) future like operation handle - (b828fb5)
  • (subject) unawaited instead of ignore - (3408537)
  • (trigger) export nothingValue for empty payload - (26c69ae)
  • remove Disposable on OperationRunner - (44a927e)

Refactoring #

  • (map_store) setKeyValue instead of setValue - (66feb26)
  • (pipeline) split ref for pipelines - (e7cd1c2)
  • (pipeline) split pipelines and contexts to less coupling - (60981e7)

Tests #

  • fuzzy async group - (1971a79)
  • refactor tests after applying new analyzer rules - (61d4bec)

2.4.0 - 2025-03-16 #

Bug Fixes #

  • PipelineRef now implements ModuleChild - (abfa596)
  • add missing export for settings.dart - (b4be30f)

Features #

  • (operation) expando nullify at dispose + tests - (78e039a)
  • Operation<T> - special indirect unit that wraps around functions - (70b43ed)
  • pipeline linker for Operation<T> - (a964f68)
  • settings for package + debugReportTypeMismatchOnOperation - (b049543)
  • integrate OperationRunner in Module - (daba526)
  • hide debugName + assign debugName to Module on initialize - (779dca9)
  • operation tests - (921d995)

Miscellaneous Chores #

  • mark module with $ as internal marker - (c4898e5)

Ci #

  • major update + fix lints - (7329f15)

2.2.1 #

  • fix: remove unneccessary flutter sdk constraint in pubspec.yaml
  • chore: rename CloseableStreamWrapper to ClosableStreamWrapper

2.2.0 #

  • feat: UnitAdapter<Unit>.stream() returns CloseableStreamWrapper that allows us to interact only with underlying .stream and .close
  • feat: UnitAdapter<Store>.stream(emitFirstImmediately: true) will return Subject wrapped into CloseableStreamWrapper
  • feat: Subject<T> - lightweight alternative of BehaviorSubject from rxdart, emits last value on each new StreamSubcription

2.1.0 #

  • feat: extendable UnitAdapter that allows convertation of Unit into several other types
  • refactor: make interfaces.dart more clean looking
  • docs: doc-comments for interfaces.dart

2.0.2 #

  • docs: actualize documentation for 2.0.*

2.0.1 #

  • feat(sync_pipeline): StreamPipelineLinker in SyncPipeline

2.0.0 #

  • feat!(pipeline): new system of working with custom types in Pipeline - PipelineLinker
  • feat!(pipeline): introduce two built-in linkers: StreamPipelineLinker and UnitPipelineLinker
  • feat!(pipeline): changed linkers signature in Pipeline' constructors, relevant type comes first and then goes by method of subscription
  • fix!(unit): Unit<T> now is just ValueListenable<T> from Flutter SDK, that means that it doesn't extends Stream<T>
  • refactor(unit): reduce count of asynchronous calls in Unit lifecycle
  • refactor(module): Pipeline's queued by type for .dispose: AsyncPipeline disposes first, then SyncPipeline goes off too

1.1.0 #

  • refactor: Set<Attachable> instead of attach callback in Module.initialize

1.0.2 #

  • docs: fullpledged README.md

1.0.1 #

  • feat: PipelineContext can .update any Updatable<T> interface implementation

1.0.0 #

  • feat: Trigger<T> as executive Unit
  • feat: Store<T> as storage Unit
  • feat: Pipeline as flow handler (both .async and .sync)
  • feat: ModuleLifecycle that allows you to react on module lifecycle updates
1
likes
140
points
60
downloads

Publisher

verified publisherarxdeus.dev

Weekly Downloads

An advanced state management solution with any number of event flows

Repository (GitHub)
View/report issues

Topics

#architecture #state-management #state #concurrency #controller

Documentation

API reference

License

MIT (license)

Dependencies

meta, stream_transform

More

Packages that depend on modulisto