Skip to content

Releases: danqzq/dan.net

v1.2

Choose a tag to compare

@danqzq danqzq released this 01 Dec 02:22
b044556

Changelog

Version 1.2 (November 30, 2025)

Added

  • Package.json for Dan.Net with updated version and dependency management
  • XML documentation for DanNetEventAttribute and ExternalThreadEventAttribute
  • New StreamWrapper class separated into its own script for better code organization
  • Extension methods for ISyncData interface to improve data handling
  • New usage example documentation for ISyncData interface
  • JsonProperty attributes to response models for better JSON serialization

Changed

  • BinaryProtocol: Replaced Array.Copy with Buffer.BlockCopy for improved encoding efficiency
  • BinaryStreamProtocol: Optimized custom data handling and improved quaternion compression
  • DanNet: Simplified event caching system and refactored for better maintainability
  • MonoBehaviourDanNet: Changed syncObject to use a private setter and improved Awake method 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
    • ConnectResponse
    • DestroyResponse
    • InstantiationResponse
    • LatencyResponse
    • LeftRoomResponse
    • SyncObjectData
  • DanNetEvent: Moved from Runtime/Net to Runtime/Net/Models folder 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

Choose a tag to compare

@danqzq danqzq released this 24 Nov 01:51

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 StreamManager with binary protocol integration
  • Modified SyncDataStream to support both transform and custom binary data
  • Added SendTransform() and ReceiveTransform() methods for optimized Transform component data

Core Networking Changes

  • Refactored core networking logic
  • Updated WebSocket.jslib implementation 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 reference
    • DanNetConfig.md - Configuration options
    • DanNetEvent.md - Event system documentation
    • ISyncData.md - Data synchronization interface
    • MonoBehaviourDanNet.md - Base component class
    • MonoBehaviourDanNetCallbacks.md - Callback system
    • Room.md - Room system documentation
    • StreamManager.md - Stream system internals
    • SyncDataStream.md - Stream data handling
    • SyncObject.md - Synchronized object documentation
    • SyncObjectManager.md - Synchronized object management system
    • TransformSync.md - Transform synchronization guide

Utilities & Maintenance

  • Updated Globals.cs constants and configuration
  • Removed deprecated code from MainThreadManager.cs
  • Updated README.md with new features and documentation links

v1.0

Choose a tag to compare

@danqzq danqzq released this 20 Jun 02:15
e389dfc

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: