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.
New APIs & Improved SwiftUI views
2 years ago
<h2>đ New APIs</h2>
- New additional lazy containers for fetching the media assets only on demand
-- `LazyAlbum(s)`
-- `LazyAudio(s)`
-- `LazyLivePhoto(s)`
-- `Media.LazyPhotos`
-- `LazyPhoto`
-- `LazyVideo(s)`
- **Media:** Get and request the permission to access the camera (`Media.currentCameraPermission`, `Media.requestCameraPermission(_)`)
- **Video:** Get a preview image for a given point in time (`video.previewImage(at:preferredTimescale:_)`)
- **Photo+SwiftUI:** Get a photo view with a desired size (`photo.view(targetSize:imageView:)`)
<h2>đ Improved SwiftUI views</h2>
- Refactored views for better performance and to get rid of some bugs
- `Media.browser`, `LivePhoto.browser`, `Photo.browser` & `Video.browser` now use the new `PHPicker` with multi selection support under the hood on iOS 14 or macOS 11
- `Camera.view`, `Media.browser`, `LivePhoto.camera`, `LivePhoto.browser`, `Photo.camera`, `Photo.browser`, `Video.camera` & `Video.browser` stop throwing and instead show a `SwiftUI.Text` if an error occurs during initialization. You can specify a ViewBuilder to show a custom error view.
<h2>đ Improvements</h2>
- `Album`, `Audio`, `LivePhoto`, `Photo` & `Video` now conform to `Equatable` and `Hashable`
- Fixed a threading issue
- Improvements related to the **authorization status API changes** from Apple
<h2>âšī¸ More</h2>
- Added an **example project** with some usage examples (was previously managed in a separate git repository)
New property wrapper & improvements
2 years ago
**Features**
- Added new `FetchAllAssets` property wrapper
**Improvements**
- Added `macOS` support to the `Photo.save` API
**Bugfixes**
- `Album`: Fetched assets are now correctly limited to the specific album
⥠Swift 5.3 & latest OS support
2 years ago
<h2>Improvements</h2>
Migration to **Swift 5.3**
<h2>SwiftUI</h2>
- Implemented **PHPicker** view
<h2>Bugfixes</h2>
- Bugfixes & refactoring related to latest OS updates
Fixed SwiftUI camera views
3 years ago
**Bugfixes**
- Fixed a critical bug where no result was returned when capturing or selecting a photo