github withastro/astro @astrojs/svelte@2.0.0

latest releases: astro@4.16.13, @astrojs/solid-js@4.4.3, @astrojs/svelte@6.0.0...
22 months ago

Major Changes

  • #5901 a342a486c Thanks @bluwy! - The fallback Svelte preprocessor will only be applied if a custom preprocess option is not passed to the svelte() integration option, or in the svelte.config.js file.

    To support IDE autocompletion, or if you're migrating from @astrojs/svelte v1, you can create a svelte.config.js file with:

    import { vitePreprocess } from '@astrojs/svelte';
    
    export default {
      preprocess: vitePreprocess(),
    };

    This file will also be generated by astro add svelte by default.

  • #5782 1f92d64ea Thanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0

  • #5685 f6cf92b48 Thanks @bluwy! - Upgrade to Vite 4. Please see its migration guide for more information.

  • #5685 f6cf92b48 Thanks @bluwy! - Simplify Svelte preprocess setup. <style lang="postcss"> is now required if using PostCSS inside style tags.

  • #5806 7572f7402 Thanks @matthewp! - Make astro a peerDependency of integrations

    This marks astro as a peerDependency of several packages that are already getting major version 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

Don't miss a new astro release

NewReleases is sending notifications on new releases.