Skip to content

v2.1.0

Latest

Choose a tag to compare

@2dubu 2dubu released this 16 Jun 15:46
· 6 commits to main since this release
b51497e

PaletteKit v2.1.0 Release Notes

Highlights

  • New PaletteKitInsights (iOS 26+ / macOS 26+ / visionOS 26+) — a separate, optional product that turns a Palette into a PaletteInsights (name + one-line summary) using Apple's on-device FoundationModels.
  • PaletteInsightsGenerator generates with optional caller guidance and locale-aware output: library-owned instructions steer the model, while caller guidance is supplied as the prompt.
  • PaletteInsightsError surfaces model availability, unsupported-language, guardrail/refusal, and generation failures.

Library changes

  • Core PaletteKit is unchanged (still iOS 17 / macOS 14, no new dependency); FoundationModels is gated behind @available and lives entirely in the separate PaletteKitInsights product.

Demo app

  • New "Generate Insights" entry on the result screen (iOS 26+) produces a name and one-line summary for the extracted palette, with an optional guidance field and a graceful fallback when Apple Intelligence is unavailable.

Install

.package(url: "https://github.com/2dubu/PaletteKit", from: "2.1.0")