Skip to content

Releases: jessesquires/JSQCoreDataKit

9.0.3

25 Sep 21:55
de97371
Compare
Choose a tag to compare

This release closes the 9.0.3 milestone.

  • Upgraded to Xcode 12 and Swift 5.3

9.0.2

09 May 00:07
048db2f
Compare
Choose a tag to compare

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

24 Sep 20:41
2e61a43
Compare
Choose a tag to compare

This release closes the 9.0.1 milestone.

Fixed

9.0.0

22 Sep 01:08
d0da796
Compare
Choose a tag to compare

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

07 Nov 18:25
e52c324
Compare
Choose a tag to compare

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

27 Sep 03:36
Compare
Choose a tag to compare
  • 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

04 Apr 15:26
e5aa2c1
Compare
Choose a tag to compare
  • Fixed some warnings from Swift 3.1 / Xcode 8.3

6.0.2

03 Jan 17:05
9a9b786
Compare
Choose a tag to compare

This release closes the 6.0.2 milestone.

6.0.1

27 Oct 14:48
be26acc
Compare
Choose a tag to compare

This release closes the 6.0.1 milestone.

6.0.0

30 Sep 22:51
5e8b832
Compare
Choose a tag to compare

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