Releases: howmanysmall/Janitor
Releases Β· howmanysmall/Janitor
v1.17.0
[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
[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
[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
What's Changed
- Add evaera/Promise as a dependency by @colbert2677 in #33
- Fix SuppressInstanceReDestroy bug by @Meta-Maxim in #34
New Contributors
- @colbert2677 made their first contribution in #33
Full Changelog: v1.15.4...v1.15.6
Janitor 1.15.4
[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
[1.15.3] - 2023-07-01
Changed
- Changed how threads are cleaned up internally.
Janitor 1.15.1
[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
Added
- Added
Janitor:RemoveNoClean
andJanitor: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
1.4.1 - 2022-03-17
Added
- Added a new
LinkToInstance
method which will instead useInstance.Destroying
. - Added traceback to
Janitor:AddPromise
for invalid promises.
Changed
- The legacy
LinkToInstance
method has been renamed toLegacyLinkToInstance
.
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
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
andRbxScriptConnection
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.