All notable changes to this project are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
Version-locked to the daemon. The Swift SDK now tracks the
pilot-protocol/pilotprotocoldaemon version instead of an independent0.xline. This release rebases the SDK onto daemonv1.12.5: thePilotCxcframework is rebuilt from thepilot-protocol/libpilotcgo bindings pinned topilotprotocol v1.12.5, andPackage.swiftpoints at thev1.12.5release asset. Consume it with:.package(url: "https://github.com/pilot-protocol/sdk-swift.git", from: "1.12.5")Note the
0.2.0 -> 1.12.5major bump: SwiftPM treats it as a new major line, sofrom: "0.2.0"consumers must opt in to1.x.
- Self-updating release automation.
.github/workflows/release-watch.ymlpolls the upstream daemon every 30 minutes; on a newer release it dispatches.github/workflows/publish.yml, which builds the xcframework on macOS, computes its SHA-256, rewritesPackage.swift, and cuts the tag + GitHub Release with the binary attached — the same self-polling pattern the npm and PyPI SDKs use. No more manual, drifting binary releases.
-
Binary distribution via GitHub Releases. The
PilotCxcframework is no longer expected to live at a localFrameworks/Pilot.xcframeworkpath — it's downloaded by SwiftPM from the GitHub Release asset and verified against a SHA-256 checksum baked intoPackage.swift. Consumers can now depend onsdk-swiftpurely by URL:.package(url: "https://github.com/pilot-protocol/sdk-swift.git", from: "0.2.0")with no local clone, no manual xcframework build step.
Migration: nothing to do — your
Frameworks/Pilot.xcframework/checkout (if you had one) is now ignored. To revert to a local binary for development (faster iteration when changing the cgo bindings), editPackage.swiftand replace the binaryTarget with the previouspath: "Frameworks/Pilot.xcframework"form locally.
Initial release.