modulisto 3.0.0
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 ofignore
- (3408537) - (trigger) export
nothingValue
for empty payload - (26c69ae) - remove
Disposable
onOperationRunner
- (44a927e)
Refactoring #
- (map_store)
setKeyValue
instead ofsetValue
- (66feb26) - (pipeline) split ref for pipelines - (e7cd1c2)
- (pipeline) split pipelines and contexts to less coupling - (60981e7)
Tests #
2.4.0 - 2025-03-16 #
Bug Fixes #
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
inModule
- (daba526) - hide
debugName
+ assigndebugName
toModule
oninitialize
- (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
toClosableStreamWrapper
2.2.0 #
- feat:
UnitAdapter<Unit>.stream()
returnsCloseableStreamWrapper
that allows us to interact only with underlying.stream
and.close
- feat:
UnitAdapter<Store>.stream(emitFirstImmediately: true)
will returnSubject
wrapped intoCloseableStreamWrapper
- feat:
Subject<T>
- lightweight alternative ofBehaviorSubject
fromrxdart
, emits last value on each newStreamSubcription
2.1.0 #
- feat: extendable
UnitAdapter
that allows convertation ofUnit
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
inSyncPipeline
2.0.0 #
- feat!(pipeline): new system of working with custom types in
Pipeline
-PipelineLinker
- feat!(pipeline): introduce two built-in linkers:
StreamPipelineLinker
andUnitPipelineLinker
- 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 justValueListenable<T>
from Flutter SDK, that means that it doesn'textends Stream<T>
- refactor(unit): reduce count of asynchronous calls in
Unit
lifecycle - refactor(module):
Pipeline
's queued by type for.dispose
:AsyncPipeline
disposes first, thenSyncPipeline
goes off too
1.1.0 #
- refactor:
Set<Attachable>
instead of attach callback inModule.initialize
1.0.2 #
- docs: fullpledged
README.md
1.0.1 #
- feat:
PipelineContext
can.update
anyUpdatable<T>
interface implementation
1.0.0 #
- feat:
Trigger<T>
as executiveUnit
- feat:
Store<T>
as storageUnit
- feat:
Pipeline
as flow handler (both.async
and.sync
) - feat:
ModuleLifecycle
that allows you to react on module lifecycle updates