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.
## What's Changed
* add `fps` property to `PSVideo.File` by @lukepistrol in https://github.com/lukepistrol/Pexels-Swift/pull/14
**Full Changelog**: https://github.com/lukepistrol/Pexels-Swift/compare/0.9.4...1.0.0
- added `PSLoggerDelegate` to enable log injection in existing logging infrastructure
## 0.9.3
- added support for `tvOS` and `watchOS`
## 0.9.2
- fixed `per_page` coding key typo. Thanks to @SugiKent
## 0.9.1
- added rate limit tracking. See [`Rate Limits`](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/rate-limits) for more information.
## 0.9.0
### Breaking Changes:
- added `HTTPURLResponse` to results tuple:
```swift
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (data, paging, response)):
// access photos
// data -> [PSPhoto]
// paging -> PSPagingInfo
// response -> HTTPURLResponse
}
```
## 0.9.2
- fixed `per_page` coding key typo. Thanks to @SugiKent
## 0.9.1
- added rate limit tracking. See [`Rate Limits`](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/rate-limits) for more information.
## 0.9.0
### Breaking Changes:
- added `HTTPURLResponse` to results tuple:
```swift
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (data, paging, response)):
// access photos
// data -> [PSPhoto]
// paging -> PSPagingInfo
// response -> HTTPURLResponse
}
```
## 0.9.1
- added rate limit tracking. See [`Rate Limits`](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/rate-limits) for more information.
## 0.9.0
### Breaking Changes:
- added `HTTPURLResponse` to results tuple:
```swift
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (data, paging, response)):
// access photos
// data -> [PSPhoto]
// paging -> PSPagingInfo
// response -> HTTPURLResponse
}
```
## Breaking Changes:
- added `HTTPURLResponse` to results tuple:
```swift
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (data, paging, response)):
// access photos
// data -> [PSPhoto]
// paging -> PSPagingInfo
// response -> HTTPURLResponse
}
```
## 0.8.2
- renamed `PSMetaData` to [`PSPagingInfo`](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/pspaginginfo)
## 0.8.1
- added [Getting Started Guide](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/getting-started) to documentation.
## 0.8.0
### Breaking Changes:
- added [`PSMetaData`](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/psmetadata) to results for queries that use paging (page, next page, previous page,…)
```swift
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (photos, metadata)):
// access photos and metadata
}
```
## 0.8.1
- added [Getting Started Guide](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/getting-started) to documentation.
## 0.8.0
### Breaking Changes:
- added [`PSMetaData`](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/psmetadata) to results for queries that use paging (page, next page, previous page,…)
```swift
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (photos, metadata)):
// access photos and metadata
}
```
## Breaking Changes:
- added [`PSMetaData`](https://lukepistrol.github.io/Pexels-Swift/documentation/pexelsswift/psmetadata) to results for queries that use paging (page, next page, previous page,…)
```swift
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (photos, metadata)):
// access photos and metadata
}
```
## 0.7.4
- added `PSLogger.log(_ message:)` method
- updated documentation
## Previous Changes
### 0.7.3
- updated documentation
### 0.7.2
- added backwards compatibility for `iOS 13.0` and `macOS 10.15`
### 0.7.1
- updated `DocC` documentation
### 0.7.0
#### Breaking Changes:
- renamed external parameter: `result:` to `count:` in `searchVideos()`
#### New Features:
- added `localization:` parameter to `searchPhotos()` and `searchVideos()`
#### Internal Changes:
- enhanced API endpoint URL generation
- moved parameter string literals to `QueryParameter` enum
- updated folder structure
- added shadow types `CategoryID`, `ErrorDescription`
- updated documentation