Changelog
Release history for Popsicle.
2.1.0
-
Renamed Store persistent state transitions from
emit(...)tocommit(...). -
Standardized the high-level Flutter projection API on
.ui()for Stores andReactiveValue. -
Added opt-in
History<State>with:undo()/redo()canUndo/canRedoundoCount/redoCountclearHistory()- configurable
historyLimit
- History records committed state snapshots only; one-shot effects are never recorded or replayed.
-
Added Store
listenTo(...)for Store-owned stream subscriptions. -
Stream subscriptions registered through
listenTo(...)are cancelled automatically when the Store is disposed. -
listenTo(...)supportsonData,onError,onDone, andcancelOnError, and returns the underlying subscription for explicit pause/resume/early cancellation. -
Renamed the public UI extension types to
PopsicleStoreUiandReactiveValueUi. - Added History and Stream examples and tests.
- Updated README, API outline, migration notes, publishing guide, example documentation, and wiki for the 2.1 API.
2.0.0
-
Added the unified declaration namespace:
Popsicle.inject(...)Popsicle.value(...)Popsicle.create(...)Popsicle.params(...)
-
Added public
Scopewithscope.get(...)andscope.use(...)semantics. -
Replaced public
Ref/read/watchusage in Popsicle APIs and examples withScope. -
Added
scope.store(...)andscope.select(...)Store helpers. -
Added
scope.set(...)andscope.update(...)ReactiveValue helpers. -
Added the compact Flutter projection API for both
ReactiveValueand Store handles. -
Extended Store UI projection to parameterized Store handles
returned by
Popsicle.params. -
Updated
PopsicleWidgetandPopsicleBuilderto exposeScope. -
Wrapped the Dart-only graph in
PopsicleContainerwithget,subscribe, and scoped Store/value helpers. -
Kept
Store<State>andIntentStore<State, Intent>as the primary structured state types. -
Renamed the internal engine barrel to
engine.dart; upstream attribution remains inNOTICEandLICENSE.
0.1.4
-
Added
ReactiveValue<T>for small standalone mutable reactive state. -
Added scoped
setandupdatehelpers.
0.1.3
-
Simplified
PopsicleConsumerto Store state + dedicated one-shot effects. - Added the Store effect channel.
0.1.2
- Added the Store-focused consumer and expanded examples.
0.1.1
- Fixed Flutter consumer integration after vendoring the engine.
0.1.0
- Initial Popsicle API iteration on the vendored 2.6.1 engine baseline.