v5.19.0
Core, React, Hydrogen 5.19.0
Propagates the component manifest contract (#505) to storefronts.
Changed
@weaverse/hydrogennow depends on@weaverse/schema@0.13.0(was0.12.0).
Why this matters
Themes on 5.18.0 resolved @weaverse/schema@0.12.0, so the new schema surface was unreachable. On 5.19.0, storefronts can:
- Mark sensitive or server-only settings:
{type: 'text', name: 'apiKey', label: 'API key', sensitive: true}
- Import the build-time manifest generator:
import {generateComponentManifest} from '@weaverse/schema/manifest'
Sensitive inputs must not declare a defaultValue; this is enforced in TypeScript, Zod, and the generated JSON Schema.
No breaking changes. Runtime behavior is unchanged for themes that adopt neither feature.