Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@quenty/valueobject

Quenty12.8kMIT13.17.3

To work like value objects in Roblox and track a single item with .Changed events

Roblox, Nevermore, Lua, event, valueobject

readme

ValueObject

To work like value objects in Roblox and track a single item with .Changed events. The motivation here is to keep it simple to work with an encapsulated value. Instead of exposing an IPropertyChanged interface like C# might do, we instead expose objects with .Changed that are encapsulated within the object in question.

Installation

npm install @quenty/valueobject --save

Features

  • Battle tested
  • Can take in a default value
  • Automatically fires with a maid that exists for the lifetime of the value

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

13.17.3 (2025-04-10)

Note: Version bump only for package @quenty/valueobject

13.17.2 (2025-04-07)

Bug Fixes

  • Add types to packages (2374fb2)
  • Bump package versions for republishing (ba47c62)

13.17.1 (2025-04-07)

Bug Fixes

13.17.0 (2025-04-02)

Note: Version bump only for package @quenty/valueobject

13.16.2 (2025-03-31)

Note: Version bump only for package @quenty/valueobject

13.16.1 (2025-03-21)

Note: Version bump only for package @quenty/valueobject

13.16.0 (2025-02-18)

Note: Version bump only for package @quenty/valueobject

13.15.0 (2024-12-15)

Note: Version bump only for package @quenty/valueobject

13.14.0 (2024-12-03)

Features

  • Add :SetValue() behavior to cleanup past mounted sub and return a function to unset the value (03fd05a)

13.13.0 (2024-11-13)

Note: Version bump only for package @quenty/valueobject

13.12.0 (2024-11-06)

Note: Version bump only for package @quenty/valueobject

13.11.1 (2024-11-04)

Note: Version bump only for package @quenty/valueobject

13.11.0 (2024-11-03)

Note: Version bump only for package @quenty/valueobject

13.10.0 (2024-10-23)

Note: Version bump only for package @quenty/valueobject

13.9.1 (2024-10-09)

Note: Version bump only for package @quenty/valueobject

13.9.0 (2024-10-06)

Note: Version bump only for package @quenty/valueobject

13.8.1 (2024-10-04)

Note: Version bump only for package @quenty/valueobject

13.8.0 (2024-10-04)

Performance Improvements

  • ValueObject uses no Maid, reducing table construction. Also defers construction of GoodSignal until needed (5701538)

13.7.0 (2024-09-25)

Note: Version bump only for package @quenty/valueobject

13.6.0 (2024-09-25)

Note: Version bump only for package @quenty/valueobject

13.5.0 (2024-09-12)

Note: Version bump only for package @quenty/valueobject

13.4.0 (2024-08-09)

Note: Version bump only for package @quenty/valueobject

13.3.0 (2024-05-09)

Bug Fixes

  • Fix .package-lock.json replicating in packages (75d0efe)

13.2.0 (2024-04-27)

Note: Version bump only for package @quenty/valueobject

13.1.0 (2024-03-09)

Note: Version bump only for package @quenty/valueobject

13.0.0 (2024-02-14)

Note: Version bump only for package @quenty/valueobject

12.0.0 (2024-02-13)

Note: Version bump only for package @quenty/valueobject

11.0.0 (2024-02-13)

Note: Version bump only for package @quenty/valueobject

10.0.0 (2024-02-13)

