JSQCoreDataKit Versions Save

A swifter Core Data stack

9.0.3

3 years ago

This release closes the 9.0.3 milestone.

  • Upgraded to Xcode 12 and Swift 5.3

9.0.2

4 years ago

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

4 years ago

This release closes the 9.0.1 milestone.

Fixed

  • Carthage support (#92, #138, @kevnm67)

9.0.0

4 years ago

This release closes the 9.0.0 milestone.

Breaking

  • Removed NSManagedObjectContext extension func save(wait:, completion:). Replaced with two new extension methods, func saveAsync(completion:) and func saveSync(completion:).

  • Removed SaveResult type in favor of Swift's new generic Result type.

  • Removed StackResult type in favor of Swift's new generic Result type.

  • Renamed CoreDataStackFactory to CoreDataStackProvider

New

  • Added typealias SaveResult = Result<NSManagedObjectContext, Error> (Replaces the former SaveResult type.)

  • Added typealias StackResult = Result<CoreDataStack, Error> (Replaces the former StackResult type.)

Changed

  • Upgraded to Swift 5.1
  • Update to Xcode 11
  • Update SwiftLint to 0.35.0, add new rules

8.0.0

5 years ago

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() under CoreDataModel
    • Nest ChildContext typealias under NSManagedObjectContext extension
    • Move saveContext() top-level function to extension method on NSManagedObjectContext

Changed

  • Use Equatable auto-synthesis where possible

7.0.0

6 years ago
  • 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

7 years ago
  • Fixed some warnings from Swift 3.1 / Xcode 8.3

6.0.2

7 years ago

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

7 years ago

This release closes the 6.0.1 milestone.

  • Fixed an issue with carthage failing. (#100, #101, #102) Thanks @darkhonor and @tonyarnold!

6.0.0

7 years ago

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 generic NSFetchRequest)
  • Remove the delete() and fetch() extensions on NSManagedObjectContext (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 new CoreDataEntityProtocol to take advantage of this. This replaces the (removed) top-level function entity(name:, context:) -> NSEntityDescription