JSON to Core Data and back. Swift Core Data Sync.
Annotates the background context with a name to avoid calling it when other contexts are saved https://github.com/3lvis/Sync/pull/473 https://github.com/3lvis/DATAStack/issues/111
Adds support for the new UUID (both insertion and export) https://github.com/3lvis/Sync/pull/472
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
.
Xcode 9 and Swift 4 support.