Packages

@sveltejs/kit

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

Your version

2.61.0

22 May 2026Where it was published

2.70.4 is the newest release of 2.x.

In short

1 breaking4 new8 fixed

  • Breaking

    The .run() method has been removed from remote queries on both the client and the server. Use await query() directly instead — it now works everywhere

Security

Release note

Minor Changes

  • Breaking

    The .run() method has been removed from remote queries on both the client and the server. Use await query() directly instead — it now works everywhere

  • Remote queries can now be awaited in any context (event handlers, module scope, async callbacks), not just inside reactive contexts. The cache is shared across reactive and non-reactive subscribers, so awaiting a query in an event handler will dedupe with components that have already subscribed to the same query.

  • Live query instances are now themselves async-iterable

  • Add programmatic submit method to form remote function instances

  • Pass form remote function instance into enhance callback

Patch Changes

  • Resolve the app payload without using process.env.NODE_ENV

  • Support exactOptionalPropertyTypes for optional route params

  • Correctly send true value to the server for 'submit' and 'hidden' form fields

  • Avoid build warnings about undefined universal hooks

  • Prefer default error page when failing to decode the URL pathname

  • Disable link prefetching on slow internet connections

  • Allow routes ending with optional parameters next to more specific routes

  • Remove reliance on Content-Length header in deserialize_binary_form, which caused failures when proxies (e.g. Vercel, Azure) strip the header and use chunked transfer encoding

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.