Skip to content

Latest commit

 

History

History
179 lines (97 loc) · 4.05 KB

changelog.md

File metadata and controls

179 lines (97 loc) · 4.05 KB

Janitor Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[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)

[1.15.3] - 2023-07-01

Changed

  • Changed how threads are cleaned up internally.

[1.15.2] - 2023-04-11

Changed

  • Janitor.new actually returns the typed Janitor class.

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

[1.15.0] - 2022-11-30

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.

[1.14.2] - 2022-11-09

Added

Fixed

  • Fixed Janitor error when attempting call task.cancel on a running thread

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

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.

1.13.15 - 2021-11-24

Changed

  • Janitor:Cleanup now uses a while loop instead of a for loop when cleaning up. Fixed by @codesenseAye.

1.13.14 - 2021-11-05

Fixed

  • Janitor:AddPromise now will handle cancellations properly.

1.13.13 - 2021-10-20

Changed

  • Finding Promise is now more aware for plugins. This way it won't load a Promise library inside of ReplicatedStorage.

Fixed

  • APIs that return Janitor like Janitor::Remove no longer explicitly state the return type. This seems to cause problems with typed Luau.

1.13.12 - 2021-10-02

Added

Changed

  • Janitor's __index no longer points to a separate table.

Fixed

  • Urgent fix for the cleanup loop. I had forgotten the continue so it would've likely broken.

1.13.11 -

  • This version has been scrubbed from GitHub releases for a reason.

1.13.10 - 2021-09-29

Added

  • Added support for Promise existing in the Server* services.
  • Documentation comments have been overhauled.

1.13.9 - 2021-09-18

Added

  • A singular version of Janitor is now the only version. This still supports Promises, it just searches for the Promise library.

Changed

  • The file tree for Janitor has been standardized.

1.13.7 - 2021-09-16

Changed

  • The cleanup loop now uses in pairs instead of in next.

Removed

  • The task.spawn cleanups are now removed.

1.13.6 - 2021-08-21

Added

  • Janitor now cleans up the tasks using task.spawn.
  • Janitor now has types.
  • Janitor will work far better with typed Luau as well.

1.13.4 - 2021-05-27

Fixed

  • Janitor:LinkToInstance now works on deferred event mode. Shoutout to @Elttob for fixing it.

1.0.0 -

  • Initial release.