Skip to content

Releases: chrisdhaan/CDYelpFusionKit

Models and Enums

02 Aug 18:40
4a7c2ce
Compare
Choose a tag to compare

Added

  • Models
    • CDYelpBusiness.BusinessSearch, CDYelpBusiness.PhoneSearch, CDYelpBusiness.TransactionSearch, CDYelpBusiness.Detailed, CDYelpBusiness.BusinessMatch, and CDYelpBusiness.Autocomplete structs
    • CDYelpCategoriesResponse.error
    • CDYelpCategory.Detailed struct
    • CDYelpCategoryResponse.error
    • CDYelpEventResponse struct
    • CDYelpLocation.Detailed struct
    • CDYelpMessaging struct
    • CDYelpSearchResponse.Business, CDYelpSearchResponse.Phone, CDYelpSearchResponse.Transaction, and CDYelpSearchResponse.BusinessMatch structs
    • CDYelpSpecialHour struct
    • toDate methods for String representations
    • toUrl methods for String representations

Updated

  • Models
    • @escaping (CDYelpSearchResponse?) becomes @escaping (CDYelpSearchResponse.Business?)
    • @escaping (CDYelpSearchResponse?) becomes @escaping (CDYelpSearchResponse.Phone?)
    • @escaping (CDYelpSearchResponse?) becomes @escaping (CDYelpSearchResponse.Transaction?)
    • @escaping (CDYelpBusiness?) becomes @escaping (CDYelpBusinessResponse?)
    • @escaping (CDYelpSearchResponse?) becomes @escaping (CDYelpSearchResponse.BusinessMatch?)
    • @escaping (CDYelpEvent?) becomes @escaping (CDYelpEventResponse?)
    • CDYelpAutocompleteResponse.businesses type becomes [CDYelpBusiness.Autocomplete]
    • CDYelpBusinessResponse.business type becomes CDYelpBusiness.Detailed
    • CDYelpCategoriesResponse.categories type becomes [CDYelpCategory.Detailed]
    • CDYelpCategoryResponse.category type becomes CDYelpCategory.Detailed
    • Date types to String
    • URL types to String

Removed

  • CDYelpEnums
    • CDYelpAttributeFilter.cashback, CDYelpTransactionType.pickup, and CDYelpTransactionType.restaurantReservation

SDK Support

13 Jun 18:41
de5f1a4
Compare
Choose a tag to compare

Added

  • Swift 5.4, 5.5, and 5.6

Updated

  • Swift Package Manager
    • Minimum Swift version 5.3
  • Dependencies
    • Alamofire
  • CI
    • Tests device, platform, Xcode, and SDK versions

Bug Fixes

17 Sep 18:37
35bec19
Compare
Choose a tag to compare

Added

  • CI
    • macOS 5.1 test
    • macOS 5.2 test
    • Swift Package Manager test

Updated

  • Swift Package Manager
    • Configuration

Dependencies

13 Sep 00:54
781c96a
Compare
Choose a tag to compare

Added

  • Client
    • validate to API methods

Updated

  • Client
    • responseObject model transformation to responseDecodable
  • Models
    • Decodable, Encodable APIs
    • class to struct
    • var to let
  • Dependencies
    • Alamofire
  • Swift Package Manager
    • Configuration

Removed

  • Dependencies
    • ObjectMapper
  • Travis CI
    • Configuration

Bug Fixes

30 May 20:50
909e2a9
Compare
Choose a tag to compare

Updated

  • Models
    • URL types to String
    • Date types to String
  • Swift Package Manager
    • To build with swift-tools-version:5.1

SDK Support

01 Sep 00:09
6e1f3bf
Compare
Choose a tag to compare

Added

  • Swift 5.1

SDK Support and API Endpoints

30 Aug 17:19
8224545
Compare
Choose a tag to compare

Added

  • Swift 5.0
  • API Endpoints
    • All Categories
    • Category Details

Updated

  • API Endpoints
    • Business Match
  • CDYelpEnums Naming
    • CDYelpBusinessCategoryFilter becomes CDYelpCategoryAlias

SDK Support and Platform Support

14 Dec 14:39
Compare
Choose a tag to compare

Added

  • Swift 4.2
  • SwiftLint

Updated

  • Platform Support
    • macOS
      • CDImage+CDYelpFusionKit cdImage(named name: String!) -> CDImage? to initialize with type CDImage.Name

Authentication

13 Feb 07:50
Compare
Choose a tag to compare

Updated

  • Authentication
    • clientId and clientSecret becomes apiKey
    • Removes CDYelpOAuthClient, CDYelpOAuthCredential, and CDYelpOAuthRouter classes

SDK Support

21 Nov 06:53
Compare
Choose a tag to compare

Added

  • Swift 4.0