Skip to content

0.8.0

Choose a tag to compare

@Halloweedev Halloweedev released this 06 Jun 16:25

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 on Keylight.manager(...) — optional, defaults to .encryptedFile() (the existing behavior). Pass .encryptedFile(keychainMirror: true) to also keep a Keychain recovery copy, or .keychain for the legacy Keychain-authoritative backend. It forwards straight to KeylightConfiguration.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 KeylightConfiguration only to set storage, you can drop that and pass storage: 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.