Skip to content

chore: standardize remote-function and shared form diagnostics - #17277

Merged
Rich-Harris merged 3 commits into
message-box/clientfrom
message-box/remote-forms
Oct 1, 2026
Merged

Rich-Harris merged 3 commits into
message-box/clientfrom
message-box/remote-forms

Conversation

@elliott-with-the-longest-name-on-github

Copy link
Copy Markdown
Contributor

Moves remote-function API misuse and shared form diagnostics to the @sveltejs/message-box catalog, adding 39 diagnostic codes using the existing server, client, and shared templates. Server-only errors keep their full production text; client/shared errors use URL-only production output.

Keeps validation issues, wire-error payloads, causes, live-query cleanup, and call-site-based form warning deduplication unchanged. Adds unit and async/basics browser coverage for these boundaries, including production presentation and exact protocol responses. No new generator or template contract is introduced.


Stack created with GitHub Stacks CLI • Give Feedback 💬

@elliott-with-the-longest-name-on-github
elliott-with-the-longest-name-on-github added this pull request to stack #17254 September 30, 2026 21:09
@pkg-svelte-dev

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

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 1c22db7:

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

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

@changeset-bot

changeset-bot Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1c22db7

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

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

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

@svelte-docs-bot

Copy link
Copy Markdown

@Rich-Harris
Rich-Harris force-pushed the message-box/remote-forms branch 3 times, most recently from 730a0f7 to 0a24f9c Compare October 1, 2026 11:52
@Rich-Harris
Rich-Harris force-pushed the message-box/remote-forms branch from 0a24f9c to e5e022c Compare October 1, 2026 12:12
@Rich-Harris
Rich-Harris force-pushed the message-box/remote-forms branch from e5e022c to 1eba9c6 Compare October 1, 2026 12:12
@Rich-Harris
Rich-Harris merged commit b88f456 into version-3 Oct 1, 2026
41 checks passed
@Rich-Harris
Rich-Harris deleted the message-box/remote-forms branch October 1, 2026 12:38
Rich-Harris pushed a commit that referenced this pull request Oct 1, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to version-3, this PR
will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`version-3` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `version-3`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @sveltejs/kit@3.0.0-next.32

### Patch Changes

- fix: prevent non-redirect enhanced form results from navigating to
another origin
([`91aae35`](91aae35))

- fix: escape cache-control headers in prerendered HTML
([`d9d55b5`](d9d55b5))

- fix: revert route metadata caching to regenerate missing root-route
types during sync ([#17281](#17281))

- fix: print `builder.log.warn` messages to stderr, as documented
([#17253](#17253))

- fix: prevent path traversal when previewing prerendered pages and data
on Windows
([`538edbf`](538edbf))

- chore: standardize remote-function and shared form diagnostics
([#17277](#17277))

- fix: prevent server-side self-fetch fallbacks from following redirects
([`b11bb87`](b11bb87))

- chore: standardize app template diagnostics
([#17250](#17250))

- chore: standardize Vite plugin, build, prerender and adapter
diagnostics ([#17253](#17253))

- chore: standardize client navigation, preload, snapshot and
enhancement diagnostics
([#17276](#17276))

- chore: standardize configuration, environment and tsconfig diagnostics
([#17251](#17251))

- chore: standardize public API, `$app/*` and deprecated module
diagnostics ([#17265](#17265))

- chore: standardize route discovery, parameter and route export
diagnostics ([#17252](#17252))

- chore: standardize server request, hook and page diagnostics
([#17275](#17275))

- fix: report tsconfig parse errors on Windows
([#17251](#17251))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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