Skip to content

LiteNetLib 1.3.1

Latest
Compare
Choose a tag to compare
@RevenantX RevenantX released this 23 Nov 21:20
· 3 commits to master since this release

Changes in 1.3.1

  • Fix crash when sending Merged byte without data
  • Add .net8 and .net7 targets (and nuget variants) to support specific features
  • Remove .net5 target because EOL. You can use .NET Standard for .net5.

Changes in 1.3.0

  • Stop running NetManagers in Unity in OnApplicationQuit (when using library source code)
  • Disable MTU discovery by default because some routers can break detection and connection in result. Remove UseSafeMtu (for this just use MtuOverride). To enable MTU discovery set NetManager.MtuDiscovery to true
  • Add optional argument max processed events into PollEvents and ManualReceive (fix #528)
  • Add methods to serialize and deserialize array of nested INetSerializable into NetDataReader/Writer
  • Add GUID serialization to NetDataWriter/Reader and NetSerializer/NetPacketProcessor
  • Add SendUnconnectedMessage with ReadOnlySpan argument
  • Add NetDataWriter.AsReadOnlySpan()
  • Add GetRemainingBytesMemory method to NetDataReader. (fix #560)
  • Make PeerTimers and ElapsedMilliseconds as float (fix #521)
  • Improve NetDataWriter/Reader strings.
  • Add PutLargeString (with int size) and GetLargeString into NetDataWriter/Reader
  • Fix ObjectDisposedException with Native Sockets (fix #542)
  • Lock unreliable channel only if there is pending packets
  • Unreliable packets optimization

For installation in typical .NET project use nuget package
For Unity use sources zip and copy directory LiteNetLib to your project