Releases: chrisdhaan/CDYelpFusionKit
Releases · chrisdhaan/CDYelpFusionKit
Models and Enums
Added
- Models
-
CDYelpBusiness.BusinessSearch
,CDYelpBusiness.PhoneSearch
,CDYelpBusiness.TransactionSearch
,CDYelpBusiness.Detailed
,CDYelpBusiness.BusinessMatch
, andCDYelpBusiness.Autocomplete
structs -
CDYelpCategoriesResponse.error
-
CDYelpCategory.Detailed
struct -
CDYelpCategoryResponse.error
-
CDYelpEventResponse
struct -
CDYelpLocation.Detailed
struct -
CDYelpMessaging
struct -
CDYelpSearchResponse.Business
,CDYelpSearchResponse.Phone
,CDYelpSearchResponse.Transaction
, andCDYelpSearchResponse.BusinessMatch
structs -
CDYelpSpecialHour
struct -
toDate
methods forString
representations -
toUrl
methods forString
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 becomesCDYelpBusiness.Detailed
-
CDYelpCategoriesResponse.categories
type becomes[CDYelpCategory.Detailed]
-
CDYelpCategoryResponse.category
type becomesCDYelpCategory.Detailed
-
Date
types toString
-
URL
types 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
-
validate
to API methods
-
Updated
- Client
-
responseObject
model transformation toresponseDecodable
-
- Models
- Decodable, Encodable APIs
-
class
tostruct
-
var
tolet
- Dependencies
- Alamofire
- Swift Package Manager
- Configuration
Removed
- Dependencies
- ObjectMapper
- Travis CI
- Configuration
Bug Fixes
Updated
- Models
-
URL
types toString
-
Date
types 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
-
CDYelpBusinessCategoryFilter
becomesCDYelpCategoryAlias
-
SDK Support and Platform Support
Added
- Swift 4.2
- SwiftLint
Updated
- Platform Support
- macOS
-
CDImage+CDYelpFusionKit
cdImage(named name: String!) -> CDImage?
to initialize with typeCDImage.Name
-
- macOS
Authentication
Updated
- Authentication
-
clientId and clientSecret
becomesapiKey
- Removes
CDYelpOAuthClient
,CDYelpOAuthCredential
, andCDYelpOAuthRouter
classes
-
SDK Support
Added
- Swift 4.0