Skip to content

Releases: lukepistrol/Pexels-Swift

1.0.1

27 May 06:15
feef363
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.0...1.0.1

1.0.0

13 May 11:07
192bdcf
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.9.4...1.0.0

0.9.4

05 Oct 11:14
f5c36de
Compare
Choose a tag to compare
  • added PSLoggerDelegate to enable log injection in existing logging infrastructure

0.9.3

22 Jun 22:01
cd53b39
Compare
Choose a tag to compare

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 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

29 May 14:06
283e018
Compare
Choose a tag to compare

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

23 May 09:20
d487772
Compare
Choose a tag to compare

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

23 May 07:49
c2de009
Compare
Choose a tag to compare

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

20 May 08:36
807f16b
Compare
Choose a tag to compare

0.8.2

0.8.1

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

19 May 22:47
Compare
Choose a tag to compare

0.8.1

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

19 May 18:42
Compare
Choose a tag to compare

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
}