Releases: artikcloud/artikcloud-swift
Releases · artikcloud/artikcloud-swift
Release 4.3.0: Swift 4.2, Xcode 10, Rate Limit Recovery & more
- Swift 4.2
- Xcode 10 Support
- CocoaPods 1.5.3 now required
- Dependencies' updates
APIResetValues
'sslidingMinute
anddaily
are now of typeInt64
(previously its aliasArtikTimestamp
) as they actually represent an epoch time in seconds, and not millisecondes. This should not break any code but please make note of the correction in its interpretation.
New Features:
- Rate Limit Recovery: The framework will now re-do requests that reach the rate limit, after the window has expired and only if this window expires within a certain threshold. Read more about it here.
Breaking Changes:
RateLimitReason
forArtikError.rateLimit
now returns an indicator of the end of the rate limit reason. You can handle these errors to react to a failed or disabled rate limit recovery.ArtikCloudSwiftDelegate
is no longer an@objc
protocol, the optionality of its methods has been updated to use default protocol implementations.
Release 4.2.1: Updates to Device Management and improved LiveWebsocket
- Added ability to initialize
LiveWebsocket
for specific devices or specific device types. - Device Management: Added "needsAcceptance" support to Create A Task
- Device Management: Added support for needsAcceptance to
DeviceManagementTask
- Device Management: Added support for acceptanceStatus to
DeviceManagementDeviceTaskState
- Device Management: Added
getDeviceTaskPendingAcceptance(did: String)
- Device Management: Added
setDeviceTaskAcceptance(id: String, did: String, acceptance: Bool)
Release 4.2.0: Swift 4.1 & Xcode 9.3
- Swift 4.1
- Dependencies' updates
- PromiseKit syntax changes
- Fixed deprecation warnings
4.1.2: Removed secure endpoint usage
- Removed secure endpoint usage
4.1.1: Fixed confirmUser signature
- Changed confirmUser to take a device name and not a device id.
4.1.0: SDR Methods & Bug fixes
- [Breaking] Changed
ArtikError.swiftyArtikSettings
toArtikError.artikCloudSwiftSettings
. - Fixed typo in
DevicesAPI.unauthorize(id:)
preventing it from working. - Added methods to support Secure Device Registration browser role
confirmUser(did: String, pin: String)
&unregister(did: String)
inDevicesAPI
.
Release 4.0.0: SDK Fully Refactored
The SDK has been completely rewritten from top to bottom in Swift 4.0!
It now features classes with convenience methods to easily act upon your Users, Devices, Messages, Rules, etc.. and many more features:
- All REST APIs covered
- Websocket Support
- Authorization Code (+ PKCE) Authentication
- Implicit Authentication
- Limited Input Authentication
- Client Credentials Authentication
- Automatic Token Management and Refreshing
- Delegate for Rate Limit/Quota Monitoring
- Simplified Callback Handling
ArtikCloud-Swift 2.0.0 release
ArtikCloud 2.0.0 release