Gwendal Roué
7a77a1fd06
Merge branch 'development'
v5.15.0
2021-12-02 19:43:04 +01:00
Gwendal Roué
c7291db360
v5.15.0
2021-12-02 18:48:36 +01:00
Gwendal Roué
a52d1b1d21
Merge pull request #1102 from groue/dev/ValueObservation-explicit-region-tracking
...
Explicit tracked region for ValueObservation
2021-12-02 18:40:40 +01:00
Gwendal Roué
89b1783220
TrackingMode is a property of ValueObservation
...
No reducer changes the tracking mode, so let's simplify the code.
2021-12-02 17:22:18 +01:00
Gwendal Roué
76d2168988
Extend the general description of ValueObservation behavior
...
Link to the ability to track something which is not the fetched region.
2021-12-02 17:22:18 +01:00
Gwendal Roué
e419bb55ca
Enhance documentation of DatabaseRegion
2021-12-02 17:22:18 +01:00
Gwendal Roué
06eb45db65
Documentation for ValueObservation(region:fetch:)
2021-12-02 17:22:18 +01:00
Gwendal Roué
6180e4b815
Fix for Swift 5.3
2021-12-02 17:22:18 +01:00
Gwendal Roué
85747935c8
ValueObservation can track an explicit database region
2021-12-02 17:22:18 +01:00
Gwendal Roué
36fba9a79a
TODO: deprecate DatabaseRegion(table:)
...
We have `Table` now, wich is DatabaseRegionConvertible.
This deprecation will revert https://github.com/groue/GRDB.swift/pull/510
2021-12-02 17:21:58 +01:00
Gwendal Roué
6240585a03
Make sure ValueObservation fetches in an isolated transaction
...
Previously, ValueObservation could fetch in a non-isolated way. When an external connection would commit changes, we could fetch inconsistent values. Here we make sure ValueObservation always fetch in an isolated way.
2021-12-02 09:46:02 +01:00
Gwendal Roué
ad66fbc666
ValueObserver documentation
2021-12-02 09:46:02 +01:00
Gwendal Roué
e69092ca6a
Add DatabaseRegionConvertible to Table
2021-12-02 09:45:38 +01:00
Gwendal Roué
bb2ce74125
Add helper method Database.isolated(readOnly:)
2021-12-02 09:45:28 +01:00
Gwendal Roué
06bf3980b6
Fix documentation links
2021-12-02 09:17:36 +01:00
Gwendal Roué
6dc7367853
Merge branch 'development'
v5.14.0
2021-11-25 18:29:23 +01:00
Gwendal Roué
4228df9c06
v5.14.0
2021-11-25 18:23:31 +01:00
Gwendal Roué
ca9fd1f8e6
CHANGELOG
2021-11-25 18:18:15 +01:00
Gwendal Roué
1fbf2f8693
GRDBCombineDemo uses the GRDBQuery package
2021-11-25 17:26:19 +01:00
Gwendal Roué
5d87609f4b
Ignore .swiftpm
2021-11-25 15:08:53 +01:00
Gwendal Roué
13a040ae1b
CHANGELOG
2021-11-18 08:39:01 +01:00
Gwendal Roué
d8b83fba12
improve compilation time
2021-11-18 08:34:59 +01:00
Gwendal Roué
93c4249619
ForeignKeyViolation.databaseError(_:)
2021-11-16 08:51:33 +01:00
Gwendal Roué
ebc8524706
Add missing public qualifiers
2021-11-16 08:45:34 +01:00
Gwendal Roué
ea41f34f3d
Quote table name in raw SQL query
2021-11-16 08:40:16 +01:00
Gwendal Roué
59f9482aa7
Fix links to documentation images
2021-11-07 16:29:17 +01:00
Gwendal Roué
8658b7bc10
Merge branch 'development'
v5.13.0
2021-11-07 16:20:59 +01:00
Gwendal Roué
42eeb54d6f
v5.13.0
2021-11-07 16:06:50 +01:00
Gwendal Roué
fe32981e0e
Performance report: fallback for hardware name
...
The https://apple.stackexchange.com/a/98089 technique does not work on my mac
2021-11-07 16:06:50 +01:00
Gwendal Roué
0c9de25a8c
Bump number of operations performed by performance tests
...
Apple Silicon and SSD are too fast, and we need to display higher numbers
2021-11-07 16:06:50 +01:00
Gwendal Roué
2b5d3f1d72
Upgrade Realm version in performance tests
2021-11-07 16:06:50 +01:00
Gwendal Roué
9da2e66e46
Fix flaky test
2021-11-07 14:58:18 +01:00
Gwendal Roué
23a9b6e1ae
Makefile: test BUILD_LIBRARY_FOR_DISTRIBUTION & XCFramework
2021-11-07 11:13:35 +01:00
Gwendal Roué
03822bdf99
Makefile: skip test_framework_GRDBtvOS_minTarget until simulator is installed
2021-11-07 10:45:03 +01:00
Gwendal Roué
b0c77a5e0f
Makefile: tests for demo apps
2021-11-07 10:41:12 +01:00
Gwendal Roué
af2d65ef49
Fix Swiftlint warnings
2021-11-07 10:32:00 +01:00
Gwendal Roué
72271b0299
CHANGELOG
2021-11-07 10:07:46 +01:00
Gwendal Roué
b5433803ef
Makefile: support for Xcode 13.1
2021-11-07 10:03:42 +01:00
Gwendal Roué
037443e600
Wording
2021-11-07 09:36:50 +01:00
Gwendal Roué
19b182b6a8
Remove the immediate transactions advice
...
It has write transactions fail faster, but it also has writes that only read, or writes that do nothing fail - for no good reason.
2021-11-07 09:20:38 +01:00
Gwendal Roué
0955ac3001
New concurrent read illustration
2021-11-07 09:14:23 +01:00
Gwendal Roué
ff7773cf41
Wording
2021-11-07 08:29:24 +01:00
Gwendal Roué
8a0cbb63f5
Wording
2021-11-07 08:25:24 +01:00
Gwendal Roué
d3e55cf8f6
wording
2021-11-07 08:23:47 +01:00
Gwendal Roué
7af3858ff6
More robust DatabasePool.close() test
2021-11-07 08:17:48 +01:00
Gwendal Roué
c3bbd3d6f8
CHANGELOG
2021-11-07 08:17:46 +01:00
Gwendal Roué
eb9d0bce58
Documentation
2021-11-07 08:16:58 +01:00
Gwendal Roué
716e223844
Fix typo
2021-11-06 17:09:12 +01:00
Gwendal Roué
1df5d834e8
Wording
2021-11-06 17:06:51 +01:00
Gwendal Roué
05b03ef56c
Wording
2021-11-06 17:02:47 +01:00