9.0.0
This release closes the 9.0.0 milestone.
Breaking
-
Removed
NSManagedObjectContext
extensionfunc save(wait:, completion:)
. Replaced with two new extension methods,func saveAsync(completion:)
andfunc saveSync(completion:)
. -
Removed
SaveResult
type in favor of Swift's new genericResult
type. -
Removed
StackResult
type in favor of Swift's new genericResult
type. -
Renamed
CoreDataStackFactory
toCoreDataStackProvider
New
-
Added
typealias SaveResult = Result<NSManagedObjectContext, Error>
(Replaces the formerSaveResult
type.) -
Added
typealias StackResult = Result<CoreDataStack, Error>
(Replaces the formerStackResult
type.)
Changed
- Upgraded to Swift 5.1
- Update to Xcode 11
- Update SwiftLint to 0.35.0, add new rules