Skip to content

v5.19.0

Choose a tag to compare

@paul-phan paul-phan released this 25 Jul 05:24

Core, React, Hydrogen 5.19.0

Propagates the component manifest contract (#505) to storefronts.

Changed

  • @weaverse/hydrogen now depends on @weaverse/schema@0.13.0 (was 0.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.