0.8.0
The one-call factory now lets you pick the storage backend directly, so the 0.6.0 storage options no longer require hand-building a KeylightConfiguration.
Added
storage:parameter onKeylight.manager(...)— optional, defaults to.encryptedFile()(the existing behavior). Pass.encryptedFile(keychainMirror: true)to also keep a Keychain recovery copy, or.keychainfor the legacy Keychain-authoritative backend. It forwards straight toKeylightConfiguration.storage.
Migration
- Most apps: nothing to do. The parameter is optional and defaults to the current behavior — omit it and nothing changes.
- If you previously hand-built a
KeylightConfigurationonly to setstorage, you can drop that and passstorage:to the factory instead.
Unchanged
- No wire-format, lease, or behavior changes. The default storage backend is still the device-bound encrypted file (no Keychain popup), and existing on-disk state still migrates automatically.