Skip to content

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

Latest
Compare
Choose a tag to compare
@Laptopmini Laptopmini released this 15 Nov 22:43
  • 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.