Skip to content

Releases: 3lvis/SwiftSync

7.0.0

15 Mar 10:57

Choose a tag to compare

Brand new SwiftSync, read README for notes.

old sync under https://github.com/3lvis/SwiftSync/tree/legacy/core-data

Sync — 6.5.0

04 Oct 08:08
f8b0f5a

Choose a tag to compare

  • Updated to Xcode 12

Sync — 6.0.3

06 Jun 16:37
0ad7d1e

Choose a tag to compare

  • Rename Result type to avoid conflicts with Swift 5's Result type #578

Sync — 6.0.2

04 Jun 19:51

Choose a tag to compare

  • Update to Xcode 11.5

Sync — 6.0.0

16 Apr 20:11
b13ee10

Choose a tag to compare

  • Support for Swift 5 & Xcode 10.2

Sync — 5.2.1

28 Jan 09:12
93542bf

Choose a tag to compare

  • Support for Swift 4.2 and Xcode 10 (@philip-zhan)
  • Improved the way nested relationships work (@joeboyscout04)
  • Improved support for parsing dates (@Kemmey)
  • Added an extra parameter to public class func changes... (@petkrein)

5.1.0 (Xcode 10 and Swift 4.2)

06 Oct 03:51

Choose a tag to compare

  • Support for Xcode 10 and Swift 4.2
  • API stays the same

Sync — 5.0.1

17 Sep 15:03
3454b24

Choose a tag to compare

  • Add support for deciseconds #536
  • Add support for centiseconds #533

Sync — 5.0.0

23 Aug 21:24
347ee2a

Choose a tag to compare

  • Added support for extended operation options #433

Before you could set insert, update and delete operations and that worked for both parents and children, now you have more control and can also decide if children follow these rules using insertRelationships, updateRelationships and deleteRelationships.

⚠️ Breaking change ⚠️

If you were using the .insert, .update, or .delete options now you'll also need to set .insertRelationships, .updateRelationships or . deleteRelationships based on what are your needs.

If you weren't using OperationOptions then you won't need to do anything since it will default to .all

What's operation options?

It's a feature that allows you to have more control over what happens when using Sync, you can then tell sync to only do inserts and updates, or only do inserts and deletes and so on.

Looks like this:

dataStack.sync(updated, inEntityNamed: "User", operations: [.insert, .update, .delete, .deleteRelationships], completion: nil)

Sync — 4.3.0

23 Aug 21:07
a939497

Choose a tag to compare

  • Rollback extended sync operations

Extended operations was a breaking change, it didn't break the compilation but it broke functionality, this release aims for fix that, I'll reintroduce the feature in a separate major release: #497