Releases: RBLXUtils/FastSignal
10.4.0 - Structural changes
Full Changelog: 10.3.2...10.4.0
Nothing should change much in the behavior in-game, this is more about organizing some stuff and actually, getting commits and tags signed, lol.
10.3.2
What's Changed
- Small internals changes and typo fixes
- Should now be a stable release AFAICT, be sure to update
Full Changelog: 10.3.1...10.3.2
10.3.1
# 10.3.0 - Long time no see
Hey!
This updates removes the ability to get Deferred/Immediate when requesting FastSignal. Instead, require a specific one if you need it.
I wanted to update a few things:
- BETA: Generic types (let me know if these work, typing can suck)
- Type Class is now deprecated (technical limitation)
- The repo now has better benchmarking tools and a new benchmark that shows FastSignal being faster than RBXScriptSignal and GoodSignal.
- Moonwave docs and such are now stored in a separate file.
Full Changelog: 10.2.1...10.3.0
# 10.2.1 - :Once
Hello! Welcome back! It's been some time! 😊
Changes
Nothing too big changed, this update is backwards compatible.
-
Roblox is now releasing a new RBXScriptSignal function which will be
:Once
, FastSignal already implemented a similar function which was:ConnectOnce
which was then even added on sleitnick's fork of GoodSignal. For API parity, it has been renamed to:Once
, however you can still call:ConnectOnce
. -
:Once
now returnsScriptConnection
. -
Fixed type issue where no intellisense worked on Roblox's Script Editor.Being investigated. -
Moonwave page finally updated.
Important notice
Because :Once
hasn't actually launched, we also don't know exactly how it works.
Because of that, if :Once
behaviour is not the same as the one we expect by how it works and how it is implemented here, then its current implementation here, will then be moved to :ConnectOnce
and :Once
will by replaced by a Lua implementation of how it works on Roblox.
# 10.1.0 - Please update
So, this is embarrasing.
If you look into FastSignal's changelogs, you would have noticed that :DisconnectAll
was not actually disconnecting connections because of a typo. This happened again, with the same exact typo, except it's not :DisconnectAll
, it's :Disconnect
. While it wouldn't fire those connections, the nodes were still there, so it was essentially leaking stuff. At least I caught it now.
Kinda embarrassing to say that right after saying FastSignal is stable, but yeah lol. This was probably a side effect of moving away from connections being one single reference, and me just not noticing it.
Anyway, yeah... Please update :) It's pretty serious :/
Other than that, there are some nice things :)
- FastSignal now has extremely specific, dedicated internal types, this will help debugging in the future, and also solves this issue on Studio., it causes some weird side-effects, but it doesn't cause actual issues. This is really good for intellisense.
- Internal comparasions are now explicit.
I'm fairly certain this will be the last major update to FastSignal, I'm probably gonna have a silent update soon when Moonwave updates to simplify some things, but nothing too big, it's just comment changes and so not worth announcing.
# 10.0.0 - FastSignal is now stable
This is the beginning of the stable era for FastSignal! This will mean that FastSignal will take less risks with messing / removing features from the library.
FastSignal was deemed stable enough for this release. Any bugs, weird behaviour, must be reported immediately.
- Fixed issue where
:DisconnectAll
wouldn't actually disconnect connections - Added moonwave documentation / comments
- Immediate and Deferred now have a bigger separation, as they don't any code that the other one needed to function properly
- Optimized
:DisconnectAll
as well, so now it's much faster - Adaptive now requires that Deferred and Immediate exist, it longer is a separate version, instead, it just requires the right one
- Adaptive's Signal now contains
.Deferred
and.Immediate
which point to a specific mode
There are other smaller / forgotten changes.
# 7.1.6
- Added
.Is
to check if an object is a signal - Added support for wally
lucasmzreal/fastsignal@7.1.6
- Legacy version of FastSignal was removed.
# 7.1.5
- Change thread recycling code to a different method (fixes a handler possibly memory leaking)
# 7.1.2
- Adaptive no longer yields when requiring it
- Reversed one of the changes in the last update to fix some possible? issues with types