Gwendal Roué
bd7031ec9b
Fix typos in the demo app
2026-11-01 21:04:16 +01:00
Gwendal Roué
909f7455e6
Fix more typos in public documentation
2026-11-01 21:01:03 +01:00
Gwendal Roué
edc1d646f0
[BREAKING] Bump minimum Swift version to 6.1
2025-10-04 13:53:38 +02:00
Gwendal Roué
7ec88b76e0
Start an immediate observation
...
In the iOS 26 simulator the demo app would show a flash of missing content.
2025-09-10 07:12:53 +02:00
Gwendal Roué
cd84db3873
Xcode 26 upgrade
2025-09-10 07:12:52 +02:00
Gwendal Roué
c91c183354
Async database accesses are no longer escaping and no longer need to capture self
2025-07-19 16:42:17 +02:00
Gwendal Roué
c666393e63
AppDatabase can be a struct, so let it be a struct
2025-07-19 16:42:17 +02:00
Gwendal Roué
e8b143e2ee
Demo app uses ColumnsProvider
2025-05-10 09:36:14 +02:00
Gwendal Roué
6df8e2bd34
Fix casing of swiftpackageindex.com urls
2025-01-26 15:31:12 +01:00
Gwendal Roué
3ecb5c5455
Remove compiler warning in demo app
2024-10-22 08:18:38 +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é
9bdde6bc6f
More links in GRDBDemo README
2024-09-29 13:04:36 +02:00
Gwendal Roué
e0eca340e4
Demo app cleanup
2024-09-29 08:36:56 +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é
0af8415a22
GRDBDemo cleanup
2024-09-22 00:19:05 +02:00
Gwendal Roué
d985314267
Replace the demo apps
2024-09-21 22:04:29 +02:00
Gwendal Roué
9cd1d849cc
[BREAKING] Stop exporting SQLite
2024-08-24 17:25:35 +02:00
Gwendal Roué
cdc0131369
Modernize demo apps:
...
iOS 17+
GRDBQuery 0.9.0
#Preview macro
2024-07-20 14:38:14 +02:00
Gwendal Roué
eeacf93772
Don't mention async sequences in the GRDBAsyncDemo introduction
...
Been there, done that: when one feeds a SwiftUI view from an async sequence, the view MUST display an initial empty state, until the Swift Concurrency runtime provides the initial value of the sequence. That's why the demo app uses a Combine publisher for feeding views with database value. This commit removes a misleading reference to async sequences.
Fix #1532
2024-04-20 12:40:38 +02:00
Gwendal Roué
11e914db12
Fix code signing issues with GRDBDemoiOS
2024-01-13 13:09:53 +01:00
Gwendal Roué
52a3d6ba23
Move the "Recommended Practices for Designing Record Types" to DocC
2023-04-10 09:51:38 +02:00
Gwendal Roué
54007a9ce1
Refactor demo apps for enhanced configuration management
2023-04-09 11:40:40 +02:00
Gwendal Roué
9798f9f9fa
Update Package.resolved for demo apps
2023-03-12 12:40:38 +01:00
Gwendal Roué
1e5ee4b292
Fix Xcode 14.3 beta 2 warnings
2023-03-04 11:53:41 +01:00
Gwendal Roué
159a34bdf2
Demo apps: bump GRDBQuery to 0.6.0
2023-03-04 10:03:51 +01:00
Gwendal Roué
dc4f10ecb0
Remove Xcode warning
2023-02-19 12:10:17 +01:00
Gwendal Roué
0b92c856ae
Upgrade demo apps
2022-12-29 14:06:18 +01:00
Gwendal Roué
6e2e1f4889
Update documentation links
2022-12-29 14:06:18 +01:00
Gwendal Roué
e3cc15707a
Move ValueObservation documentation to DocC
2022-11-27 18:27:26 +01:00
Gwendal Roué
3074b61cb7
Move schema documentation to DocC
2022-11-27 11:07:13 +01:00
Gwendal Roué
90ec3c188b
Host documentation on SPI
2022-11-11 11:34:02 +01:00
Gwendal Roué
19b0b6af3e
http -> https
2022-11-08 08:45:37 +01:00
Gwendal Roué
fb81ec6792
Migrations Guide in now a DocC article
2022-11-07 22:44:37 +01:00
Gwendal Roué
1c7b618a89
Parallelizable tests
2022-09-09 09:33:57 +02:00
Gwendal Roué
4c10899a3c
Single Cross-Platform Target
2022-08-27 13:43:44 +02:00
Gwendal Roué
d2dd18b3e5
Remove note and warning icons
...
Those are handled by Github now:
https://github.com/community/community/discussions/16925
2022-08-21 21:22:34 +02:00
Gwendal Roué
a702fe6bc9
BREAKING: persistence callbacks, and support for RETURNING
...
- Replace performInsert, performUpdate, etc with callbacks: willInsert, aroundInsert, didInsert, etc.
- Always call didInsert, even with INSERT OR IGNORE
- Explicit conflict resolution in persistence methods
- Add ...AndFetch... methods
2022-08-21 21:22:34 +02:00
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é
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é
86de843bda
Swift 5.7 required: Xcode 14 updates
2022-08-21 19:21:57 +02:00
Gwendal Roué
811c41af6d
@Query has been exported to https://github.com/groue/GRDBQuery
2021-11-25 15:25:40 +01:00
Gwendal Roué
988c7bb62f
Query documentation
2021-11-25 13:56:07 +01:00
Gwendal Roué
51182fc862
Query documentation
2021-11-25 13:55:00 +01:00
Gwendal Roué
485509a8cc
Query documentation
2021-11-25 13:47:27 +01:00