jolt 2.1.0 copy "jolt: ^2.1.0" to clipboard
jolt: ^2.1.0 copied to clipboard

A lightweight, high-performance reactive signals library for Dart/Flutter with fine-grained updates and intelligent resource management.

2.1.0 #

  • REFACTOR(jolt): optimize fine-grained update detection for collection signals. (26781582)
  • FEAT: add Computed.withPrevious(). (87da01b4)
  • FEAT(jolt): add ReadonlySignalImpl and ProxySignal implementations. (fa6e9879)

2.0.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

2.0.0-beta.5 #

  • PERF: improve base interface. (58b0e706)
  • FIX: add test coverage. (b3e7bca7)
  • FIX: sync upstream's trigger. (7ce8d459)
  • FEAT: add FlutterEffect for frame-end scheduling. (9caccf58)

2.0.0-beta.4 #

  • FEAT(jolt): add ReadonlySignal factory constructor documentation and implementation. (8b1be50e)
  • FEAT: add call helpers, useInherited hook, drop extra rebuild. (69263dd1)

2.0.0-beta.3 #

Note: This release has breaking changes.

  • FIX(convert_computed): accept WritableNode instead of Signal for source. (41adf88a)
  • FEAT: improve notify() support for mutable values and add tests. (8e238f7d)
  • BREAKING FEAT(jolt): add Effect.lazy and improve CustomReactiveNode tests. (ef64a431)

2.0.0-beta.2 #

  • REFACTOR(jolt_flutter): refactor SetupWidget hook system architecture. (db32a9a3)
  • REFACTOR: make notifySignal more generic and remove redundant dirty flag. (8bf595de)
  • REFACTOR: restructure public API exports. (d3716988)
  • FEAT(jolt): add Signal.lazy factory constructor. (436ec10d)

2.0.0-beta.1 #

BREAKING CHANGES:

  • Type replacements:

    • JReadonlyValue<T>ReadonlyNode<T>
    • JWritableValue<T>WritableNode<T>
    • JEffectEffectNode (mixin)

    Migration guide:

    • Type annotations and generic constraints: JReadonlyValue<T>ReadonlyNode<T>
    • Custom class inheritance: extends JReadonlyValue<T>with ReadonlyNodeMixin<T> implements ReadonlyNode<T>
    • Effect classes: extends JEffectwith EffectNode implements ChainedDisposable
  • Property replacement:

    • Computed.pendingValueComputed.peekCached
  • Computed API changes:

    • Computed constructor no longer exposes initialValue parameter
    • Computed.peek() method behavior changed: previously used to view cached value, now behaves the same as untracked, used to read value without tracking
    • Added Computed.peekCached() method: used to view cached value (replaces the original peek() functionality)

    Migration guide:

    • If you previously used computed.peek() to view cached value, change to computed.peekCached()
    • If you need to read value without tracking, use computed.peek() or untracked(() => computed.value)

Other changes:

  • Reactive system refactoring:

    • Refactored reactive system abstract classes, separating implementation from interfaces for better extensibility and hiding node details
  • New methods:

    • Added trackWithEffect() method: used to append dependencies to side effects
    • Added notifyAll() method: used to collect subscribers and notify them
  • Watcher enhancements:

    • Added Watcher.immediately() factory method: creates a Watcher that executes immediately
    • Added Watcher.once() factory method: creates a Watcher that executes only once
    • Added pause/resume functionality: pause() and resume() methods
    • Added ignoreUpdates() method: used to ignore updates
  • Extension methods:

    • Added update() extension method: facilitates functional updates from old value to new value
    • Added until() extension method: returns a Future for one-time listening to signal value changes
  • REFACTOR(jolt): remove EffectBase and add trackWithEffect". (a00420e3)

  • REFACTOR(core): optimize reactive system core and improve code quality. (444957b6)

  • REFACTOR: restructure core interfaces and implementation classes. (e552ab33)

  • FEAT(jolt): add until/update methods and improve APIs. (44eb0c7b)

  • FEAT(watcher): add pause/resume and ignoreUpdates functionality. (c882bf72)

  • FEAT: implement Setup Widget with type-based hook hot reload. (e71cf18c)

1.0.4 #

  • REFACTOR: flatten ReactiveSystem to library level, add upstream sync. (1969693f)

1.0.3 #

  • REFACTOR: inlined function consolidates assert and debug functions. (1bd31e26)
  • PERF(jolt): optimize inlining of common short functions and type checks. (54f4d6ed)

1.0.2 #

  • FIX(jolt): type annotation. (475ef361)

1.0.1 #

  • REVERT(jolt): protected annotations for pub score. (3efd724c)

1.0.0 #

  • REFACTOR(jolt): async signal. (f42f70f8)
  • REFACTOR: simplify EffectScope API, add detach parameter. (eed8cc1a)
  • REFACTOR(jolt): batch WritableComputed setter for atomic updates. (7f7046e0)
  • PERF(jolt): simplify Watcher comparison logic. (47acc599)
  • PERF(jolt): remove hard code. (7cafc45a)
  • FIX(jolt): computed's annotations. (1168f3cd)
  • FIX(jolt): add protected annotations. (4a5d3a0a)
  • FIX: add missing tests for jolt, rename currentValue to cachedValue. (87de3c6a)
  • FIX(persist_signal): ignore write errors and prevent load overwrite. (ba9db5c2)
  • FEAT(jolt): expose JFinalizer. (a90865c3)
  • FEAT: add cleanup function support for Effect, Watcher and EffectScope. (d0e8b367)
  • FEAT(jolt): allow watcher to receive null as old value when called immediately. (b101c68e)
  • FEAT(persist_signal): add setEnsured with write counting and rollback. (bfb51d3b)
  • DOCS: improve code documentation. (c152870a)

0.0.7 #

  • fix: make Computed.peek initialize via untracked and return cached value

0.0.6 #

  • chore: use melos for monorepo management
  • fix: fix outdated documentation API comments
  • fix: peek in signal
  • fix: expose onDispose method for subclass

0.0.5 #

  • BREAKING: remove autoDispose, MapEntrySignal, joltObserver
  • feat: add onDebug hook for debug(assert method)
  • feat: JReadonlyValue now supports toString() for value display
  • sync: align with alien_signals v3.0.3
  • docs: add comprehensive readme and documentation for tricks

0.0.4 #

  • fix: notify method not working
  • feat: align stream shortcut listen parameters with original implementation
  • fix: equality comparison issue caused by operator== overloading

0.0.3+1 #

  • fix: effect scope context

0.0.3 #

  • sync: align with alien_signals v3.0.1
  • feat: advanced observer
  • chore: update dependencies

0.0.2+1 #

  • fix: some bugs

0.0.2 #

  • Initial version.
3
likes
0
points
833
downloads

Publisher

verified publishervowdemon.com

Weekly Downloads

A lightweight, high-performance reactive signals library for Dart/Flutter with fine-grained updates and intelligent resource management.

Homepage
Repository (GitHub)
View/report issues

Topics

#jolt #state-management #signals

License

unknown (license)

Dependencies

meta, shared_interfaces

More

Packages that depend on jolt