Skip to content

2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Oct 15:03
2.0.0
b339c9b
  • Migrated to Swift 6 language mode, which requires Swift 6.2 (Xcode 26)
  • Added Sendable conformance to Cryptor, Masterkey, MasterkeyFile, CryptorScheme, and FileNameEncoding
  • Changed Cryptor, Masterkey, and MasterkeyFile to final classes
  • Changed encryptContent(from:to:progress:) and decryptContent(from:to:progress:) to async throws with support for Task cancellation
  • Added optional progress param to encryptContent() and decryptContent(), replacing implicit progress composition
  • Fixed read, open, and write failures during content encryption/decryption being reported as success
  • Fixed crash when decrypting truncated ciphertext, which now throws CryptoError.unauthenticCiphertext
  • Removed public InputStream.read(maxLength:) extension and InputStreamError