Skip to content

2.2.0

Latest

Choose a tag to compare

@velocityzen velocityzen released this 14 Mar 20:47
19c42ca

New Features

  • UTI-based file type detection — On Apple platforms, you can now detect file types directly from Uniform Type Identifier strings or UTType values using the new FileType.detect(uti:) and FileType.detect(utType:) APIs. Available when UniformTypeIdentifiers can be imported (macOS 11+, iOS 14+, tvOS 14+, watchOS 7+, visionOS 1+).

Improvements

  • Platform and language configuration — Package now declares minimum platform versions and explicitly opts into Swift 6 language mode via swiftLanguageModes: [.v6], removing the need for per-declaration @available annotations.