Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@greenrobot greenrobot released this 15 May 11:08
· 1 commit to main since this release
  • Built with Xcode 15.0.1 and Swift 5.9.
  • Support creating file-less in-memory databases, e.g. for caching and testing. To create one instead of a directory path pass memory: together with an identifier string when creating a Store:
    inMemoryStore = try Store(directoryPath: "memory:test-db");
    See the Store documentation for details.
  • Change Store.closeAndDeleteAllFiles() to support deleting an in-memory database.
  • Removed some deprecated APIs:
    • Removed findIntegers() for property query, replaced by find().
    • Removed find() of Box, replaced by all().
  • Update to ObjectBox C API 4.0.0.

Check https://swift.objectbox.io/ for details.