diff options
Diffstat (limited to '.changeset')
24 files changed, 0 insertions, 268 deletions
diff --git a/.changeset/brown-goats-serve.md b/.changeset/brown-goats-serve.md deleted file mode 100644 index 19574439c..000000000 --- a/.changeset/brown-goats-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix image services not being usable on Edge runtimes diff --git a/.changeset/clever-garlics-relate.md b/.changeset/clever-garlics-relate.md deleted file mode 100644 index 2e213df09..000000000 --- a/.changeset/clever-garlics-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Render sibling components in parallel diff --git a/.changeset/early-eyes-bow.md b/.changeset/early-eyes-bow.md deleted file mode 100644 index a9a268eed..000000000 --- a/.changeset/early-eyes-bow.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': minor -'@astrojs/markdoc': minor ---- - -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](https://docs.astro.build/en/guides/content-collections/). diff --git a/.changeset/eleven-hotels-roll.md b/.changeset/eleven-hotels-roll.md deleted file mode 100644 index dc4eb3df8..000000000 --- a/.changeset/eleven-hotels-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/rss': patch ---- - -Fix pubDate schema tranformation diff --git a/.changeset/fifty-guests-remember.md b/.changeset/fifty-guests-remember.md deleted file mode 100644 index 8adcf8afd..000000000 --- a/.changeset/fifty-guests-remember.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': patch ---- - -Correctly handle analytics id where present diff --git a/.changeset/fresh-baboons-switch.md b/.changeset/fresh-baboons-switch.md deleted file mode 100644 index 3d5a686f5..000000000 --- a/.changeset/fresh-baboons-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Escape closing script tag with `define:vars` diff --git a/.changeset/hip-bottles-hide.md b/.changeset/hip-bottles-hide.md deleted file mode 100644 index d8564ab64..000000000 --- a/.changeset/hip-bottles-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Added warning message when using unsupported file extensions in pages/ diff --git a/.changeset/long-starfishes-raise.md b/.changeset/long-starfishes-raise.md deleted file mode 100644 index e081aedbe..000000000 --- a/.changeset/long-starfishes-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix middleware for API endpoints that use `Response`, and log a warning for endpoints that don't use `Response`. diff --git a/.changeset/mighty-shoes-scream.md b/.changeset/mighty-shoes-scream.md deleted file mode 100644 index adacd6eca..000000000 --- a/.changeset/mighty-shoes-scream.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -'astro': minor -'@astrojs/cloudflare': patch -'@astrojs/netlify': patch -'@astrojs/vercel': patch -'@astrojs/image': patch -'@astrojs/deno': patch -'@astrojs/node': patch ---- - -Enable experimental support for hybrid SSR with pre-rendering enabled by default - -__astro.config.mjs__ - ```js -import { defineConfig } from 'astro/config'; -export defaultdefineConfig({ - output: 'hybrid', - experimental: { - hybridOutput: true, - }, -}) - ``` -Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering. - -__src/pages/contact.astro__ -```astro ---- -export const prerender = false - -if (Astro.request.method === 'POST') { - // handle form submission -} ---- -<form method="POST"> - <input type="text" name="name" /> - <input type="email" name="email" /> - <button type="submit">Submit</button> -</form> -``` diff --git a/.changeset/ninety-sheep-knock.md b/.changeset/ninety-sheep-knock.md deleted file mode 100644 index a8b9a0dbf..000000000 --- a/.changeset/ninety-sheep-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix formatting in the `NoMatchingRenderer` error message. diff --git a/.changeset/plenty-cows-act.md b/.changeset/plenty-cows-act.md deleted file mode 100644 index 7b76a769d..000000000 --- a/.changeset/plenty-cows-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdoc': patch ---- - -Fix: add `headings` to Markdoc `render()` return type. diff --git a/.changeset/pretty-planets-wink.md b/.changeset/pretty-planets-wink.md deleted file mode 100644 index 23208f833..000000000 --- a/.changeset/pretty-planets-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': minor ---- - -Add `edge-light` and `worker` import condition for worker bundling diff --git a/.changeset/pretty-students-try.md b/.changeset/pretty-students-try.md deleted file mode 100644 index 657d6b6d8..000000000 --- a/.changeset/pretty-students-try.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@astrojs/markdoc': minor -'astro': patch ---- - -Generate heading `id`s and populate the `headings` property for all Markdoc files diff --git a/.changeset/quiet-gifts-pay.md b/.changeset/quiet-gifts-pay.md deleted file mode 100644 index 55f304aeb..000000000 --- a/.changeset/quiet-gifts-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': patch ---- - -Add missing esbuild dependency diff --git a/.changeset/red-eggs-speak.md b/.changeset/red-eggs-speak.md deleted file mode 100644 index ce129883d..000000000 --- a/.changeset/red-eggs-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Throw an error when unknown experimental keys are present diff --git a/.changeset/rich-crews-fry.md b/.changeset/rich-crews-fry.md deleted file mode 100644 index 20bd99b68..000000000 --- a/.changeset/rich-crews-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/cloudflare': minor ---- - -Add `worked` and `worker` import condition for worker bundling diff --git a/.changeset/silver-ties-vanish.md b/.changeset/silver-ties-vanish.md deleted file mode 100644 index 37e994e69..000000000 --- a/.changeset/silver-ties-vanish.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/cloudflare': patch -'@astrojs/vercel': patch -'@astrojs/solid-js': patch ---- - -Always build edge/worker runtime with Vite `webworker` SSR target diff --git a/.changeset/swift-moons-drop.md b/.changeset/swift-moons-drop.md deleted file mode 100644 index f181941e5..000000000 --- a/.changeset/swift-moons-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix double prepended forward slash in SSR diff --git a/.changeset/tall-eyes-vanish.md b/.changeset/tall-eyes-vanish.md deleted file mode 100644 index 06b7f6269..000000000 --- a/.changeset/tall-eyes-vanish.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -'astro': minor ---- - -Integrations can add new `client:` directives through the `astro:config:setup` hook's `addClientDirective()` API. To enable this API, the user needs to set `experimental.customClientDirectives` to `true` in their config. - -```js -import { defineConfig } from 'astro/config'; -import onClickDirective from 'astro-click-directive'; - -export default defineConfig({ - integrations: [onClickDirective()], - experimental: { - customClientDirectives: true - } -}); -``` - -```js -export default function onClickDirective() { - return { - hooks: { - 'astro:config:setup': ({ addClientDirective }) => { - addClientDirective({ - name: 'click', - entrypoint: 'astro-click-directive/click.js' - }); - }, - } - } -} -``` - -```astro -<Counter client:click /> -``` - -The client directive file (e.g. `astro-click-directive/click.js`) should export a function of type `ClientDirective`: - -```ts -import type { ClientDirective } from 'astro' - -const clickDirective: ClientDirective = (load, opts, el) => { - window.addEventListener('click', async () => { - const hydrate = await load() - await hydrate() - }, { once: true }) -} - -export default clickDirective -``` diff --git a/.changeset/thirty-squids-relax.md b/.changeset/thirty-squids-relax.md deleted file mode 100644 index 6e6b633d0..000000000 --- a/.changeset/thirty-squids-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix imports using ?raw and ?url not working when `experimental.assets` is enabled diff --git a/.changeset/tiny-snails-dance.md b/.changeset/tiny-snails-dance.md deleted file mode 100644 index ef25e0459..000000000 --- a/.changeset/tiny-snails-dance.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'astro': minor ---- - -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: - -```js -import { defineConfig } from 'astro/config'; - -export default defineConfig({ - compressHTML: true -}); -``` - -Compression occurs both in development mode and in the final build. diff --git a/.changeset/two-carrots-smile.md b/.changeset/two-carrots-smile.md deleted file mode 100644 index d5b046b0b..000000000 --- a/.changeset/two-carrots-smile.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'astro': minor ---- - -Added `Polymorphic` type helper to `astro/types` to easily create polymorphic components: - -```astro ---- -import { HTMLTag, Polymorphic } from 'astro/types'; - -type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }>; - -const { as: Tag, ...props } = Astro.props; ---- - -<Tag {...props} /> -``` diff --git a/.changeset/unlucky-lamps-remember.md b/.changeset/unlucky-lamps-remember.md deleted file mode 100644 index 90d0825bd..000000000 --- a/.changeset/unlucky-lamps-remember.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -'@astrojs/preact': minor -'@astrojs/svelte': minor -'@astrojs/react': minor -'@astrojs/solid-js': minor -'@astrojs/vue': minor -'astro': minor ---- - -Prevent removal of nested slots within islands - -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: - -```astro -<Component> - <div> - <Component client:load> - <span>Nested</span> - </Component> - </div> -</Component> -``` diff --git a/.changeset/young-impalas-boil.md b/.changeset/young-impalas-boil.md deleted file mode 100644 index bfcb25107..000000000 --- a/.changeset/young-impalas-boil.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@astrojs/cloudflare': patch -'@astrojs/turbolinks': patch -'@astrojs/partytown': patch -'@astrojs/alpinejs': patch -'@astrojs/prefetch': patch -'@astrojs/tailwind': patch -'@astrojs/markdoc': patch -'@astrojs/netlify': patch -'@astrojs/preact': patch -'@astrojs/svelte': patch -'@astrojs/vercel': patch -'@astrojs/react': patch -'@astrojs/solid-js': patch -'@astrojs/markdown-component': patch -'@astrojs/deno': patch -'@astrojs/node': patch -'@astrojs/lit': patch -'@astrojs/mdx': patch -'@astrojs/vue': patch -'@astrojs/markdown-remark': patch -'@astrojs/prism': patch -'@astrojs/rss': patch ---- - -Specify `"files"` field to only publish necessary files |