Skip to content

Releases

ClipParse iOS SDK 1.6.0

Choose a tag to compare

@devGhiles devGhiles released this 23 Nov 21:01

An update that adds extract(_:), deprecates the caption parameter, and makes TikTok extraction more reliable.

  • New extract(_:), which takes only the post URL.
  • extract(_:caption:) is deprecated: its caption parameter has no effect. Switch to extract(_:); the deprecated method will be removed in 2.0.
  • More reliable TikTok extraction.
  • ClipParseError.tiktokPhotoPostsUnsupported is deprecated and no longer thrown, since TikTok photo posts are supported.
  • Otherwise a drop-in update from 1.5.0, with no other public API changes.

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

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.

ClipParse iOS SDK 1.4.0

Choose a tag to compare

@devGhiles devGhiles released this 13 Nov 20:40

A small update that adds the two ends of an ingredient amount given as a range.

  • New Ingredient.quantityMin and Ingredient.quantityMax. When a post gives an amount as a range, such as "3-4 tbsp", they hold 3 and 4. Both are nil for a single amount.
  • Ingredient.quantity is unchanged: for a range it is still the midpoint (3.5).
  • Otherwise a drop-in update from 1.3.0, with no other public API changes.

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

ClipParse iOS SDK 1.3.0

Choose a tag to compare

@devGhiles devGhiles released this 09 Nov 13:57

A small update that adds US liquid units and makes ingredient units future-proof.

  • New Unit.pt, Unit.qt and Unit.gal for pints, quarts and gallons. If you switch over Unit, handle them explicitly; otherwise they fall into your @unknown default branch.
  • An ingredient unit your SDK version doesn't recognize now comes back as a nil unit, with the original text in Ingredient.raw, instead of failing the whole extraction. Future units won't break apps on older SDK versions.
  • Otherwise a drop-in update from 1.2.0, with no other public API changes.

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

ClipParse iOS SDK 1.2.0

Choose a tag to compare

@devGhiles devGhiles released this 07 Nov 23:56

A small update to error handling for posts that can't be reached.

  • New ClipParseError.postUnavailable, thrown when a post was deleted, is private, or doesn't exist. Its isRetryable is false: retrying the same link won't succeed.
  • Otherwise a drop-in update from 1.1.0, with no other public API changes.

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

ClipParse iOS SDK 1.1.0

Choose a tag to compare

@devGhiles devGhiles released this 22 Oct 20:40

A small update to how "no recipe" outcomes are reported.

  • New NoRecipeReason.noRecipeFound, returned when a post contains no recipe to extract.
  • NoRecipeReason.noRecipeInCaption is deprecated and no longer returned. If you handle it, switch to .noRecipeFound; Xcode's rename fix-it does it in one click. It will be removed in 2.0.
  • Otherwise a drop-in update from 1.0.1, with no other public API changes.

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

ClipParse iOS SDK 1.0.1

Choose a tag to compare

@devGhiles devGhiles released this 17 Aug 16:52

Instagram recipes now come back with their thumbnail.

  • Instagram extractions now include the post's thumbnail: Recipe.thumbnailUrl, previously always nil for Instagram links, is now populated whenever the server doesn't provide one.
  • No public API changes; a drop-in update from 1.0.0.

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

1.0.0

Choose a tag to compare

@devGhiles devGhiles released this 15 Aug 16:13

ClipParse iOS SDK 1.0.0

First stable release. The public API — ClipParseClient, async extract(_:), and typed ClipParseError — is now covered by semantic versioning: no breaking changes until 2.0.

Changes since 0.2.0

  • Privacy improvements to the SDK's internal networking.
  • The bundled privacy manifest (PrivacyInfo.xcprivacy) is now complete — it declares no tracking, no required-reason API usage, and the submitted video URL as the only collected data (unlinked, used for app functionality only). Ready for App Store privacy-report ingestion.

Installation

.package(url: "https://github.com/clipparse/clipparse-ios-sdk.git", from: "1.0.0")

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

0.2.0

Choose a tag to compare

@devGhiles devGhiles released this 12 Aug 16:11

ClipParse iOS SDK 0.2.0

  • ClipParseError.quotaExceeded now carries retryAfter: TimeInterval?, the back-off in seconds from the server's Retry-After header. A 429 means a per-key rate limit tripped, so use this to schedule a retry. isRetryable stays false since retrying immediately won't succeed.
  • API requests now send X-SDK-Version and X-Bundle-Id headers, so the server can tie API keys to apps and tell SDK traffic from raw requests.

0.1.0

Choose a tag to compare

@gss-ventures gss-ventures released this 11 Aug 11:54

Initial public release of the ClipParse iOS SDK.

What's included

  • Recipe extraction from TikTok and Instagram video links — structured title, ingredients, quantities, and steps
  • Async/await Swift API
  • Distributed as a binary XCFramework via Swift Package Manager

Requirements

  • iOS 15+ / macOS 12+
  • A ClipParse API key — get one at clipparse.com

Installation

In Xcode: File → Add Package Dependencies →
https://github.com/clipparse/clipparse-ios-sdk

Or in Package.swift:

.package(url: "https://github.com/clipparse/clipparse-ios-sdk.git", from: "0.1.0")

See the README for a quickstart.