Skip to content

Releases: howmanysmall/Janitor

v1.17.0

12 Aug 19:30
Compare
Choose a tag to compare

[1.17.0] - 2024-08-12

Added

  • Removed old TestEZ unit testing in favor of Jest.
  • Added Lune scripts for building.
  • Improved the documentation.
  • Fixed doc comments being way too long.

Changed

  • Rewrote the API to be correct for Luau LSP strict mode and Roblox strict mode.
  • Changed the Janitor.AddPromise API to be a better typed version.
  • Rewrote the code to be a little bit more readable.
  • Optimized the code with funny micro optimizations.

Fixed

  • Fixed suspicious thread cleanup.

Full Changelog: v1.16.0...v1.17.0

Janitor 1.16.0

01 May 17:11
Compare
Choose a tag to compare

[1.16.0] - 2024-05-01

Added

  • Added Janitor.AddObject for constructing an object.
  • Made the type for Janitor more accurate (you can now actually do __call without it whining!)

Changed

  • Changed some minor syntax things.

Janitor 1.15.7

27 Dec 21:18
Compare
Choose a tag to compare

[1.15.7] - 2023-12-27

Added

  • Added Janitor.instanceof for rbxts usage.

Changed

  • Made the Promise dependency "optional". It's still required in the Wally file, but it's not actually required if it can't detect it.
  • Updated the dependencies in the aftman file.
  • Changed one of the tests to use itSKIP.

Janitor 1.15.6

09 Aug 17:32
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.15.4...v1.15.6

Janitor 1.15.4

20 Jul 18:34
Compare
Choose a tag to compare

[1.15.4] - 2023-07-20

Added

  • Added a toggle to avoid double destruction of instances.

Fixed

  • Fixed an error being thrown when an ended thread is cleaned up. (#31)

Janitor 1.15.3

01 Jul 18:14
Compare
Choose a tag to compare

[1.15.3] - 2023-07-01

Changed

  • Changed how threads are cleaned up internally.

Janitor 1.15.1

30 Nov 18:53
Compare
Choose a tag to compare

[1.15.1] - 2022-11-30

Added

  • Added Janitor:GetAll as requested by AlreadyPro.

Fixed

  • Fixed incorrect type in the Janitor exported type.
  • Fixed out of date documentation in Installation.md.

Removed

  • Removed the old toml files for Selene.
  • Removed foreman.toml.

Full Changelog: v1.15.0...v1.15.1

Janitor 1.15.0

30 Nov 18:34
Compare
Choose a tag to compare

Added

  • Added Janitor:RemoveNoClean and Janitor:RemoveListNoClean, which allows removal without cleaning.
  • Added a nicer type return for Janitor. No more typeof(Janitor.new())!

Fixed

  • Fixed serious issue where Janitor:RemoveList would not actually remove anything from the indices reference.

Janitor 1.14.1

17 Mar 18:52
Compare
Choose a tag to compare

1.4.1 - 2022-03-17

Added

  • Added a new LinkToInstance method which will instead use Instance.Destroying.
  • Added traceback to Janitor:AddPromise for invalid promises.

Changed

  • The legacy LinkToInstance method has been renamed to LegacyLinkToInstance.

Fixed

  • Fixed Janitor not warning about an invalid MethodName for threads and functions.
  • Fixed incorrect documentation about Janitor.CurrentlyCleaning.

Full Changelog: v1.14.0...v1.14.1

Janitor 1.14.0

13 Mar 01:00
Compare
Choose a tag to compare

1.14 - 2022-03-12

Added

  • You can now add a thread using :Add. This will cancel said thread when the Janitor is cleaned up.
  • Added __tostring to the Janitor class.
  • Added :RemoveList as an alternative to long :Remove chains.
  • Added the properties of Janitor and RbxScriptConnection to the documentation.

Changed

  • Recompiled with L+ C Edition.
  • Put RbxScriptConnection in a separate file.
  • Documentation now will split the code examples by language more obviously.