Mirror/docs/General/ChangeLog.md

135 lines
7.9 KiB
Markdown
Raw Normal View History

# Change Log
2019-04-07 19:12:49 +00:00
## Version 3.x.x -- In Progress
2019-04-15 00:13:07 +00:00
- Added: Custom NetworkReader & NetworkWriter for user-defined types
- Added: NetworkTransform toggle for using local or world coordinates
2019-04-23 12:51:36 +00:00
## Version 3.6.5 -- 2019-Apr-23
2019-04-21 01:35:01 +00:00
- Fixed: Unity 2019.1 compatibility
- Fixed: Erroneous error indicating prefabs were missing Scene ID's
2019-04-12 17:54:43 +00:00
- Fixed: OnDeserializeSafely now works without allocations
2019-04-23 13:26:19 +00:00
- Fixed: Weaver not writing symbol files, preventing breakpoints from working in Visual Studio
2019-04-15 00:13:07 +00:00
- Fixed: NetworkIdentity SceneID generation now uses RNG Crypto Service Provider
- Fixed: Scene lighting in Additive example
2019-04-18 14:51:06 +00:00
- Fixed: Player Prefab transform details now respected when instantiated in the absence of NetworkStartPosition
- Removed: Tests folder from Unity package generation (no end-user value)
2019-04-12 17:54:43 +00:00
## Version 3.5.9 -- 2019-Apr-12
2019-04-10 10:35:48 +00:00
- Fixed: NetworkManager round-robin mode using NetworkStartPosition objects now uses hierarchy sibling order.
2019-04-12 17:54:43 +00:00
- Fixed: IsLocalPlayer is now reliably accurate in `Start()` by combining OwnerMessage and SpawnPrefabMessage
- Fixed: Stack overflow issues with Weaver and Cecil
- Fixed: Corrected assembly paths passed to weaver
- Fixed: Enum bandwdith reduced in SyncVars, Commands, and Rpcs
- Fixed: Placeholder files added for removed code files so updating works better
2019-04-10 10:48:11 +00:00
- Changed: NetworkManager `isHeadless` is a static property now, changed from `IsHeadless()`.
2019-04-10 10:35:48 +00:00
## Version 3.5.3 -- 2019-Apr-10
2019-04-07 19:12:49 +00:00
- Fixed: Exceptions in overrides of Network Manager and other components incorrectly silenced.
2019-04-08 03:22:31 +00:00
- Fixed: Lobby system sometimes would not spawn and swap game player prefabs into the game scene
2019-04-10 10:35:48 +00:00
- Fixed: Application.targetFrameRate no longer set in host mode
- Changed: Telepathy: Split MaxMessageSize to allow setting a different value for client and server
2019-04-07 19:12:49 +00:00
2019-04-07 08:37:58 +00:00
## Version 3.4.9 -- 2019-Apr-6
2019-03-19 17:22:23 +00:00
2019-04-07 08:37:58 +00:00
- Added: Semantic Versioning (which is why we jumped from 1.6 to 3.4.9)
2019-03-30 12:07:17 +00:00
- Added: [SyncDictionary](../Classes/SyncDictionary)
- Added: [SyncHashSet](../Classes/SyncHashSet)
- Added: [SyncSortedSet](../Classes/SyncSortedSet)
2019-04-03 04:21:54 +00:00
- Added: SyncList and SyncDictionary support all IList and IDictionary derived types, respectively
2019-03-30 15:58:26 +00:00
- Added: Documentation for [SyncVars](../Classes/SyncVars)
- Added: Documentation for [SyncEvents](../Classes/SyncEvent)
2019-03-20 04:50:34 +00:00
- Added: NoRotation to NetworkTransform
2019-03-21 13:35:27 +00:00
- Added: Scale is now included in spawn payload along with position and rotation
2019-03-21 13:06:03 +00:00
- Added: Generic `IMessageBase` to allow struct message types
2019-03-26 16:15:53 +00:00
- Added: Weaver now supports Vector2Int and Vector3Int
2019-03-23 17:37:14 +00:00
- Added: List Server example
2019-04-02 13:28:50 +00:00
- Added: Additive Scenes example
2019-03-22 13:09:45 +00:00
- Fixed: SyncLists now work correctly for primitives and structs
2019-03-26 16:15:53 +00:00
- Fixed: SyncVar Hooks now will update the local property value after the hook is called
- You no longer need to have a line of code in your hook method to manualy update the local property.
2019-03-19 17:22:23 +00:00
- Fixed: Host should not call Disconnect on transports
2019-03-26 16:15:53 +00:00
- Fixed: NetworkAnimimator now supports up to 64 animator parameters
- Fixed: NetworkManager `StartServer` no longer assumes scene zero is the default scene...uses `GetActiveScene` now
- Fixed: NetworkServer `Shutdown` now resets `netId` to zero
2019-03-22 13:09:45 +00:00
- Fixed: Observers are now properly rebuilt when client joins and `OnRebuildObservers` / `OnCheckObserver` is overridden
2019-04-02 13:28:50 +00:00
- Fixed: NetworkProximityChecker: On rare occasion, player could be excluded from observers rebuild
2019-03-26 16:15:53 +00:00
- Fixed: NetworkLobbyPlayer `OnClientReady` works now
2019-04-03 04:19:20 +00:00
- Fixed: NetworkLobbyPlayer Remove button not showing for P1 when Server Only
2019-03-21 13:46:41 +00:00
- Fixed: NetworkLobbyManager `pendingPlayers` and `lobbySlots` lists are now public for inheritors
2019-03-19 17:23:41 +00:00
- Fixed: Offline scene switching now works via `StopClient()`
2019-03-19 17:24:11 +00:00
- Fixed: Pong example updated
2019-04-03 02:33:10 +00:00
- Fixed: Source Weaver was deleting PDB files, preventing breakpoints and debugging from working.
2019-03-21 13:47:08 +00:00
- Changed: TargetRpc NetworkConnection paramater is now optional...the calling client's NetworkConnection is default
2019-03-19 17:22:23 +00:00
- Changed: Movement example replaced with Tank example
2019-03-26 16:15:53 +00:00
- Changed: NetworkClient functions are all static now, so the singleton is gone. Use NetworkClient directly.
2019-03-19 17:22:23 +00:00
- Changed: SyncList now supports structs directly, making SyncListSTRUCT obsolete.
- Removed: SyncListSTRUCT - Use SyncList instead.
2019-03-22 13:11:41 +00:00
- Removed: NetworkClient.ShutdownAll is obsolete -- Use NetworkClient.Shutdown instead
2019-03-19 17:22:23 +00:00
2019-03-15 04:30:34 +00:00
## Version 1.6 -- 2019-Mar-14
2019-03-13 15:11:30 +00:00
- Fixed: Websockets transport moved to Mirror.Websocket namespace
- Fixed: NetworkAnimator bandwidth abuse
- Fixed: NetworkAnimator float sync bug
- Fixed: Persistent SceneID's for Networked objects
2019-03-13 15:12:35 +00:00
- Changed: Documentation for [Transports](../Transports)
2019-03-13 15:11:30 +00:00
- Changed: Weaver is now full source...FINALLY!
- Changed: ClientScene.AddPlayer 2nd parameter is now `byte[] extraData` instead of `MessageBase extraMessage`
2019-03-22 14:35:53 +00:00
- Please refer to the code sample [here](../Concepts/Authentication) to see how to update your code.
2019-03-13 15:11:30 +00:00
- Changed: NetworkManager -- Headless Auto-Start moved to `Start()` from `Awake()`
- Changed: Removed Message ID's for all messages - See [Network Messages](../Concepts/Communications/NetworkMessages) for details
- Message IDs are now generated automatically based on the message name.
- Previously you would call Send(MyMessage.MsgId, message), now you call Send(message)
- Removed: Documentation for Groove Transport - use Websockets Transport instead
## Version 1.5 -- 2019-Mar-01
- Added: **Migration Tool** to (mostly) automate conversion from UNet
- Added: Full support for WebSockets and WebSocketsSecure to replace UNet LLAPI
- Added: Transport Multiplexer - allows the use of multiple concurrent transports
2019-03-13 15:11:30 +00:00
- Added: NetworkLobbyManager and NetworkLobbyPlayer with example game
- Added: Configurable Server Tickrate in NetworkManager
- Added: New virtual OnClientChangeScene fires right before SceneManager.LoadSceneAsync is executed
- Added: Unit tests for Weaver
- Fixed: Garbage allocations removed from a lot of things (more work to do, we know)
2019-03-02 19:56:08 +00:00
- Fixed: NetworkProximityChecker now uses OverlapSphereNonAlloc and OverlapCircleNonAlloc
- Fixed: SyncVar hook not firing when clients joined
- Fixed: NetworkManager no longer assumes it's on Scene(0) in Build Settings
- Fixed: NetworkAnimator no longer lmited to 6 variables
- Fixed: TelepathyTransport delivering messages when disabled
2019-03-13 15:11:30 +00:00
- Changed: Minimum Unity version: **2018.3.6**
- Removed: SceneAttribute.cs (merged to CustomAttributes.cs)
- Removed: NetworkClient.allClients (Use NetworkClient.singleton instead)
- Removed: NetworkServer.hostId and NetworkConnection.hostId (holdovers from LLAPI)
- Removed: NetworkConnection.isConnected (NetworkConnection is always connected)
- Removed: Transport.GetConnectionInfo (Use ServerGetClientAddress instead)
## Version 1.4 -- 2019-Feb-01
- Added: HelpURL attirbutes to components
- Added: Automatic targetFramerate for headless builds
- Added: ByteMessage to Messages class
- Fixed: Connectiing state can be cancelled properly
- Fixed: NetworkTransformBase interpolation applied to client's own object
- Fixed: Objects are spawned with correct rotation
- Fixed: SceneId assignment
- Fixed: Changed syncInterval wasn't saved...it is now
- Fixed: Additive Scene loading
- Changed: **Mirror is now full source** -- no more DLL's
- Changed: **Transports are now components** -- TCP, UDP, WebGL, Steam
- Changed: Transport class now dispatches Unity Events
- Changed: NetworkServer.SendToClientOfPlayer uses NetworkIdentity now
- Changed: NetworkServer.SendToObservers uses NetworkIdentity parameter now
- Changed: NetworkServer.SendToReady uses NetworkIdentity now
- Changed: NetworkServer.DestroyPlayerForConnection uses NetworkIdentity.spawned now
- Changed: NetworkConnection.Dispose uses NetworkIdentity.spawned now
- Changed: NetworkReader.ReadTransform uses NetworkIdentity.spawned now
- Changed: NetworkTransform reimplemented -- physics removed, code simplified
- Removed: NetworkClient.hostPort (port is handled at Transport level)
- Removed: NetworkServer.FindLocalObject (Use NetworkIdentity.spawned\[netId\] instead)
- Removed: ClientScene.FindLocalObject (Use NetworkIdentity.spawned\[netId\] instead)