Features

  • New loader (breaking changes), fixing loader issues (#439) (3534345)

BREAKING CHANGES

  • Standard loader

Adds new loader version which replicates full structure instead of some partial structure. This allows us to have hot-reloading (in the future), as well as generally do less computation, handle dependencies more carefully, and other changes.

This means you'll need to change you how require client-side modules, as we export a simple loader module instead of all modules available.

Signed-off-by: James Onnen jonnen0@gmail.com

  • fix: Fix missing dependency in ResetService

  • feat: Add RxPhysicsUtils.observePartMass

  • fix: Fix package discovery for games

  • feat: Add UIAlignmentUtils.verticalToHorizontalAlignment(verticalAlignment) and UIAlignmentUtils.horizontalToVerticalAlignment(horizontalAlignment)

  • feat: AdorneeData:InitAttributes() does not require data as a secondparameter

  • ci: Upgrade to new rojo 7.4.0

  • fix: Update loader to handle hoarcekat properly

  • docs: Fix spacing in Maid

  • fix: Add new ragdoll constants

  • fix: Compress influxDB sends

  • style: Errors use string.format

  • fix: Handle motor animations

  • ci: Upgrade rojo version

  • feat!: Maid no longer is includd in ValueObject.Changed event

  • docs: Fix docs

9.0.0 (2024-01-10)

Note: Version bump only for package @quenty/valueobject

8.4.0 (2024-01-08)

Note: Version bump only for package @quenty/valueobject

8.3.0 (2023-12-28)

Note: Version bump only for package @quenty/valueobject

8.2.0 (2023-12-14)

Note: Version bump only for package @quenty/valueobject

8.1.1 (2023-10-28)

Note: Version bump only for package @quenty/valueobject

8.1.0 (2023-10-18)

Note: Version bump only for package @quenty/valueobject

8.0.0 (2023-10-11)

Note: Version bump only for package @quenty/valueobject

7.24.0 (2023-09-21)

Note: Version bump only for package @quenty/valueobject

7.23.0 (2023-09-04)

Note: Version bump only for package @quenty/valueobject

7.22.0 (2023-08-23)

Note: Version bump only for package @quenty/valueobject

7.21.0 (2023-08-01)

Note: Version bump only for package @quenty/valueobject

7.20.0 (2023-07-28)

Note: Version bump only for package @quenty/valueobject

7.19.0 (2023-07-23)

Features

  • Add ValueObject:ObserveBrio(condition) (2d3766a)

7.18.0 (2023-07-15)

Note: Version bump only for package @quenty/valueobject

7.17.0 (2023-07-10)

Note: Version bump only for package @quenty/valueobject

7.16.0 (2023-06-17)

Note: Version bump only for package @quenty/valueobject

7.15.0 (2023-06-05)

Features

  • Tie interfaces can export checked ValueObjects as Attributes (6360546)

7.14.0 (2023-05-26)

Features

  • Add type checking and mounting to ValueObject (c3ee035)
  • Initial refactor of guis to use ValueObject instead of ValueObject (723aba0)

7.13.0 (2023-05-08)

Note: Version bump only for package @quenty/valueobject

7.12.0 (2023-04-10)

Note: Version bump only for package @quenty/valueobject

7.11.1 (2023-04-07)

Note: Version bump only for package @quenty/valueobject

7.11.0 (2023-04-06)

Note: Version bump only for package @quenty/valueobject

7.10.0 (2023-04-03)

Note: Version bump only for package @quenty/valueobject

7.9.0 (2023-03-31)

Note: Version bump only for package @quenty/valueobject

7.8.0 (2023-03-31)

Features

  • Support chaining additional arguments to ValueObject (b53afa9)

7.7.0 (2023-03-05)

Note: Version bump only for package @quenty/valueobject

7.6.0 (2023-02-27)

Note: Version bump only for package @quenty/valueobject

7.5.0 (2023-02-21)

Note: Version bump only for package @quenty/valueobject

7.4.0 (2023-01-11)

Note: Version bump only for package @quenty/valueobject

7.3.0 (2023-01-01)

Note: Version bump only for package @quenty/valueobject

7.2.1 (2022-12-27)

Note: Version bump only for package @quenty/valueobject

7.2.0 (2022-12-05)

Note: Version bump only for package @quenty/valueobject

7.1.1 (2022-11-04)

Note: Version bump only for package @quenty/valueobject

7.1.0 (2022-10-11)

Note: Version bump only for package @quenty/valueobject

7.0.0 (2022-09-27)

Note: Version bump only for package @quenty/valueobject

6.1.0 (2022-08-22)

Note: Version bump only for package @quenty/valueobject

6.0.1 (2022-08-16)

Note: Version bump only for package @quenty/valueobject

6.0.0 (2022-08-14)

Note: Version bump only for package @quenty/valueobject

5.2.0 (2022-07-31)

Note: Version bump only for package @quenty/valueobject

5.1.0 (2022-06-21)

Note: Version bump only for package @quenty/valueobject

5.0.0 (2022-05-21)

Features

  • Add ValueObject.fromObservable(observable) (80a14db)

4.2.0 (2022-03-27)

Note: Version bump only for package @quenty/valueobject

4.1.0 (2022-03-10)

Note: Version bump only for package @quenty/valueobject

4.0.0 (2022-03-06)

Note: Version bump only for package @quenty/valueobject

3.8.0 (2022-01-17)

Note: Version bump only for package @quenty/valueobject

3.7.1 (2022-01-16)

Note: Version bump only for package @quenty/valueobject

3.7.0 (2022-01-07)

Features

  • Add ValueObject:Observe() and StateStack:Observe() (91af9f2)

3.6.0 (2022-01-03)

Note: Version bump only for package @quenty/valueobject

3.5.2 (2021-12-30)

Note: Version bump only for package @quenty/valueobject

3.5.1 (2021-12-30)

Note: Version bump only for package @quenty/valueobject

3.5.0 (2021-12-18)

Note: Version bump only for package @quenty/valueobject

3.4.0 (2021-12-14)

Features

  • ValueObject does not fire .Changed on cleanup. (ffd1a82)

3.3.0 (2021-11-20)

Bug Fixes

3.2.0 (2021-10-30)

Note: Version bump only for package @quenty/valueobject

3.1.2 (2021-10-30)

Note: Version bump only for package @quenty/valueobject

3.1.1 (2021-10-06)

Note: Version bump only for package @quenty/valueobject

3.1.0 (2021-10-02)

Note: Version bump only for package @quenty/valueobject

3.0.1 (2021-09-18)

Bug Fixes

  • Fix undeclare package dependencies that prevented loading in certain situations (a8be7e0)

3.0.0 (2021-09-11)

Note: Version bump only for package @quenty/valueobject

2.1.0 (2021-09-05)

Note: Version bump only for package @quenty/valueobject

2.0.0 (2021-09-05)

Bug Fixes

  • Remove peer dependencies. This is because lerna doesn't really support peer dependencies being linked and getting a new version on build, which is unfortunate. (5f5aeee)

1.2.0 (2021-07-31)

Bug Fixes

  • Add CI and CD (47513e9)
  • Adjust CI badge to show automatic build and release state (5a55d3f)
  • Fix selene linting (45fc074)

1.0.2 (2021-07-25)

1.0.1 (2021-07-25)

1.0.0 (2021-07-24)