SDK Setup Guides
...
Kotlin
Release Notes

Ditto v3 for Android

kotlin android updates version changelog



Kotlin Android Version 3.0.11

Released: Thu Aug 10th 2023, 7:07 am
Improved
Changed: Improved clarity of error messages when data on disk cannot be read by this version following a downgrade from a newer version of Ditto. (#9267)
Improved
Changed: Print some internal errors in a more human-readable format. (#9495)

Text


Kotlin Android Version 3.0.10

Released: Fri Jun 30th 2023, 8:25 pm
Improved
Fixed: a potential crash if a document attachment was malformed (#9045)

Text


Kotlin Android Version 3.0.9

Released: Wed Jun 14th 2023, 8:23 am
Fixed
Fixed: Ditto store errors now include more details instead of just an object description.

Text


Kotlin Android Version 3.0.9-alpha1

Released: Mon May 22nd 2023, 4:34 pm
Fixed
Fixed: Ditto store errors now include more details instead of just an object description.

Text


Kotlin Android Version 3.0.8

Released: Thu May 18th 2023, 11:33 pm

Synchronized version bump release — no changes

Text


Kotlin Android Version 3.0.7

Released: Fri Apr 7th 2023, 9:28 am
Fixed
Fixed: Resolved an issue with logging when the stdout is not available.

Text


Kotlin Android Version 3.0.6

Released: Wed Mar 15th 2023, 6:00 pm
Fixed
Fixed: Issue where Ditto instance using
Fixed
Fixed: Potential crash on Windows and Linux from invoking

Text


Kotlin Android Version 3.0.5

Released: Tue Feb 28th 2023, 9:31 pm
Improved
Changed: some threads spawned by the SDK no longer wait up to 30 seconds before being stopped.
Added
Changed: added more logging when a peer is unable to connect to another peer because of no overlapping supported protocol versions.
Fixed
Fixed: replication hanging under some circumstances, especially WebSocket connections to Big Peer

Text


Kotlin Android Version 3.0.4

Released: Fri Jan 27th 2023, 4:10 pm

Synchronized version bump release — no changes

Text


Kotlin Android Version 3.0.3

Released: Thu Jan 26th 2023, 6:35 am
Fixed
Fixed: an issue which could cause Ditto to hang if more than 500 peers were encountered.

Text


Kotlin Android Version 3.0.3-alpha2

Released: Mon Jan 23rd 2023, 10:05 am
Fixed
Resolved an issue where presence evictions could deadlock on startup with large numbers of peers

Text


Kotlin Android Version 3.0.2

Released: Fri Jan 20th 2023, 1:20 pm

Synchronized version bump release — no changes

Text


Kotlin Android Version 3.0.1

Released: Fri Jan 13th 2023, 6:57 pm
Added
Added: DiskUsage class which can be used to monitor disk usage.
Added
Added: diskUsage property to Ditto class for access to a DiskUsage instance.
Added
Added: DiskUsageItem class which contains data about the space used by files in the Ditto working directory.
Added
Added: routingHint property to DittoGlobalConfig class.
Added
Added: NO_PREFERRED_ROUTE_HINT constant, used internally by DittoGlobalConfig if no routing hint is specified.
Improved
Changed: better readability of data sizes and durations in logs.

Text


Kotlin Android Version 3.0.0

Released: Fri Dec 16th 2022, 5:38 am
Improved
Removed: the DittoRGA constructor. You cannot create new RGAs.
Improved
Removed: the deprecated DittoMutableRGA type. You cannot mutate existing RGAs.
Improved
Renamed: siteID property -> siteId in Ditto class
Improved
Renamed: DittoDocumentID -> DittoDocumentId
Improved
Renamed: DittoDocumentIDPath -> DittoDocumentIdPath
Improved
Renamed: appID property -> appId in DittoIdentity nested classes
Improved
Renamed: siteID property -> siteId in DittoIdentity nested classes
Improved
Renamed: DittoPendingIDSpecificOperation -> DittoPendingIdSpecificOperation
Improved
Renamed: docID property docId in DittoPendingIdSpecificOperation class
Improved
Renamed: DittoWriteTransactionPendingIDSpecificOperation -> DittoWriteTransactionPendingIdSpecificOperation
Improved
Renamed: docID property -> docId in DittoWriteTransactionPendingIdSpecificOperation class
Improved
Renamed: NoIDPresentInDocument -> NoIdPresentInDocument in DittoError.StoreErrorReason class
Improved
Renamed: InvalidLiveQueryID -> InvalidLiveQueryId in DittoError.StoreErrorReason class
Improved
Renamed: findByID() method findById() in DittoCollection class
Improved
Renamed: docID property -> docId in DittoUpdateResult nested classes
Improved
Renamed: docID property -> docId in DittoMutableDocumentPath class
Added
Added: close() method to DittoLiveQuery, adding Closeable conformance.
Added
Added: close() method to DittoAttachmentFetcher, adding Closeable conformance.
Improved
Deprecated: DittoLiveQuery.stop(), please use the newly added DittoLiveQuery.close() instead.
Improved
Deprecated: DittoAttachmentFetcher.stop(), Please use the newly added DittoAttachmentFetcher.close() instead.
Fixed
Fixed: The Closeable returned from observeStatus is now held weakly allowing it to be garbage-collected when the reference goes out of scope.
Improved
Removed: observe() and observeWithNextSignal() methods of DittoPendingCollectionsOperation, DittoPendingCursorOperation, and DittoPendingIdSpecificOperation. Please use the corresponding observeLocal() and observeLocalWithNextSignal() variants along with a separate call to subscribe() instead. See https://docs.ditto.live/android/common/concepts/syncing-data#subscribe
Improved
Deprecated: DittoRemotePeer, DittoRemotePeerV2, DittoPeerV2Parser, DittoPeersObserverV1, DittoPeersObserverV2, DittoPeersObserverV1Callback, and DittoPeersObserverV2Callback types.
Improved
Changed: performance improvements.
Added
Added: disableSyncWithV2 method to Ditto. This allows you to explicitly opt-in to disabling the ability to sync with Ditto peers running any version of the SDK in the v2 series of releases. Assuming this succeeds then this peer will only be able to sync with other peers using SDKs in the v3 series of releases. Note that this disabling of sync spreads to peers that sync with a peer that has disabled, or has (transitively) had disabled, syncing with v2 SDK peers.
Improved
Improved: reliability if app crashes occur while persisting authentication data.
Fixed
Fixed: WiFi Aware stability when WiFi is turned on/off.
Improved
Improved: log increased detail to help debug blocked write transactions.

Text


Kotlin Android Version 3.0.0-alpha3

Released: Mon Dec 12th 2022, 5:19 am

Release Notes:

  • Synchronized version bump release

Installation:

implementation "live.ditto:ditto:3.0.0-alpha3"

Kotlin Android Version 3.0.0-alpha2

Released: Tue Dec 6th 2022, 8:01 am

Release Notes:

  • Fixed: WiFi Aware stability when WiFi is turned on/off.
  • Improved: reliability if app crashes occur while persisting authentication data.

Installation:

implementation "live.ditto:ditto:3.0.0-alpha2"

Kotlin Android Version 3.0.0-alpha1

Released: Thu Dec 1st 2022, 12:01 pm

Release Notes:

  • Removed: the
  • Removed: the deprecated
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Renamed:
  • Added:
  • Added:
  • Deprecated:
  • Deprecated:
  • Fixed: The
  • Removed:
  • Deprecated:
  • Changed: performance improvements.
  • Added

Installation:

implementation "live.ditto:ditto:3.0.0-alpha1"