Swift 1.x.x
swift ios updates version changelog
Released: Fri Sep 9th 2022, 4:11 pm
Release Notes:
- Fixed: a very rare deadlock when starting sync immediately after creating the Ditto instance.
Installation:
Released: Thu Jul 7th 2022, 12:53 pm
Release Notes:
- Changed: reduced total memory overhead during sync.
- Fixed: private class inside the Ditto SDK was named CBOR and conflicted with a private Apple class named exactly the same, which produced a warning at launch time.
Installation:
Released: Wed Jun 15th 2022, 6:27 pm
Release Notes:
- Changed: reduced CRDT memory overhead.
- Changed: HTTP/WebSocket service now allows any origin for CORS, so it may be used from a webapp on localhost.
- Fixed: a peer using an online identity would fail to sync peer-to-peer after app restarts.
- Fixed: DittoDelegate method dittoIdentityProviderAuthenticationRequest(ditto:request:) would receive a DittoAuthenticationRequest with some properties being incorrectly set to nil.
Installation:
Released: Wed Jun 8th 2022, 8:12 pm
Release Notes:
- Synchronized version bump release
Installation:
Released: Fri Jun 3rd 2022, 12:13 am
Release Notes:
- 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.
Installation:
Released: Fri May 13th 2022, 7:18 am
Release Notes:
Synchronized version bump release.
Installation:
Released: Mon May 9th 2022, 5:04 am
Release Notes:
- 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
- Fixed: cloud sync would stop working when setting a newly created transport config.
- Changed: improvements to Ditto mesh performance via fastest-available-transport prioritization.
Installation:
Released: Fri Apr 8th 2022, 1:00 am
Release Notes:
- Synchronized version bump release
Installation:
Released: Thu Apr 7th 2022, 11:25 pm
Release Notes:
- Changed: improved replication performance in some scenarios.
- Fixed: accessing a
Installation:
Released: Tue Mar 22nd 2022, 3:13 am
Release Notes:
- 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)
Installation:
Released: Mon Feb 28th 2022, 6:36 am
Release Notes:
- Added: property
- Added: method
- Changed: made
- Changed: made
- Deprecated: method
Installation:
Released: Fri Feb 11th 2022, 9:38 pm
Release Notes:
- Changed: Optimized the performance of accessing the value of a
- Added: Combine publisher APIs obviating the CombineDitto extension library
- Added:
- Added:
- Added:
- Added:
- Added: Experimental Bus API
- Added:
- Added:
- Removed:
- Added: Experimental mesh roles API
- Added:
- Added:
- Fixed: Improved AWDL reliability on iOS 12
Installation:
Released: Fri Jan 28th 2022, 3:21 am
Release Notes:
- 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
- Added: method
- Added: set of APIs to observe authentication status (see API reference for
- Added: method
- Deprecated: properties
- Deprecated: methods
Installation:
Released: Thu Dec 23rd 2021, 12:42 pm
Release Notes:
- Fixed: collections were not appearing in the data browser under certain permission configurations.
- Fixed: race condition when subscriptions were configured from multiple threads in parallel (sometimes leading to a crash).
Installation:
Released: Mon Dec 20th 2021, 5:22 am
Release Notes:
- Fixed a number of
- Fixed some small memory leaks.
- Reduced the opportunity for rapid memory growth in some scenarios.
Installation:
Released: Tue Dec 14th 2021, 8:32 am
Release Notes:
- Improve attachment sync performance.
- Fix an issue where memory usage could grow very quickly when using a live query and performing lots of operations that led to a live query update.
Installation:
Released: Wed Dec 8th 2021, 9:25 am
Release Notes:
- Fixed an issue where document IDs that were specified inside the document's value as opposed to being specified explicitly (as a separate argument to
- macOS (including Apple Silicon) and iOS simulator (on an Apple Silicon device) support has been added.
Installation:
Released: Thu Nov 25th 2021, 4:11 pm
Release Notes:
- Fix an issue with write strategies not working correctly. Unexpected results could occur when performing sequences of operations on documents.
- Fix a bug with
Installation:
Released: Fri Nov 19th 2021, 2:39 pm
Release Notes:
- Fix an issue with live queries that involved a limit, no offset, at least one document being deleted, and some other conditions being met. Live queries that met these conditions could report incorrect sets of matching documents.
- Fix an issue that could potentially lead to an infinite loop in the replication system, meaning no sync progress would be made.
Installation:
Released: Fri Nov 5th 2021, 3:03 pm
Release Notes:
- Ensure that when performing a
- Fixed handling of large integers in documents. Integers larger than
- Add the ability to directly set values inside the closure passed to an
- Fix a bug where some transports related calls were not being run on the correct thread and so could lead to a crash.
Installation:
Released: Wed Oct 27th 2021, 3:33 am
Release Notes:
- Fix a bug where large integers (greater than
Installation:
Released: Mon Oct 25th 2021, 1:31 am
Release Notes:
- Add support for array projections to DittoQL.
- Deprecate the
- Deprecate the
- Add an
- Add support for using a document ID that is an object that conforms to
Installation:
Released: Mon Oct 18th 2021, 10:02 am
Release Notes:
- Synchronized version bump release
Installation:
Released: Mon Oct 18th 2021, 3:00 am
Release Notes:
- Added
- Fixed Xcode warning regarding .swiftsourceinfo files being present.
Installation:
Released: Thu Oct 7th 2021, 10:09 pm
Release Notes:
- Added
- Added method
- Fixed AWDL peers never re-connecting after transport is toggled.
- Fixed mDNS transport crash.
- Fixed sporadic hangs and crashes when using Online identity.
- Added
- Fixed Codable support for non-string IDs and
Installation:
Released: Fri Sep 10th 2021, 9:21 am
Release Notes:
- Fix to stop a change in site ID from leading to an unnecessary error.
- Improve handling of persisted authentication data. Note that this might lead to a one-off change to a peer's site ID if you weren't and continue to not be specifying an explicit site ID when creating your identity.
Installation:
Released: Fri Sep 3rd 2021, 3:38 pm
Release Notes:
- Added support for getting information about all of the collections that the device is aware of. This is achieved by accessing
- Added multicast as a transport option to the
- Added new identity types:
- The
- Added a
- Similarly, added an
- Report an error if more than one Ditto instance is started using the same working directory.
Installation:
Released: Mon Aug 2nd 2021, 9:19 am
Release Notes:
- Improved debug logging.
Installation:
Released: Thu Jul 22nd 2021, 4:38 pm
Release Notes:
- Fix bug where sync may fail if an unusually long
- Fix intermittent crash when Bluetooth L2CAP connections fail
- Fix intermittent crash when using the presence viewer component and the app is backgrounded
Installation:
Released: Thu Jul 8th 2021, 11:22 am
Release Notes:
- Add
Installation:
Released: Fri Jun 25th 2021, 3:36 pm
Release Notes:
- Added a new find function that accepts a query containing placeholders in the form of $args.my_arg along with a map of query arguments in the form of { "my_arg": "some value" }. The placeholders in the query will be replaced by a query-appropriate representation of the relevant value from the map of query arguments.
- Added the ability to get a hash and/or a mnemonic (string) representation of the matching documents from a live query event. This means you can do something like this:
- Fix for using floats in queries.
- Accessing the store property of a Ditto instance will no longer throw an error if you have not yet activated your Ditto instance with a valid license token.
- Deprecated setAccessLicense and added a new function, setLicenseToken, which will throw an appropriate error if your provided license token is expired or invalid somehow.
- Deprecated startSync and added a new function, tryStartSync, which will throw an error if your Ditto instance hasn't yet been activated via a successful call to setLicenseToken.
Installation:
Released: Fri Jun 11th 2021, 3:36 pm
Release Notes:
- Fix issue with AWDL transport where it could end up in a stuck state.
- Deprecate the
Installation:
Released: Thu Jun 10th 2021, 9:34 am
Release Notes:
- Bluetooth sync performance improvements with L2CAP support added.
Installation:
Released: Thu May 20th 2021, 2:39 pm
Release Notes:
- Add support for subscripting
- Deprecated
Installation:
Released: Tue May 4th 2021, 9:02 am
Release Notes:
- If you provide an invalid query then you will now get a better error message.
Installation:
Released: Wed Apr 21st 2021, 5:29 pm
Release Notes:
- This release is not compatible with any previous SDK releases. There are a number of breaking changes both in terms of the SDK API and in terms of the internal systems used by the SDK to perform operations such as synchronization. If you have previously made use of the Ditto SDK and wish to update to this version then note that you will need to delete all existing Ditto data otherwise you will run into errors. If you have existing data that you need to keep then please contact us and we can advise you as to how you can migrate your data.
- The most notable API breaking changes are:
- Document IDs are no longer restricted to just strings. You can now create a document ID that is a string, integer, boolean, array, map, or null. This means that when making
- The
- Lots of performance improvements and bug fixes.
Installation:
Released: Fri Jan 22nd 2021, 7:09 am
Release Notes:
- Site IDs, which make up part of a Ditto identity object, are now unsigned, 64-bit integers instead of unsigned 32-bit integers.
- Fix a crash that could occur if an offset with a value greater than the number of matching documents was provided.
- Fix a potential crash that would occur if a live query had
Installation: