Skip to content

Releases: getditto/DittoSwiftPackage

1.1.8

06 Jun 16:24
f11571e
Compare
Choose a tag to compare
  • Fixed: Ditto with onlinePlaygroundV2 identity would fail to sync with the Big Peer if internet access isn't available at the time when Ditto is instantiated.
  • Fixed: DittoSwift contained an invalid development signature.

1.1.7

13 May 19:32
50b095c
Compare
Choose a tag to compare
  • Synchronized version bump release.

1.1.6

06 May 17:08
704c200
Compare
Choose a tag to compare
  • Fixed: cloud sync would stop working when setting a newly created transport config.
  • Fixed: cloud sync would stop working when setting a newly created transport config.
  • Fixed: a correctness issue in replication when peer permissions changed in the middle of a replication exchange.
  • Fixed: error when querying a collection and there was a type mismatch for a field being used in a comparison in the query.
  • Fixed: restarting an app too quickly could lead to multiple connection attempts to rejoin peers in the mesh.
  • Fixed: apps using OnlinePlaygroundV2 identities could experience a one minute delay before peer-to-peer sync occurs.
  • Changed: improvements to Ditto mesh performance via fastest-available-transport prioritization.

1.1.5

08 Apr 16:22
e1472ba
Compare
Choose a tag to compare
  • Synchronized version bump release

1.1.4

08 Apr 00:33
2bc762d
Compare
Choose a tag to compare
  • Changed: improved replication performance in some scenarios.
  • Fixed: accessing a DittoMutableDocument's value property now correctly decodes data such that it works in the same way as DittoDocument's value property.

1.1.3

21 Mar 19:02
6cc2629
Compare
Choose a tag to compare

DittoSwift

  • Added: onlinePlaygroundV2 case to DittoIdentity allowing for basic authentication for playgrounds
  • Deprecated: onlinePlayground case of DittoIdentity, use newly added onlinePlaygroundV2 instead
  • Fixed: sync issues due to inconsistent handling of app IDs across SDKs
  • Fixed: document IDs are now validated when synced and removed if invalid (some of our early versions of the SDK stored malformed IDs under certain circumstances)

DittoObjC

  • Added: DittoOnlinePlaygroundV2Identity identity type and corresponding initializers for DITIdentity (initOnlinePlaygroundV2WithAppID:...) allowing for basic authentication for playgrounds
  • Deprecated: DittoOnlinePlaygroundIdentity identity type and corresponding initializers, use newly added DittoOnlinePlaygroundV2Identity instead
  • Fixed: document IDs are now validated when synced and removed if invalid (some of our early versions of the SDK stored malformed IDs under certain circumstances)

1.1.2

25 Feb 15:47
07cf200
Compare
Choose a tag to compare

Objective-C

  • Added: property isReady to experimental DittoBusStream to check if a message may be enqueued.
  • Added: method setOfflineOnlyLicenseToken:error: to class DITDitto as replacement for now deprecated setLicenseToken:error:.
  • Changed: didReceiveIncomingStream delegate parameter from stream to busStream.
  • Changed: made DittoBusStream, DittoRemotePeerV2, and DittoAddress adopt Equatable and Hashable protocols.
  • Changed: made DittoRemotePeerV2 adopt the Identifiable protocol.
  • Deprecated: method setLicenseToken:error: of class DITDitto, please use newly added setOfflineOnlyLicenseToken:error: instead.

Swift

  • Added: property isReady to experimental DittoBusStream to check if a message may be enqueued.
  • Added: method setOfflineOnlyLicenseToken() to class Ditto as replacement for now deprecated setLicenseToken().
  • Changed: didReceiveIncomingStream delegate parameter from stream to busStream.
  • Changed: made DittoBusStream, DittoRemotePeerV2, and DittoAddress adopt Equatable and Hashable protocols.
  • Changed: made DittoRemotePeerV2 adopt the Identifiable protocol.
  • Deprecated: method setLicenseToken() of class Ditto, please use newly added setOfflineOnlyLicenseToken() instead.

https://docs.ditto.live/changelog

1.1.1

13 Feb 23:53
Compare
Choose a tag to compare

DittoSwift

  • Added: Combine publisher APIs obviating the CombineDitto extension library
    • Added: remotePeersPublisher() method to Ditto class
    • Added: fetchAttachmentPublisher(attachmentToken:) method to DittoCollection class
    • Added: liveQueryPublisher() method to DittoPendingCursorOperation class
    • Added: singleDocumentLiveQueryPublisher() method to DittoPendingIDSpecificOperation class
  • Added: Experimental Bus API
    • Added: dittoBus(_, didReceiveSingleMessage:) method to DittoBusDelegate protocol
    • Added: dittoBus(_, didReceiveIncomingStream:, fromPeer:) method to DittoBusDelegate protocol
    • Removed: dittoBus(_, didReceive:) method from `DittoBusDelegate protocol
  • Added: Experimental mesh roles API
    • Added: setMeshRole(meshRole:, ditto:) method to DittoExperimental class
    • Added: setPriorityForMeshRole(_, forMeshRole:, ditto:) to DittoExperimental class
  • Fixed: Improved AWDL reliability on iOS 12

DittoSwift API Reference

DittoObjC

  • Added: Experimental Bus API
    • Changed: DITBus.delegate property is now weak
    • Added: -sendSingleUnreliableMessage:toAddress:completion: method to DITBus class
    • Added: -sendSingleReliableMessage:toAddress:completion: method to DITBus class
    • Added: -openStreamToAddress:reliability:completion: method to DITBus class
    • Added: -ditBus:didReceiveSingleMessage: method to DITBusDelegate protocol
    • Added: -ditBus:didReceiveIncomingStream:fromPeer: method to DITBusDelegate protocol
    • Removed: -ditBus:didReceiveMessage: method from DITBusDelegate protocol
    • Added: DITBusStream class
    • Added: DITBusStreamDelegate protocol
  • Added: Experimental mesh roles API
    • Added: -setMeshRole(meshRole:ditto:) method to DITExperimental class
    • Added: -setPriorityForMeshRole(_:forMeshRole:ditto:) to DITExperimental class
  • Fixed: Improved AWDL reliability on iOS 12

DittoObjc API Reference

Docs: https://docs.ditto.live/installation/ios

1.1.0

02 Feb 22:50
Compare
Choose a tag to compare
  • Changed: improved peer-to-peer algorithms to create meshes that are more efficient and diverse.
  • Changed: improved routing algorithms for more efficiency.
  • Changed: improved performance of query parsing.
  • Added: property isSyncActive to class Ditto.
  • Added: methods logout and logout: to class DITAuthenticator.
  • Added: set of APIs to observe authentication status, see (see API reference for DITAuthenticator and DITAuthenticationDelegate).
  • Added: method upsert: & friends to classes DITCollection and DITScopedWriteTransaction (as a replacement for insert: & friends) which by default merges the newly inserted document if one with the same ID already exists.
  • Deprecated: properties isAuthenticated and userID of class DITAuthenticator in favor of newly introduced property status.
  • Deprecated: methods insert: & frinds of classes DITCollection and DITScopedWriteTransaction in favor of newly introduced upsert: & friends.",

API Docs

1.0.19

01 Feb 23:56
Compare
Choose a tag to compare

🎉 Initial release of our Swift package!