Skip to content

feat: record the size and content hash of client and prerendered files for adapters - #16994

Open
Nic-Polumeyv wants to merge 3 commits into
compress-oncefrom
kit-asset-table
Open

feat: record the size and content hash of client and prerendered files for adapters#16994
Nic-Polumeyv wants to merge 3 commits into
compress-oncefrom
kit-asset-table

Conversation

@Nic-Polumeyv

@Nic-Polumeyv Nic-Polumeyv commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Kit now exposes the size and content hash of every client and prerendered file as builder.clientFiles and builder.prerenderedFiles, and returns the sizes of the variants builder.compress writes. adapter-node and adapter-bun read those instead of hashing.

These fields are computed on first access, so an adapter that doesn't need this pays nothing.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Sep 2, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 5e6167e:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/5e6167ebc0ecef5aa484876d7dff80897096b7ca

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

@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5e6167e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@sveltejs/kit Major
@sveltejs/adapter-node Major
@sveltejs/adapter-bun Major

Not sure what this means? Click here to learn what changesets are.

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

@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f7e208aa-8005-4ee4-89e2-630ce4787217

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@svelte-docs-bot

Copy link
Copy Markdown

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.

1 participant