Releases: getditto/DittoSwiftPackage
Releases · getditto/DittoSwiftPackage
1.1.8
1.1.7
1.1.6
- 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
1.1.4
1.1.3
DittoSwift
- Added:
onlinePlaygroundV2
case toDittoIdentity
allowing for basic authentication for playgrounds - Deprecated:
onlinePlayground
case ofDittoIdentity
, use newly addedonlinePlaygroundV2
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 forDITIdentity
(initOnlinePlaygroundV2WithAppID:...
) allowing for basic authentication for playgrounds - Deprecated:
DittoOnlinePlaygroundIdentity
identity type and corresponding initializers, use newly addedDittoOnlinePlaygroundV2Identity
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
Objective-C
- Added: property
isReady
to experimentalDittoBusStream
to check if a message may be enqueued. - Added: method
setOfflineOnlyLicenseToken:error:
to classDITDitto
as replacement for now deprecatedsetLicenseToken:error:
. - Changed:
didReceiveIncomingStream
delegate parameter fromstream
tobusStream
. - Changed: made
DittoBusStream
,DittoRemotePeerV2
, andDittoAddress
adoptEquatable
andHashable
protocols. - Changed: made
DittoRemotePeerV2
adopt theIdentifiable
protocol. - Deprecated: method
setLicenseToken:error:
of classDITDitto
, please use newly addedsetOfflineOnlyLicenseToken:error:
instead.
Swift
- Added: property
isReady
to experimentalDittoBusStream
to check if a message may be enqueued. - Added: method
setOfflineOnlyLicenseToken()
to classDitto
as replacement for now deprecatedsetLicenseToken()
. - Changed:
didReceiveIncomingStream
delegate parameter fromstream
tobusStream
. - Changed: made
DittoBusStream
,DittoRemotePeerV2
, andDittoAddress
adoptEquatable
andHashable
protocols. - Changed: made
DittoRemotePeerV2
adopt theIdentifiable
protocol. - Deprecated: method
setLicenseToken()
of classDitto
, please use newly addedsetOfflineOnlyLicenseToken()
instead.
1.1.1
DittoSwift
- Added: Combine publisher APIs obviating the CombineDitto extension library
- Added:
remotePeersPublisher()
method toDitto
class - Added:
fetchAttachmentPublisher(attachmentToken:)
method toDittoCollection
class - Added:
liveQueryPublisher()
method toDittoPendingCursorOperation
class - Added:
singleDocumentLiveQueryPublisher()
method toDittoPendingIDSpecificOperation
class
- Added:
- Added: Experimental Bus API
- Added:
dittoBus(_, didReceiveSingleMessage:)
method toDittoBusDelegate
protocol - Added:
dittoBus(_, didReceiveIncomingStream:, fromPeer:)
method toDittoBusDelegate
protocol - Removed:
dittoBus(_, didReceive:)
method from `DittoBusDelegate protocol
- Added:
- Added: Experimental mesh roles API
- Added:
setMeshRole(meshRole:, ditto:)
method toDittoExperimental
class - Added:
setPriorityForMeshRole(_, forMeshRole:, ditto:)
toDittoExperimental
class
- Added:
- Fixed: Improved AWDL reliability on iOS 12
DittoObjC
- Added: Experimental Bus API
- Changed:
DITBus.delegate
property is now weak - Added:
-sendSingleUnreliableMessage:toAddress:completion:
method toDITBus
class - Added:
-sendSingleReliableMessage:toAddress:completion:
method toDITBus
class - Added:
-openStreamToAddress:reliability:completion:
method toDITBus
class - Added:
-ditBus:didReceiveSingleMessage:
method toDITBusDelegate
protocol - Added:
-ditBus:didReceiveIncomingStream:fromPeer:
method toDITBusDelegate
protocol - Removed:
-ditBus:didReceiveMessage:
method fromDITBusDelegate
protocol - Added:
DITBusStream
class - Added:
DITBusStreamDelegate
protocol
- Changed:
- Added: Experimental mesh roles API
- Added:
-setMeshRole(meshRole:ditto:)
method toDITExperimental
class - Added:
-setPriorityForMeshRole(_:forMeshRole:ditto:)
toDITExperimental
class
- Added:
- Fixed: Improved AWDL reliability on iOS 12
1.1.0
- 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 classDitto
. - Added: methods
logout
andlogout:
to classDITAuthenticator
. - Added: set of APIs to observe authentication status, see (see API reference for
DITAuthenticator
andDITAuthenticationDelegate
). - Added: method
upsert:
& friends to classesDITCollection
andDITScopedWriteTransaction
(as a replacement forinsert:
& friends) which by default merges the newly inserted document if one with the same ID already exists. - Deprecated: properties
isAuthenticated
anduserID
of classDITAuthenticator
in favor of newly introduced propertystatus
. - Deprecated: methods
insert:
& frinds of classesDITCollection
andDITScopedWriteTransaction
in favor of newly introducedupsert:
& friends.",