Gwendal Roué
db546bf478
Merge branch 'development'
v4.11.0
2020-03-02 08:01:55 +01:00
Gwendal Roué
5a7c6fb33f
v4.11.0
2020-03-02 07:59:48 +01:00
Gwendal Roué
fa7ae31894
TODO
2020-03-02 07:53:25 +01:00
Gwendal Roué
48097ba7e7
Update thank you notice
2020-03-01 18:42:05 +01:00
Gwendal Roué
7c684d06c1
Simplify schema cache management
...
We don't need EmptyDatabaseSchemaCache. It does not help unsafe reads to work better if concurrent writes modify the schema anyway.
2020-03-01 15:51:37 +01:00
Gwendal Roué
c8321201d8
Merge pull request #713 from groue/dev/barrierMigrations
...
Enhance DatabaseMigrator isolation
2020-03-01 15:41:27 +01:00
Gwendal Roué
ea421865aa
Improve barrierWriteWithoutTransaction documentation
2020-03-01 11:34:58 +01:00
Gwendal Roué
f5019eeb60
Merge branch 'development' into dev/barrierMigrations
...
# Conflicts:
# GRDB/Migration/DatabaseMigrator.swift
2020-03-01 09:13:45 +01:00
Gwendal Roué
62222f441d
Merge pull request #710 from groue/dev/unappliedMigrations
...
Check if all migrations have been applied
2020-03-01 09:00:20 +01:00
Gwendal Roué
0e43f1b95a
appliedIdentifiers always filters out unknown migrations
2020-03-01 08:58:50 +01:00
Gwendal Roué
50cd4418d2
CHANGELOG
2020-02-29 17:32:15 +01:00
Gwendal Roué
e1b14d4ee5
DatabaseMigrator uses barrierWriteWithoutTransaction
...
This prevents concurrent reads from reading right in between two migration transactions
2020-02-29 17:26:59 +01:00
Gwendal Roué
ce0df653f4
Expose Database.erase()
2020-02-29 17:19:08 +01:00
Gwendal Roué
11f8807545
Make barrierWriteWithoutTransaction a requirement of DatabaseWriter
2020-02-29 16:01:45 +01:00
Gwendal Roué
7af846c87f
Rename new DatabaseMigrator methods
2020-02-29 15:07:36 +01:00
Gwendal Roué
9f46f34d16
Merge branch 'development' into dev/unappliedMigrations
...
# Conflicts:
# CHANGELOG.md
2020-02-29 14:46:50 +01:00
Gwendal Roué
e62df26a53
Disable flaky testDatabasePoolReleaseMemoryClosesReaderConnections
...
See https://github.com/groue/GRDB.swift/issues/489
2020-02-29 14:45:06 +01:00
Gwendal Roué
b71de1559a
Disable flaky testCachedStatementsAreNotShared
...
See https://github.com/groue/GRDB.swift/issues/679
2020-02-29 14:43:17 +01:00
Gwendal Roué
c2c587752c
Disable flaky testBusyModeTimeoutTooShort
...
It just ruins Travis builds :-(
2020-02-29 14:41:46 +01:00
Gwendal Roué
fd029ff230
Merge pull request #712 from pakko972/automatic-ios-memory-management
...
Automatic ios memory management
2020-02-29 14:38:00 +01:00
Gwendal Roué
c534193f5c
CHANGELOG
2020-02-29 14:36:07 +01:00
Gwendal Roué
7b29156664
Fix typo and improve wording
2020-02-29 14:33:02 +01:00
Gwendal Roué
9ed8cb3eff
Fix Swiftlint warnings
2020-02-29 14:30:05 +01:00
Gwendal Roué
a7d02b90a5
Update license year
2020-02-29 14:09:29 +01:00
Gwendal Roué
522639282d
Update JSONSynchronization playground
2020-02-29 14:03:12 +01:00
Pakkito
eb98f50891
Avoid breaking changes
...
- Deprecate setupMemoryManagement(application:)
- UIApplication is not available on watchOS, so instead of checking against `#if canImport(UIKit)` we use `#if os(iOS)`
Signed-off-by: Pakkito <pe@pierlis.com >
2020-02-28 18:00:16 +01:00
Pakkito
f07735f05f
Add support for xcode 11.4
...
Signed-off-by: Pakkito <pe@pierlis.com >
2020-02-28 17:21:53 +01:00
Pakkito
32675b38f1
Automatically setup memory management when UIKit is available
...
Signed-off-by: Pakkito <pe@pierlis.com >
2020-02-28 17:21:27 +01:00
Gwendal Roué
d35d6fc2f8
Rename isMigrated(in:upTo:) to isMigrated(in:beyond:), introduce lastAppliedMigration(in:)
2020-02-28 14:27:52 +01:00
Gwendal Roué
fa26faa6fd
CHANGELOG
2020-02-28 07:42:38 +01:00
Gwendal Roué
91a3557281
Rename hasUnappliedMigrations to isMigrated
2020-02-28 07:40:19 +01:00
Gwendal Roué
f09e0b5ed2
CHANGELOG
2020-02-27 21:19:57 +01:00
Gwendal Roué
0580705b1e
Enhance App Group Container documentation with database schema check
2020-02-27 21:10:35 +01:00
Gwendal Roué
0c7e14eb9b
Documentation for DatabaseMigrator.hasUnappliedMigrations
2020-02-27 21:02:17 +01:00
Gwendal Roué
92e8ef9b87
More DatabaseMigrator tests
2020-02-27 21:01:56 +01:00
Gwendal Roué
692af926be
Tests for DatabaseMigrator.hasUnappliedMigrations
2020-02-27 20:51:44 +01:00
Gwendal Roué
a17669b082
DatabaseMigrator.hasUnappliedMigrations
2020-02-27 20:50:25 +01:00
Gwendal Roué
2ff8c66b9e
TODO
2020-02-27 19:29:21 +01:00
Gwendal Roué
be53b0d403
Merge pull request #709 from groue/dev/migration
...
Simplify DatabaseMigrator API
2020-02-27 19:28:12 +01:00
Gwendal Roué
ba02ba4237
CHANGELOG
2020-02-27 19:25:55 +01:00
Gwendal Roué
0d2ede4440
Document that migrations run with deferred foreign key checks
2020-02-27 08:43:51 +01:00
Gwendal Roué
bf89883ff5
Import SQLite C functions for SPM
2020-02-26 22:26:29 +01:00
Gwendal Roué
efcc3a3dfb
Merge branch 'development' into dev/migration
...
# Conflicts:
# CHANGELOG.md
2020-02-26 19:31:38 +01:00
Gwendal Roué
fefeb1e9e2
Merge pull request #706 from groue/dev/690-improvement
...
Enhance SQLLiteral and SQL interpolation again
2020-02-26 19:28:39 +01:00
Gwendal Roué
f12436e55b
CHANGELOG
2020-02-26 14:09:24 +01:00
Gwendal Roué
98c4356638
Cleanup
2020-02-26 14:07:38 +01:00
Gwendal Roué
e5c4fb7e30
Update DatabaseMigrator documentation
2020-02-26 13:59:04 +01:00
Gwendal Roué
4f9878a1da
Update tests for the deprecated registerMigrationWithDeferredForeignKeyCheck method
2020-02-26 13:57:49 +01:00
Gwendal Roué
8557d113a3
Deprecate registerMigrationWithDeferredForeignKeyCheck
...
This method is now equivalent to registerMigration, starting SQLite 3.7.16
2020-02-26 13:57:14 +01:00
Gwendal Roué
9400e7f5d5
Fix tests for Xcode 10.3
2020-02-26 08:17:48 +01:00