Skip to content

1.0.0-alpha.3

Pre-release
Pre-release

Choose a tag to compare

@leogdion leogdion released this 26 Nov 17:37
· 2 commits to main since this release
b381a08

What's Changed

  • Breaking: BushelCloud is now SwoopMistKit: the package, the repository (brightdigit/SwoopMistKit; the old URL redirects), the library product BushelCloudKit → SwoopMistKit and the executable bushel-cloud → swoopmist (target SwoopMistKitCLI). Depend on .product(name: "SwoopMistKit", package: "SwoopMistKit") and import SwoopMistKit by @leogdion in #44
  • Breaking: BushelCloudKitService is SwoopMistKitService and BushelCloudKitError is SwoopMistKitError; rename call sites. BushelConfiguration and ValidatedBushelConfiguration are now SwoopMistKitConfiguration and ValidatedSwoopMistKitConfiguration, with deprecated typealiases under the old names by @leogdion in #44
  • Breaking: The record types (RestoreImageRecord, XcodeVersionRecord, SwiftVersionRecord, DataSourceMetadata, and the new SDKVersionRecord and SimulatorRuntimeRecord) come from SwoopKit instead of BushelKit, and the BushelKit dependency is gone; SwoopMistKit owns its logging and fetch helpers. Add SwoopKit and import SwoopKit wherever you used the BushelKit record types by @leogdion in #44
  • Breaking: The default container is iCloud.com.brightdigit.Swoop (was iCloud.com.brightdigit.Bushel). Set CLOUDKIT_CONTAINER_ID to keep writing to the old one, and import schema.ckdb into the new one with Scripts/setup-cloudkit-schema.sh by @leogdion in #44
  • Breaking: Requires Swift 6.4 (swift-tools-version 6.4, was 6.2) in Swift 6 language mode, with ExistentialAny and InternalImportsByDefault (#36) by @leogdion in #37
  • Environment variables use the SWOOP_ prefix (SWOOP_SYNC_DRY_RUN, SWOOP_FETCH_INTERVAL_GLOBAL, …). The BUSHEL_* names still work, with a deprecation warning, and a SWOOP_* value wins when both are set. CLOUDKIT_* and VIRTUALBUDDY_API_KEY are unchanged by @leogdion in #44
  • Fix the documented swoopmist flags, which were ignored in 1.0.0-alpha.2 too: sync --dry-run wrote to CloudKit, and --verbose, --no-betas, --force, the --*-only filters, export --output/--pretty/--signed-only and the --cloudkit-* options had no effect (the flags were read as --sync-dry_run and so on; only delete-runtimes --confirm-delete worked). Every key now names its flag, and a flag is read only from the command line and a variable only from the environment. These now work as flags too: sync --runtimes-only, --no-apple-wiki, --min-interval, --source, --json-output-file; list --restore-images/--xcode-versions/--swift-versions; status --errors-only/--detailed; clear --yes; --cloudkit-container-id, --cloudkit-environment, --virtualbuddy-api-key, --fetch-interval-global and --fetch-interval-<source>. The SWOOP_* and BUSHEL_* variables are unchanged by @leogdion in #44
  • Add SDKVersion records: SDKVersionBuilder derives platform SDK builds from xcodereleases.com and Apple's simulator index (Apple's wins; release days are UTC), links each to its XcodeVersion, and points a beta SDK's supersededBy at the final SDK by @leogdion in #44
  • Add SimulatorRuntime records from Apple's index2.dvtdownloadableindex (SimulatorIndexFetcher, SimulatorRuntimeBuilder), with releaseLabel parsed from the runtime name and the SDK builds stored as the comma-separated sdkBuildNumbersText (MistKit can't decode STRING_LIST yet). sync --runtimes-only (or SWOOP_SYNC_RUNTIMES_ONLY=true) syncs only runtimes by @leogdion in #44
  • Add the delete-runtimes command, which deletes only SimulatorRuntime records, in Development only, and is a dry run unless --confirm-delete by @leogdion in #44
  • schema.ckdb adds SDKVersion and SimulatorRuntime; SDKVersion, XcodeVersion and SimulatorRuntime grant READ, CREATE, WRITE to _creator and READ, CREATE to _icloud by @leogdion in #44
  • Uploads run in reference order (SwiftVersion and RestoreImage, then XcodeVersion, then SDKVersion with finals before prereleases, then SimulatorRuntime), so a referenced record always exists first by @leogdion in #44
  • Update to MistKit 1.0.0-beta.4 and its FieldValue arity (.string(.value(x))) (#35) by @leogdion in #37
  • CI: Swift 6.4 release images on Ubuntu noble (plus jammy for PRs into main), Apple lanes on the xcode-27 runner with Xcode 27.2 (macOS and iOS; watchOS, tvOS and visionOS for PRs into main), a DocC job, lint on ubuntu-24.04, workflows on pull_request only, dependency-policy.yml (no branch dependencies into main) and check-unsafe-flags.yml by @leogdion in #44
  • Tooling: swift-format 604 and SwiftLint 0.65 pinned in mise.toml, Scripts/lint.sh, Scripts/docc.sh and a Makefile; the DocC catalog is now SwoopMistKit.docc; AGENTS.md and .agents for contributors and coding agents by @leogdion in #44
  • Tests: a Platform helper (Tests/SwoopMistKitTests/Helpers/Platform.swift) with Platform.isMacOSOrLinux; the VirtualBuddy fetcher suite uses .enabled(if: Platform.isMacOSOrLinux) instead of an inline #if closure
  • Documentation: the README and DocC articles are rewritten for SwoopMistKit, and the Bushel-era content is removed by @leogdion in #44
  • Dependencies: SwoopKit from: "1.0.0-beta.1" and MistKit from: "1.0.0-beta.6"; adds FelinePine and FelinePineSwift (Linux, Android, OpenBSD, WASI and Windows only); removes BushelKit. ConfigKeyKit, IPSWDownloads, SwiftSoup and swift-configuration are unchanged

Full Changelog: 1.0.0-alpha.2...1.0.0-alpha.3