Commit Graph
10865 Commits
Author SHA1 Message Date
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
Gwendal Roué 867f824a69 Merge pull request #1599 from groue/dev/GRDB7-non-optional-fetch
GRDB 7: enhance ergonomics of record methods that insert/save/upsert and fetch
2024-08-24 17:20:48 +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é 81cf93f02a Bump iOS version on GitHub CI 2024-08-24 17:01:53 +02:00
Gwendal Roué 38e867c405 Bump minimum targets in Package.swift 2024-08-24 16:55:14 +02:00
Gwendal Roué 6157a40dad Fix DocC warnings 2024-08-24 16:34:35 +02:00
Gwendal Roué e2106167cc GRDB7 TODO 2024-08-24 16:22:57 +02:00
Gwendal Roué 31be1782c5 Makefile: document TOOLCHAIN 2024-08-24 16:22:45 +02:00
Gwendal Roué 4ecc1ec80d Merge pull request #1598 from groue/dev/GRDB7-requirements
GRDB 7: Bump requirements
2024-08-24 15:54:14 +02:00
Gwendal Roué 0240ab552c Fix compiler warnings 2024-08-24 15:45:38 +02:00
Gwendal Roué 6895164a20 CI: use Xcode 16.1 2024-08-24 15:45:38 +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é 509cbb9881 [BREAKING] tvOS 12+ 2024-08-24 15:45:38 +02:00
Gwendal Roué 29eb04c39a [BREAKING] iOS 12+ 2024-08-24 15:45:38 +02:00