Skip to content

Releases: centau/vide

0.4.0

17 Jan 20:37

Choose a tag to compare

0.4.0 Pre-release
Pre-release

[0.4.0] - 2026-01-17

Added

  • create("ClassName", { props }) and create(Instance, { props }) syntax.
  • cleanup() now accepts thread types.
  • Implicit effects to set children can now recursively create more implicit
    effects to set children.
  • spring() returns a second value, a setter to set position, velocity and
    impulse.
  • Improved spring() updating and unscheduling.
  • show() now receives a source to its callback returning the current value
    of the condition.
  • Ignore false passed as a child.
  • Flag vide.defaults to disable the setting of default properties.
  • Delayed scope destruction for control flow functions: show() switch() indexes() values().
  • Better create() types for the new type solver.

Changed

  • A scope can no longer be destroyed while it is active. Strict mode will check
    for this.
  • Implicit effects to set children now unparent all children when the effect is
    destroyed.
  • Error reporting should be improved with better formatting when effects invoke
    other effects and no more loss of stack traces.
  • Nesting parent properties now work, and they are now also checked for
    duplicates like other properties.

Removed

  • Aggregate construction when setting properties with create().

0.3.1

09 Oct 01:24

Choose a tag to compare

0.3.1 Pre-release
Pre-release

[0.3.1] - 2024-10-09

Added

  • Context functions now also return results.
  • version table with current version.

0.3.0

06 Oct 17:18

Choose a tag to compare

0.3.0 Pre-release
Pre-release

[0.3.0] - 2024-10-06

Added

  • context().

Changed

  • root() now returns its destructor as the first value by default.

Fixed

  • Error stack traces being lost.
  • root() now destroys the scope automatically if an error occurs during call.

0.2.0

22 Nov 10:24

Choose a tag to compare

0.2.0 Pre-release
Pre-release

[0.2.0] - 2023-11-22

Added

  • Batched updates with batch().

Changed

  • Improved graph updating algorithm.
  • Graph nodes when destroyed no longer destroy children; only owned.

Fixed

  • Graph edge case where a destroyed node can be readded if it was queued for
    evaluation before being destroyed.

0.1.1

30 Sep 00:34

Choose a tag to compare

0.1.1 Pre-release
Pre-release

[0.1.1] - 2023-09-30

Added

  • cleanup() accepts objects with a Destroy() or Disconnect() interface.
  • read() as a utility to read sources or passthrough a non-source value.

Changed

  • Reactive scopes created within reactive scopes are now destroyed on rerun.
  • untrack() can be called outside of reactive scopes.
  • changed() will also run its callback with the initial property value.

Fixed

  • show() and switch() not updating when in strict mode.

0.1

20 Sep 22:10

Choose a tag to compare

0.1 Pre-release
Pre-release

[0.1.0] - 2023-09-20

  • Initial release