This repository has been archived by the owner on Feb 21, 2024. It is now read-only.
Releases: ffrostfall/BridgeNet2
Releases Β· ffrostfall/BridgeNet2
v1.0.0
version 1.0.0: 10/20/2023
Added
- Added an easy way to type payloads using generics. This will be elaborated on in documentation later
Fixes
- Fixed sending singular nil values with nothing else in the frame
- Fixed a bug w/ the loading queue. Finally got around to that (#35)
- Type improvements
Improvements
- Added unique IDs to the invoke functionality. Should fix a multitude of bugs.
- Re-did rate limiting. I'm confident that it's stable.
v0.5.6
version 0.5.6: 9/25/2023
Added
- Now uses a system to manage package version control w/ instances. This ensures that even if you're running 2 separate versions of BridgeNet2, it will communicate correctly, and everything will work as expected.
This is really a wally-only update, so no standalone will be attached.
v0.5.5
version 0.5.5: 8/26/2023
Fixes
- All coroutine.resume instances have been replaced with task.spawn. This fixes a lot of obscure bugs.
v0.5.4
version 0.5.4: 8/19/2023
Added
- You can now name connections, which will show up in logging and in the microprofiler.
- Calling script and line are now shown for connections and firing bridges
Improvements
- Type improvements
v0.5.3
version 0.5.3: 7/31/2023
Added
- A mock API for when BridgeNet2 is ran in edit mode. Limitations: InvokeServerAsync will infinitely yield, connections will never run.
Improvements
- BridgeNet2 nows prints the current version upon being loaded
- Improved output readability
- Potentially breaking: Bridges now are cached- this means you will have the same bridge object across scripts. This should be more expected behavior, and should overall be an improvement.
Fixes
- Potentially fixed some issues with loading and identifiers?
- Fixed a bug where referencing a bridge multiple times clearing connections each time (Except on the client this time)
v0.5.2
version 0.5.2
Improvements
- PlayerContainers now error if an incorrect amount of arguments is passed
Fixes
- Fixed a bug where referencing a bridge multiple times clearing connections each time
- Fixed a bug where the player loading before BridgeNet2 starts would never initialize the player
v0.5.0
version 0.5.0: 6/21/2023
Added
- Added
ServerBridge.OnServerInvoke
andClientBridge:InvokeServer()
- Added
.Connected
to connections
Fixes
- Fixed a bug with
Bridge:Wait
Improvements
- Refactored the object-oriented programming pattern used w/ Bridges
- Connections are now their own class
- Calling methods with
.
instead of:
will now error - Type improvements
tostring()
-ing a bridge will now return its class type
v0.4.1
v0.4.0
version 0.4.0: 6/10/2023
Added
- Added
BridgeNet2.ServerBridge
andBridgeNet2.ClientBridge
constructors- they are identical to ReferenceBridge, just with better types. The current ReferenceBridge will not be deprecated or affected by this. - Instead of being limited to tables, you can now pass any type into :Fire(). This means you can finally pass in nil values to :Fire() too.
Fixes
- Fixed rate limiting
- Re-added methods on the
Bridge
type to types
Improvements
- Added
Connection
type toBridge:Connect()
functions RateLimitActive
is now a public boolean that can be set by the user- Improved error messages
- Improved logger readability.
- I made a script to automate releases- there should hopefully be less inconsistencies with releases from now on.
v0.3.0
version 0.3.0: 6/8/2023
- Added Hoarcekat support
- Massive internal re-structuring
- Renamed
FromIdentifier
andFromCompressed
toSerialize
andDeserialize
- NumberToBestForm removed (feature bloat)
- StartLogging and StopLogging have been removed in favor of
object.Logging =
- Logging now displays the packet size in bytes (using @PysephWasntAvailable's RemotePacketSizeCounter package)
- Compliant with strict Luau typing
- Type improvements
- Internally commented the entire project
- Removed SetSecurity and SecurityEnums in favor of
HandleInvalidPlayer
- Literally dozens of bugfixes