Skip to content

ClipParse iOS SDK 1.5.0

Choose a tag to compare

@devGhiles devGhiles released this 20 Nov 14:47

An update that separates rate limits from spent allowances, and changes the SDK's license.

  • New ClipParseError.rateLimited(retryAfter:), thrown when too many requests were sent in a short time. Wait for retryAfter seconds, then retry.
  • ClipParseError.quotaExceeded is now thrown only when the API key's allowance is spent. A rate limit previously threw it too, so if you catch quotaExceeded, handle rateLimited as well; otherwise it falls into your generic error branch.
  • isRetryable is now true for any 5xx response, not only a 500.
  • Requests to the ClipParse API now include an X-SDK-Platform header with the value ios.
  • The SDK is now distributed under the ClipParse SDK License, in place of the MIT License. It remains free to embed in your apps and to ship with them.
  • Otherwise a drop-in update from 1.4.0, with no other public API changes.

Requires iOS 15+ / macOS 12+. Full history in CHANGELOG.md.