Releases: Mazyod/PhoenixSharp
Releases · Mazyod/PhoenixSharp
v1.4.1
v1.4.0
Fixes
- Fix heartbeat timeout reconnection and leaked timer executions —
ResetHeartbeat()and the heartbeat response handler now properly store theIDelayedExecutionreference so it can be cancelled on reconnection.HeartbeatTimeout()rewritten to match PhoenixJS: triggers channel errors, then tears down with an explicit reconnect callback. (#35) - Fix NativeWebSocket adapter missing message dispatch — NativeWebSocket queues received messages on all platforms, not just WebGL. The sample adapter now includes a
Tick()method that must be called fromUpdate()to deliver messages. Without this, channel replies never arrive and channels enter an infinite rejoin loop. Verified on real Android hardware (Pixel 8a, IL2CPP) via Firebase Test Lab.
Features
- NativeWebSocket sample adapter — New sample WebSocket implementation using NativeWebSocket, the recommended open-source WebSocket library for Unity (supports WebGL, Android, iOS, UWP).
- Parameterized integration tests — All integration tests now run against both DotNet and NativeWebSocket transports via NUnit
TestCaseSource, catching transport-specific issues.
Other
- Recommend NativeWebSocket over WebSocketSharp in README
- Exclude integration tests from CI (depend on external server)
v1.3.1
v1.3.0
v1.2.3
What's New
- Auto-sync OpenUPM version: The publish workflow automatically updates
package.jsonandREADME.mdwith the release version.
Full Changelog
v1.2.2
What's New
- Auto-sync OpenUPM version: The publish workflow now automatically updates
package.jsonandREADME.mdwith the release version, keeping versions synchronized.
Full Changelog
v1.2.1
What's New
- Auto-sync OpenUPM version: The publish workflow now automatically updates
package.jsonandREADME.mdwith the release version, ensuring NuGet and OpenUPM versions stay synchronized.
Full Changelog
v1.2.0
What's New
- Auto-sync OpenUPM version: The publish workflow now automatically updates
package.jsonandREADME.mdwith the release version, ensuring NuGet and OpenUPM versions stay synchronized.
Full Changelog
v1.1.0
What's New
- Unity Package Manager (UPM) support - Install directly via git URL
- Restructured project with Unity as single source of truth
- Fixed nullable attribute conflicts with netstandard2.1
UPM Installation
https://github.com/Mazyod/PhoenixSharp.git?path=src/PhoenixSharp.Unity/Assets/Plugins/PhoenixSharp
Or add to Packages/manifest.json:
"io.level3.phoenixsharp": "https://github.com/Mazyod/PhoenixSharp.git?path=src/PhoenixSharp.Unity/Assets/Plugins/PhoenixSharp"v1.0.3
What's New
Comprehensive Test Suite
- Expanded from 23 to 180 unit tests
- Full coverage for Socket, Channel, Push, DelayedExecutor, Scheduler
- Heartbeat and reconnect logic now unit tested
- Test categories added (
Unit/Integration)
Tooling Improvements
- Code coverage reporting via Codecov
- NuGet package caching in CI for faster builds
- Code style enforcement with
.editorconfig
Bug Fixes
- Fixed nullable reference type warnings in Socket and JSONMessageSerializer
Documentation
- Added NuGet and Codecov badges to README
- Updated CLAUDE.md with build/format commands