Repository navigation
0.8.0
NnSwiftDataKit v0.8.0 Release Notes
What's New
App Group Migration Support
This release adds the ability to migrate SwiftData stores when changing App Group identifiers. The new migrateAppGroupSwiftDataStoreIfNeeded function handles copying your database from an old App Group container to a new one, with optional automatic cleanup of the old container.
Use case: When you need to change your app's App Group identifier, this function ensures your existing SwiftData store is preserved and moved to the new location.
Key Features
- Seamless migration between App Group containers
- Optional automatic deletion of old container after successful migration
- Safe migration logic that only runs when needed
Bug Fixes
- Fixed parameter syntax issue with
migrationPlantrailing comma