Gwendal Roué
27c7bda0e9
Refactor with DatabaseEventObservationStrategy
...
The issue with `observesAllDatabaseChanges` is that this was a misleading name: transaction observers are not notified of changes that are performed in a save point that is eventually rollbacked.
By exposing the DatabaseEventObservationStrategy type, we allow for a future extra flag that ignores save points, trading observation precision for a reduced memory footprint.
2026-05-31 14:04:10 +02:00
Simon Binder
253cdfec8c
Review feedback
2026-05-11 20:47:20 +02:00
Gwendal Roué
c2e6c86934
Warn against the independent observation of each element in a list.
2025-05-11 13:32:50 +02:00
Gwendal Roué
96d04716c2
Update more documentation with the closure syntax
2025-05-11 10:57:20 +02:00
Gwendal Roué
a6b15684c3
Improve migration notes for ValueObservation
2024-09-29 13:27:07 +02:00
Gwendal Roué
900180dafd
[BREAKING] Prefer any DatabaseReader and DatabaseWriter
2024-09-21 16:50:03 +02:00
Gwendal Roué
58a2e04736
Mark ValueObservation starting methods as @preconcurrency
...
I guess the compiler will learn to stop emitting warnings eventually.
https://mjtsai.com/blog/2024/09/20/unwanted-swift-concurrency-checking/
2024-09-21 12:30:38 +02:00
Gwendal Roué
bdb7d84086
[BREAKING] ValueObservation MainActor scheduling
...
Breaking because before iOS 13, macOS 10.15, tvOS 13, there is no longer any default scheduler
2024-09-21 12:30:38 +02:00
Gwendal Roué
e1a384009a
[BREAKING] Async sequences built from ValueObservation schedule values and errors on the cooperative thread pool by default.
2024-09-21 12:19:39 +02:00
Gwendal Roué
849bba2820
Refactor ValueReducer for Swift concurrency
...
The fetching facet of a ValueReducer is Sendable.
2024-08-27 08:31:28 +02:00
Gwendal Roué
c8bb0a4799
Improve the documentation about the scheduling of ValueObservation fetches
2024-04-21 14:42:47 +02:00
Gwendal Roué
93462cfd2c
Documentation
2023-11-26 10:33:00 +01:00
Gwendal Roué
5e749eb50b
Document that changes performed by SQLite statements that are not compiled and executed by GRDB are not detected.
2023-11-24 14:10:57 +01:00
Gwendal Roué
3a1c211746
Address #1389 by forcing the user to specify a tracked region
...
This is technically a breaking change, but nobody will notice it.
2023-06-08 12:17:27 +02:00
Gwendal Roué
fc641092f7
Document how truncating wal checkpoints impact ValueObservation
2023-06-02 12:04:28 +02:00
Gwendal Roué
a0ed1bfd33
Move ValueObservation documentation in an extension file
2023-03-15 16:51:46 +01:00