Gwendal Roué
72f56a1b03
v6.4.0
2022-11-28 13:29:23 +01:00
Gwendal Roué
7343912ac3
Fix broken links
2022-11-28 08:31:45 +01:00
Gwendal Roué
409bd3bb26
Move Database Observation documentation to DocC
2022-11-28 08:27:12 +01:00
Gwendal Roué
fed4833764
Move DatabaseRegionObservation documentation to DocC
2022-11-27 18:45:48 +01:00
Gwendal Roué
e3cc15707a
Move ValueObservation documentation to DocC
2022-11-27 18:27:26 +01:00
Gwendal Roué
5302b98a15
http -> https
2022-11-27 15:12:57 +01:00
Gwendal Roué
2e2b79a3a9
The technique for exposing rowids to record types has moved to DocC
2022-11-27 14:29:14 +01:00
Gwendal Roué
f5ebf0de4d
Use primary key definitions with NOT NULL constraint by default
2022-11-27 12:35:47 +01:00
Gwendal Roué
3074b61cb7
Move schema documentation to DocC
2022-11-27 11:07:13 +01:00
Gwendal Roué
5d50e396c1
Enhance Configuration documentation
2022-11-12 11:55:37 +01:00
Gwendal Roué
5e7b604ecd
v6.3.1
2022-11-11 11:34:02 +01:00
Gwendal Roué
90ec3c188b
Host documentation on SPI
2022-11-11 11:34:02 +01:00
Gwendal Roué
3014ddb00a
Enhance Documentation
2022-11-09 21:52:22 +01:00
Gwendal Roué
c5a0598cea
DocC: Concurrency Guides
2022-11-09 13:22:53 +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é
4dda8d7650
Host DocC on Github pages
...
SPI will be up soon, but we have to fix the dead links currently published on the master branch
https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/discussions/2120
2022-11-07 08:14:39 +01:00
Gwendal Roué
f5259af512
v6.3.0
2022-11-06 20:47:03 +01:00
Gwendal Roué
9fd3e822e5
More links to future SPI-hosted pages
2022-11-06 20:45:48 +01:00
Gwendal Roué
39a76ff929
Links to future SPI-hosted pages
2022-11-06 18:09:09 +01:00
Gwendal Roué
811d287bd9
Row.withUnsafeData
2022-11-06 16:02:36 +01:00
Gwendal Roué
c98d918bf6
v6.2.0
2022-10-29 15:36:01 +02:00
Gwendal Roué
8aaf1af9f0
v6.1.0
2022-10-20 13:23:37 +02:00
Gwendal Roué
589e53b231
v6.0.0
2022-09-09 11:40:39 +02:00
Gwendal Roué
849be02906
Remove useless Xcode requirements in documentation
...
GRDB 6 requires Xcode 14+, Swift concurrency is always available.
2022-09-05 20:32:50 +02:00
Gwendal Roué
373f95a6cb
v6.0.0-beta.4
2022-08-28 13:44:35 +02:00
Gwendal Roué
3d77a8da86
Update the manual installation documentation
2022-08-28 09:59:52 +02:00
Gwendal Roué
51c9071b3d
v6.0.0-beta.3
2022-08-25 19:11:20 +02:00
Gwendal Roué
14321e411c
v6.0.0-beta.2
2022-08-23 22:16:37 +02:00
Gwendal Roué
ffa183821c
UPSERT documentation
2022-08-23 22:05:23 +02:00
Gwendal Roué
1036dd4d6e
v6.0.0-beta
2022-08-21 21:56:51 +02:00
Gwendal Roué
37f0a0bb9a
BREAKING: throwing EncodableRecord.encode(to:)
2022-08-21 21:22:34 +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é
422e0ae85a
BREAKING: Handles both commits and rollbacks
...
Replace afterNextTransactionCommit(_:) with afterNextTransaction(onCommit:onRollback:)
2022-08-21 21:22:34 +02:00
Gwendal Roué
8f562d3e11
NEW: Upsert
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é
5243db7fbc
Spelling
2022-08-21 21:22:34 +02:00
Gwendal Roué
27b65c9a80
BREAKING: Starting DatabaseRegionObservation returns a cancellable
2022-08-21 21:22:34 +02:00
Gwendal Roué
1bfba945d3
Fix invalid Swift syntax in documentation
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é
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