Releases: dm-zharov/swift-security
Releases · dm-zharov/swift-security
1.2.0
Strict Concurrency Checking by @Overcot in #1:
• Update swift-package-version to 5.9 to leverage enableUpcomingFeature
• Fix some of the warnings that were related to not marking SecAccessPolicy
types as Sendable
1.1.1
Improved Debug Description. Sample:
let query = SecItemQuery<GenericPassword>()
query.account = "OpenAI"
print(query) // ["Class: GenericPassword", "Use Advanced Data Protection: true", "Service: OpenAI"]
1.1.0
Under-The-Hood:
• Refactoring within Keychain.swift
• Support for Reference
& Persistent Reference
1.0.4
• Added missing SwiftSecurityTests
xcscheme.
• Convenient syntax for element retrieval. Sample:
let data = keychain.retrieve(.credential(for: "SomeService")) // Implicitly returns `Data?`.
let password: String? = keychain.retrieve(.credential(for: "SomeService")) // Explicitly returns `String?`
1.0.3
Improvements in @Credential
property wrapper:
• Store nil
as value
• Retrieve projectedValue
outside of SwiftUI structs
1.0.2
Compatibility fixes for watchOS & tvOS
1.0.1
Compatibility with tvOS target