v3.0
Welcome to the release of v3.0 of RbxNet.
A lot of these changes are based on feedback from the users of RbxNet, as well as some other changes I've wanted to make to RbxNet for a while.
New additions#
- Added
Net.CreateDefinitions(...)as an alias forNet.Definitions.Create(...) - Added
Net.Utilnamespace for utility types for Net. - Added (finally)
Net.Definitions.ExperienceBroadcastEvent- Way to communicate between multiple servers in the same experience. (usingMessagingService)
Changes since v2.x#
- By default, remotes on the server are automatically generated
- The old legacy
Net.ServerandNet.ClientAPI has been reduced to just the objects. - (Breaking change) The second argument of
CreateDefinitionsorDefinitions.Createis now a configuration object. This includes:ServerGlobalMiddleware- The global middleware to apply to all remotesServerAutoGenerateRemotes- Manual control whether or not the framework generates remotes automatically at runtime on the server. Set this false if you want to preserve the v2.1.x behaviour.ClientGetShouldYield- Whether or not<definition>.Client.Getshould yield until the remote exists - otherwise error. Set this false if you want to preserve v2.1.5's behaviour.
Removals#
- The legacy
SerializationAPI. This was never publically available, however was removed finally in this version. It might be brought back later once the design is properly figured out. - Legacy functions in
Net.ServerandNet.Clientrelated to remote creation/fetching.