Packages

@sveltejs/kit

3.3.0 · 17 Nov 2026MIT5.1M / weekRepositoryHomepagenpmAtom feed

Your version

2.58.0

23 Apr 2026Where it was published

2.70.4 is the newest release of 2.x.

In short

2 breaking1 new8 fixed

  • Breaking

    Require limit in requested (as originally intended)

  • Breaking

    requested now yields { arg, query } entries instead of the validated argument

Security

Release note

Minor Changes

  • Breaking

    Require limit in requested (as originally intended)

  • RemoteQueryFunction gains an optional third generic parameter Validated (defaulting to Input) that represents the argument type after schema validation/transformation

  • Breaking

    requested now yields { arg, query } entries instead of the validated argument

Patch Changes

  • Allow query().current, .error, .loading, and .ready to work in non-reactive contexts

  • Prevent deep_set crash on nullish nested values

  • Restore correct RemoteFormFields typing for nullable array fields (e.g. when a schema uses .default()), so .as('checkbox') and friends work again

  • Don't warn about removed SSI comments in transformPageChunk

    Server-side include (SSI) directives like <!--#include virtual="..." --> are HTML comments that are replaced by servers such as nginx. Previously, removing them in transformPageChunk would trigger a false positive warning about breaking Svelte's hydration. Since SSI comments always start with <!--# and Svelte's hydration comments never do, they can be safely excluded from the check.

  • Change enhance function return type from void to MaybePromise<void>.

  • Throw an error when resolve is called with an external URL

  • Avoid FOUC for CSR-only pages by loading styles and fonts before CSR starts

  • Reset form result on redirect

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.