SDK Guides
Swift
Release Notes: Swift v4.5
swift version 4 5 4 fixed intermittent crash when syncing over bluetooth le gatt with "datatoolarge" error (#9789) swift version 4 5 3 synchronized version bump release — no changes swift version 4 5 2 synchronized version bump release — no changes swift version 4 5 1 added support for light jwts (separating identity data) fixed a potential panic if an f64 nan is compared to a u64 or i64 during collation swift sdk would report as being objective c via small peer info in the portal swift version 4 5 0 if you are upgrading from v4 x to v4 5 without adopting any new functionality there will be no changes required and all other v4 x devices will sync with v4 5 devices v4 5 follows semver and is backwards compatible with all previous v4 versions all changes in v4 5 are additive and don’t require any additional work when upgrading if you plan on adopting dql as part of the migration to v4 5 review docid\ e2zbkpkqwymyxw5pn4rjm note all existing apis and queries (eg find , findbyid , observe , ect ) will remain supported for the foreseeable future we will notify customers with advanced warning when we plan to end of life these apis this version drops support for ios 13 and earlier all devices that support ios 13 also support ios 14 and ios 15 (#9842) added ditto version class property providing access to the semantic version of the sdk (#10223) class dittoqueryresultitem representing a single match of a dql query (#10319, #10394) class dittoqueryresult representing the result of executing a dql query (#10319, #10394) method execute() on dittostore that executes a dql query and returns a dittoqueryresult containig dittoqueryresultitem s for each match (#10319, #10394) class dittosyncsubscription that configures ditto to receive updates from remote peers about documents matching the subscription's query it's a dql counterpart and successor to the old subscription class (#10395, #10394) method registersubscription() on dittosync that installs and returns a syncsubscription (#10395, #10394) property subscriptions on dittosync providing access to all currently active sync subscriptions (#10395, #10394) property sync on ditto of type dittosync to serve as an entry point for sync functionality (#10395, #10394) class dittostoreobserver on dittostore that configures ditto to invoke an observation handler whenever results for its query change (#10396, #10394) method registerobserver() on dittostore that installs and returns a dittostoreobserver (#10396, #10394) property observers on dittostore providing access to all currently active store observers (#10396, #10394) deprecated dittolanconfig ismulticastenabled property (#10126) changed ditto 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 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) to access release notes for earlier ditto versions, go to https //docs ditto live/v4 4 of the documentation by clicking the version picker located in the upper left corner and selecting 4 4 from the menu