Skip to content

Releases: artikcloud/artikcloud-swift

Release 4.3.0: Swift 4.2, Xcode 10, Rate Limit Recovery & more

15 Nov 22:43
Compare
Choose a tag to compare
  • Swift 4.2
  • Xcode 10 Support
  • CocoaPods 1.5.3 now required
  • Dependencies' updates
  • APIResetValues's slidingMinute and daily are now of type Int64 (previously its alias ArtikTimestamp) 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 for ArtikError.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

16 Apr 23:24
Compare
Choose a tag to compare
  • 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

16 Apr 21:18
Compare
Choose a tag to compare
  • Swift 4.1
  • Dependencies' updates
  • PromiseKit syntax changes
  • Fixed deprecation warnings

4.1.2: Removed secure endpoint usage

28 Mar 23:30
Compare
Choose a tag to compare
Pre-release
  • Removed secure endpoint usage

4.1.1: Fixed confirmUser signature

28 Mar 00:06
Compare
Choose a tag to compare
Pre-release
  • Changed confirmUser to take a device name and not a device id.

4.1.0: SDR Methods & Bug fixes

27 Mar 17:53
Compare
Choose a tag to compare
Pre-release
  • [Breaking] Changed ArtikError.swiftyArtikSettings to ArtikError.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) in DevicesAPI.

Release 4.0.0: SDK Fully Refactored

06 Feb 22:48
Compare
Choose a tag to compare

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

29 Apr 23:24
Compare
Choose a tag to compare

ArtikCloud 2.0.0 release