Skip to content

Sync — 4.1.0

Compare
Choose a tag to compare
@3lvis 3lvis released this 31 Jan 11:14
· 162 commits to master since this release
  • 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.