@astrojs/svelte
β¨ Major Changes
-
#5901
a342a486cThanks @bluwy! - The fallback Svelte preprocessor will only be applied if a custompreprocessoption is not passed to thesvelte()integration option, or in thesvelte.config.jsfile.To support IDE autocompletion, or if youβre migrating from
@astrojs/sveltev1, you can create asvelte.config.jsfile with:import { vitePreprocess } from '@astrojs/svelte';export default {preprocess: vitePreprocess(),};This file will also be generated by
astro add svelteby default. -
#5782
1f92d64eaThanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0 -
#5685
f6cf92b48Thanks @bluwy! - Upgrade to Vite 4. Please see its migration guide for more information. -
#5685
f6cf92b48Thanks @bluwy! - Simplify Svelte preprocess setup.<style lang="postcss">is now required if using PostCSS inside style tags. -
#5806
7572f7402Thanks @matthewp! - Make astro apeerDependencyof integrationsThis marks
astroas apeerDependencyof several packages that are already gettingmajorversion bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.
π Patch Changes
-
Updated dependencies [
93e633922,16dc36a87,01f3f463b,e2019be6f,05caf445d,49ab4f231,a342a486c,8fb28648f,1f92d64ea,c2180746b,ae8a012a7,cf2de5422,ce5c5dbd4,ec09bb664,665a2c222,259a539d7,f7aa1ec25,4987d6f44,304823811,302e0ef8f,55cea0a9d,dd56c1941,9963c6e4d,be901dc98,f6cf92b48,e818cc046,8c100a6fe,116d8835c,840412128,1f49cddf9,7325df412,16c7d0bfd,a9c292026,2a5786419,4a1cabfe6,a8d3e7924,fa8c131f8,64b8082e7,c4b0cb8bf,23dc9ea96,63a6ceb38,a3a7fc929,52209ca2a,5fd9208d4,5eba34fcc,899214298,3a00ecb3e,5eba34fcc,2303f9514,1ca81c16b,b66d7195c]:- astro@2.0.0
-
β¨ Major Changes
-
#5901
a342a486cThanks @bluwy! - The fallback Svelte preprocessor will only be applied if a custompreprocessoption is not passed to thesvelte()integration option, or in thesvelte.config.jsfile.To support IDE autocompletion, or if youβre migrating from
@astrojs/sveltev1, you can create asvelte.config.jsfile with:import { vitePreprocess } from '@astrojs/svelte';export default {preprocess: vitePreprocess(),};This file will also be generated by
astro add svelteby default.
π Patch Changes
-
β¨ Major Changes
-
#5782
1f92d64eaThanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0 -
#5806
7572f7402Thanks @matthewp! - Make astro a peerDependency of integrationsThis marks
astroas a peerDependency of several packages that are already gettingmajorversion bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.
π Patch Changes
-
β¨ Major Changes
-
04ad44563- > Astro v1.0 is out! Read the official announcement post.No breaking changes. This package is now officially stable and compatible with
astro@1.0.0!
-
πΏ Minor Changes
- #3871
1cc5b7890Thanks @natemoo-re! - Update supportednodeversions. Minimum versions are nownode@14.20.0ornode@16.16.0.
- #3871
π Patch Changes
-
#3854
b012ee55Thanks @bholmesdev! - [astro add] Support adapters and third party packages -
#3864
f9ed77bbThanks @Princesseuh! - Add entrypoints for editor support for Vue and Svelte (destined to be used by our language server)
-
πΏ Minor Changes
-
#3652
7373d61cThanks @natemoo-re! - Adds support for passing named slots from.astro=> framework components.Inside your components, use the built-in
slotAPI as you normally would.
-
π Patch Changes
- #3685
3d554fdbThanks @bholmesdev! - Fix PostCSS config not applied to Svelte component by default
- #3685
π Patch Changes
- #3455
e9a77d86Thanks @natemoo-re! - Update client hydration to check forssrattribute. Requiresastro@^1.0.0-beta.36.
- #3455
π Patch Changes
- #3333
ce6d7982Thanks @FredKSchott! - Fix a vite peer dependency bug
- #3333