Skip to content

5.4.0

Choose a tag to compare

@ci-macpaw ci-macpaw released this 11 Sep 04:29
· 3 commits to main since this release
0e771ea

New

  • [SetappAI] Added a links API — setappAI.links.all() returns all web pages the AI service directs users to, and setappAI.links.purchaseURL() returns the credits purchase page directly. No authorization required, so it works even for users without an active subscription.
  • Added openWithAuth(url:) on iOS and macOS. It opens a Setapp URL with the user already signed in on the web, so they don't need to authenticate again mid-flow. Only Setapp URLs are accepted.

Updated

  • Breaking change: SetappError.ErrorCode cases .blocked and .blockedAfterTrial have been replaced with .inactiveLicense and .trialAlreadyUsed, and their numeric codes have changed from 1708/1709 to 1710/1711. Code that handles them by name won't compile until you update it. Code that compares the old numeric codes will still build but silently stop matching. The Setapp Framework will still show its default alerts either way.
  • [SetappAI] On macOS, the credits purchase page now opens with the user already signed in — previously, users had to sign in manually before they could buy credits.

Fixed

  • Fixed integrity checks that could incorrectly fail for a valid app due to a single Mach-O header flag being misread as a sign of tampering.
  • [iOS] Fixed an issue where the AI vendor token was not cleared when the user switched accounts, which could leave the previous user's token active.
Checksums
File SHA-256 checksum
Setapp.xcframework.zip fa5f2ed7271e2ffc28ec6ca2b52d791be5640c1916e2d3a4fd4153a1eecfc7fc
Setapp.QRCodeGenerator.zip 2304b3ffb5a2e55129408b4fb0b6afb94fdc3f88e9477c0c6b7db0e4d1de6a74
Setapp-framework-5.4.0-checksums.sha256 061634d41e5a4d726b08550bc1415bbccc9fdf9ce4f5569ff2b7f7ec1fcd3b58