Commit Graph
11428 Commits
Author SHA1 Message Date
Gwendal Roué dd14710c86 Fix typo 2024-10-06 13:55:29 +02:00
Gwendal Roué 97c0c72702 Merge pull request #1645 from philmitchell/coalesce
Add coalesce free function and Row method
2024-10-06 13:55:02 +02:00
Gwendal Roué a17d72e04c Make the top-level coalesce function work with collections of size zero and one. 2024-10-06 12:53:22 +02:00
Gwendal Roué 761b00f9bc Test Row.coalesce with collections of size zero and one. 2024-10-06 12:45:38 +02:00
Gwendal Roué ac3278a38b Test top-level function coalesce like other top-level functions 2024-10-06 12:42:33 +02:00
Gwendal Roué 06c3ab0d16 Test Row.coalesce on all variants of Row 2024-10-06 12:42:10 +02:00
Gwendal Roué f38619ada8 Restore alphabetical order of SQL functions 2024-10-06 12:42:10 +02:00
Gwendal Roué 8cac458efc Use "real" column names in examples.
Also, remove "essential".
2024-10-06 12:42:10 +02:00
Gwendal Roué a13c1bec29 Add coalesce in DocC 2024-10-06 12:19:49 +02:00
Gwendal Roué c6781f46d2 Prefer Collection over Array
This allows the user to call those methods with an Array, or any other collection at hand (including lazy ones)

This change makes `return coalesce(columns.lazy.map { $0.name })` iterate lazily. Before this commit, `map` was returning a non-lazy Array.
2024-10-06 12:19:49 +02:00
Gwendal Roué fd04831586 Merge pull request #1644 from tayloraswift/enable-linux-build
use #if directives to conditionally `@preconcurrency import `the `Dispatch` module to enable building the package on linux
2024-10-06 11:45:59 +02:00
Phil Mitchell d7754fa79c Add coalesce free function and Row method 2024-09-30 13:10:59 +10:00
Dianna 5f2185a118 use #if directives to conditionally @preconcurrency import the Dispatch module to enable building the package on linux 2024-09-29 21:44:34 +00:00
Gwendal Roué dc03b8a29e Update links to GRDB7 documentation 2024-09-29 20:29:51 +02:00
Gwendal Roué a0c1de55c4 Enhance PlayerListModelTests 2024-09-29 17:10:05 +02:00
Gwendal Roué d1f5a37520 Enhance the demo app tests
Based on https://forums.swift.org/t/testing-closure-based-asynchronous-apis/73705/36
2024-09-29 15:46:18 +02:00
Gwendal Roué ed5f8c11ab 7.0.0-beta.2 v7.0.0-beta.2 2024-09-29 15:17:41 +02:00
Gwendal Roué afda0d1e7c Merge pull request #1643 from finestructure/patch-1
Update .spi.yml
2024-09-29 15:12:38 +02:00
Sven A. Schmidt 18c7f51a4e Update .spi.yml 2024-09-29 15:10:03 +02:00
Gwendal Roué a6b15684c3 Improve migration notes for ValueObservation 2024-09-29 13:27:07 +02:00
Gwendal Roué 9bdde6bc6f More links in GRDBDemo README 2024-09-29 13:04:36 +02:00
Gwendal Roué db9ef1bb27 Emphasize Swift concurrency recommendations in the migration guide 2024-09-29 12:12:57 +02:00
Gwendal Roué 2958020c69 De-emphasize the Record class in the migration guide 2024-09-29 12:10:26 +02:00
Gwendal Roué 895436a2a1 Mention companion libraries in the GRDB 7 migration guide 2024-09-29 12:07:34 +02:00
Gwendal Roué 47a7ddf08a Merge branch 'development' v7.0.0-beta 2024-09-29 10:24:10 +02:00
Gwendal Roué ecd4658a88 Update the release process 2024-09-29 10:23:39 +02:00
Gwendal Roué ec031dcf4f v7.0.0-beta 2024-09-29 10:19:57 +02:00
Gwendal Roué 006252cf14 Swift 6 version in podsepc 2024-09-29 10:19:45 +02:00
Gwendal Roué 5a9b592c38 Merge pull request #1642 from groue/GRDB7
GRDB 7
2024-09-29 09:27:13 +02:00
Gwendal Roué e0eca340e4 Demo app cleanup 2024-09-29 08:36:56 +02:00
Gwendal Roué 4132d02d14 Merge pull request #1641 from groue/dev/GRDB7-Swift-6-language-mode
GRDB7: Enable the Swift 6 language mode
2024-09-29 08:06:28 +02:00
Gwendal Roué 625c52913b Remove the documentation paragraph about the Xcode bug with CSQLite
It is not informative enough. Maybe Xcode has fixed the bug. And maybe #1600 helps.
2024-09-29 07:19:52 +02:00
Gwendal Roué c8ec149224 CHANGELOG 2024-09-29 07:16:01 +02:00
Gwendal Roué 9302925081 Fix Swiftlint warnings 2024-09-28 18:02:05 +02:00
Gwendal Roué 030121e45f Swift 6 language mode on GRDB targets 2024-09-28 17:59:45 +02:00
Gwendal Roué 47fa6ef77a Extract GRDBTests.xcconfig 2024-09-28 17:59:45 +02:00
Gwendal Roué f675489243 CHANGELOG 2024-09-28 17:48:14 +02:00
Gwendal Roué bb712a612e Rewrite the "Choosing between Synchronous and Asynchronous Database Accesses" section 2024-09-28 17:45:59 +02:00
Gwendal Roué 3c586cb2fc Update link to the migration guide 2024-09-28 17:16:13 +02:00
Gwendal Roué d68e55c184 Cleanup demo app, and add tests for the view model 2024-09-28 15:54:23 +02:00
Gwendal Roué 073682c4f0 Remove the experimental flag on stabilized apis 2024-09-28 14:41:12 +02:00
Gwendal Roué 88500570a8 TODO 2024-09-28 14:35:41 +02:00
Gwendal Roué dc2070981d Merge pull request #1639 from groue/dev/GRDB7-sendable-async-sequence
GRDB 7: ValueObservation async sequence is Sendable
2024-09-28 14:29:28 +02:00
Gwendal Roué 6b2ccebad3 AsyncValueObservation is Sendable
A Sendable async sequences plays well with apple/swift-async-algorithms
2024-09-28 13:36:40 +02:00
Gwendal Roué c404e2d012 Merge pull request #1640 from groue/dev/GRDB7-hide-record-class
GRDB 7: Stop mentioning the Record base class in the documentation
2024-09-28 13:36:11 +02:00
Gwendal Roué 20818ee819 Remove the Record class from the documentation 2024-09-28 13:35:11 +02:00
Gwendal Roué 1cd78064c9 Merge pull request #1638 from groue/dev/GRDB7-migration-guide
GRDB 7: Migration Guide
2024-09-28 11:18:06 +02:00
Gwendal Roué ebdd1f1fdf Fix SPM CI tests 2024-09-28 09:50:34 +02:00
Gwendal Roué b389547713 Code dump for Swift6Migration test app 2024-09-27 18:02:59 +02:00
Gwendal Roué d003601d15 TODO 2024-09-27 18:00:07 +02:00