Gwendal Roué
63590ede60
Association limit WIP
2025-03-01 13:20:23 +01:00
Gwendal Roué
6eba24d169
Merge branch 'development'
v7.3.0
2025-02-23 19:53:59 +01:00
Gwendal Roué
bd3ac9ef75
v7.3.0
2025-02-23 18:44:22 +01:00
Gwendal Roué
392137c357
XCTestExpectation is Sendable starting Xcode 16.3 beta
2025-02-23 18:43:45 +01:00
Gwendal Roué
b48a56ae03
Revert "Merge pull request #1732 from groue/dev/sending-closures"
...
This reverts commit bbd1eab402 , reversing
changes made to 9b09c5342e .
2025-02-23 18:43:45 +01:00
Gwendal Roué
bbd1eab402
Merge pull request #1732 from groue/dev/sending-closures
...
Async database accesses no longer require Sendable closures.
2025-02-23 15:33:54 +01:00
Gwendal Roué
53c9d12d29
Async database access no longer require Sendable closures.
2025-02-23 15:16:36 +01:00
Gwendal Roué
9b09c5342e
Merge pull request #1731 from groue/dev/virtual-table-options
...
Support for temporary virtual tables
2025-02-23 13:59:48 +01:00
Gwendal Roué
aed22fe0bc
Support for temporary virtual tables.
2025-02-23 13:45:46 +01:00
Gwendal Roué
eec220b652
Merge pull request #1730 from groue/dev/issue-1728
...
Undeprecate Date coding strategies based on DateFormatter
2025-02-23 11:13:02 +01:00
Gwendal Roué
79a782038e
Undeprecate Date coding strategies based on DateFormatter
...
https://github.com/swiftlang/swift/issues/78635#issuecomment-2676324549
> DateFormatter is indeed thread safe and its conformance to Sendable is correct
2025-02-23 11:12:24 +01:00
Gwendal Roué
618e72d153
Merge pull request #1729 from groue/dev/issue-1728
...
Deprecate Date coding strategies based on DateFormatter
2025-02-22 14:29:08 +01:00
Gwendal Roué
824100990f
Deprecate Date coding strategies based on DateFormatter
...
Fix #1728
2025-02-22 13:45:42 +01:00
Gwendal Roué
c7205b172f
Merge branch 'development'
v7.2.0
2025-02-12 08:49:02 +01:00
Gwendal Roué
49d14e6b66
v7.2.0
2025-02-12 08:48:52 +01:00
Gwendal Roué
54ed7ec611
Merge pull request #1719 from groue/dev/selectID
...
Select ids with selectID()
2025-02-12 08:46:40 +01:00
Gwendal Roué
68e17351ff
CI: iPhone 15 Pro simulator is no longer available
2025-02-12 08:31:34 +01:00
Gwendal Roué
494e697e94
Warn against selectID() when the ID type is an optional.
2025-02-12 08:25:27 +01:00
Gwendal Roué
87b236dfe0
selectID
...
This reverts 7ffc332327
At the time, selectID was replaced with selectPrimaryKey(as:) because:
> 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??.
This problem is reintroduced, but we now recommend against optional ids in https://swiftpackageindex.com/groue/grdb.swift/documentation/grdb/recordrecommendedpractices . And record with optional ids can use selectPrimaryKey(as:).
2025-02-11 20:47:49 +01:00
Gwendal Roué
ea6d8e0123
Merge branch 'development'
v7.1.0
2025-02-05 15:34:18 +01:00
Gwendal Roué
073209f1dc
v7.1.0
2025-02-05 15:34:09 +01:00
Gwendal Roué
430530f5f1
CHANGELOG
2025-02-05 14:08:28 +01:00
Gwendal Roué
a716915280
Merge pull request #1717 from groue/dev/RxGRDB
...
Allow RxGRDB to compile without warning
2025-02-05 13:58:25 +01:00
Gwendal Roué
ef36727d9a
🎵 Whatever Lola wants, Lola gets
...
Address https://github.com/RxSwiftCommunity/RxGRDB/issues/72
Based on https://github.com/swiftlang/swift-evolution/blob/main/proposals/0337-support-incremental-migration-to-concurrency-checking.md#preconcurrency-attribute-on-nominal-declarations
See also https://www.massicotte.org/preconcurrency#working-with-swift-5
"Whatever Lola wants, Lola gets" because the Swift language is a blind and cruel mistress.
2025-02-05 13:38:19 +01:00
Gwendal Roué
78b2796f46
CHANGELOG
2025-02-05 08:00:29 +01:00
Gwendal Roué
3535a42c53
Merge pull request #1716 from groue/dev/issue-1715
...
Fix: DatabaseQueue restores its read/write abilities when an async read-only database access is cancelled.
2025-02-04 20:51:58 +01:00
Gwendal Roué
5a4d9b5cb9
Let PRAGMA QUERY_ONLY statements run from a cancelled database access
...
Fix #1715
2025-02-04 19:35:39 +01:00
Gwendal Roué
a64b09d121
Failing test for #1715
2025-02-04 19:35:39 +01:00
Gwendal Roué
287c4be82d
Merge pull request #1713 from groue/dev/sqliteLibVersionNumber
...
Expose `sqlite3_libversion_number` as `Database.sqliteLibVersionNumber`
2025-02-01 12:59:42 +01:00
Gwendal Roué
32c9ba24ba
Replace sqlite3_libversion_number() with Database.sqliteLibVersionNumber
...
and remove SQLite imports that are no longer necessary.
2025-02-01 12:19:11 +01:00
Gwendal Roué
0401d449bb
Database.sqliteLibVersionNumber
2025-02-01 12:01:41 +01:00
Gwendal Roué
4de97e6903
Merge branch 'development'
v7.0.0
2025-01-26 16:30:56 +01:00
Gwendal Roué
676636bae4
7.0.0
2025-01-26 16:30:06 +01:00
Gwendal Roué
8e7cbf098f
Fix Realm integration
2025-01-26 16:29:51 +01:00
Gwendal Roué
7250d759fe
Fix generatePerformanceReport.rb script
2025-01-26 16:29:51 +01:00
Gwendal Roué
fe7b9955b1
Upgrade performance tests dependencies
2025-01-26 16:29:51 +01:00
Gwendal Roué
6df8e2bd34
Fix casing of swiftpackageindex.com urls
2025-01-26 15:31:12 +01:00
Gwendal Roué
81cd33b71c
CHANGELOG
2025-01-26 15:26:01 +01:00
Gwendal Roué
2e2c0eaec1
Merge pull request #1699 from groue/dev/jsonb
...
Support for JSONB expressions
2025-01-26 15:22:25 +01:00
Gwendal Roué
ed17710694
Add tests of JSON_GROUP_ARRAY output, from both JSON and JSONB input
2025-01-26 14:44:27 +01:00
Gwendal Roué
0f68d8b684
JSON_VALID options
2025-01-26 14:21:35 +01:00
Gwendal Roué
367f8f7e37
Add missing imports for C SQLite functions
2025-01-26 14:21:35 +01:00
Gwendal Roué
831e79ee82
JSONB functions and tests
2025-01-26 14:21:35 +01:00
Gwendal Roué
8b3f9c0936
Prefer JSONB when building JSON
2025-01-26 14:21:35 +01:00
Gwendal Roué
950db13d46
Declare JSONB functions behavior
2025-01-26 14:21:35 +01:00
Gwendal Roué
0e664cf22e
Not only pluralization can be a problem
2025-01-23 08:10:36 +01:00
Gwendal Roué
1e5602ca9d
Merge pull request #1703 from groue/dev/inflections-fixes
...
Fix pluralization of Bias, Focus, Gas, and Lens
2025-01-22 21:29:31 +01:00
Gwendal Roué
8147811ab4
Mention Bias, Focus, Gas, and Lens in the GRDB 7 Migration Guide
2025-01-22 21:02:09 +01:00
Gwendal Roué
4c9b0eb90e
Fix failing tests for inflections
2025-01-22 20:41:55 +01:00
Gwendal Roué
b63d75da21
Failing tests for inflections
...
- bias/biases
- focus/focuses
- gas/gases
- lens/lenses
2025-01-22 20:41:39 +01:00