v5.1.0
Note: To support Xcode 26 and new Swift versions, the requirements have been raised to macOS 11.0 or iOS 15.0 and Swift 6.1 tools.
-
Fixes the circular reference error #109 for projects with "Default Actor Isolation" set to "MainActor" (the default for new iOS projects in Xcode 26).
-
Support string vectors defined as
[String]properties. For example:var tags: [String]?
-
Add
containsElementcondition for string vector properties. For example:box.query { ObxItem.tags.containsElement(element: "important", caseSensitive: true) }
-
Support integer vectors defined as
[Int32]or[Int64]properties. For example:var ints: [Int32]? var longs: [Int64]?
-
Support equal, less and greater query conditions on elements of
[Int32]or[Int64]properties. Meaning they match
if any element of an array is equal, less or greater. -
Observerno longer crashes due to it being closed after theStoreis closed. This might have occurred when
the associatedStorewas deinitialized by the system before theObserver(when used via the Combine APIs).
Sync
- Sync client: add method
outgoingMessages()to get the number of messages in the outgoing queue. - Sync client: add parameter
certificatePathstomakeClientbuilder methods to pass certificate paths on the local
file system. This can be useful to use self-signed certificates in a local development environment or custom CAs. - Sync client: fix applying Sync filter variables to
makeClient. - Improved SSL handling for secure wss Sync connections.