github pointfreeco/sqlite-data 1.3.0

latest releases: 1.4.1, 1.4.0
one month ago

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

Don't miss a new sqlite-data release

NewReleases is sending notifications on new releases.