Skip to content

Releases: trilemma-dev/Blessed

0.6.0

21 Jun 13:37
e7c730e
Compare
Choose a tag to compare

With this release, the purpose of Blessed has narrowed to exclusively be about providing an excellent Swift wrapper around SMJobBless.

Breaking changes

This is a significantly breaking release, if you do not want to update your app at this time consider using 0.5.0 instead.

  • All authorization related functionality has been removed from this package and now lives in the Authorized package which has become a dependency of this package. All functionality has been fully preserved and no changes have been made to the public API.
  • Login item functionality (SMLoginItemSetEnabled) has been removed. There was minimal benefit to using this package's Swift wrapper for it, so you're recommend to use Apple's API directly.

0.5.0

20 Jun 11:20
50e98c0
Compare
Choose a tag to compare

This release has significantly improved error generation for bless(...).

New functionality

  • When calling bless(...) or either of the authorizeAndBless(...) functions, if blessing fails then a new BlessError will be thrown. This error's description contains detailed explanations of exactly why the bless failed. This functionality is made possible by adding two new dependencies:
    • EmbeddedPropertyList to read the property lists embedded in the helper tool's binary file.
    • Required to parse and evaluate the code signing requirements the app and helper tool have for each other.

Breaking changes

  • Most of the cases in LaunchdError have been removed. This same functionality and more is now available via BlessError.

0.4.0

13 May 00:38
395c49c
Compare
Choose a tag to compare

This release changes both the external sandbox check API as well as its internal implementation.

Breaking changes

  • The function NSApplication.shared.isSandboxed() has been removed and replaced with the ProcessInfo.processInfo.isSandboxed property.

0.3.0

11 Apr 10:27
982cd28
Compare
Choose a tag to compare

This release adds async variants for two potentially long running functions requestRights and authorizeAndBless. This functionality is available on macOS 10.15 and later.

New functionality

  • There is now an async version of requestRights(_:environment:options:). This function can take an indeterminate time to complete as depending on the rights requested it can require user input. This new function does not block while waiting on user input, instead it can be awaited.
  • There is also now an async version of authorizeAndBless(message:icon:). Internally it uses the above mentioned requestRights function to asynchronously request rights without blocking on user input.

Breaking changes

  • requestRightsAsync(_:environment:options:callback:) was renamed to requestRights(_:environment:options:callback:). There is no change in functionality.

0.2.1

22 Mar 02:42
a19fa3a
Compare
Choose a tag to compare

Fixes two compatibility issues with Xcode 13.3.

This release contains no external API changes.

0.2.0

07 Nov 10:28
Compare
Choose a tag to compare
  • Includes breaking changes
  • Removes unnecessary initializer in Authorization, same functionality available in a more comprehensible way via requestRights function
  • Improves documentation

0.1.0

21 Oct 09:00
cb77d0c
Compare
Choose a tag to compare

Initial release