Gwendal Roué
e831c64e93
Merge branch 'development'
v4.12.0
2020-03-21 12:54:52 +01:00
Gwendal Roué
50f64dc45d
v4.12.0
2020-03-21 12:54:30 +01:00
Gwendal Roué
24872373c4
TODO
2020-03-21 12:26:35 +01:00
Gwendal Roué
f04efea09c
CHANGELOG
2020-03-18 20:47:04 +01:00
Gwendal Roué
cda254bb2d
Update documentation for eraseDatabaseOnSchemaChange
2020-03-18 20:43:09 +01:00
Gwendal Roué
c1d1797576
Address #725
2020-03-18 20:36:56 +01:00
Gwendal Roué
a0faf6aa68
Support for nil assignment
2020-03-18 19:34:43 +01:00
Gwendal Roué
84eef52cb0
Merge branch 'master' into development
2020-03-11 22:44:05 +01:00
Gwendal Roué
6a582869c6
Merge pull request #730 from jackalcooper/patch-1
...
fix typo
2020-03-11 12:45:58 +01:00
Shenghang Tsai
813f28e5da
fix typo
2020-03-11 19:35:48 +08:00
Gwendal Roué
3973b66ab3
Fix and test throwingFirstError
2020-03-10 09:16:24 +01:00
Gwendal Roué
435f5ff559
TODO: fix throwingFirstError
2020-03-10 07:41:15 +01:00
Gwendal Roué
f6e6758525
Merge branch 'master' into development
2020-03-07 15:13:33 +01:00
Gwendal Roué
039dd37759
[skip travis] Enhancements to WhyAdoptGRDB.md
2020-03-07 15:13:14 +01:00
Gwendal Roué
e9dd8b2b09
Enhance DatabaseMigrator querying methods
...
// New
dbQueue.read(migrator.hasCompletedMigrations)
dbQueue.read(migrator.completedMigrations).contains("v2")
dbQueue.read(migrator.completedMigrations).last == "v2"
dbQueue.read(migrator.appliedMigrations)
// Deprecated
migrator.hasCompletedMigrations(in: dbQueue)
migrator.hasCompletedMigrations(in: dbQueue, through: "v2")
migrator.lastCompletedMigration(in: dbQueue) == "v2"
migrator.appliedMigrations(in: dbQueue)
2020-03-07 13:59:46 +01:00
Gwendal Roué
ee64f8ff9d
Rename statement argument methods
2020-03-04 08:43:31 +01:00
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