1.0.0-beta.5
Pre-release
Pre-release
What's Changed
- Represent
FieldValue.bytesasDatainstead of a base64String(#467) - Add
Asset.download(using:), which fetches an asset'sdownloadURLfrom the CDN and returns the bytes, plusCloudKitError.missingAssetDownloadURL.fileChecksumturned out to be a server-minted identity token rather than a digest of the file, so no client-side checksum verification is offered — checkAsset.sizeto guard against truncation (#466, #473) - Add
VALIDATEtoReference.Actionfor CloudKit Web Services reference dictionaries (#464) - Consume rotated web auth tokens from the
X-Apple-CloudKit-Web-Auth-Tokenresponse header via a newTokenManager.didReceiveRotatedWebAuthToken(_:)requirement, defaulted to a no-op so existing conformances keep compiling (#462, #463) - Model the zone payload fields confirmed live in #444:
ZoneInfo.zoneType(a closedZoneTypeenum that throwsConversionError.unrecognizedZoneTypeon unknown wire values) andZoneInfo.deleted, so change feeds surface tombstones (#444) - Fix
ownerRecordNamenever decoding on zone payloads —ZoneIDread the wire key asownerName, so shared-zone owners were alwaysnil(#444) - Add an optional
zoneID:parameter tocreateRecord,updateRecord,deleteRecord, anduploadAssets, so writes and asset uploads can target custom and shared zones (#454) - Round
[Date]list elements and nestedLocation.timestampvalues to whole milliseconds on the way out, matching the scalar path, and make the list conversion an exhaustivedefault-free switch so a newFieldValuecase fails the build instead of writing an empty list - Extract the shared CloudKit credential configuration glue into a separate
MistKitConfigurationpackage and converge the examples on typed configuration keys (#407, #455) - MistDemo: expose
zoneName/zoneOwneron the web query panel and add zone-aware writes plus a live shared-zone round-trip phase (#438, #453, #454) - Documentation: add the "CloudKit as Your Backend" talk as a DocC article with its screenshots, plus new guides for request signing, field type polymorphism, deploying MistKit, and the two retrospectives (What CloudKit Got Wrong, What the AI Got Wrong); re-verify every existing catalog article against current source; link the guides and talk resources from the README; remove the top-level
docs/directory (#447) - Add a repeatable release runbook, address code review fixes, coverage, and lint tooling, and fix the MistDemo Integration static build for Swift 6.4 (#460, #461, #475)
Full Changelog: 1.0.0-beta.4...1.0.0-beta.5