Comet 0.4.0
Comet 0.4.0 expands the V3 foundation with schema-aware OpenAPI generation, YAML input, optional SQLiteData persistence, TCA playground coverage, and cache and middleware hardening.
Breaking change:
- CometTCA request effects now use the public
Effect<Action>return type instead of the underscored_Effect<Action>spelling.
Highlights:
- Schema-aware OpenAPI generation for component models, local
$refs, typed JSON success serializers, and typed error-response hooks. - YAML OpenAPI input support through Yams.
- New
CometSQLiteDataproduct for persisted activity events and generated artifacts. - Playground saved activity history and reducer-backed TCA demo flows.
- Cache, streaming, middleware, authentication, and WebSocket hardening.
Validation:
swift test --disable-xctest.github/scripts/check-api-breaking-changes.shafter taggingv0.4.0.github/scripts/fresh-client-smoke.sh- XcodeBuildMCP simulator smoke for
CometPlaygroundApp, 5 tests passed on iPhone 16 Pro, iOS 18.5