Gwendal Roué
c676931d76
Record can't be made Sendable
...
... so that subclasses do not have to be sendable
2024-03-30 19:45:28 +01:00
Gwendal Roué
ba1e67b7d3
RowAdapter is Sendable
2024-03-30 19:45:28 +01:00
Gwendal Roué
0cdb2181b1
FilterCursor can't be made Sendable
2024-03-30 19:45:28 +01:00
Gwendal Roué
f25d83ed7a
Database publishers can't be made Sendable
...
... because they wrap base publishers that are not :-/
2024-03-30 19:45:28 +01:00
Gwendal Roué
f7fdc25061
DatabaseMigrator is Sendable
2024-03-30 19:45:28 +01:00
Gwendal Roué
8a005e17ce
DatabaseFunction is Sendable
2024-03-30 19:45:28 +01:00
Gwendal Roué
fe474ab95f
[BREAKING] Remove DatabaseFuture and concurrentRead
...
That's one less DispatchSemaphore. We don't need this method anymore.
2024-03-30 19:45:28 +01:00
Gwendal Roué
62ba1c8551
Coding strategies are Sendable
2024-03-30 19:45:28 +01:00
Gwendal Roué
9ae5726fe5
Configuration is Sendable
2024-03-30 19:45:28 +01:00
Gwendal Roué
5bfeeb9952
TransactionClock is Sendable
2024-03-30 17:44:24 +01:00
Gwendal Roué
9a4e65860f
BusyCallback and BusyMode are Sendable
2024-03-30 17:44:24 +01:00
Gwendal Roué
ec95c61ff3
Tests need a Mutex too
2024-03-30 17:44:24 +01:00
Gwendal Roué
9ad5d89d89
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-03-30 17:44:24 +01:00
Gwendal Roué
c23036d168
DatabaseCancellable is Sendable
2024-03-30 17:44:24 +01:00
Gwendal Roué
974597b24e
[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-03-30 17:44:24 +01:00
Gwendal Roué
5289f5d93d
[BREAKING] Bump requirements: watchOS 7
...
Rationale: https://github.com/groue/GRDB.swift/issues/1472#issuecomment-1960696836
2024-03-30 13:39:12 +01:00
Gwendal Roué
f6ce2e82f9
[BREAKING] Stop exporting SQLite
2024-03-30 13:27:44 +01:00
Gwendal Roué
3b55e6a5d0
TODO
2024-03-27 17:52:26 +01:00
Gwendal Roué
233078979e
[BREAKING] Remove AsyncValueObservation does not need any scheduler
2024-03-27 17:52:26 +01:00
Gwendal Roué
cac01e270a
[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-03-27 17:42:27 +01:00
Gwendal Roué
c14b194637
Remove ill-advised TODO
...
This would force users to force-unwrap their custom `ColumnType(rawValue: "WHATEVER")!`
2024-03-27 17:39:10 +01:00
Gwendal Roué
57ac5ddbb3
[BREAKING] Bump requirements: Swift 5.10, Xcode 15.3, iOS 12, tvOS 12
2024-03-27 17:38:54 +01:00
Gwendal Roué
77b85bed25
Merge branch 'development'
v6.26.0
2024-03-23 14:06:22 +01:00
Gwendal Roué
bb8323b91d
v6.26.0
2024-03-23 14:06:05 +01:00
Gwendal Roué
d804b5ed9c
Bump performance dependencies
2024-03-23 14:06:05 +01:00
Gwendal Roué
2af60cb324
CHANGELOG
2024-03-23 11:46:44 +01:00
Gwendal Roué
0434567f30
Merge pull request #1515 from groue/dev/cast
...
Support for the CAST SQLite function
2024-03-23 11:42:56 +01:00
Gwendal Roué
155a16bef8
CHANGELOG
2024-03-23 10:52:28 +01:00
Gwendal Roué
2ad1f37d2b
Documentation for cast function
2024-03-23 10:48:20 +01:00
Gwendal Roué
32642d566b
Test cast function
2024-03-23 10:47:57 +01:00
Gwendal Roué
1f4d5ac61a
Fix test ambiguity
2024-03-23 10:47:49 +01:00
Gwendal Roué
87fdd9a66f
cast function
2024-03-23 10:47:19 +01:00
Gwendal Roué
79d82337b2
CAST expression
2024-03-23 10:47:13 +01:00
Gwendal Roué
fab4638fc9
Database.StorageClass
2024-03-23 10:46:52 +01:00
Gwendal Roué
a49fd85627
Regression tests for #1512
2024-03-21 14:25:12 +01:00
Gwendal Roué
ac8c4aea63
Report correct error when decoding NULL into Date or Data
...
Fixes #1512
2024-03-21 14:25:12 +01:00
Gwendal Roué
5413dcfeeb
Remove jsonErrorPosition unless GRDBCUSTOMSQLITE || GRDBCIPHER
...
For some reason, if #available(iOS 9999, macOS 9999, tvOS 9999, watchOS 9999, *) has stopped being able to skip the test (WTF?)
2024-03-19 12:15:47 +01:00
Gwendal Roué
4e0ab25106
Fix flaky tests due to Recorder incorrect critical section
2024-03-17 22:40:38 +01:00
Gwendal Roué
c52db6095a
Stop testing test_CocoaPodsLint
...
Because it does no longer work due to https://github.com/CocoaPods/CocoaPods/issues/11839
2024-03-17 22:15:08 +01:00
Gwendal Roué
1464940eeb
Merge pull request #1511 from groue/dev/schema-dump
...
Database schema dump
2024-03-17 22:11:55 +01:00
Gwendal Roué
f274e464cd
CHANGELOG
2024-03-17 20:45:48 +01:00
Gwendal Roué
c3e7736534
Dump schema
2024-03-17 20:45:31 +01:00
Gwendal Roué
9b95dd5be1
Merge pull request #1510 from groue/dev/trivial-sendable-conformances
...
Add Sendable conformances and unavailabilities
2024-03-17 20:45:01 +01:00
Gwendal Roué
77da5f4a30
CHANGELOG
2024-03-17 19:18:30 +01:00
Gwendal Roué
43ced9b2f0
Trivial Sendable conformances
...
Either added, either made explicitly unavailable.
2024-03-17 18:25:04 +01:00
Gwendal Roué
4ffad63f1b
Fix Swift 5.10 warning on WALSnapshot
2024-03-17 17:55:25 +01:00
Gwendal Roué
62e7ea1ef2
CHANGELOG
2024-03-17 17:55:15 +01:00
Gwendal Roué
91492b849d
Merge pull request #1508 from groue/dev/issue-1500
...
Fix ValueObservation mishandling of database schema modification
2024-03-17 17:53:28 +01:00
Gwendal Roué
d54d0abc07
Fix WALSnapshotTransaction so that it clears its schema cache if needed
2024-03-17 16:13:35 +01:00
Gwendal Roué
3b096b38e7
Failing test for #1500
2024-03-17 16:13:35 +01:00