Gwendal Roué
2f2cccacf9
Remove UI tests of demo apps, since GRDBQuery is tested on its own
...
(Don't test the framework)
2022-08-21 21:22:34 +02:00
Gwendal Roué
e5d10ed8c1
fix async AppDatabaseTests tests
2022-08-21 21:22:34 +02:00
Gwendal Roué
b2eafd4a13
SE-0361: Extensions on bound generic types
...
https://github.com/apple/swift-evolution/blob/main/proposals/0361-bound-generic-extensions.md
2022-08-21 21:22:34 +02:00
Gwendal Roué
36892fee55
BREAKING: Bump minimum SQLite version to 3.19.3
2022-08-21 21:22:34 +02:00
Gwendal Roué
80ec31f588
BREAKING: remove DerivableRequest.limit(_:offset:)
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é
a15f731042
BREAKING: remove Record.copy()
...
This will allow FetchableRecord.init(row:) to throw
2022-08-21 21:22:34 +02:00
Gwendal Roué
dba7f1b2dc
BREAKING: turn Cursor.isEmpty into a property
...
https://github.com/apple/swift-evolution/blob/main/proposals/0310-effectful-readonly-properties.md
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é
c0c6b34869
SE-0346: 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é
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é
6f0d45eedb
BREAKING: throwing DatabaseWriter.barrierWriteWithoutTransaction
...
It used to be rethrowing, but it was then unable to deal with closed databases.
The async version is modified accordingly: it accepts a Result<Database, Error>, instead of a raw Database.
DatabaseMigrator.asyncMigrate is impacted as well: it accepts a Result<Database, Error>, instead of a (Database, Error?) tuple.
2022-08-21 19:21:57 +02:00
Gwendal Roué
86de843bda
Swift 5.7 required: Xcode 14 updates
2022-08-21 19:21:57 +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
Sameer
aacaa433c9
Update AssociationsBasics.md
...
Fixed a typo
2022-06-30 12:51:53 +05:00
Gwendal Roué
c0e9c8746d
v5.25.0
2022-06-11 17:35:39 +02:00
Gwendal Roué
5b254eec16
v5.24.0
2022-05-01 11:43:14 +02:00
Martin Pfundmair
dd5ce280b5
Fix apple docs links
2022-04-29 16:10:03 +09: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é
fafa74c246
Fix ValueObservation.publisher documentation
2022-03-22 19:24:06 +01:00
Gwendal Roué
9fa831b6bb
v5.22.0
2022-03-22 16:41:40 +01:00
Gwendal Roué
685074932e
v5.21.0
2022-02-06 12:14:05 +01:00
Gwendal Roué
95ce4a3f8a
Drop async apis from DatabaseMigrator
...
This is because DatabaseMigrator can't be Sendable as long as it runs migrations that embed non-@Sendable closures.
2022-02-01 09:53:20 +01:00
Gwendal Roué
e5a8e130d7
v5.20.0
2022-02-01 07:44:09 +01:00
Gwendal Roué
bb8b39f7fd
Documentation for public statement arguments
2022-01-29 14:54:47 +01:00
Gwendal Roué
c46e8257d8
v5.19.0
2022-01-19 16:18:59 +01:00
BB9z
6d3f309cad
Fix typos
2022-01-19 00:10:42 +08:00
Gwendal Roué
78df734f51
v5.18.0
2022-01-09 17:36:31 +01:00
Gwendal Roué
5b7ba122e8
Bump custom SQLite to v3.37.2
2022-01-09 14:06:27 +01:00
Joseph Ross
bf28abbb25
Fix typos of the word "default"
2021-12-28 14:49:33 -08:00
Gwendal Roué
8df7020ad7
v5.17.0
2021-12-14 19:32:51 +01:00
Gwendal Roué
0cf4c4efba
Merge branch 'development' into dev/async
2021-12-12 17:00:08 +01:00
Gwendal Roué
ae609cec3b
Support for the TOTAL SQL aggregate function
2021-12-12 14:46:43 +01:00
Gwendal Roué
8ba89a398a
Add ABS and LENGTH SQL functions on association aggregates
2021-12-12 14:27:41 +01:00
Gwendal Roué
ec882e8126
Enable concurrency check flags by default
2021-12-08 11:18:54 +01:00
Gwendal Roué
6ec3ebc398
Merge branch 'development' into dev/async
2021-12-06 18:04:35 +01:00
Gwendal Roué
86d0fedfbb
Fix wording
2021-12-05 17:08:15 +01:00
Gwendal Roué
ca2f36781e
v5.16.0
2021-12-05 16:59:37 +01:00
Gwendal Roué
6c7f71f620
Fix typo
2021-12-05 16:47:32 +01:00
Gwendal Roué
a7002e1e09
Enhance "Columns Selected by an Association"
2021-12-05 15:22:07 +01:00
Gwendal Roué
54a991b3b9
Emphasize sections
2021-12-05 15:15:38 +01:00
Gwendal Roué
3298cca75f
Rewrite the Joining And Prefetching Associated Records chapter
2021-12-05 15:10:25 +01:00
Gwendal Roué
4fe0b687d2
Documentation for annotated(withOptional:), annotated(withRequired:)
2021-12-05 15:04:51 +01:00
Gwendal Roué
c7291db360
v5.15.0
2021-12-02 18:48:36 +01:00