πΏ Minor Changes
- #6213
afbbc4d5bThanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14
#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.
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]:
#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
#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.
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!
1cc5b7890 Thanks @natemoo-re! - Update supported node versions. Minimum versions are now node@14.20.0 or node@16.16.0.#3854 b012ee55 Thanks @bholmesdev! - [astro add] Support adapters and third party packages
#3864 f9ed77bb Thanks @Princesseuh! - Add entrypoints for editor support for Vue and Svelte (destined to be used by our language server)
#3652 7373d61c Thanks @natemoo-re! - Adds support for passing named slots from .astro => framework components.
Inside your components, use the built-in slot API as you normally would.
3d554fdb Thanks @bholmesdev! - Fix PostCSS config not applied to Svelte component by default