Skip to content

2.1.0 - API & Dependency Cleanup

Compare
Choose a tag to compare
@kdubb kdubb released this 15 Sep 21:02

This release has a cleaned up API that removes force try/cast and more formally follows the Swift naming guidelines. Additionally dependencies that were not used directly have been removed from the packed. The code is now linted and both format & lint are enforced via CI.

Changes

  • Force tries (aka try!) and force cast (aka as!) have been removed. When possible a Swift Error replaces them or a descriptive fatalError is used when error's could not be thrown.
  • SecKeyError has been moved/renamed to SecKey.Error (similar to other types) and now reports OSStatus when available.
  • A number of functions/properties that were named with uppercase letters have been deprecated in favor of similar functions with proper names.
  • Package dependencies have been cleaned up.