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.
Net.CreateDefinitions(...)as an alias for
Net.Utilnamespace for utility types for Net.
- Added (finally)
Net.Definitions.ExperienceBroadcastEvent- Way to communicate between multiple servers in the same experience. (using
#Changes since v2.x
- By default, remotes on the server are automatically generated
- The old legacy
Net.ClientAPI has been reduced to just the objects.
- (Breaking change) The second argument of
Definitions.Createis now a configuration object. This includes:
ServerGlobalMiddleware- The global middleware to apply to all remotes
ServerAutoGenerateRemotes- 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.
- 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.Clientrelated to remote creation/fetching.