Skip to content

Releases

0.4.1

Choose a tag to compare

@mackoj mackoj released this 14 Nov 02:11
5f70217

Performance. No API or behaviour change.

  • No-prompt queries are ~6-14x faster on the live keychain. KeychainStore now builds its interactionNotAllowed LAContext once instead of once per query. This covers exists, keys, attributes, updateAttributes, rename, a stream's first value and the update path of save. On the login keychain, exists went from 1.8-4.2 ms to ~0.3 ms and attributes from 1.8-3.8 ms to ~0.3 ms, with 45% fewer mallocs. The shared context is never evaluated, so it never holds a credential. (#7)
  • Secret<String> == compares UTF-8 in place. It no longer copies both strings into Data: 400 → 112 ns on an 840-byte token, with no allocations and one less copy of the secret in memory. (#7)

Also new: Benchmarks/ (package-benchmark) and docs/performance.md, plus architecture rules enforced with swift-llm-check (Architecture/, docs/architecture-rules.md). (#6, #7)

0.3.0

Choose a tag to compare

@mackoj mackoj released this 29 Oct 09:37
0857cd5
Merge pull request #4 from mackoj/typed-api-only

⏳ Typed keys as the only public API

0.2.0

Choose a tag to compare

@mackoj mackoj released this 29 Oct 07:07
a231e11
Merge pull request #3 from mackoj/rename