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
Gwendal Roué
5a3db29e21
Remove link to X account
2025-01-21 13:14:03 +01:00
Gwendal Roué
fa0985eb01
Documentation: add @retroactive to Tagged extensions
2025-01-21 08:03:46 +01:00
Gwendal Roué
495e76bb1a
Fix performance tests for SQLite.swift
2025-01-20 08:51:01 +01:00
Gwendal Roué
bbf39353b5
Merge branch 'development'
v7.0.0-beta.7
2025-01-19 18:20:47 +01:00
Gwendal Roué
442b8b0589
7.0.0-beta.7
2025-01-19 17:30:17 +01:00
Gwendal Roué
2c85bc2cfc
CHANGELOG
2025-01-19 16:57:34 +01:00
Gwendal Roué
3f56bc8199
Merge pull request #1700 from groue/dev/all-columns-excluding
...
Select all columns from a table, but a few ones
2025-01-19 16:50:48 +01:00
Gwendal Roué
37ea21eb96
Test AllColumnsExcluding and Table
2025-01-19 16:26:59 +01:00
Gwendal Roué
96c9eb5699
Enhance documentation of generated columns
2025-01-19 16:26:59 +01:00
Gwendal Roué
33103bb373
AllColumnsExcluding tests
2025-01-19 16:26:59 +01:00
Gwendal Roué
6b23181337
Use .allColumns and .rowID instead of AllColumns() and Column.rowID
2025-01-19 16:26:59 +01:00
Gwendal Roué
c5366f4a01
AllColumnsExcluding documentation
2025-01-19 16:26:59 +01:00
Gwendal Roué
a642ac51aa
AllColumnsExcluding
2025-01-19 16:26:59 +01:00