Skip to content

Releases: 3lvis/SwiftSync

Sync — 4.2.1

24 Jul 09:20
ee77614

Choose a tag to compare

  • Fixes an issue with forcing all requests to work in "isTesting" mode, meaning synchronously. #522

  • Introduced an extension to FileManager to get the directory URL where the sqlite file is stored. Since it can be different when running on device or in unit tests (because of sandboxing reasons we switch between caches folder and directory when needed). d970043

FileManager.sqliteDirectoryURL

Sync — 4.2.0

20 Jul 21:01

Choose a tag to compare

Sync — 4.1.3

03 Apr 13:48

Choose a tag to compare

  • Update to Xcode 9.3

4.1.2

14 Feb 00:51
033b12d

Choose a tag to compare

  • Fixed an issue with many-to-many relationships with custom IDs. #477

Sync — 4.1.1

01 Feb 06:22
87cfe00

Choose a tag to compare

  • Annotates the background context with a name to avoid calling it when other contexts are saved #473 3lvis/DATAStack#111

  • Adds support for the new UUID (both insertion and export) #472

Sync — 4.1.0

31 Jan 11:14

Choose a tag to compare

  • Fixes a crash in to-many relationships #467

  • Fixes an issue with duplicated primary keys #471 (@batjo)

Before the following JSON would create 6 body entries, now is only 3.

[{
    "id":0,
    "title":"story 1",
    "comments":[{
        "body":"comment 1"
      },{
        "body":"comment 2"
      },{
        "body":"comment 3"
      }]
  },
  {
    "id":1,
    "title":"story 2",
    "comments":[{
        "body":"comment 1"
      },{
        "body":"comment 2"
      },{
        "body":"comment 3"
      }]
  }]
  • Fixes an issue where sending empty or null wouldn't remove the element #459

  • Added a code of conduct #468

  • 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.

Sync — 4.0.3

02 Nov 21:45
f0ada69

Choose a tag to compare

  • Fixes an issue where if you had several stores the completion block would be triggered when every store was dropped.

#439

Sync — 4.0.2

24 Oct 05:51

Choose a tag to compare

  • #366: Fix operation is never marked as finished (#435)

Sync — 4.0.1

18 Oct 08:02

Choose a tag to compare

giphy 2

Sync — 4.0.0

22 Sep 08:03

Choose a tag to compare

Xcode 9 and Swift 4 support.