Skip to content

1.3.0

Choose a tag to compare

@stephencelis stephencelis released this 30 Oct 18:47
· 43 commits to main since this release
b66b894

What's Changed

  • Added: SyncMetadata.ID and new interfaces for querying sync metadata (#271):
    // Fetch sync metadata for a given record:
    SyncMetadata.find(record.syncMetadataID)
    
    // Join sync metadata for a given query:
    Record.leftJoin(SyncMetadata.all) { $0.syncMetadataID.eq($1.id) }
  • Added: SyncEngine.fetchChanges, sendChanges, and syncChanges (#286).
  • Fixed: Support attachMetadatabase in previews (#267).
  • Fixed: Use metadatabase to query sync metadata to prevent error when sync engine has not explicitly attached the metadata base (#270).
  • Fixed: Restrict mutation to sync metadata fields (#276).
  • Fixed: Resolve a bug that could reset the timestamp of record when sharing it (#278).
  • Fixed: Address a compiler error when introducing CK{Record,Share} representations to selections and database functions (#283, #284).

Full Changelog: 1.2.0...1.3.0