#9510 cf993bc263b58502096f00d383266cd179f331af Thanks @nikhilk! - Filter out Svelte's unknown data prop warnings
#9530 337ca508bdd4fb88db5db7b9b1aee77624a346f7 Thanks @bluwy! - Forwards errors if a Svelte component fails to instantiate in the client
#9479 1baf0b0d3cbd0564954c2366a7278794fad6726e Thanks @sarah11918! - Updates README
e83b5095f Thanks @florian-lefebvre! - Upgrades vite to latest#9285 1aa7fe85c Thanks @bluwy! - When using Svelte 5, slots can now be rendered as snippets
#9366 1b4e91898 Thanks @lilnasy! - Updates NPM package to refer to the stable Astro version instead of a beta.
#9122 1c48ed286 Thanks @bluwy! - Adds Vite 5 support. There are no breaking changes from Astro. Check the Vite migration guide for details of the breaking changes from Vite instead.
#9122 1c48ed286 Thanks @bluwy! - Drops support for Svelte 3 as @sveltejs/vite-plugin-svelte is updated to 3.0.0 which does not support Svelte 3
#9122 1c48ed286 Thanks @bluwy! - Adds Vite 5 support. There are no breaking changes from Astro. Check the Vite migration guide for details of the breaking changes from Vite instead.
#9122 1c48ed286 Thanks @bluwy! - Drops support for Svelte 3 as @sveltejs/vite-plugin-svelte is updated to 3.0.0 which does not support Svelte 3
abf601233, 6201bbe96, cdabf6ef0, 1c48ed286, 37697a2c5, bd0c2e9ae, 0fe3a7ed5, 710be505c, 153a5abb9]:
#8737 6f60da805 Thanks @ematipico! - Add provenance statement when publishing the library from CI
Updated dependencies [6f60da805, d78806dfe, d1c75fe15, aa265d730, 78adbc443, 21e0757ea, 357270f2a]:
#8448 3f49aa97a Thanks @natemoo-re! - Fix potential memory leak when component is unmounted
Updated dependencies [f66053a1e, 0fa483283]:
Updated dependencies [7d95bd9ba, 1947ef7a9, 61ad70fdc, d2f2a11cd, 5126c6a40, 48ff7855b, 923a443cb, 8935b3b46]:
#8188 d0679a666 Thanks @ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
#8179 6011d52d3 Thanks @matthewp! - Astro 3.0 Release Candidate
#8264 1f58a7a1b Thanks @natemoo-re! - Automatically unmount islands when astro:unmount is fired
Updated dependencies [d0679a666, db39206cb, adf9fccfd, 0c7b42dc6, 46c4c0e05, 364d861bd, 2484dc408, 81545197a, 6011d52d3, c2c71d90c, cd2d7e769, 80f1494cd, e45f30293, c0de7a7b0, 65c354969, 3c3100851, 34cb20021, a824863ab, 44f7a2872, 1048aca55, be6bbd2c8, 9e021a91c, 7511a4980, c37632a20, acf652fc1, 42785c7b7, 8450379db, dbc97b121, 7d2f311d4, 2540feedb, ea7ff5177, 68efd4a8b, 7bd1b86f8, 036388f66, 519a1c4e8, 1f58a7a1b, 2ae9d37f0, a8f35777e, 70f34f5a3, 5208a3c8f, 84af8ed9d, f003e7364, ffc9e2d3d, 732111cdc, 0f637c71e, 33b8910cf, 8a5b0c1f3, 148e61d24, e79e3779d, 632579dc2, 3674584e0, 1db4e92c1, e7f872e91, 16f09dfff, 4477bb41c, 55c10d1d5, 3e834293d, 96beb883a, 997a0db8a, 80f1494cd, 0f0625504, e1ae56e72, f32d093a2, f01eb585e, b76c166bd, a87cbe400, 866ed4098, 767eb6866, 32669cd47]:
#8264 1f58a7a1b Thanks @natemoo-re! - Automatically unmount islands when astro:unmount is fired
Updated dependencies [0c7b42dc6, 9e021a91c, 1f58a7a1b, 1db4e92c1]:
adf9fccfd, 582132328, 81545197a, 6011d52d3, be6bbd2c8, 42785c7b7, 95120efbe, 2ae9d37f0, f003e7364, 732111cdc, 33b8910cf, e79e3779d, 179796405, a87cbe400, 767eb6866]:
#7291 0bf2cca5d Thanks @kitschpatrol! - Filter unknown class prop warnings
Updated dependencies [2484dc408, c2c71d90c, 7177f7579, 097a8e4e9, dbc97b121, 2540feedb, ea7ff5177, 68efd4a8b, 0e0fa605d, 5208a3c8f, 8a5b0c1f3, d6b494376, 4477bb41c, 3e834293d, b76c166bd]:
1eae2e3f7 Thanks @Princesseuh! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.1eae2e3f7, 76ddef19c, 9b4f70a62, 3fdf509b2, 2f951cd40, c022a4217, 67becaa58, bc37331d8, dfc2d93e3, 3dc1ca2fa, 1be84dfee, 35f01df79, 3fdf509b2, 78de801f2, 59d6e569f, 7723c4cc9, fb5cd6b56, 631b9c410]:
#7291 0bf2cca5d Thanks @kitschpatrol! - Filter unknown class prop warnings
Updated dependencies [b12c8471f, 7177f7579, fa6b68a77, 097a8e4e9, 1f6497c33, 0e0fa605d, b290f0a99, d6b494376, da6e3da1c]:
6e7f38dd7 Thanks @ghostdevv! - feat: support svelte 4601403744, 869197aaf, 2b7539952, 478cd9d8f, 57e603038, f359d77b1]:
This change introduces a new flag that renderers can add called supportsAstroStaticSlot. What this does is let Astro know that the render is sending <astro-static-slot> as placeholder values for static (non-hydrated) slots which Astro will then remove.
This change is completely backwards compatible, but fixes bugs caused by combining ssr-only and client-side framework components like so:
<Component>
<div>
<Component client:load>
<span>Nested</span>
</Component>
</div>
</Component>
#7104 826e02890 Thanks @bluwy! - Specify "files" field to only publish necessary files
Updated dependencies [4516d7b22, e186ecc5e, c6d7ebefd, 914c439bc, e9fc2c221, 075eee08f, 719002ca5, fc52681ba, fb84622af, cada10a46, cd410c5eb, 73ec6f6c1, 410428672, 763ff2d1e, c1669c001, 3d525efc9]:
afbbc4d5b Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14fec583909, b087b83fe, 694918a56, a20610609, a4a74ab70, 75921b3cd, afbbc4d5b]:
#5478 1c7eef308 Thanks @nemo0! - Update READMEs for consistency
Updated dependencies [b4432cd6b, 98a4a914b, 071e1dee7, 322e059d0, b994f6f35, 12c68343c]:
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]:
f32bf07c1`](https://github.com/withastro/astro/commit/f32bf07c19) Thanks [@delucis](https://github.com/delucis)! - Improve README
- Updated dependencies [[`4987d6f44`](https://github.com/withastro/astro/commit/4987d6f44c), [`304823811`](https://github.com/withastro/astro/commit/304823811e), [`7325df412`](https://github.com/withastro/astro/commit/7325df4121), [`a8d3e7924`](https://github.com/withastro/astro/commit/a8d3e79246), [`5fd9208d4`](https://github.com/withastro/astro/commit/5fd9208d44)]:
- astro@2.0.0-beta.4
a342a486c`](https://github.com/withastro/astro/commit/a342a486c2) Thanks [@bluwy](https://github.com/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:
```js
import { vitePreprocess } from '@astrojs/svelte';
export default {
preprocess: vitePreprocess(),
};
```
This file will also be generated by `astro add svelte` by default.
### Patch Changes
- Updated dependencies [[`16dc36a87`](https://github.com/withastro/astro/commit/16dc36a870), [`05caf445d`](https://github.com/withastro/astro/commit/05caf445d4), [`a342a486c`](https://github.com/withastro/astro/commit/a342a486c2), [`ce5c5dbd4`](https://github.com/withastro/astro/commit/ce5c5dbd46), [`be901dc98`](https://github.com/withastro/astro/commit/be901dc98c), [`e818cc046`](https://github.com/withastro/astro/commit/e818cc0466), [`8c100a6fe`](https://github.com/withastro/astro/commit/8c100a6fe6), [`64b8082e7`](https://github.com/withastro/astro/commit/64b8082e77), [`899214298`](https://github.com/withastro/astro/commit/899214298c), [`3a00ecb3e`](https://github.com/withastro/astro/commit/3a00ecb3eb), [`1ca81c16b`](https://github.com/withastro/astro/commit/1ca81c16b8), [`b66d7195c`](https://github.com/withastro/astro/commit/b66d7195c1)]:
- astro@2.0.0-beta.3
1f92d64ea`](https://github.com/withastro/astro/commit/1f92d64ea3) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0
- [#5806](https://github.com/withastro/astro/pull/5806) [`7572f7402`](https://github.com/withastro/astro/commit/7572f74022) Thanks [@matthewp](https://github.com/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
- Updated dependencies [[`01f3f463b`](https://github.com/withastro/astro/commit/01f3f463bf), [`1f92d64ea`](https://github.com/withastro/astro/commit/1f92d64ea3), [`c2180746b`](https://github.com/withastro/astro/commit/c2180746b4), [`ae8a012a7`](https://github.com/withastro/astro/commit/ae8a012a7b), [`cf2de5422`](https://github.com/withastro/astro/commit/cf2de5422c), [`ec09bb664`](https://github.com/withastro/astro/commit/ec09bb6642), [`665a2c222`](https://github.com/withastro/astro/commit/665a2c2225), [`f7aa1ec25`](https://github.com/withastro/astro/commit/f7aa1ec25d), [`302e0ef8f`](https://github.com/withastro/astro/commit/302e0ef8f5), [`840412128`](https://github.com/withastro/astro/commit/840412128b), [`1f49cddf9`](https://github.com/withastro/astro/commit/1f49cddf9e), [`4a1cabfe6`](https://github.com/withastro/astro/commit/4a1cabfe6b), [`c4b0cb8bf`](https://github.com/withastro/astro/commit/c4b0cb8bf2), [`23dc9ea96`](https://github.com/withastro/astro/commit/23dc9ea96a), [`63a6ceb38`](https://github.com/withastro/astro/commit/63a6ceb38d), [`52209ca2a`](https://github.com/withastro/astro/commit/52209ca2ad), [`2303f9514`](https://github.com/withastro/astro/commit/2303f95142)]:
- astro@2.0.0-beta.2
f6cf92b48`](https://github.com/withastro/astro/commit/f6cf92b483) Thanks [@bluwy](https://github.com/bluwy)! - Upgrade to Vite 4. Please see its [migration guide](https://vitejs.dev/guide/migration.html) for more information.
- [#5685](https://github.com/withastro/astro/pull/5685) [`f6cf92b48`](https://github.com/withastro/astro/commit/f6cf92b483) Thanks [@bluwy](https://github.com/bluwy)! - Simplify Svelte preprocess setup. `