Skip to content
This repository was archived by the owner on May 23, 2026. It is now read-only.

FoundryKit v0.0.2

Latest

Choose a tag to compare

@rudrankriyam rudrankriyam released this 07 Jul 11:48
· 2 commits to main since this release

FoundryKit v0.0.2 - Beta 2 Compatibility Update

This release updates FoundryKit to be compatible with the new FoundationModels API changes in macOS 15.2 beta 2.

What's Changed

  • Fixed Transcript API: Updated to work with the new collection-based Transcript API where Transcript itself is now a collection rather than having an entries property
  • Added Rate Limiting Support: Added .rateLimited error case to properly handle rate limiting from Foundation Models
  • Fixed Validation Errors: Resolved naming conflict between validation error types by renaming internal macro validation errors
  • Improved Error Handling: Enhanced error mapping between Foundation Models and FoundryKit error types
  • Fixed Package URL: Corrected the package URL in README from rudrankriyam to rryam

Breaking Changes

  • The Transcript API has changed in macOS 15.2 beta 2. If you were directly accessing transcript.entries, you can now use transcript directly as it's a collection

Compatibility

  • Requires macOS 15.2 beta 2 or later
  • Swift 6.0 or later
  • Xcode 16.2 beta 2 or later

Installation

dependencies: [
    .package(url: "https://github.com/rryam/FoundryKit", from: "0.0.2")
]

Notes

  • SimpleJSONValidator has been temporarily disabled for this release while we update it to work with the new APIs
  • Full structured generation features are still planned for a future release

Full Changelog: v0.0.1...v0.0.2