Commit Graph
3204 Commits
Author SHA1 Message Date
Gwendal Roué 36892fee55 BREAKING: Bump minimum SQLite version to 3.19.3 2022-08-21 21:22:34 +02:00
Gwendal Roué 49a66e197b Foster some FetchRequest<...> in the documentation 2022-08-21 21:22:34 +02:00
Gwendal Roué eb98541923 Documentation 2022-08-21 21:22:34 +02:00
Gwendal Roué 895964de16 BREAKING: Throwing FetchableRecord.init(row:) 2022-08-21 21:22:34 +02:00
Gwendal Roué 7ffc332327 BREAKING: replace selectID() with selectPrimaryKey(as:)
Since Optional is a database value like others, selectID would be a request of optionals for records with an optional ID type:

    struct Player: Identifiable, MutablePersistableRecord {
        var id: Int64?
    }

    Player.selectID() // QueryInterface<Int64?>

This is not good, because primary keys are not null. And those requests would fetch impractical types such as [Int64?], Set<Int64?>, Int64??.

Instead, we introduce selectPrimaryKey(as:), which allows the user to provide the desired type.

    Player.selectPrimaryKey(as: Int64.self) // QueryInterface<Int64>
2022-08-21 21:22:34 +02:00
Gwendal Roué a9fcf1b9c1 SE-0335, SE-0341, SE-0346, SE-0352, SE-0358: some, any, primary associated types 2022-08-21 21:22:34 +02:00
Gwendal Roué dd55175978 SE-0345: if let x { }
https://github.com/apple/swift-evolution/blob/main/proposals/0345-if-let-shorthand.md
2022-08-21 21:22:34 +02:00
Gwendal Roué 58293befc9 BREAKING: Optional is a database value like others 2022-08-21 21:22:34 +02:00
Gwendal Roué 458e1e2675 BREAKING: throwing DatabaseQueue() initializer
As a consequence, FTS3.tokenize(_:) is a throwing method as well.
2022-08-21 21:22:33 +02:00
Gwendal Roué 23cbf13af0 Swift 5.7 required: Availability checks 2022-08-21 19:21:57 +02:00
Gwendal Roué fcb037bdf0 Swift 5.7 required: Bump deployment targets 2022-08-21 19:21:57 +02:00
Gwendal Roué e150ca6864 Migration guide to GRDB 6 2022-08-21 19:21:26 +02:00
Gwendal Roué 2df6a17c1c v5.26.0 2022-07-09 18:27:57 +02:00
Gwendal Roué 6ab90a03c4 Document releaseMemoryEventually and automaticMemoryManagement 2022-07-09 14:00:00 +02:00
Gwendal Roué c0e9c8746d v5.25.0 2022-06-11 17:35:39 +02:00
Gwendal Roué a0212eb129 [skip ci] Early mention of the async accesses 2022-06-07 19:32:39 +02:00
Gwendal Roué 2a849d380c v5.24.1 2022-05-26 13:31:48 +02:00
Gwendal Roué 5b254eec16 v5.24.0 2022-05-01 11:43:14 +02:00
Gwendal Roué 3632edb238 Mention SwiftUI support in the README 2022-05-01 11:36:26 +02:00
Gwendal Roué b89ce00361 Document that read-only transactions are not notified 2022-04-30 16:06:59 +02:00
Gwendal Roué dc03adb4e2 v5.23.0 2022-04-16 10:09:45 +02:00
Gwendal Roué 209192d3a5 Require Swift 5.6 Compiler for Concurrency Support 2022-04-13 23:07:33 +02:00
Gwendal Roué 0324f592dc v5.22.2 2022-04-02 14:55:54 +02:00
Gwendal Roué 8b120fa9b6 v5.22.1 2022-03-26 11:52:17 +01:00
Gwendal Roué 9fa831b6bb v5.22.0 2022-03-22 16:41:40 +01:00
Gwendal Roué 881bbd3f0d Update documentation 2022-03-17 18:44:30 +01:00
Gwendal Roué 9b0e41ad58 Details about date formats 2022-02-13 12:27:27 +01:00
Gwendal Roué 685074932e v5.21.0 2022-02-06 12:14:05 +01:00
Gwendal Roué f1a23bacc0 Extend the thank you notice 2022-02-06 12:10:35 +01:00
Gwendal Roué fc9f0bcad1 Wording 2022-02-06 10:20:06 +01:00
Beehive InnovationsandGwendal Roué ba866359b2 Update README.md
Co-authored-by: Gwendal Roué <gr@pierlis.com>
2022-02-03 23:11:54 +04:00
Beehive InnovationsandGwendal Roué ffced55d3c Update README.md
Co-authored-by: Gwendal Roué <gr@pierlis.com>
2022-02-03 22:52:10 +04:00
Beehive Innovations e28658c574 Updated SPM installation instructions
Added note about static / dynamic
2022-02-03 13:09:52 +04:00
Gwendal Roué e5a8e130d7 v5.20.0 2022-02-01 07:44:09 +01:00
Gwendal Roué 29808e51ff Fix typo 2022-01-29 16:06:22 +01:00
Gwendal Roué 426044154c Fix public statement arguments for system SQLite 2022-01-29 15:54:39 +01:00
Gwendal Roué b5395a097c Documentation 2022-01-29 15:27:40 +01:00
Gwendal Roué fd22fac5c0 Don't shed too much light on expandedSQL & expandedDescription properties 2022-01-29 15:12:41 +01:00
Gwendal Roué bb8b39f7fd Documentation for public statement arguments 2022-01-29 14:54:47 +01:00
Gwendal Roué 9baa72cfd7 Mention association annotation methods in the main README 2022-01-21 13:48:51 +01:00
Gwendal Roué c46e8257d8 v5.19.0 2022-01-19 16:18:59 +01:00
Gwendal Roué 28109a3947 Merge pull request #1144 from TimAEllis/feature/add-drop-column
Add drop column support
2022-01-19 08:06:24 +01:00
BB9z 6d3f309cad Fix typos 2022-01-19 00:10:42 +08:00
Timothy Ellis 187a661626 Updated to reflect drop column 2022-01-17 10:31:11 +11:00
Gwendal Roué 8f100a6395 Document that GRDB/SQLCipher must be the only pod
Addresses #1141
2022-01-16 10:49:02 +01:00
Gwendal Roué 78df734f51 v5.18.0 2022-01-09 17:36:31 +01:00
Gwendal Roué a1c0c6d1f3 Update documentation for the new table/index creation options 2022-01-09 17:01:37 +01:00
Gwendal Roué b2fabf5fc3 Strict tables need REAL and ANY column types 2022-01-09 17:01:37 +01:00
Gwendal Roué 29cd08cba4 Fix typo 2022-01-07 15:01:29 +01:00
Gwendal Roué 5d51f2a884 New Embedding SQL in Query Interface Requests chapter 2022-01-07 14:41:15 +01:00