- Implemented example project.
- Fixed a bug with the CoreDataDefaultStorage that didn't persist the changes.
- Integrated with Travis-CI
- Added initializer to RealmDefaultStorage that takes a Realm.Configuration as initializer.
- First version giving support to RxSwift
- Fixed broken unit tests after the refactor for Carthage for having
SugarRecordCoreData
andSugarRecordRealm
- Added Realm 0.97 version. That version includes:
- Support for tvOS. You can use now SugarRecord+Realm with your tvOS.
- Better integration with Carthage. Installing SugarRecord+Realm should be faster now.
- Improved Carthage integration. Now each platform has two schemes,
SugarRecordRealm
&SugarRecordCoreData
. Drag only the one you need in your app plus Realm in case you are using the Realm integration.
Date: 13th December 2015
Changelog
- Removed
Result
dependency from context methods. Methodsthrow
now instead of returning aResult
object wrapping Error and Values. - Reviewed the interface of Context to make it similar to Realm's one:
add
,create
,new
,fetch
,remove
. - Removed asynchrony from from
operation
methods in storage. Asynchrony has to be handled externally now (Realm inspired). - Added
LICENSE
file. - Added
fetch
method toStorage
using internally the main context for fetching. - Implemented a Reactive API in Storage:
func rac_operation(operation: (context: Context, save: Saver) -> Void) -> SignalProducer<Void, NoError>
func rac_backgroundOperation(operation: (context: Context, save: Saver) -> Void) -> SignalProducer<Void, NoError>
func rac_backgroundFetch<T, U>(request: Request<T>, mapper: T -> U) -> SignalProducer<[U], Error>
func rac_fetch<T>(request: Request<T>) -> SignalProducer<[T], Error>
Date: 8th December 2015
Changelog