Skip to content

v0.5.0: Component Registry, CDN Downloads & Platform Updates

Choose a tag to compare

@stovak stovak released this 25 Mar 06:37
· 57 commits to main since this release
de73872

SwiftAcervo v0.5.0

🧩 Component Registry

Declarative model component management via ComponentDescriptor, ComponentHandle, and ComponentRegistry. Register components once, download and verify them with a single call.

New Features

  • ComponentDescriptor for declarative component definitions with type, repo, files, and checksums
  • ComponentHandle for type-safe file access after download
  • ComponentRegistry (thread-safe global registry) with register(), downloadComponent(), ensureComponentReady(), and verifyComponent()
  • Catalog queries: registeredComponents() for listing all registered components

🔒 CDN-Only Downloads with Integrity Verification

  • All downloads now go exclusively through private Cloudflare R2 CDN
  • Per-file SHA-256 verification against CDN manifest on every download
  • SecureDownloadSession rejects redirects to non-CDN domains
  • Streaming SHA-256 with 1MB chunked reads for multi-GB files
  • New error types: manifestDownloadFailed, manifestIntegrityFailed, integrityCheckFailed, downloadSizeMismatch, fileNotInManifest

🏗️ Platform & CI Updates

  • Enforced arm64 architecture in all macOS CI build destinations
  • 366 unit tests passing on macOS and iOS Simulator

📖 Documentation

  • Comprehensive API reference in AGENTS.md
  • Updated README with Component Registry examples
  • Archived Component Registry execution plan

Full Changelog: v0.4.0...v0.5.0