The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Added
- Add `PrivacyInfo.xcprivacy` to comply with Apple new privacy requirements
Fixed
- Handle default system font weights for SwiftUI
- Add largeTitle style in font tests
Added
- Add `String.attributedString(arguments:defaultAttributes:formatAttributes:)` and `String.attributedString(arguments:defaultAttributes:differentFormatAttributes:)` utility methods to create `AttributedString` from a list of strings and attributes.
- Add `String.attributedString(arguments:defaultAttributes:)` utility method to create `AttributedString` from a `String` format and a list of `AttributedString`.
- Add helper init for `AttributeContainer` to create one with a configuration closure.
Fixed
- Fix iOS and tvOS supported versions in Package.swift
- Remove MainActor attribute from `DynamicFontProvider` as it is not required
Added
- Add Swift Concurrency support
- Add `UIRectEdge.horizontal` and `UIRectEdge.vertical` utility static variables.
- Add `NSDirectionalRectEdge.horizontal` and `NSDirectionalRectEdge.vertical` utility static variables.
Removed
- Drop support for iOS 11, 12 and 13
- Drop support for tvOS 11, 12 and 13
- Drop support for Swift below 5.7
Updated
- Add scale parameter to `UIImage.ad_filled`.
Created
- Add a SwiftUI Font provider in `DynamicFont`
Created
- Add a subspec `ADUtils/Security` bundling security related tools.
- Add `PostInstallationKeychainCleaner` using `UserDefaults`to check if keychain has to be wiped at launch
- Add `SecureArchiver`, leveraging `CryptoKit` and the `Keychain` to add an encryption layer to `UserDefaults`
Fixed
- iOS 14.0+ gives a new property on navigationItem : `backButtonDisplayMode`. `ad_hideBackButtonTitle` now uses it.
## Created
- Add SPM support [#21](https://github.com/faberNovel/ADUtils/pull/21) via Alexandre Podlewski
Created
- `verifyOrNil(_:over:)`
- `Optional.verifying(_:)`
- `UIImage.ad_filled(with:size:)`
- `UIButton.ad_setBackgroundColor(:forState:)`
- `UICollectionView.dequeueSupplementaryView<U: ClassIdentifiable>(_:ofKind:at:)` dequeue generic reusable view from `UICollectionView`
- `UICollectionView.register(supplementaryView:kind:)` register generic reusable view from `UICollectionView`
- `HStackView(spacing:alignment:distribution:arrangedSubviews:)`
- `VStackView(spacing:alignment:distribution:arrangedSubviews:)`
Fixed
- `Debounced` property wrapper no longer has a retain cycle