Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 3.47 KB

File metadata and controls

64 lines (51 loc) · 3.47 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.0] - 2025-10-14

  • Updated: Updated Ditto SDK to 4.11.6
  • Fixed: Issue where results were not properly being displayed in the QueryEditor module
  • Fixed: Updated Dependencies to make sure it works properly with Expo Dev Client based apps

[0.2.1] - 2025-10-14

  • Fixed: Issue with possible crashes using the QueryEditor

0.2.0 - 2025-10-10

Added

  • Query Editor Component: New component for executing DQL (Document Query Language) queries with multi-line input, expandable JSON results, and export functionality. Supports SELECT, INSERT, UPDATE, DELETE, and SHOW statements with performance optimization for large result sets (20,000+ records).
  • System Settings Component: Self-contained component displaying all Ditto system settings from SHOW ALL DQL query with built-in search functionality, real-time filtering, and refresh capability.
  • Data Directory Export: New hook and functionality to export and compress Ditto data directory using native share dialogs.
  • Log Export: Enhanced log export functionality using Ditto's Logger.exportToFile() with native file save dialogs.

Changed

  • Dependency Update: Migrated from react-native-fs to @dr.pogodin/react-native-fs for improved file system operations.
  • Performance Improvements: Optimized PeersList component with memoization and improved rendering performance.
  • UI Enhancements: Updated PeersList and DiskUsage components with improved styling and layout.
  • Metro Configuration: Enhanced metro.config.js for better module resolution and symlink support.
  • Documentation: Comprehensive README updates with detailed component documentation, style customization examples, and development workflow instructions.

Fixed

  • Android and iOS build issues with proper native module linking.
  • Permission handling for Android and iOS platforms.
  • Export functionality compatibility with Expo-based applications.
  • Performance issues with large peer lists and disk usage calculations.
  • Console logging cleanup across components.

Removed

  • Unused hooks and components from codebase.
  • Asset icon requirements that caused additional setup steps in external apps.
  • Unnecessary environment variables from configuration.

0.1.1 - 2024-12-19

Added

  • Initial npm package release as @dittolive/ditto-react-native-tools.
  • DittoProvider context component for sharing Ditto instance across the application.
  • PeersList component for displaying and monitoring Ditto peer connections.
  • DiskUsage component for monitoring Ditto's disk usage breakdown.
  • usePeers hook for observing and managing peer connections.
  • useDiskUsage hook for querying disk usage from __small_peer_info.
  • useLogExport hook for exporting Ditto logs.
  • usePermissions hook for handling required permissions.
  • Example React Native app demonstrating library usage.
  • Comprehensive documentation in README.
  • MIT License.

Changed

  • Updated package name to @dittolive/ditto-react-native-tools for npm publishing.
  • Configured publishConfig for npm registry.
  • Updated repository URLs and author information.