Repository navigation
v0.4.21
Fix
- Story Studio crash on macOS 14 (persistent): SwiftData 1.0's lightweight migration leaves stale SQLite UNIQUE indexes behind when
@Attribute(.unique)is removed, causing the sameEXC_BAD_INSTRUCTIONcrash on insert even after updating. Fixed with a schema version guard that automatically wipes the persistent store on first launch after a schema change — no manual container clearing required.
You do not need to manually clear your app container. Launching v0.4.21 will handle the migration automatically.