Releases: lukepistrol/Pexels-Swift
Releases · lukepistrol/Pexels-Swift
1.0.1
1.0.0
What's Changed
- add
fps
property toPSVideo.File
by @lukepistrol in #14
Full Changelog: 0.9.4...1.0.0
0.9.4
- added
PSLoggerDelegate
to enable log injection in existing logging infrastructure
0.9.3
0.9.3
- added support for
tvOS
andwatchOS
0.9.2
- fixed
per_page
coding key typo. Thanks to @SugiKent
0.9.1
- added rate limit tracking. See
Rate Limits
for more information.
0.9.0
Breaking Changes:
- added
HTTPURLResponse
to results tuple:
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
0.9.2
- fixed
per_page
coding key typo. Thanks to @SugiKent
0.9.1
- added rate limit tracking. See
Rate Limits
for more information.
0.9.0
Breaking Changes:
- added
HTTPURLResponse
to results tuple:
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
0.9.1
- added rate limit tracking. See
Rate Limits
for more information.
0.9.0
Breaking Changes:
- added
HTTPURLResponse
to results tuple:
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.0
Breaking Changes:
- added
HTTPURLResponse
to results tuple:
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
0.8.2
- renamed
PSMetaData
toPSPagingInfo
0.8.1
- added Getting Started Guide to documentation.
0.8.0
Breaking Changes:
- added
PSMetaData
to results for queries that use paging (page, next page, previous page,…)
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
0.8.1
- added Getting Started Guide to documentation.
0.8.0
Breaking Changes:
- added
PSMetaData
to results for queries that use paging (page, next page, previous page,…)
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.0
Breaking Changes:
- added
PSMetaData
to results for queries that use paging (page, next page, previous page,…)
let result = await pexels.getCuratedPhotos()
switch result {
case .failure(let error):
print(error.description)
case .success(let (photos, metadata)):
// access photos and metadata
}