Skip to content

chore: derive the render output type from svelte/server - #16821

Merged
Rich-Harris merged 3 commits into
version-3from
render-output-type
Aug 17, 2026
Merged

Rich-Harris merged 3 commits into
version-3from
render-output-type

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Member

render_response types rendered with a hand-written { head, body, hashes: { script: string[] } } and a TODO asking svelte/server to expose RenderOutput. The file already imports render, so the type is reachable today, and the hand-written version had drifted from it (hashes.script is `sha256-${string}`[]).

Omit because SyncRenderOutput still carries the deprecated html, which neither assignment site sets.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 7df5485:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/7df54856423dcb49c1797af53ba46530a6a4bef0

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16821

@changeset-bot

changeset-bot Bot commented Aug 16, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7df5485

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

@Rich-Harris

Copy link
Copy Markdown
Member

Reinstated the comment as we should still get around to that. Opened sveltejs/svelte#18660

@Rich-Harris
Rich-Harris merged commit cdbc9ca into version-3 Aug 17, 2026
27 checks passed
@Rich-Harris
Rich-Harris deleted the render-output-type branch August 17, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants