You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated swift-async-algorithms from 0.0.1 to 1.0.0
- Added swift-collections dependency (1.2.0)
- Applied consistent markdown formatting (bullet points, spacing)
- Updated badge syntax with alt text for accessibility
- Minor spacing and formatting improvements throughout README files
These are maintenance updates to keep dependencies current and formatting consistent.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
> We've created a comprehensive **Swift 6 adaptation** with full concurrency safety, true Sendable compliance, and memory leak fixes. The new version is available in the `swift6-adaptation` branch.
14
14
>
15
15
> **✨ Key Improvements:**
16
+
>
16
17
> - 🔒 **True Sendable Compliance** - Not just `@unchecked Sendable`
@@ -45,13 +47,13 @@ The **Persistent History Tracking Kit** will automate the above process for you.
45
47
46
48
Upon receiving a remote notification of Persistent History Tracking from Core Data, Persistent History Tracking Kit will do the following:
47
49
48
-
* Query the current author's (current author) last merge transaction time
49
-
* Get new transactions created by other applications, application extensions, background contexts, etc. (all authors) in addition to this application since the date of the last merged transaction
50
-
* Merge the new transaction into the specified context (usually the current application's view context)
51
-
* Update the current application's merge transaction time
52
-
* Clean up transactions that have been merged by all applications
50
+
- Query the current author's (current author) last merge transaction time
51
+
- Get new transactions created by other applications, application extensions, background contexts, etc. (all authors) in addition to this application since the date of the last merged transaction
52
+
- Merge the new transaction into the specified context (usually the current application's view context)
53
+
- Update the current application's merge transaction time
54
+
- Clean up transactions that have been merged by all applications
53
55
54
-
For more specific details on how this works, read [在 CoreData 中使用持久化历史跟踪](https://fatbobman.com/zh/posts/persistenthistorytracking/) or [Using Persistent History Tracking in CoreData](https://fatbobman.com/en/posts/persistenthistorytracking/).
56
+
For more specific details on how this works, read [在 CoreData 中使用持久化历史跟踪](https://fatbobman.com/zh/posts/persistenthistorytracking/) or [Using Persistent History Tracking in CoreData](https://fatbobman.com/en/posts/persistenthistorytracking/).
Whether or not to merge network data imported by Core Data with CloudKit, is only used in scenarios where the Core Data cloud sync state needs to be switched in real time. See [Switching Core Data Cloud Sync Status in Real-Time](https://fatbobman.com/en/posts/real-time-switching-of-cloud-syncs-status/) for details on usage
116
118
117
-
### batchAuthors
119
+
### batchAuthors
118
120
119
121
Some authors (such as background contexts for batch changes) only create transactions and do not merge and clean up transactions generated by other authors. You can speed up the cleanup of such transactions by setting them in batchAuthors.
120
122
121
123
```swift
122
124
batchAuthors: ["appBatchAuthor"],
123
125
```
124
126
125
-
126
127
Even if not set, these transactions will be automatically cleared after reaching maximumDuration.
是否合并由 Core Data with CloudKit 导入的网络数据,仅用于需要实时切换 Core Data 云同步状态的场景。具体用法请参阅 [实时切换 Core Data 的云同步状态](https://fatbobman.com/zh/posts/real-time-switching-of-cloud-syncs-status/)
This library is released under the MIT license. See [LICENSE](https://github.com/fatbobman/persistentHistoryTrackingKit/blob/main/LICENSE) for details.
0 commit comments