Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 792 Bytes

MIGRATION.md

File metadata and controls

17 lines (16 loc) · 792 Bytes

Version 2.0

Differences from 1.x

Server

  • Events and functions now have middleware. Runtime type checking is now done via the TypeChecker middleware.
  • Net.ServerEvent is now Net.Server.Event
  • Net.ServerFunction is now Net.Server.Function
  • Net.ServerAsyncFunction is now Net.Server.AsyncFunction
  • Net.GlobalServerEvent is now Net.Server.CrossServerEvent
  • Net.ServerThrottledEvent is now gone - use the RateLimit middleware.
  • Net.ServerThrottledFunction is now gone - use the RateLimit middleware.

Client

  • Net.ClientEvent is now Net.Client.Event
  • Net.ClientFunction is now Net.Client.Function
  • Net.ClientAsyncFunction is now Net.Client.AsyncFunction
  • Net.GlobalClientEvent is now Net.Client.CrossServerEvent