Repository navigation
Releases: danqzq/dan.net
Releases · danqzq/dan.net
Release list
v1.2
Changelog
Version 1.2 (November 30, 2025)
Added
- Package.json for Dan.Net with updated version and dependency management
- XML documentation for
DanNetEventAttributeandExternalThreadEventAttribute - New
StreamWrapperclass separated into its own script for better code organization - Extension methods for
ISyncDatainterface to improve data handling - New usage example documentation for
ISyncDatainterface JsonPropertyattributes to response models for better JSON serialization
Changed
- BinaryProtocol: Replaced
Array.CopywithBuffer.BlockCopyfor improved encoding efficiency - BinaryStreamProtocol: Optimized custom data handling and improved quaternion compression
- DanNet: Simplified event caching system and refactored for better maintainability
- MonoBehaviourDanNet: Changed
syncObjectto use a private setter and improvedAwakemethod formatting - SyncObject: Optimized component indexing and enhanced functionality
- ISyncData: Enhanced with new extension methods for better data handling
- Response Models: Updated to readonly structs with enhanced constructors for improved data handling
ConnectResponseDestroyResponseInstantiationResponseLatencyResponseLeftRoomResponseSyncObjectData
- DanNetEvent: Moved from
Runtime/NettoRuntime/Net/Modelsfolder for better organization
Improved
- README.md: Clarified dependency installation instructions and enhanced installation section formatting
- Overall code structure and organization with better separation of concerns
Performance
- Optimized binary protocol encoding using
Buffer.BlockCopy - Improved quaternion compression in stream protocol
- Enhanced custom data handling efficiency
v1.1
Changelog
Version 1.1 (November 23, 2025)
Major Features & Improvements:
Binary Protocol Implementation
- Added a new binary serialization system for efficient data encoding
- Added efficient binary encoding/decoding for real-time stream data
- Improved network performance through binary data transmission instead of JSON
Enhanced Transform Synchronization
- Refactored TransformSync.cs with improved interpolation and smoothing
- Added position and rotation thresholds to reduce unnecessary network updates
- Implemented lag compensation factor for smoother remote object movement
- Added target position/rotation properties for better prediction
Data Streaming Improvements
- Updated
StreamManagerwith binary protocol integration - Modified
SyncDataStreamto support both transform and custom binary data - Added
SendTransform()andReceiveTransform()methods for optimizedTransformcomponent data
Core Networking Changes
- Refactored core networking logic
- Updated
WebSocket.jslibimplementation for better browser compatibility - Modified message handling system to support binary protocols
- Improved connection retry logic and error handling
Documentation
- NEW: Added comprehensive API documentation in Docs folder:
DanNet.md- Main API referenceDanNetConfig.md- Configuration optionsDanNetEvent.md- Event system documentationISyncData.md- Data synchronization interfaceMonoBehaviourDanNet.md- Base component classMonoBehaviourDanNetCallbacks.md- Callback systemRoom.md- Room system documentationStreamManager.md- Stream system internalsSyncDataStream.md- Stream data handlingSyncObject.md- Synchronized object documentationSyncObjectManager.md- Synchronized object management systemTransformSync.md- Transform synchronization guide
Utilities & Maintenance
- Updated
Globals.csconstants and configuration - Removed deprecated code from
MainThreadManager.cs - Updated
README.mdwith new features and documentation links
v1.0
Initial release!
Woohoo! 🥳
This library of mine has put me through countless sleepless nights and has gone through many revisions within the last 3 years. It has been an epic learning journey and I look forward to maintaining and continuously supporting it 💖
Huge thank you to my fellow supporters/testers:
- Vladyslav Savchyn 🐼🇺🇦
- Mustafa Siddiqui 🦥🇨🇦
- Elshad Humbatli 🦝🇦🇿
- All members of Team Melon 🍉
