Skip to content

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

Open
Nic-Polumeyv wants to merge 24 commits into
version-3from
kit-asset-table
Open

Nic-Polumeyv wants to merge 24 commits into
version-3from
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.

Stacked on #17109.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from f9f67b5:

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

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: f9f67b5

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

@Nic-Polumeyv
Nic-Polumeyv removed this pull request from stack #16909 September 15, 2026 00:09
@Nic-Polumeyv
Nic-Polumeyv added this pull request to stack #17110 September 15, 2026 00:09
@Nic-Polumeyv
Nic-Polumeyv removed this pull request from stack #17110 September 17, 2026 19:30
@Nic-Polumeyv
Nic-Polumeyv changed the base branch from compress-once to adapter-node-drop-prebuild September 17, 2026 19:30
@Nic-Polumeyv
Nic-Polumeyv force-pushed the adapter-node-drop-prebuild branch from 23fd551 to e4d272b Compare September 17, 2026 19:32
@Nic-Polumeyv
Nic-Polumeyv added this pull request to stack #17126 September 17, 2026 19:32
@Nic-Polumeyv
Nic-Polumeyv force-pushed the adapter-node-drop-prebuild branch from e4d272b to e39f45e Compare September 18, 2026 22:39
@Nic-Polumeyv
Nic-Polumeyv removed this pull request from stack #17126 September 19, 2026 13:29
Base automatically changed from adapter-node-drop-prebuild to version-3 September 23, 2026 16:56
# Conflicts:
#	documentation/docs/25-build-and-deploy/40-adapter-node.md
#	documentation/docs/60-appendix/35-migrating-to-sveltekit-3.md
#	packages/adapter-node/index.js
#	packages/adapter-node/src/static.js
#	packages/adapter-node/src/static.spec.ts
#	packages/adapter-node/test/apps/basic/test/test.js
#	pnpm-lock.yaml

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants