SDK Guides
C++

Release Notes: C++

C++ Version 4.5.4

Synchronized version bump release — no changes

C++ Version 4.5.3

Synchronized version bump release — no changes

C++ Version 4.5.2

Synchronized version bump release — no changes

C++ Version 4.5.1

Added

  • Support for light JWTs (separating identity data) (#11063)

Fixed

  • A potential panic if an f64::Nan is compared to a u64 or i64 during collation.

C++ Version 4.5.0



Added

  • New C++ SDK for Android. (#10218)
  • Store::execute method to execute DQL queries. (#10421)
  • The StoreObserver class to the execute function when the documents that match a query are changed. (#10421)
  • Store::register_observer to create a new StoreObserver. (#10421)
  • The register_subscription method to the Sync class. (#10485)
  • SyncSubscription class that allows you to receive updates on documents. (#10485)
  • The Sync class to manage subscriptions. (#10702)
  • SmallPeerInfo property to Ditto allowing access to, and configuration of, Small Peer Info. (#10838

Deprecated

  • LanConfig.multicast_enabled property. (#10126)

Changed

  • Ditto C++ for iOS SDK is built and tested with Xcode 14.3.1. (#10177)

Improved

  • Performance by implementing bipartite distance-aware mesh topology. (#10632)
  • Memory usage and performance of Documents. (#10736)
  • Reduced metadata accumulation after eviction by clearing remote summaries. (#7065)
  • Serialization performance. (#9112)

Fixed

  • Bluetooth and LAN transports fail to stop on Windows and Linux. (#8809)
  • Made logging more robust to failed writes in a specific set of circumstances. (#10077)
  • Addressed a warning from SQLite that sometimes occurs on startup about a schema change. (#10501)
  • Presence graph may not show all active connections. (#10507)
  • When observing peers, isConnectedToDittoCloud property may be incorrect. (#10534)
  • initial logging events now use the same format as all other logs. (#10611)
  • mesh could choose random connections. (#10711)
  • A bug with Ditto's internal crash handler. (#10022)