Net v0.4.0
Net v0.4.0
API Changes
- Rewrote
Net:query()to use the newQueryResulttype - Rewrote
Net:send()to use the newSendRequesttype
You will need to migrate your existing Net code to use the new behavior of this API. The Documentation for Querying and Sending data on the Docs Site is fully updated, that would be a good place to reference how to use the new behavior.
QueryResult and SendRequest offer a better user experience and allow for better type-checking, they are also less prone to bugs compared to their counterparts.
Changed
- Exported and internal types are now more strict and are just generally improved
A complete revamp of the types has been done. For Object-Oriented Objects in Net, the new types follow the standard from Luau for implementing types for faux object oriented programs.
Fixed
Priorityartifacts in documentation- Matter example game has outdated paths
- Matter example game Replication & Formatting (#3)
- Rojo deletes Remotes when live-syncing (#4)