Sync — 3.1.0
- Improved Sync helpers (#381)
// For example now you can do
dataStack.sync(objectsB, inEntityNamed: "User", operations: [.update], completion: nil)
// Instead of
Sync.changes(objectsB, inEntityNamed: "User", dataStack: dataStack, operations: [.update], completion: nil)
-
Improved performance when using
operations
filtering will be done only in the requested operations (#384) -
Added support for deep-mapping for
to-many
relationships (#385) -
Added support for
sync.isPrimaryKey
as an alternative tohyper.isPrimaryKey
andsync.remoteKey
to be used instead ofhyper.remoteKey
. All of this without breaking backward compatibility so you don't have to change anything. (#388 and #390)