- Add
swoopmist export --snapshot <output.json>, which writes SwoopKit'sReleaseDataSnapshot: the release-data file Stewed bundles asResources/release-data-snapshot.json, replacing Stewed'sStewedTools(brightdigit/Stewed#194). It reads onlySDKVersion,XcodeVersionandSimulatorRuntime, maps every record withfrom(recordInfo:), and fails on an empty type or any record that doesn't map, naming the records that didn't. Records are sorted by record name,fetchedAtis whole seconds, and the JSON is SwoopKit'sJSONEncoder.iso8601PrettySortedplus a trailing newline, byte-identical to StewedTools' output for the same data. It only reads by @leogdion in #46 export --snapshotuses Development by default. Production needs--allow-production, a command-line flag only: noSWOOP_*variable turns it on.--output,--pretty,--signed-onlyand--no-betasare refused alongside--snapshotrather than ignored by @leogdion in #46- Add
ReleaseDataSnapshotExportandSyncEngine.exportSnapshot(fetchedAt:)to the library, so the snapshot can be built and tested without the CLI or CloudKit by @leogdion in #46 - Close the 200-record cap (#17):
exportandexport --snapshotread every record through MistKit 1.0.0-beta.6's pagingqueryAllRecords, with a regression test that keeps 450 records of one type by @leogdion in #46 - CI: the sync action's summaries now count SDK versions and simulator runtimes, and the sync summary lists the
SDKVersionrecords it deleted. The stale "limited to 200 records per type" notes are removed by @leogdion in #47 - Dependencies: SwoopKit
from: "1.0.0-beta.2"(was1.0.0-beta.1), which now providesReleaseDataSnapshotand its JSON coders. MistKit and the other dependencies are unchanged
Full Changelog: https://github.com/brightdigit/SwoopMistKit/compare/1.0.0-alpha.3...1.0.0-alpha.4
- Breaking: BushelCloud is now SwoopMistKit: the package, the repository (brightdigit/SwoopMistKit; the old URL redirects), the library product
BushelCloudKit→SwoopMistKitand the executablebushel-cloud→swoopmist(targetSwoopMistKitCLI). Depend on.product(name: "SwoopMistKit", package: "SwoopMistKit")andimport SwoopMistKitby @leogdion in #44 - Breaking:
BushelCloudKitServiceisSwoopMistKitServiceandBushelCloudKitErrorisSwoopMistKitError; rename call sites.BushelConfigurationandValidatedBushelConfigurationare nowSwoopMistKitConfigurationandValidatedSwoopMistKitConfiguration, with deprecated typealiases under the old names by @leogdion in #44 - Breaking: The record types (
RestoreImageRecord,XcodeVersionRecord,SwiftVersionRecord,DataSourceMetadata, and the newSDKVersionRecordandSimulatorRuntimeRecord) come from SwoopKit instead of BushelKit, and the BushelKit dependency is gone; SwoopMistKit owns its logging and fetch helpers. Add SwoopKit andimport SwoopKitwherever you used the BushelKit record types by @leogdion in #44 - Breaking: The default container is
iCloud.com.brightdigit.Swoop(wasiCloud.com.brightdigit.Bushel). SetCLOUDKIT_CONTAINER_IDto keep writing to the old one, and importschema.ckdbinto the new one withScripts/setup-cloudkit-schema.shby @leogdion in #44 - Breaking: Requires Swift 6.4 (swift-tools-version 6.4, was 6.2) in Swift 6 language mode, with
ExistentialAnyandInternalImportsByDefault(#36) by @leogdion in #37 - Environment variables use the
SWOOP_prefix (SWOOP_SYNC_DRY_RUN,SWOOP_FETCH_INTERVAL_GLOBAL, …). TheBUSHEL_*names still work, with a deprecation warning, and aSWOOP_*value wins when both are set.CLOUDKIT_*andVIRTUALBUDDY_API_KEYare unchanged by @leogdion in #44 - Fix the documented
swoopmistflags, which were ignored in 1.0.0-alpha.2 too:sync --dry-runwrote to CloudKit, and--verbose,--no-betas,--force, the--*-onlyfilters,export --output/--pretty/--signed-onlyand the--cloudkit-*options had no effect (the flags were read as--sync-dry_runand so on; onlydelete-runtimes --confirm-deleteworked). 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-globaland--fetch-interval-<source>. TheSWOOP_*andBUSHEL_*variables are unchanged by @leogdion in #44 - Add
SDKVersionrecords:SDKVersionBuilderderives platform SDK builds from xcodereleases.com and Apple's simulator index (Apple's wins; release days are UTC), links each to itsXcodeVersion, and points a beta SDK'ssupersededByat the final SDK by @leogdion in #44 - Add
SimulatorRuntimerecords from Apple'sindex2.dvtdownloadableindex(SimulatorIndexFetcher,SimulatorRuntimeBuilder), withreleaseLabelparsed from the runtime name and the SDK builds stored as the comma-separatedsdkBuildNumbersText(MistKit can't decodeSTRING_LISTyet).sync --runtimes-only(orSWOOP_SYNC_RUNTIMES_ONLY=true) syncs only runtimes by @leogdion in #44 - Add the
delete-runtimescommand, which deletes onlySimulatorRuntimerecords, in Development only, and is a dry run unless--confirm-deleteby @leogdion in #44 schema.ckdbaddsSDKVersionandSimulatorRuntime;SDKVersion,XcodeVersionandSimulatorRuntimegrantREAD, CREATE, WRITEto_creatorandREAD, CREATEto_icloudby @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
FieldValuearity (.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 thexcode-27runner with Xcode 27.2 (macOS and iOS; watchOS, tvOS and visionOS for PRs intomain), a DocC job, lint onubuntu-24.04, workflows onpull_requestonly,dependency-policy.yml(no branch dependencies intomain) andcheck-unsafe-flags.ymlby @leogdion in #44 - Tooling: swift-format 604 and SwiftLint 0.65 pinned in
mise.toml,Scripts/lint.sh,Scripts/docc.shand a Makefile; the DocC catalog is nowSwoopMistKit.docc;AGENTS.mdand.agentsfor contributors and coding agents by @leogdion in #44 - Tests: a
Platformhelper (Tests/SwoopMistKitTests/Helpers/Platform.swift) withPlatform.isMacOSOrLinux; the VirtualBuddy fetcher suite uses.enabled(if: Platform.isMacOSOrLinux)instead of an inline#ifclosure - 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 MistKitfrom: "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: https://github.com/brightdigit/SwoopMistKit/compare/1.0.0-alpha.2...1.0.0-alpha.3