Skip to content

v2: support key prefixes, renamed class, no key groups

Compare
Choose a tag to compare
@spaze spaze released this 19 Jan 21:40
· 2 commits to main since this release
ad1dceb

Backwards compatibility breaks

  • Rename Symmetric\StaticKey class to SymmetricKeyEncryption (#12)
  • Use custom exceptions but new classes extend from the old ones, so your catch blocks should still work (#14)
  • Drop key group constructor param, you can always just pass particular keys (#16)
  • Add a prefix to encryption keys so they're easier to find with tools like Gitleaks (#18)

Other changes

  • Require PHP 8.2 (#13)
  • Hide sensitive keys and plaintext from stack traces with SensitiveParameter attributes available starting PHP 8.2 (#15)
  • Generate code coverage report (#17)