Gwendal Roué
cfd4a71efa
writePublisher(updates:thenRead:) requires a Sendable Value
...
... But I don't know if region-based isolation and SE-0430 can relax this constraint or not.
2024-07-27 16:37:33 +02:00
Gwendal Roué
e6a7d7dad4
Fix concurrency warning on SQLITE_TRANSIENT
2024-07-27 16:37:33 +02:00
Gwendal Roué
3b593d7649
ValueObservation.handleEvents accept Sendable closures
2024-07-27 16:37:33 +02:00
Gwendal Roué
3476b6348a
ValueObservationScheduler async access requires a Sendable closure
2024-07-27 16:37:33 +02:00
Gwendal Roué
7d7dc8ea72
SerializedDatabase async access requires a Sendable closure
2024-07-27 16:37:33 +02:00
Gwendal Roué
7fd34012b4
WALSnapshotTransaction is Sendable
2024-07-27 16:37:33 +02:00
Gwendal Roué
2aabc4c10e
OnDemandFuture fulfill is Sendable
2024-07-27 16:37:33 +02:00
Gwendal Roué
f13b2d2eb4
Pool is Sendable
2024-07-27 16:37:33 +02:00
Gwendal Roué
57a86a0e2a
ReadWriteBox is Sendable
2024-07-27 16:37:33 +02:00
Gwendal Roué
40090dbe00
Fix concurrency warnings with DispatchSpecificKey
2024-07-27 16:37:33 +02:00
Gwendal Roué
f362518dd6
LogErrorFunction is Sendable
2024-07-27 16:37:33 +02:00
Gwendal Roué
4d9d67dd67
DatabaseCollation is Sendable
2024-07-27 16:37:33 +02:00
Gwendal Roué
8429eb68dd
ValueObservationScheduler is Sendable
2024-07-27 16:37:33 +02:00
Gwendal Roué
50285f4832
Record can't be made Sendable
...
... so that subclasses do not have to be sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
d138af2637
RowAdapter is Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
b26e9709e7
FilterCursor can't be made Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
dc0be3a10d
Database publishers can't be made Sendable
...
... because they wrap base publishers that are not :-/
2024-07-27 16:37:32 +02:00
Gwendal Roué
22114ad433
DatabaseMigrator is Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
6e691fe71d
DatabaseFunction is Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
05f7d3c8d4
[BREAKING] Remove DatabaseFuture and concurrentRead
...
That's one less DispatchSemaphore. We don't need this method anymore.
2024-07-27 16:37:32 +02:00
Gwendal Roué
264d7fb52e
Coding strategies are Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
54ffb21fb8
Configuration is Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
f7dc72a5f3
TransactionClock is Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
e0d8e20bef
BusyCallback and BusyMode are Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
04d8c357b5
Tests need a Mutex too
2024-07-27 16:37:32 +02:00
Gwendal Roué
00ccab06bd
Rename LockedBox to Mutex
...
Maybe we'll be able to plug in the standard one eventually: https://forums.swift.org/t/pitch-synchronous-mutual-exclusion-lock/69889
2024-07-27 16:37:32 +02:00
Gwendal Roué
2f93f00b41
DatabaseCancellable is Sendable
2024-07-27 16:37:32 +02:00
Gwendal Roué
2661ff4690
[BREAKING] Remove Configuration.defaultTransactionKind
...
GRDB know defaults read-only transactions to DEFERRED, and write transactions to IMMEDIATE. See https://github.com/groue/GRDB.swift/issues/1483 for some context.
2024-07-27 16:37:32 +02:00
Gwendal Roué
2297c8f432
[BREAKING] Bump requirements: watchOS 7
...
Rationale: https://github.com/groue/GRDB.swift/issues/1472#issuecomment-1960696836
2024-07-27 16:37:32 +02:00
Gwendal Roué
679d6463fd
[BREAKING] Stop exporting SQLite
2024-07-27 16:37:32 +02:00
Gwendal Roué
62b4477490
TODO
2024-07-27 16:37:32 +02:00
Gwendal Roué
83c0e6432b
[BREAKING] Remove AsyncValueObservation does not need any scheduler
2024-07-27 16:37:32 +02:00
Gwendal Roué
32f41472b6
[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-07-27 16:37:32 +02:00
Gwendal Roué
3685d6d505
Remove ill-advised TODO
...
This would force users to force-unwrap their custom `ColumnType(rawValue: "WHATEVER")!`
2024-07-27 16:37:32 +02:00
Gwendal Roué
5ab166b9c3
[BREAKING] Bump requirements: Swift 5.10, Xcode 15.3, iOS 12, tvOS 12
2024-07-27 16:37:32 +02:00
Gwendal Roué
04543755d8
Merge pull request #1579 from groue/dev/modernize-demo-apps
...
Modernise the demo apps
2024-07-21 11:25:36 +02:00
Gwendal Roué
cdc0131369
Modernize demo apps:
...
iOS 17+
GRDBQuery 0.9.0
#Preview macro
2024-07-20 14:38:14 +02:00
Gwendal Roué
1cd6c7cbff
Merge branch 'development'
v6.29.0
2024-07-20 11:22:16 +02:00
Gwendal Roué
bbbe0d899d
v6.29.0
2024-07-20 11:17:13 +02:00
Gwendal Roué
9f16865ff1
Merge pull request #1575 from Jason-Abbott/development
...
Show trigger comments for expanded statement tracing
2024-07-17 18:21:56 +02:00
Jason Abbott
14d2b931a4
Also return untrimmed comments when tracing without visible values
2024-07-17 09:17:03 -06:00
Jason Abbott
802b4ca78a
Correct suffix/prefix test
2024-07-16 16:57:57 -06:00
Jason Abbott
1c60e5ef42
Show trigger comments for expanded statement tracing
2024-07-16 16:51:50 -06:00
Gwendal Roué
9f41e56c32
Merge pull request #1574 from sroebert/feature/single-value-container-decoding
...
Support for single value decoding
2024-07-13 17:07:15 +02:00
Steven Roebert and Gwendal Roué
0ae3f32f7f
Added compiler checks for Swift 6 specific code
...
Co-authored-by: Gwendal Roué <gr@pierlis.com >
2024-07-13 12:53:00 +02:00
Steven Roebert
c977cb8226
Implemented support for single value decoding in _RowDecoder
2024-07-13 11:48:02 +02:00
Gwendal Roué
78448cf8f4
Merge branch 'development'
v6.28.0
2024-07-11 07:49:09 +02:00
Gwendal Roué
30de9853d6
v6.28.0
2024-07-11 07:48:54 +02:00
Gwendal Roué
7a1196263d
CHANGELOG
2024-07-11 07:46:32 +02:00
Gwendal Roué
3043d7dca5
DatabaseUUIDEncodingStrategy is Sendable
...
Fix #1567
2024-07-11 07:46:23 +02:00