@sveltejs/kit@2.50.2
📦 sveltekitView on GitHub →
🐛 7 fixes🔧 4 symbols
Summary
This patch release focuses on several bug fixes, including improvements to CSS inlining respecting path settings, correct CSP nonce emission, and fixes for prerendering and route matching logic.
🐛 Bug Fixes
- Inlined CSS now correctly respects `paths.assets` and `paths.relative` settings.
- Script CSP nonces are emitted when `unsafe-inline` is present alongside `strict-dynamic`.
- The `browser/dev` module is now correctly re-exported from esm-env.
- Validated arguments are used in batch resolvers for both CSR and SSR.
- CSS inlining now correctly includes components that are conditionally rendered.
- Rest parameters are only matched with matchers when the matcher actually matches.
- Percent-encoded anchors (e.g. `<a href="#sparkles-%E2%9C%A8">`) are handled correctly during prerendering.