Skip to content

websocket-sharp v1.0.4 Unity Preview 1

Pre-release
Pre-release

Choose a tag to compare

@aevien aevien released this 05 Jun 01:01

Unity-oriented preview release for the maintained fork.

Target:

  • net472 / Unity .NET 4.x profile
  • Suitable for Unity Editor, Standalone and mobile IL2CPP/Mono plugin import where managed .NET sockets are available
  • WebGL is not targeted because Unity WebGL uses the browser JavaScript WebSocket stack
  • Legacy Windows 7/8 compatibility is intentionally not a target

Changes since v1.0.3-unity-preview.1:

  • Added GitHub Actions CI for main/dev and manual stress-test workflow
  • Added bounded receive/send resource limits: MaxFramePayloadLength, MaxMessagePayloadLength, MaxMessageEventQueueLength, MaxAsyncSendQueueLength
  • Added WebSocketBehavior limit properties for server services
  • Reject oversized frames/messages with 1009 TooBig before OnMessage delivery
  • Added bounded decompression for compressed messages that inflate past the configured limit
  • Updated README with release links, CI notes, Unity import guidance and runtime limit documentation

Validation before release:

  • Release build: passed, 0 warnings, 0 errors
  • Unit tests: 46/46 passed
  • Stress tests: 6/6 passed
  • BeginInvoke/EndInvoke guard: no matches in websocket-sharp or tests
  • Stress coverage included 500 async lifecycle cycles, 50 CCU x 100 echo messages, 50 simultaneous ConnectAsync clients, close lifecycle stress, resource lifecycle stress and slow-handshake timeout coverage

Artifacts:

  • websocket-sharp.dll SHA256: A41805197B2E90D889199377FD2984C9841221E6AED75BB68C1D2A47EF44AB56
  • websocket-sharp-v1.0.4-unity-preview.1-unity-net472.zip SHA256: D652D05C7810DB01EF20D85208D4A345194D5479E150DACC007A6C3CC589590A