10119 Commits
Author SHA1 Message Date
Gwendal Roué 3df9e8e5c1 Merge branch 'development' v6.2.0 2022-10-29 16:49:28 +02:00
Gwendal Roué c98d918bf6 v6.2.0 2022-10-29 15:36:01 +02:00
Gwendal Roué c197e2f520 Don't run unicode61 tokenizer categories tests before SQLite 3.25.0 2022-10-29 15:04:09 +02:00
Gwendal Roué 13b3f1d741 Github workflow: use Xcode 14.0.1 2022-10-29 14:35:54 +02:00
Gwendal Roué ad011a0974 CHANGELOG 2022-10-29 14:21:33 +02:00
Gwendal Roué a89dad2554 Fix Swiftlint warnings 2022-10-29 14:21:33 +02:00
Gwendal Roué 4f4553f4f0 Regression tests for tokenizer arguments quoting 2022-10-29 14:21:33 +02:00
Gwendal Roué 9b505bb34b Fix quoting of FTS5 tokenizer arguments
Tokenizer arguments only need to be quoted ("foo" -> "'foo'") when we generate SQL for a tokenizer. They must not be quoted when we instantiate a tokenizer with the fts5_tokenizer.xCreate function.

This commit fixes tokenizer instantiation by not quoting arguments when we call the fts5_tokenizer.xCreate function.

Before this fix, the FTS5Tokenizer.tokenize(query:) method would return incorrect tokens.
2022-10-29 14:21:33 +02:00
Gwendal Roué 6c841bf96e Merge pull request #1289 from idkclub/categories
Add support for passing in categories to the unicode61 tokenizer
2022-10-29 14:08:47 +02:00
Jon 76b05369ff Add support for passing in categories to the unicode61 tokenizer 2022-10-21 16:21:07 -04:00
Gwendal Roué e79b6a5622 Fix typo 2022-10-21 08:50:01 +02:00
Gwendal Roué 13e1f4d7c2 Merge branch 'development' v6.1.0 2022-10-20 14:08:36 +02:00
Gwendal Roué 8aaf1af9f0 v6.1.0 2022-10-20 13:23:37 +02:00
Gwendal Roué 3b10e1df41 CHANGELOG 2022-10-20 13:19:54 +02:00
Gwendal Roué 6caa27cb20 Merge pull request #1288 from jcavar/feature/strict-support
Add support for .strict table option in 3.37+
2022-10-20 13:00:07 +02:00
Gwendal Roué 6ca3bb051a make smokeTest checks SQLCipher 3
It's better to quickly catch failures to support SQLCipher 3.
2022-10-20 08:49:48 +02:00
Gwendal Roué 901d010ab3 Restore the test that strict tables won't accept ill-typed values. 2022-10-20 08:46:49 +02:00
Gwendal Roué 3c4ff5b26e Single test for strict tables
Also, skip the test for old SQLCipher version.
2022-10-20 08:46:49 +02:00
Gwendal Roué 2ade133b50 Move availability check below doc comment 2022-10-20 08:27:46 +02:00
Josip Cavar c57e76be52 Add support for .strict table option in 3.37+ 2022-10-19 15:55:46 +02:00
Gwendal Roué 9531a7f8fc More specialization 2022-09-17 15:49:28 +02:00
Gwendal Roué 9e3eebf4c2 Merge pull request #1279 from daveverwer/add-spi-documentation
Added an external documentation link for the Swift Package Index
2022-09-17 12:46:35 +02:00
Gwendal Roué 1221cb703a Update link to documentation 2022-09-17 12:45:55 +02:00
Dave Verwer 59b40de83e Added a Swift Package Index manifest with an external documentation link. 2022-09-14 12:15:46 +01:00
Gwendal Roué 0ac435744a Merge branch 'development' v6.0.0 2022-09-09 11:50:22 +02:00
Gwendal Roué 589e53b231 v6.0.0 2022-09-09 11:40:39 +02:00
Gwendal Roué 125f112fb7 CHANGELOG 2022-09-09 11:34:58 +02:00
Gwendal Roué c6aa323cd8 Skip flaky test 2022-09-09 09:50:25 +02:00
Gwendal Roué 1c7b618a89 Parallelizable tests 2022-09-09 09:33:57 +02:00
Gwendal Roué d3ad7acd59 No WALSnapshot on macOS and macOS Catalyst
Fix #1276
2022-09-09 08:16:55 +02:00
Gwendal Roué 82b4d90a82 Xcode 14 RC doesn't ship with the Swift 5.6 stdlib
https://forums.swift.org/t/xcode-14-rc-cannot-specialize-protocol-type/60171
2022-09-09 08:16:55 +02:00
Gwendal Roué 2a3318ef9a ALTER TABLE DROP COLUMN is properly reported with SQLITE_ALTER_TABLE for SQLite 3.38+ 2022-09-07 08:51:05 +02:00
Gwendal Roué f2c46784a6 ArrayRowImpl is checked Sendable 2022-09-07 08:50:32 +02:00
Gwendal Roué 9340fdc7c2 DatabaseValue.Storage is checked Sendable 2022-09-07 08:02:34 +02:00
Gwendal Roué b0f7493765 BREAKING: rename request methods that build a DatabasePromise
This creates an opportunity for future `request.filter { ... }` apis that look like standard ones. Why not `Player.filter { $0.score > 1000 }` eventually, perhaps with code generation?
2022-09-06 22:56:40 +02:00
Gwendal Roué 30234fde62 CHANGELOG 2022-09-06 08:54:29 +02:00
Gwendal Roué fdbcb07452 Fix #1275 2022-09-06 08:25:21 +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é b3f5b892a6 CHANGELOG 2022-09-05 08:46:05 +02:00
Gwendal Roué 65efc413fe Fix for failing test for #1274
https://github.com/groue/GRDB.swift/discussions/1274
2022-09-05 08:43:43 +02:00
Gwendal Roué f3b8b7221c Failing test for #1274
https://github.com/groue/GRDB.swift/discussions/1274
2022-09-05 08:42:29 +02:00
Gwendal Roué f04a02731d Add defaultLocalization to GRDB package
This solves the "manifest property 'defaultLocalization' not set; it is required in the presence of localized resources" error
2022-09-04 14:09:35 +02:00
Gwendal Roué 6add38e3e5 BREAKING: Allow ValueObservation to perform different kinds of fetch
We're interested in allowing observations to build values based on snapshots
2022-09-04 12:06:17 +02:00
Gwendal Roué 202b3e5620 Encapsulate ValueObservation database accesses
Also, enhance Database.isolated(readOnly:) by not creating a savepoint if the database is already inside a transaction.
2022-09-04 10:11:22 +02:00
Gwendal Roué 49cce0aa8a CHANGELOG 2022-08-29 14:22:04 +02:00
Gwendal Roué ccf3486827 CHANGELOG 2022-08-29 14:21:01 +02:00
Gwendal Roué cb93979a44 Update CONTRIBUTING.md
It needed to be updated for cross-platform targets
2022-08-28 14:52:31 +02:00
Gwendal Roué 628ac58535 Merge branch 'development' v6.0.0-beta.4 2022-08-28 13:45:17 +02:00
Gwendal Roué 373f95a6cb v6.0.0-beta.4 2022-08-28 13:44:35 +02:00