Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
25 KiB
@astrojs/svelte
2.2.0
Minor Changes
-
#7093
3d525efc9
Thanks @matthewp! - Prevent removal of nested slots within islandsThis 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>
Patch Changes
-
#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
]:- astro@2.5.0
2.1.1
Patch Changes
2.1.0
Minor Changes
- #6213
afbbc4d5b
Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14
Patch Changes
- Updated dependencies [
fec583909
,b087b83fe
,694918a56
,a20610609
,a4a74ab70
,75921b3cd
,afbbc4d5b
]:- astro@2.1.0
2.0.2
Patch Changes
2.0.1
Patch Changes
-
#5478
1c7eef308
Thanks @nemo0! - Update READMEs for consistency -
Updated dependencies [
b4432cd6b
,98a4a914b
,071e1dee7
,322e059d0
,b994f6f35
,12c68343c
]:- astro@2.0.3
2.0.0
Major Changes
-
#5901
a342a486c
Thanks @bluwy! - The fallback Svelte preprocessor will only be applied if a custompreprocess
option is not passed to thesvelte()
integration option, or in thesvelte.config.js
file.To support IDE autocompletion, or if you're migrating from
@astrojs/svelte
v1, you can create asvelte.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 apeerDependency
of integrationsThis marks
astro
as apeerDependency
of several packages that are already gettingmajor
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 [
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
2.0.0-beta.3
See changes in 2.0.0-beta.3
Patch Changes
2.0.0-beta.2
See changes in 2.0.0-beta.2
Major Changes
-
#5901
a342a486c
Thanks @bluwy! - The fallback Svelte preprocessor will only be applied if a custompreprocess
option is not passed to thesvelte()
integration option, or in thesvelte.config.js
file.To support IDE autocompletion, or if you're migrating from
@astrojs/svelte
v1, you can create asvelte.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.
Patch Changes
2.0.0-beta.1
See changes in 2.0.0-beta.1
Major Changes
-
#5782
1f92d64ea
Thanks @Princesseuh! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0 -
#5806
7572f7402
Thanks @matthewp! - Make astro apeerDependency
of integrationsThis marks
astro
as apeerDependency
of several packages that are already gettingmajor
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
2.0.0-beta.0
See changes in 2.0.0-beta.0
Major Changes
1.0.2
Patch Changes
1.0.1
Patch Changes
- #4842
812658ad2
Thanks @bluwy! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
1.0.0
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
!
0.5.1
Patch Changes
0.5.0
Minor Changes
Patch Changes
- #3993
40a45e3ef
Thanks @Princesseuh! - Fix optional props not being recognized properly in the editor
0.4.1
Patch Changes
0.4.0
Minor Changes
- #3914
b48767985
Thanks @ran-dall! - Rollback supportednode@16
version. Minimum versions are nownode@14.20.0
ornode@16.14.0
.
0.3.1
Patch Changes
0.3.0
Minor Changes
- #3871
1cc5b7890
Thanks @natemoo-re! - Update supportednode
versions. Minimum versions are nownode@14.20.0
ornode@16.16.0
.
0.2.1
Patch Changes
- #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)
0.2.0
Minor Changes
-
#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.
0.1.5
Patch Changes
- #3685
3d554fdb
Thanks @bholmesdev! - Fix PostCSS config not applied to Svelte component by default
0.1.4
Patch Changes
- #3455
e9a77d86
Thanks @natemoo-re! - Update client hydration to check forssr
attribute. Requiresastro@^1.0.0-beta.36
.
0.1.3
Patch Changes
- #3333
ce6d7982
Thanks @FredKSchott! - Fix a vite peer dependency bug
0.1.2
Patch Changes
- #3181
ce9a61e9
Thanks @tony-sull! -@astrojs/svelte
integration supports custom svelte compiler options
0.1.1
Patch Changes
815d62f1
Thanks @FredKSchott! - no changes.
0.1.0
Minor Changes
- #2979
9d7a4b59
Thanks @FredKSchott! - Welcome to the Astro v1.0.0 Beta! Read the official announcement for more details.
0.0.2
Patch Changes
- #2885
6b004363
Thanks @bholmesdev! - Add README across Astro built-in integrations
- #2847
3b621f7a
Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site
0.0.2-next.0
Patch Changes
- #2847
3b621f7a
Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site