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

Package detail

@quenty/maid

Quenty21.5kMIT3.4.3

Easily cleanup event listeners and objects in Roblox

Roblox, Nevermore, Lua, Maid, event, cleanup

readme

Maid

Easily cleanup event listeners and objects in Roblox

Installation

npm install @quenty/maid --save

Features

  • Supports Roblox deferred event mode
  • Handles reentrance correctly
  • Can give tasks or promises
  • Supports promise library

changelog

Change Log

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

3.4.3 (2025-04-10)

Note: Version bump only for package @quenty/maid

3.4.2 (2025-04-07)

Bug Fixes

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

3.4.1 (2025-04-07)

Bug Fixes

3.4.0 (2024-10-04)

Bug Fixes

  • Maid:Add reports the correct method name in error (3d31b0d)

Performance Improvements

  • Order maid tasks by most common access scenarios and reduce query of typeof() calls (2f6c713)

3.3.0 (2024-09-12)

Bug Fixes

3.2.0 (2024-05-09)

Bug Fixes

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

3.1.0 (2024-03-09)

Bug Fixes

3.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

2.6.0 (2023-08-23)

Features

  • Add Maid:Add() which returns the task you pass into the maid (bf9e3d6)

2.5.0 (2023-03-05)

Bug Fixes

  • Maids would sometimes error while cancelling threads they were part of. This ensures full cancellation. (252fc3a)

2.4.0 (2022-07-31)

Bug Fixes

  • Maid tasks cancel old threads upon rewrite (f953eb8)

Features

2.3.0 (2022-03-27)

Note: Version bump only for package @quenty/maid

2.2.0 (2022-03-10)

Note: Version bump only for package @quenty/maid

2.1.0 (2022-01-17)

Bug Fixes

2.0.2 (2021-12-30)

Note: Version bump only for package @quenty/maid

2.0.1 (2021-10-06)

Note: Version bump only for package @quenty/maid

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)