Commit Graph
11428 Commits
Author SHA1 Message Date
Gwendal Roué 849bba2820 Refactor ValueReducer for Swift concurrency
The fetching facet of a ValueReducer is Sendable.
2024-08-27 08:31:28 +02:00
Gwendal Roué aac8720bc7 DatabaseRegionObservation is Sendable 2024-08-27 08:05:26 +02:00
Gwendal Roué c56b52980a DatabaseCancellable is Sendable 2024-08-27 08:05:26 +02:00
Gwendal Roué 4222854f8b DatabaseRegionConvertible is Sendable 2024-08-27 08:05:26 +02:00
Gwendal Roué 47aa1f58a7 TODO 2024-08-26 08:36:46 +02:00
Gwendal Roué cc5798cf1e WALSnapshotTransaction is Sendable 2024-08-26 08:27:34 +02:00
Gwendal Roué aff662c101 SQL is Sendable 2024-08-25 18:06:29 +02:00
Gwendal Roué 30569aba27 OrderedDictionary is conditionally Sendable 2024-08-25 18:06:29 +02:00
Gwendal Roué 56e2ab85b7 SQLAssociationCondition is Sendable 2024-08-25 18:06:29 +02:00
Gwendal Roué 0fdd910b08 ⚠️ Make TableAlias Sendable even if it is not yet. 2024-08-25 18:06:29 +02:00
Gwendal Roué 1036371dff DatabasePromise is Sendable 2024-08-25 18:06:29 +02:00
Gwendal Roué b0c5725075 OnDemandFuture fulfill is Sendable 2024-08-25 17:34:54 +02:00
Gwendal Roué b587afba0e Pool is Sendable 2024-08-25 17:28:02 +02:00
Gwendal Roué e93e4c5a31 ReadWriteBox is Sendable 2024-08-25 17:21:19 +02:00
Gwendal Roué 5333dbeff1 LogErrorFunction is Sendable 2024-08-25 16:26:38 +02:00
Gwendal Roué 7aff0b97c7 RowAdapter is Sendable 2024-08-25 16:26:38 +02:00
Gwendal Roué 961f6c4176 FilterCursor can't be made Sendable 2024-08-25 16:26:38 +02:00
Gwendal Roué 55cdb4e9a9 DatabaseMigrator is Sendable 2024-08-25 16:26:38 +02:00
Gwendal Roué c1f59dfa2a [BREAKING] DatabaseCollation is no longer Hashable 2024-08-25 15:42:06 +02:00
Gwendal Roué eedd165e5b DatabaseCollation is Identifiable 2024-08-25 15:42:06 +02:00
Gwendal Roué 405312f52e DatabaseCollation is Sendable 2024-08-25 15:42:06 +02:00
Gwendal Roué a5806a0020 [BREAKING] DatabaseFunction is no longer Hashable 2024-08-25 15:42:06 +02:00
Gwendal Roué 300e5fec6b DatabaseFunction is Identifiable 2024-08-25 15:42:06 +02:00
Gwendal Roué b752229c37 DatabaseFunction is Sendable 2024-08-25 15:42:06 +02:00
Gwendal Roué 876a0870ee Coding strategies are Sendable 2024-08-25 15:14:43 +02:00
Gwendal Roué 8e860e671b Configuration is Sendable 2024-08-25 15:07:53 +02:00
Gwendal Roué 0457a6262e TransactionClock is Sendable 2024-08-25 14:56:40 +02:00
Gwendal Roué ad74526f6a BusyCallback and BusyMode are Sendable 2024-08-25 14:50:42 +02:00
Gwendal Roué a7fe896272 Merge pull request #1606 from groue/dev/GRDB7-strategies
GRDB 7: coding strategies depend on the column
2024-08-25 14:47:05 +02:00
Gwendal Roué 7747211691 [BREAKING] databaseDateDecodingStrategy depends on the column 2024-08-25 14:06:57 +02:00
Gwendal Roué 95ca9f5bf3 [BREAKING] databaseDataDecodingStrategy depends on the column 2024-08-25 14:06:50 +02:00
Gwendal Roué bcd6e03d7a [BREAKING] databaseUUIDEncodingStrategy depends on the column 2024-08-25 14:06:44 +02:00
Gwendal Roué 7a8a9a9363 [BREAKING] databaseDateEncodingStrategy depends on the column 2024-08-25 14:06:35 +02:00
Gwendal Roué 1fe4df9438 [BREAKING] databaseDataEncodingStrategy depends on the column 2024-08-25 14:00:53 +02:00
Gwendal Roué c4507c5a00 .editorconfig 2024-08-25 13:51:11 +02:00
Gwendal Roué 5025ecc314 Merge pull request #1605 from groue/dev/GRDB7-DatabaseCursor-primary-associated-type
GRDB 7: DatabaseCursor has a primary associated type
2024-08-25 13:40:41 +02:00
Gwendal Roué b2286aaaab DatabaseCursor has a primary associated type 2024-08-25 13:08:46 +02:00
Gwendal Roué 490b4e5bfe Merge pull request #1604 from groue/dev/GRDB7-Mutex
GRDB 7: Move closer to SE-0433 Mutex
2024-08-25 12:59:08 +02:00
Gwendal Roué e72a37d7d5 Rename LockedBox to Mutex 2024-08-25 12:40:28 +02:00
Gwendal Roué 5af0bc69e4 Merge pull request #1603 from groue/dev/GRDB7-remove-DatabaseFuture
GRDB 7: Remove DatabasePool.concurrentRead
2024-08-25 11:59:29 +02:00
Gwendal Roué 1de32c267b [BREAKING] Remove DatabaseFuture and concurrentRead
That's one less DispatchSemaphore. We don't need this method anymore.
2024-08-25 11:07:05 +02:00
Gwendal Roué 1a0403af6d Merge pull request #1602 from groue/dev/GRDB7-remove-default-transaction-kind
GRDB 7: Perform all writes with immediate transactions by default
2024-08-25 11:03:25 +02:00
Gwendal Roué 1c368ed18d Skip flaky test with SQLCipher 3 2024-08-25 10:39:38 +02:00
Gwendal Roué d96dc2d328 Aim at debugging failing CI test 2024-08-25 08:47:58 +02:00
Gwendal Roué 451a9eb493 [BREAKING] Remove Configuration.defaultTransactionKind
GRDB now defaults read-only transactions to DEFERRED, and write transactions to IMMEDIATE. See https://github.com/groue/GRDB.swift/issues/1483 for some context.
2024-08-25 08:22:07 +02:00
Gwendal Roué ad10d881e8 Fix deprecation warning in Package.swift 2024-08-24 19:32:54 +02:00
Gwendal Roué 3245eb85b3 Merge pull request #1600 from groue/dev/GRDB7-stop-exporting-SQLite
GRDB 7: Rename the CSQLite module to GRDBSQLite, and stop exporting the C SQLite functions.
2024-08-24 19:31:41 +02:00
Gwendal Roué 9e1ff42249 [BREAKING] Rename CSQLite to GRDBSQLite
Fix #1528
2024-08-24 18:15:57 +02:00
Gwendal Roué 9cd1d849cc [BREAKING] Stop exporting SQLite 2024-08-24 17:25:35 +02:00
Gwendal Roué be708ee6f7 TODO 2024-08-24 17:21:20 +02:00