Releases: Backendless/Swift-SDK
Releases · Backendless/Swift-SDK
0.0.15
- added methods to GeoService:
func getFencePointsCount(geoFenceName: String, responseHandler: ((Int) -> Void)!, errorHandler: ((Fault) -> Void)!)
func getFencePointsCount(geoFenceName: String, geoQuery: BackendlessGeoQuery, responseHandler: ((Int) -> Void)!, errorHandler: ((Fault) -> Void)!)
- the sendEmailFromTemplate functions signatures changed:
func sendEmailFromTemplate(templateName: String, envelope: EmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
func sendEmailFromTemplate(templateName: String, envelope: EmailEnvelope, templateValues: [String : String], responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
0.0.14
- the sendEmails functions renamed into the sendEmailFromTemplate:
func sendEmailFromTemplate(templateName: String, envelope: EmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
func sendEmailFromTemplate(templateName: String, templateValues: [String : String], envelope: EmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
- added custom serialization/deserialization for class BackendlessGeoQuery
0.0.13
- the EmailEnvelope signatures changed
- code refactoring
- version 0.0.12 expirienced some cocoapods issues, so they are fixed in 0.0.13 - please use this version instead
0.0.12
- added the SearchMatchesResult class
- fixed the relativeFind method to return SearchMatchesResult correctly
- added serializations/deserialization for class SearchMatchesResult
- added distance field in class GeoPoint
0.0.11
- fixed the GeoPoint saving issue which caused crash when sending custom object in metadata
- customized serialization/deserialization for the next classes: DeliveryOptions, GeoPoint, GeoQueryRectangle
0.0.10
- fixed password issue when updating the BackendlessUser object
- fixed Date type issue when retrieving object or registering BackendlessUser with custom Date field
- fixed the BackendlessUser properties methods
- added support of custom smart-text substitutions for push templates:
func pushWithTemplate(templateName: String, templateValues: [String : Any], responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
- added Channel function:
func sendCommand(commandType: String, data: Any?, responseHandler: (() -> Void)!, errorHandler: ((Fault) -> Void)!)
0.0.9
- added IEmailEnvelope protocol, EmailEnvelope, EnvelopeWithRecepients and EnvelopeWithQuery classes
- added functions to MessagingService:
func sendEmails(templateName: String, envelope: IEmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
func sendEmails(templateName: String, templateValues: [String : String], envelope: IEmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
- added groups support for push notifications (for iOS 12+)
0.0.8
- the AtomicCounters compareAndSet function fixed to return Bool in response instead of Int
- added functions to UserService:
func loginWithTwitter(authToken: String, authTokenSecret: String, fieldsMapping: [String: String], responseHandler: ((BackendlessUser) -> Void)!, errorHandler: ((Fault) -> Void)!)
func resendEmailConfirmation(email: String, responseHandler: (() -> Void)!, errorHandler: ((Fault) -> Void)!)
0.0.7
- fixed bug in the CacheService methods when key contains spaces
- fixed crashes in DataPermission when object is Dictionary
- added the segmentQuery property to the DeliveryOptions
- removed the device registration methods that don't take deviceToken as parameter
- removed the
refreshDeviceToken
method - removed the unnecessary init methods
- customized Serialization/Deserialization for next classes: ObjectProperty, BackendlessFileInfo, GeoCategory, BackendlessUser, UserProperty
init(from decoder: Decoder) throws
func encode(to encoder: Encoder) throws
0.0.6
- added functions to FileService:
func exists(path: String, responseHandler: ((Bool) -> Void)!, errorHandler: ((Fault) -> Void)!)
func listing(path: String, responseHandler: (([BackendlessFileInfo]) -> Void)!, errorHandler: ((Fault) -> Void)!)
func remove(path: String, pattern: String, recursive: Bool, responseHandler: (() -> Void)!, errorHandler: ((Fault) -> Void)!)
- added functions to MessagingService:
func unregisterDevice(channels: [String], responseHandler: ((Bool) -> Void)!, errorHandler: ((Fault) -> Void)!)
func refreshDeviceToken(newDeviceToken: Data, responseHandler: ((Bool) -> Void)!, errorHandler: ((Fault) -> Void)!)
- classes made to conform to the Codable protocol: DataQueryBuilder, LoadRelationsQueryBuilder, BackendlessGeoQuery, GeoQueryRectangle, PublishOptions, DeliveryOptions, BackendlessFileInfo, PublishMessageInfo, UserInfo, ReconnectAttemptObject, BulkEvent