# What's new in Svelte: April 2022

DevFeed: [What's new in Svelte: April 2022](<https://devfeed.tech/articles/what-s-new-in-svelte-april-2022-3057.md>)

Original publisher: [Read original article](<https://svelte.dev/blog/whats-new-in-svelte-april-2022>)

Author: Dani Sandoval

Published: 2022-04-01T00:00:00Z

Content type: release

Language: en

Sources: [Svelte blog](<https://devfeed.tech/sources/svelte-blog.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>), [modern web development](<https://devfeed.tech/topics/modern-web-development.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [docs](<https://devfeed.tech/tags/docs.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [svelte](<https://devfeed.tech/tags/svelte.md>), [types](<https://devfeed.tech/tags/types.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

## AI overview

A Svelte and SvelteKit release update covering parameter matchers, endpoint redirects, configuration options, breaking changes, TypeScript support, language tools, and community projects.

## Source excerpt

This month, we felt a shift in the way SvelteKit handles page properties. The last holdout of the use-cases that required fallthrough routes, validating parameter properties, has been replaced by a more specific solution. More on that, and what else is new in Svelte, as we dive in... What's new in SvelteKit Param matchers allow you to check if a url parameter matches before rendering a page - replacing the need for fallthrough routes for this purpose (Docs, #4334) Explicit redirects can now be handled directly from endpoints (#4260) svelte-kit sync (#4182), TypeScript 4.6 (#4190) and Vite 2.9 were released - adding non-blocking dependency optimization and experimental CSS source maps in dev mode as well as a number of bug fixes contributed by the SvelteKit team (#4468) New Config Options outDir fixes path issues in monorepos and other situations where the desired output directory is outside the project directory (Docs, #4176) endpointExtensions prevents files other than .js and .ts files from being treated as endpoints, unless you specify endpointExtensions (Docs, #4197) prerender.default lets you prerender every page without having to write export const prerender = true in every page file (Docs, #4192) Breaking Changes Fallthrough routes have been removed. For migration tips, check out the PR (#4330) tabindex="-1" is only added to <body> during navigation (#4140 and #4184) Adapters are now required to supply a getClientAddress function (#4289) InputProps and OutputProps can now be typed separately in generated Load (#4305) The \$ character is no longer allowed in dynamic parameters (#4334) svelte-kit package has been marked as experimental so changes to it after Kit 1.0 will not be considered breaking (#4164) New across the Svelte ecosystem Svelte: Lots of new types for TypeScript and Svelte plugin users - including style: directives and Svelte Actions (3.46.4 and 3.46.5) Language Tools: Svelte project files are now importable/findable through references without ha