Releases: chrisdhaan/CDYelpFusionKit
Releases · chrisdhaan/CDYelpFusionKit
Models and Enums
Added
- Models
-
CDYelpBusiness.BusinessSearch,CDYelpBusiness.PhoneSearch,CDYelpBusiness.TransactionSearch,CDYelpBusiness.Detailed,CDYelpBusiness.BusinessMatch, andCDYelpBusiness.Autocompletestructs -
CDYelpCategoriesResponse.error -
CDYelpCategory.Detailedstruct -
CDYelpCategoryResponse.error -
CDYelpEventResponsestruct -
CDYelpLocation.Detailedstruct -
CDYelpMessagingstruct -
CDYelpSearchResponse.Business,CDYelpSearchResponse.Phone,CDYelpSearchResponse.Transaction, andCDYelpSearchResponse.BusinessMatchstructs -
CDYelpSpecialHourstruct -
toDatemethods forStringrepresentations -
toUrlmethods forStringrepresentations
-
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.businessestype becomes[CDYelpBusiness.Autocomplete] -
CDYelpBusinessResponse.businesstype becomesCDYelpBusiness.Detailed -
CDYelpCategoriesResponse.categoriestype becomes[CDYelpCategory.Detailed] -
CDYelpCategoryResponse.categorytype becomesCDYelpCategory.Detailed -
Datetypes toString -
URLtypes toString
-
Removed
- CDYelpEnums
-
CDYelpAttributeFilter.cashback,CDYelpTransactionType.pickup, andCDYelpTransactionType.restaurantReservation
-
SDK Support
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
Added
- CI
- macOS 5.1 test
- macOS 5.2 test
- Swift Package Manager test
Updated
- Swift Package Manager
- Configuration
Dependencies
Added
- Client
-
validateto API methods
-
Updated
- Client
-
responseObjectmodel transformation toresponseDecodable
-
- Models
- Decodable, Encodable APIs
-
classtostruct -
vartolet
- Dependencies
- Alamofire
- Swift Package Manager
- Configuration
Removed
- Dependencies
- ObjectMapper
- Travis CI
- Configuration
Bug Fixes
Updated
- Models
-
URLtypes toString -
Datetypes toString
-
- Swift Package Manager
- To build with
swift-tools-version:5.1
- To build with
SDK Support
Added
- Swift 5.1
SDK Support and API Endpoints
Added
- Swift 5.0
- API Endpoints
- All Categories
- Category Details
Updated
- API Endpoints
- Business Match
- CDYelpEnums Naming
-
CDYelpBusinessCategoryFilterbecomesCDYelpCategoryAlias
-
SDK Support and Platform Support
Added
- Swift 4.2
- SwiftLint
Updated
- Platform Support
- macOS
-
CDImage+CDYelpFusionKitcdImage(named name: String!) -> CDImage?to initialize with typeCDImage.Name
-
- macOS
Authentication
Updated
- Authentication
-
clientId and clientSecretbecomesapiKey - Removes
CDYelpOAuthClient,CDYelpOAuthCredential, andCDYelpOAuthRouterclasses
-
SDK Support
Added
- Swift 4.0