JohnEstropia/CoreStore breaking changes

swift

6 curated breaking changes across major versions of JohnEstropia/CoreStore. Use this as a migration checklist before bumping dependencies.

6
changes
Breaking changes by transition
  • 8.0.0 \u2192 9.0.0breaking

    Removal of Objective-C support (which had been deprecated for a long time now)

  • 8.0.0 \u2192 9.0.0breaking

    Migration to Swift 2.7 from Swift 2.4

  • 8.0.0 \u2192 9.0.0breaking

    Bumped minimum supported version to iOS 13 from iOS 11. While this double jump had never been done in CoreStore before, we are aiming to fully utilize Combine utilities internally and to make the shift to Swift concurrency (which requires at least iOS 13) as smooth as possible. **Full Changelog**: https://github.com/JohnEstropia/CoreStore/compare/8.1.0...9.0.0

  • 5.0.0 \u2192 6.0.0breaking

    Minimum Deployment Version is raised to `iOS 10`, `macOS 10.12`, `tvOS 10`, `watchOS 3`

  • 5.0.0 \u2192 6.0.0breaking

    `ICloudStore` and `ICloudStoreObserver`s are now officially deprecated (iCloud Core Data had been deprecated quite a long time ago).

  • 5.0.0 \u2192 6.0.0breaking

    Fetching and Querying methods now `throws` an error of type `CoreStoreError.persistentStoreNotFound(DynamicObject.Type)` when the specified entity does not exist in any storage. This is to distinguish difference between non-existing objects versus non-existing stores. ```swift // Before if let object = CoreStore.fetchOne(...) { // ... } else { // May be nil because `addStorage()` hasn't completed yet or because nothing really matches the query } ``` ```swift // After do { if let object = try Cor

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/swift/JohnEstropia/CoreStore
JohnEstropia/CoreStore breaking changes — Swift migration guide | DepScope