Commit graph

201 commits

Author SHA1 Message Date
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
centau
3faa1ed701
Merge pull request #64 from wiam77/patch-1
Simplify connector check in Properties type function
2026-01-26 12:09:00 +00:00
wiam
820bda8eb1
Simplify connector check in Properties type function
Removed redundant check for connector in the Properties type function.
2026-01-25 23:15:48 -03: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
centau
a0eca04903
Merge pull request #63 from devsarim/main
add Camera and WorldModel to list of instances recognized by `vide.cr…
2026-01-16 21:04:49 +00:00
Sarim Siddiqui
cb6022d934 add Camera and WorldModel to list of instances recognized by vide.create 2026-01-03 23:12:27 +05:00
centauri
cf58410b89 Fix spring impulse control 2025-12-04 14:22:16 +00:00
centauri
f370e3f841 Fix type error when not specifying scope destroy delay 2025-11-26 12:38:39 +00:00
centauri
d7d2f5167e Use type functions for vide.create 2025-11-26 12:35:34 +00:00
centauri
c16022586e Add create type test 2025-11-03 00:51:09 +00:00
centau
0e41514860
Merge pull request #61 from ernisto/fix/spring
fix(spring tolerance): guarantee a minimun movement to goal
2025-10-28 17:02:33 +00:00
ernisto
800396fa0e feat(spring): handle goal reached before update spring sources 2025-10-24 22:58:12 -03:00
ernisto
fb10fc2b0d fix(spring tolerance): guarantee a minimun movement to goal 2025-10-24 20:00:46 -03:00
centauri
9ace23470f Use generalized iteration everywhere
Closes #55
2025-09-02 03:12:19 +01:00
centauri
a469094328 Do not auto deploy site on push to main 2025-09-01 22:22:09 +01:00
centauri
bc2bb25f74 Add vide.default type 2025-09-01 22:19:24 +01:00
centauri
945cdd0e88 Update changelog 2025-09-01 22:09:06 +01:00
centauri
ce24f8ade9 Cleanup scope functions 2025-09-01 21:59:35 +01:00
centauri
4b4db9602e Implement delays for indexes() and values() 2025-08-31 20:37:46 +01:00
centauri
5262ef711c Implement delays for show() and switch() 2025-08-29 17:44:02 +01:00
centauri
2518e292ed Update spring docs 2025-06-23 21:58:54 +01:00
centauri
5f752fe903 Add flag to disable setting of default properties 2025-06-23 21:36:51 +01:00
centauri
3c2fafa1cd Fix require paths for latest luau 2025-06-23 20:44:14 +01:00
centauri
5b078d118e Update actions and tooling 2025-06-23 19:09:21 +01:00
alicesaidhi
86f8574aeb
Add GitHub workflow to build rbxm and publish to pesde and wally (#50)
* setup workflow

* change versions

* fix project json

* fix pesde and wally workflow

* update pesde toml

* wrap tokens ins trings

* update versions

* ignore lock files
2025-06-23 18:31:40 +01:00
aaron
6cf770df4e Add spring support for array of numbers 2025-03-27 23:41:01 +00:00
aaron
452ca383f7 Optimize indexes() and values() 2025-03-27 19:27:54 +00: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
HarryXChen
7064489a36
Fix typo in scope crash course docs (#46) 2025-01-17 02:06:54 +00:00
aaron
b7878753bd Update untrack() type to allow no return 2025-01-07 00:06:39 +00:00
aaron
a383c4ce69 Fix show() edge case 2025-01-06 23:56:49 +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
4c639f8388 Add flag to disable deferral of nested properties 2024-12-26 22:36:58 +00:00
aaron
ccaeb030f3 Remove aggregate construction 2024-12-26 21:17:14 +00:00
richard
3b8d9098c0
Use vector.max to check spring activity (#44)
* Use `vector.max` to check spring activity

* Revert unnecessary changes
2024-12-05 02:00:37 +00:00
aaron
caa9eaf733 Add thread cleanup helper 2024-11-28 01:00:11 +00:00
aaron
e60aa57ca2 Fix edge case with map functions 2024-11-27 19:43:51 +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
8799988851 Update github workflow Luau version 2024-11-16 18:55:37 +00:00
aaron
fdb4a137a8 Fix test require 2024-11-16 18:41:27 +00:00
aaron
f7e9961911 Fix library require 2024-11-16 18:38:23 +00:00
aaron
49cc551493 Switch from mock Vector3 to native vector lib 2024-11-13 22:35:16 +00:00
aaron
5abd5eee91 Update require paths to relative string 2024-11-13 22:19:20 +00:00