Repository navigation
Important
Breaking change: HuggingFaceAuthenticationManager, HuggingFaceAuthenticationPresentationContextProvider, and TokenProvider.oauth(manager:) move to a new HuggingFaceOAuth product (#84). They were the only code that imported AuthenticationServices, which links the Contacts frameworks on macOS, so apps that don't use OAuth no longer load them. If your app signs users in with HuggingFaceAuthenticationManager, add the HuggingFaceOAuth product to your target and import HuggingFaceOAuth. OAuthClient, the token storage types, and TokenProvider.oauth(getToken:) stay in HuggingFace.
Thanks to @ranjersmith for reporting this (#83).
What's Changed
- Run the Swift 6.2 CI jobs on Swift 6.2.4 by @mattt in #82
- Test downloadSnapshot trailing-closure binding in Swift 5 language mode by @mattt in #81
- Move OAuth authentication into a HuggingFaceOAuth product by @mattt in #84
Full Changelog: 0.12.0...0.13.0