Skip to content

Releases: objectbox/objectbox-swift

1.1.1

23 Nov 21:38
Compare
Choose a tag to compare

Important upgrade for 1.1 fixing a "realpath" error during build on machines without Homebrew coreutils.

https://swift.objectbox.io

1.1

18 Nov 15:55
Compare
Choose a tag to compare
1.1
  • Carthage is now a supported installation method, in addition to CocoaPods
  • If a convert annotation on an enum has no explicit database type given, its RawType is used.
  • Various performance and usability improvements, e.g. setup.rb now asks which project to use if there is more than one, and creates a non-empty *.generated.swift file to help with code completion.
  • Added put() with variable argument list, put(inout) for mutable structs, and putAndReturnIDs(). put() itself no longer returns IDs. (Apologies, please adjust your code)
  • Added variants of methods that take arrays which work with the faster ContiguousArray class.
  • Removed some protocols that only ever had one instance.

More information in the documentation

1.0.1

01 Oct 15:55
Compare
Choose a tag to compare
  • Update code generator to work in Xcode projects that use Swift Package Manager for their other dependencies.

v1.0: Public Release

24 Sep 12:15
Compare
Choose a tag to compare
  • Relations in queries
  • Observer callbacks for data changes
  • Many-to-many relations
  • Asynchronous put/remove
  • Edit relations through their backlinks
  • API clean up; e.g. renames, simple IDs, simplifications, etc.
  • If you've been using pre-releases, you can find migration instructions in the Readme on Github.

v0.9.1 iOS hotfix

13 Aug 16:29
Compare
Choose a tag to compare
v0.9.1 iOS hotfix Pre-release
Pre-release

Fixed "Storage error code 78" for iOS

Details in the changelog

V0.9: 100% Swift and best Performance ever

22 Jul 12:07
Compare
Choose a tag to compare
  • Full source code for the Swift binding is now available
  • Reduced write/update time by about 25%
  • ...

Details in the changelog

Struct support, performance improvements

16 May 09:51
Compare
Choose a tag to compare
  • Immutable structs can now be used, you are no longer restricted to classes
  • We no longer throw NSError-based errors, they're all enum ObjectBoxError now
  • Strings that were created as NSStrings previously are now created as Swift Strings, which should reduce the number of unnecessary UTF-16/UTF-8 roundtrip conversions
  • New projects are now set up with separate generated source files for each target by setup.rb.
  • Fix link error on some machines.
  • Binaries: Swift 5 ABI only

Struct support, performance improvements

14 May 12:38
Compare
Choose a tag to compare
  • Immutable structs can now be used, you are no longer restricted to classes
  • We no longer throw NSError-based errors, they're all enum ObjectBoxError now
  • Strings that were created as NSStrings previously are now created as Swift Strings, which should reduce the number of unnecessary UTF-16/UTF-8 roundtrip conversions when Swift 5.1 arrives
  • New projects are now set up with separate generated source files for each target by setup.rb.
  • Binaries: Swift 5 ABI only

Swift 5 support, build improvements

02 Apr 11:58
Compare
Choose a tag to compare
Pre-release
  • Binaries: Swift 5 ABI only
  • ObjectBox setup script can now also be used without CocoaPods
  • ObjectBox can now be used in frameworks

Model Migration

19 Dec 13:15
Compare
Choose a tag to compare
Model Migration Pre-release
Pre-release
  • Your data model is now migrated transparently for you when you make changes
  • Properties can be indexed
  • You can require property fields to be unique
  • You can specify a different name for use in the model than the instance variable's
  • Use of ObjectBox without CocoaPods has been simplified
  • You do not need to annotate back-links in relations anymore in clear cases
  • Binaries: Swift 4 ABI only.