Gwendal Roué
90ec3c188b
Host documentation on SPI
2022-11-11 11:34:02 +01:00
Gwendal Roué
9d03c1ae61
DocC: Single-Row Tables
2022-11-09 21:54:17 +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é
2dd2d2db35
Makefile no longer needs to be updated on each release
2022-11-06 20:46:53 +01:00
Gwendal Roué
fcfecc5a73
Update Release Process
2022-11-06 18:09:49 +01:00
Gwendal Roué
39a76ff929
Links to future SPI-hosted pages
2022-11-06 18:09:09 +01:00
Gwendal Roué
1818534513
DocC
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é
1c7b618a89
Parallelizable tests
2022-09-09 09:33:57 +02:00
Gwendal Roué
dced16bdce
Update SQLiteCustom to v3.39.3
2022-09-05 20:43:51 +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é
c40256600a
Update playgrounds doc
2022-08-28 09:49:34 +02:00
Gwendal Roué
535f44c463
Update the GRDB6 migration guide
2022-08-27 14:42:57 +02:00
Gwendal Roué
4c10899a3c
Single Cross-Platform Target
2022-08-27 13:43:44 +02:00
Gwendal Roué
0321c79c2d
Update SQLiteCustom to v3.39.2
2022-08-27 12:16:59 +02:00
Gwendal Roué
51c9071b3d
v6.0.0-beta.3
2022-08-25 19:11:20 +02:00
Gwendal Roué
05b81df614
Update the migration guide with the actions to perform on customized records
2022-08-25 19:05:27 +02:00
Gwendal Roué
56cdaabd9c
Update the "Single-Row Tables" guide
2022-08-25 19:05:27 +02:00
Gwendal Roué
14321e411c
v6.0.0-beta.2
2022-08-23 22:16:37 +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é
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é
0ed9367b26
BREAKING: DatabaseCursor no longer exposes its prepared statement
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é
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