Commit graph

34 commits

Author SHA1 Message Date
Andrea Fletcher
2d1e5983c6
Merge 18c1d02d43 into f3bfc65607 2026-08-06 04:02:36 -07:00
centauri
5ed4c01940 Bump version to 0.4.1 2026-07-11 13:25:38 +01:00
Andrea Fletcher
18c1d02d43
Add tag() action for CollectionService tags
Adds a built-in `vide.tag()` action that wraps `Instance:AddTag()` /
`Instance:RemoveTag()` so tags can be applied through `create()` props.

It accepts a static string or array of strings, or a reactive source
returning either. The reactive variant diffs the previous and new tag
sets so only the delta is applied. All tags added by the action are
removed when the surrounding scope is destroyed.

Includes mock support for `AddTag`/`RemoveTag`/`HasTag`/`GetTags`,
tests, API reference docs, and a closing note in the actions tutorial.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 22:10:47 -07:00
centauri
19eaeb424f Deprecate create() overloads
Closes #70
2026-04-29 21:33:29 +01:00
centauri
7deae9c9f6 Allow vide.branch to be used in a reactive scope 2026-03-10 13:46:13 +00:00
centauri
2184a0fa6a Bump version to 0.4.0 2026-01-17 20:28:45 +00:00
centauri
6da33722e9 Add delayed scope destruction to docs 2026-01-17 20:15:05 +00:00
centauri
945cdd0e88 Update changelog 2025-09-01 22:09:06 +01:00
centauri
5f752fe903 Add flag to disable setting of default properties 2025-06-23 21:36:51 +01:00
EwDev
37e8e05206
Support nesting Parent (#48)
* allow nesting parent property

* update changelog

* fix mock instances Parent property not being a proxy

* add tests

Closes #47
2025-02-23 21:31:26 +00:00
aaron
46a2043356 Ignore false passed as a child 2025-01-04 00:45:55 +00:00
aaron
c796e48173 Add source to show() callback 2025-01-04 00:40:51 +00:00
aaron
58a31a1b32 Try improve error reporting 2024-12-27 22:43:01 +00:00
aaron
3b22f6ccf9 Add spring setter 2024-12-27 02:34:31 +00:00
aaron
b44b9ef2ba Add implicit effects recursively creating more implicit effects for children 2024-12-27 01:00:45 +00:00
aaron
ccaeb030f3 Remove aggregate construction 2024-12-26 21:17:14 +00:00
aaron
caa9eaf733 Add thread cleanup helper 2024-11-28 01:00:11 +00:00
11poe
44fe65ee5e
Add create(a, { props }) syntax (#42)
* Add new create syntax

* Add new create syntax to changelog

* Fix new create syntax test
2024-11-16 20:20:49 +00:00
aaron
f7dac3f63a Bump version to 0.3.1 2024-10-09 02:23:06 +01:00
aaron
6ead93088a Make context functions return result 2024-10-09 02:12:25 +01:00
aaron
1d565262e1 Bump version to 0.3.0 2024-10-06 18:16:31 +01:00
aaron
93a2a2c631 Make root() destroy scope if error occurs 2024-10-06 18:14:53 +01:00
aaron
82eec61c45 Make root() return destructor automatically 2024-10-06 15:37:05 +01:00
aaron
8142acd1c1 Add context() 2024-10-06 15:20:04 +01:00
aaron
2dc2814d76 Fix regression with derived sources 2024-07-19 11:21:49 +01:00
aaron
c527a62ab1 Bump version to 0.2.0 2023-11-22 10:14:00 +00:00
Aaron Smith
65fe3fcf47 Fix some graph edge cases 2023-11-16 18:01:45 +00:00
aaron
7128b9a58b Bump version to v0.1.1 2023-09-30 01:32:14 +01:00
Aaron Smith
c03fb05779 Make changed() run initially 2023-09-28 16:46:32 +01:00
Aaron Smith
bbda0426da Update changelog 2023-09-27 10:31:52 +01:00
Aaron Smith
d1f86a3f9e Allow untrack() in non-reactive scopes
Closes #17
2023-09-26 14:11:33 +01:00
aaron
c68d0a6c18 Allow creation of nested tracking scopes
It turns out that handling destruction of a nested tracking scope was
not as difficult as I thought and didn't need much changes
2023-09-25 23:37:51 +01:00
aaron
5735d8e3f0 Update docs 2023-09-20 21:56:25 +01:00
aaron
cb002f4f27 Initial commit 2023-08-08 21:33:11 +01:00