Repository navigation
v0.5.0: Component Registry, CDN Downloads & Platform Updates
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
ComponentDescriptorfor declarative component definitions with type, repo, files, and checksumsComponentHandlefor type-safe file access after downloadComponentRegistry(thread-safe global registry) withregister(),downloadComponent(),ensureComponentReady(), andverifyComponent()- 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
SecureDownloadSessionrejects 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