Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
astro@2.5.0
Minor Changes
#7071
e186ecc5e
Thanks @johannesspohr! - Render sibling components in parallel#6850
c6d7ebefd
Thanks @bholmesdev! - Content collections now support data formats including JSON and YAML. You can also create relationships, or references, between collections to pull information from one collection entry into another. Learn more on our updated Content Collections docs.#6991
719002ca5
Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = false
to any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
#7074
73ec6f6c1
Thanks @bluwy! - Integrations can add newclient:
directives through theastro:config:setup
hook'saddClientDirective()
API. To enable this API, the user needs to setexperimental.customClientDirectives
totrue
in their config.The client directive file (e.g.
astro-click-directive/click.js
) should export a function of typeClientDirective
:#6706
763ff2d1e
Thanks @wulinsheng123! - Adds an opt-in way to minify the HTML output.Using the
compressHTML
option Astro will remove whitespace from Astro components. This only applies to components written in.astro
format and happens in the compiler to maximize performance. You can enable with:Compression occurs both in development mode and in the final build.
#7069
c1669c001
Thanks @Princesseuh! - AddedPolymorphic
type helper toastro/types
to easily create polymorphic components:#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:
Patch Changes
#7102
4516d7b22
Thanks @Princesseuh! - Fix image services not being usable on Edge runtimes#7044
914c439bc
Thanks @Steffan153! - Escape closing script tag withdefine:vars
#6851
e9fc2c221
Thanks @timozander! - Added warning message when using unsupported file extensions in pages/#7106
075eee08f
Thanks @ematipico! - Fix middleware for API endpoints that useResponse
, and log a warning for endpoints that don't useResponse
.#7110
fc52681ba
Thanks @delucis! - Fix formatting in theNoMatchingRenderer
error message.#7095
fb84622af
Thanks @bholmesdev! - Generate headingid
s and populate theheadings
property for all Markdoc files#7011
cada10a46
Thanks @TheOtterlord! - Throw an error when unknown experimental keys are present#7091
cd410c5eb
Thanks @MoustaphaDev! - Fix double prepended forward slash in SSR#7108
410428672
Thanks @Princesseuh! - Fix imports using ?raw and ?url not working whenexperimental.assets
is enabledUpdated dependencies [
826e02890
]:@astrojs/cloudflare@6.3.0
Minor Changes
2a1fa09b3
Thanks @johannesspohr! - Addworked
andworker
import condition for worker bundlingPatch Changes
#6991
719002ca5
Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = false
to any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
#7101
2994bc52d
Thanks @bluwy! - Always build edge/worker runtime with Vitewebworker
SSR target#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/markdoc@0.2.0
Minor Changes
#6850
c6d7ebefd
Thanks @bholmesdev! - Content collections now support data formats including JSON and YAML. You can also create relationships, or references, between collections to pull information from one collection entry into another. Learn more on our updated Content Collections docs.#7095
fb84622af
Thanks @bholmesdev! - Generate headingid
s and populate theheadings
property for all Markdoc filesPatch Changes
#7111
6b4fcde37
Thanks @bholmesdev! - Fix: addheadings
to Markdocrender()
return type.#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/preact@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:
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/react@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:
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/solid-js@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:
Patch Changes
#7101
2994bc52d
Thanks @bluwy! - Always build edge/worker runtime with Vitewebworker
SSR target#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@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:
Patch Changes
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/vercel@3.4.0
Minor Changes
c91e837e9
Thanks @bluwy! - Addedge-light
andworker
import condition for worker bundlingPatch Changes
#6876
06ca3702f
Thanks @nblackburn! - Correctly handle analytics id where present#6991
719002ca5
Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = false
to any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
#7101
2994bc52d
Thanks @bluwy! - Add missing esbuild dependency#7101
2994bc52d
Thanks @bluwy! - Always build edge/worker runtime with Vitewebworker
SSR target#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/vue@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:
Patch Changes
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/prism@2.1.2
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/rss@2.4.2
Patch Changes
#7066
a37e67b52
Thanks @TheOtterlord! - Fix pubDate schema tranformation#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/alpinejs@0.2.2
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/deno@4.1.1
Patch Changes
#6991
719002ca5
Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = false
to any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/image@0.16.9
Patch Changes
#6991
719002ca5
Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = false
to any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
Updated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/lit@2.0.2
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/mdx@0.19.2
Patch Changes
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
826e02890
]:@astrojs/netlify@2.2.3
Patch Changes
#6991
719002ca5
Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = false
to any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/node@5.1.4
Patch Changes
#6991
719002ca5
Thanks @MoustaphaDev! - Enable experimental support for hybrid SSR with pre-rendering enabled by defaultastro.config.mjs
Then add
export const prerender = false
to any page or endpoint you want to opt-out of pre-rendering.src/pages/contact.astro
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/partytown@1.2.2
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/prefetch@0.2.2
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/tailwind@3.1.3
Patch Changes
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:@astrojs/turbolinks@0.2.2
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/markdown-component@1.0.4
Patch Changes
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files@astrojs/markdown-remark@2.2.1
Patch Changes
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary filesUpdated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
,826e02890
]: