Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: unjs/unhead
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: unjs/unhead
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/vue-head-client-render-type
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 14 files changed
  • 1 contributor

Commits on Mar 2, 2026

  1. fix(vue): thread RenderResult generic through VueHeadClient

    VueHeadClient only forwarded the Input generic to Unhead, leaving
    RenderResult at its default of unknown. This caused head.render()
    to return unknown instead of SSRHeadPayload (server) or boolean (client).
    harlan-zw committed Mar 2, 2026
    Configuration menu
    Copy the full SHA
    8947e09 View commit details
    Browse the repository at this point in the history
  2. fix(react,svelte,solid): type createHead render result for all framew…

    …orks
    
    Apply the same RenderResult fix to React, Svelte, and Solid client
    createHead functions using ClientUnhead. Also type BaseStreamableHeadContext
    with ServerUnhead so streaming render() calls no longer need SSRHeadPayload
    casts.
    harlan-zw committed Mar 2, 2026
    Configuration menu
    Copy the full SHA
    14552e9 View commit details
    Browse the repository at this point in the history
  3. chore: fix typecheck errors in CI

    - Exclude stream/vite.ts and vite-plugin.test.ts from typecheck (depend
      on optional build-time packages: vite, magic-string, oxc-walker)
    - Fix schema-org dupes test using `as any` for untyped `nodes` property
    - Remove stale @ts-expect-error in svelte vitest config
    harlan-zw committed Mar 2, 2026
    Configuration menu
    Copy the full SHA
    dc96437 View commit details
    Browse the repository at this point in the history
Loading