- Notifications
You must be signed in to change notification settings - Fork56
Comparing changes
Open a pull request
base repository:pointfreeco/sqlite-data
Uh oh!
There was an error while loading.Please reload this page.
base:1.2.0
head repository:pointfreeco/sqlite-data
Uh oh!
There was an error while loading.Please reload this page.
compare:1.3.0
- 9commits
- 20files changed
- 3contributors
Commits on Oct 22, 2025
Support
attachMetadatabasein previews (#267)* Support `attachMetadatabase` in previewsPreviews can currently crash if an app database is provisioned thatattaches a metadatabase. Despite trying to ensure all databases arein-memory to work around an Xcode previews quirk, SQLite still throws afile system error when connecting to an in-memory database with a fileURL.This PR attempts to work around the issue by sharing the same databaseconnection in previews.This does require losing the internal `DatabaseMigrator` we currentlyuse for the metadatabase and instead depend on `IF NOT EXISTS` becauseGRDB only supports a single set of migrations per database (we couldmaybe scope this change just to previews), but this is probably OK. Italso means that the migrator will always detect schema changes forpreviews since the metadatabase tables will conflict, but this is alsoprobably OK since previews are not long-living.* Revert "Support `attachMetadatabase` in previews"This reverts commit1734711.* wip* wip* wip* wip---------Co-authored-by: Brandon Williams <mbrandonw@hey.com>
Commits on Oct 24, 2025
Use metadatabase to query sync metadata. (#270)
* Use metadatabase to query sync metadata.* Added a test* dont attach metadatabase for base suite.* add test for attached metadatabase
Commits on Oct 25, 2025
Restrict mutation to sync metadata fields. (#276)
* Restrict mutation to sync metadata fields.* wip* wip
Commits on Oct 28, 2025
Fix bug that reset timestamp of record when sharing. (#278)
* Fix bug that reset timestamp of record when sharing.* wip* Clean up'* clean up* wip* test
Commits on Oct 30, 2025
Methods to explicitly fetch and send changes. (#286)
* Methods to explicitly fetch and send changes.* docs* Fix typos in SyncEngine documentation commentsCorrected typos in documentation comments for sync methods.* Fix apostrophe formatting in documentation comments---------Co-authored-by: Stephen Celis <stephen@stephencelis.com>
Fix issues with
CK{Record,Share}.SystemFieldsRepresentation(#284)* Fix issues with `CK{Record,Share}.SystemFieldsRepresentation`I'm a little surprised that this diff fixes things, but it does locallyfor me, in the latest Xcode 26, so let's test this change a bit beforemerging.* Compile time tests* wip;* wip---------Co-authored-by: Brandon Williams <mbrandonw@hey.com>
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff 1.2.0...1.3.0
Uh oh!
There was an error while loading.Please reload this page.