Releases: jessesquires/JSQCoreDataKit
9.0.3
This release closes the 9.0.3 milestone.
- Upgraded to Xcode 12 and Swift 5.3
9.0.2
This release closes the 9.0.2 milestone.
New
- Support for Swift Package Manager
Changed
- Upgraded to Swift 5.2
- Upgraded to Xcode 11.4
- Upgraded to SwiftLint 0.39.2
9.0.1
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
8.0.0
This release closes the 8.0.0 milestone.
- iOS 11.0 minimum now required
- tvOS 11.0 minimum now required
- macOS 10.12 minimum now required
- watchOS 4.0 minimum now required
New
- Upgraded to Swift 4.2 (#125)
- Update to Xcode 10.1
- Update SwiftLint to 0.27.0
Breaking
-
PersistentStoreOptions
typealias is now[AnyHashable: Any]
(#119) -
Make APIs more "swifty" (#120)
- Nest top-level function
defaultDirectoryURL()
underCoreDataModel
- Nest
ChildContext
typealias underNSManagedObjectContext
extension - Move
saveContext()
top-level function to extension method onNSManagedObjectContext
- Nest top-level function
Changed
- Use
Equatable
auto-synthesis where possible
7.0.0
- Converted to Swift 4.0
- iOS 9.0 minimum now required
- tvOS 10.0 minimum now required
- watchOS 3.0 minimum now required
- macOS 10.11 minimum now required
6.0.3
- Fixed some warnings from Swift 3.1 / Xcode 8.3
6.0.2
This release closes the 6.0.2 milestone.
- Fixed an issue where model migrations would fail. (#106, #109. Thanks @yasserislam, @marius-serban!)
6.0.1
This release closes the 6.0.1 milestone.
- Fixed an issue with
carthage
failing. (#100, #101, #102) Thanks @darkhonor and @tonyarnold!
6.0.0
This release closes the 6.0.0 milestone.
Swift 3.0 now required.
Breaking
- Migrated to Swift 3.0
- Removed
entity(name: String, context: NSManagedObjectContext) -> NSEntityDescription
- Removed
FetchRequest<T: NSManagedObject>
(new Swift overlays now provide genericNSFetchRequest
) - Remove the
delete()
andfetch()
extensions onNSManagedObjectContext
(new Swift overlays now provide these)
New
- There's a new protocol,
CoreDataEntityProtocol
, which provides a better API for creating entity descriptions and inserting managed objects (#87). It also provides some helpful extensions. Conform to the newCoreDataEntityProtocol
to take advantage of this. This replaces the (removed) top-level functionentity(name:, context:) -> NSEntityDescription