Gwendal Roué
59eceb9af1
Apply requirements to Makefile
2020-03-08 12:57:09 +01:00
Gwendal Roué
d7e821785d
Fix podfiles of CocoaPods tests
2020-03-08 12:35:59 +01:00
Gwendal Roué
b264087a3b
Fixes for GRDBDemoWatchOS
...
Hide WKRefreshBackgroundTask use behind an availability check
Bump IPHONEOS_DEPLOYMENT_TARGET = 13.0, so that we can use CollectionDifference
2020-03-08 12:22:09 +01:00
Gwendal Roué
759bb8cd25
Fix dependencies of GRDBtvOSTests
...
It used to depend on the iOS version of GRDB - WTF
2020-03-08 11:28:04 +01:00
Gwendal Roué
4486f73432
Apply requirements to podspec and podfiles
2020-03-08 10:55:48 +01:00
Gwendal Roué
224e0b7d58
Apply requirements to Xcode projects
...
Update:
SWIFT_VERSION
IPHONEOS_DEPLOYMENT_TARGET
MACOSX_DEPLOYMENT_TARGET
TVOS_DEPLOYMENT_TARGET
WATCHOS_DEPLOYMENT_TARGET
2020-03-08 10:55:26 +01:00
Gwendal Roué
9db86ff2d6
Apply Swift version requirement to Tests/SPM/PlainPackage
2020-03-08 10:45:40 +01:00
Gwendal Roué
f3af89cb6a
Apply requirements to Package.swift
2020-03-08 10:26:01 +01:00
Gwendal Roué
98e9cc7861
Bump required macOS version to 10.10
...
This guarantees SQLite 3.7.16+, so that all migrations can recreate tables when needed
2020-03-08 10:24:27 +01:00
Gwendal Roué
30f7b39a42
Update requirements for Swift 5.2
2020-03-08 09:54:13 +01:00
Gwendal Roué
6b9e7e7eb3
Kick off GRDB5
2020-03-08 09:50:08 +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
Gwendal Roué
92e8ef9b87
More DatabaseMigrator tests
2020-02-27 21:01:56 +01:00