Skip to content

v5.1.0

Choose a tag to compare

@greenrobot-team greenrobot-team released this 03 Dec 07:47
· 3 commits to main since this release

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 containsElement condition 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.

  • Observer no longer crashes due to it being closed after the Store is closed. This might have occurred when
    the associated Store was deinitialized by the system before the Observer (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 certificatePaths to makeClient builder 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.