Gwendal Roué
d6b91eec85
[BREAKING] DatabaseReader async methods support Task cancellation
2024-09-01 15:35:37 +02:00
Gwendal Roué
fa54b74eba
[BREAKING] DatabaseWriter async methods support Task cancellation
2024-09-01 15:35:37 +02:00
Gwendal Roué
40140afb8c
SerializedDatabase support for async db access with support for Task cancellation
2024-09-01 15:24:39 +02:00
Gwendal Roué
b85121d456
Database support for cancellation
2024-08-31 12:24:19 +02:00
Gwendal Roué
e9d0d381f6
Fix concurrency warning with DispatchQueue.mainKey
2024-08-31 10:48:51 +02:00
Gwendal Roué
b1424d16d5
[BREAKING] PersistenceContainer is Sendable
2024-08-31 10:08:44 +02:00
Gwendal Roué
c08b1fa7d5
ValueObservationScheduler is Sendable
2024-08-31 09:58:15 +02:00
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é
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é
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é
b2286aaaab
DatabaseCursor has a primary associated type
2024-08-25 13:08:46 +02:00
Gwendal Roué
e72a37d7d5
Rename LockedBox to Mutex
2024-08-25 12:40:28 +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é
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é
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é
cd4e853b74
[BREAKING] insertAndFetch, saveAndFetch, and updateAndFetch no longer return optionals.
...
Those optionals were just an annoyance. Now, nil results are replaced with `RecordError.recordNotFound`. Such an error is only expected with the IGNORE conflict policy.
2024-08-24 17:02:49 +02:00
Gwendal Roué
6157a40dad
Fix DocC warnings
2024-08-24 16:34:35 +02:00
Gwendal Roué
79cb862478
[BREAKING] watchOS 7+
...
Rationale: https://github.com/groue/GRDB.swift/issues/1472#issuecomment-1960696836
2024-08-24 15:45:38 +02:00
Gwendal Roué
29eb04c39a
[BREAKING] iOS 12+
2024-08-24 15:45:38 +02:00
Gwendal Roué
8caf31296f
[BREAKING] Xcode 16+, Swift 6+
2024-08-24 15:43:09 +02:00