-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrading
Husnain Ali edited this page Sep 27, 2026
·
1 revision
Stored data carries over across every release. Only these releases need code changes:
| From → to | What to change |
|---|---|
| 1.0 → 1.1 | Nothing required. Two different equals on one index now match nothing instead of failing a precondition. |
| 0.6 → 1.0 | Nothing required. 1.0 freezes the 0.6 API; batch saves are faster. |
| any → 0.6 | Nothing required. To use indexed fields, adopt LocalStorageIndexed; existing records are indexed automatically. |
| ≤ 0.4 → 0.5 |
LocalStorageError gained migrationFailed(key:underlying:) (and Code.migrationFailed). Add a case to exhaustive switch statements. |
| ≤ 0.2 → 0.3+ | Nothing required. New parameters all have defaults. |
See CHANGELOG.md for every change by version.
SwiftLocalStorage, licensed under Apache 2.0. These pages cover v1.1.1.