From 5f13e7e0dcf256fc5c5b0ac7ca10c02e44f728b3 Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Tue, 5 Dec 2023 05:39:16 -0800 Subject: [PATCH] [ci] release (#9307) Co-authored-by: github-actions[bot] Co-authored-by: Sarah Rainsberger --- .changeset/angry-swans-fry.md | 5 - .changeset/beige-jokes-report.md | 9 - .changeset/big-cooks-notice.md | 6 - .changeset/brown-jars-lick.md | 5 - .changeset/calm-baboons-watch.md | 5 - .changeset/chatty-poems-doubt.md | 5 - .changeset/clever-beds-notice.md | 9 - .changeset/curvy-sheep-lick.md | 6 - .changeset/famous-eels-trade.md | 5 - .changeset/fluffy-dolls-sleep.md | 26 --- .changeset/gentle-cobras-wash.md | 17 -- .changeset/giant-snails-perform.md | 5 - .changeset/gold-grapes-jump.md | 5 - .changeset/gorgeous-squids-walk.md | 5 - .changeset/green-impalas-fetch.md | 5 - .changeset/green-parrots-brake.md | 10 -- .changeset/grumpy-seas-switch.md | 5 - .changeset/grumpy-turtles-tickle.md | 5 - .changeset/khaki-fans-sell.md | 5 - .changeset/lemon-crews-juggle.md | 9 - .changeset/light-ties-poke.md | 8 - .changeset/little-beers-sit.md | 5 - .changeset/mighty-rats-flow.md | 5 - .changeset/modern-candles-sip.md | 5 - .changeset/nervous-beans-peel.md | 6 - .changeset/ninety-weeks-juggle.md | 5 - .changeset/odd-rivers-happen.md | 5 - .changeset/orange-candles-sip.md | 9 - .changeset/plenty-candles-help.md | 21 --- .changeset/pre.json | 82 --------- .changeset/rude-hairs-whisper.md | 5 - .changeset/sharp-starfishes-compete.md | 20 --- .changeset/shiny-trees-sip.md | 5 - .changeset/short-deers-whisper.md | 5 - .changeset/silent-phones-divide.md | 7 - .changeset/slimy-jeans-peel.md | 5 - .changeset/slow-hornets-try.md | 5 - .changeset/smart-cats-camp.md | 5 - .changeset/smooth-gifts-train.md | 5 - .changeset/sour-games-burn.md | 13 -- .changeset/spicy-starfishes-shake.md | 5 - .changeset/tasty-dryers-bathe.md | 27 --- .changeset/tasty-parents-own.md | 5 - .changeset/tender-eagles-learn.md | 7 - .changeset/three-chairs-sip.md | 5 - .changeset/tricky-dragons-explain.md | 5 - .changeset/weak-wolves-bow.md | 5 - .changeset/wicked-sloths-develop.md | 11 -- .changeset/wild-apricots-rescue.md | 5 - .changeset/wild-boats-wait.md | 5 - examples/basics/package.json | 2 +- examples/blog/package.json | 6 +- examples/component/package.json | 2 +- examples/framework-alpine/package.json | 2 +- examples/framework-lit/package.json | 2 +- examples/framework-multiple/package.json | 8 +- examples/framework-preact/package.json | 2 +- examples/framework-react/package.json | 4 +- examples/framework-solid/package.json | 2 +- examples/framework-svelte/package.json | 4 +- examples/framework-vue/package.json | 4 +- examples/hackernews/package.json | 4 +- examples/integration/package.json | 2 +- examples/middleware/package.json | 4 +- examples/minimal/package.json | 2 +- examples/non-html-pages/package.json | 2 +- examples/portfolio/package.json | 2 +- examples/ssr/package.json | 6 +- examples/view-transitions/package.json | 6 +- examples/with-markdoc/package.json | 4 +- examples/with-markdown-plugins/package.json | 4 +- examples/with-markdown-shiki/package.json | 2 +- examples/with-mdx/package.json | 4 +- examples/with-nanostores/package.json | 2 +- examples/with-tailwindcss/package.json | 6 +- examples/with-vitest/package.json | 2 +- packages/astro-rss/CHANGELOG.md | 6 + packages/astro-rss/package.json | 2 +- packages/astro/CHANGELOG.md | 187 ++++++++++++++++++++ packages/astro/package.json | 2 +- packages/create-astro/CHANGELOG.md | 6 + packages/create-astro/package.json | 2 +- packages/integrations/markdoc/CHANGELOG.md | 6 + packages/integrations/markdoc/package.json | 2 +- packages/integrations/mdx/CHANGELOG.md | 13 ++ packages/integrations/mdx/package.json | 2 +- packages/integrations/node/CHANGELOG.md | 6 + packages/integrations/node/package.json | 2 +- packages/integrations/react/CHANGELOG.md | 6 + packages/integrations/react/package.json | 2 +- packages/integrations/svelte/CHANGELOG.md | 8 + packages/integrations/svelte/package.json | 2 +- packages/integrations/vercel/CHANGELOG.md | 10 ++ packages/integrations/vercel/package.json | 2 +- packages/integrations/vue/CHANGELOG.md | 6 + packages/integrations/vue/package.json | 2 +- packages/markdown/remark/CHANGELOG.md | 14 ++ packages/markdown/remark/package.json | 2 +- packages/upgrade/CHANGELOG.md | 28 +++ packages/upgrade/package.json | 2 +- pnpm-lock.yaml | 90 +++++----- 101 files changed, 398 insertions(+), 560 deletions(-) delete mode 100644 .changeset/angry-swans-fry.md delete mode 100644 .changeset/beige-jokes-report.md delete mode 100644 .changeset/big-cooks-notice.md delete mode 100644 .changeset/brown-jars-lick.md delete mode 100644 .changeset/calm-baboons-watch.md delete mode 100644 .changeset/chatty-poems-doubt.md delete mode 100644 .changeset/clever-beds-notice.md delete mode 100644 .changeset/curvy-sheep-lick.md delete mode 100644 .changeset/famous-eels-trade.md delete mode 100644 .changeset/fluffy-dolls-sleep.md delete mode 100644 .changeset/gentle-cobras-wash.md delete mode 100644 .changeset/giant-snails-perform.md delete mode 100644 .changeset/gold-grapes-jump.md delete mode 100644 .changeset/gorgeous-squids-walk.md delete mode 100644 .changeset/green-impalas-fetch.md delete mode 100644 .changeset/green-parrots-brake.md delete mode 100644 .changeset/grumpy-seas-switch.md delete mode 100644 .changeset/grumpy-turtles-tickle.md delete mode 100644 .changeset/khaki-fans-sell.md delete mode 100644 .changeset/lemon-crews-juggle.md delete mode 100644 .changeset/light-ties-poke.md delete mode 100644 .changeset/little-beers-sit.md delete mode 100644 .changeset/mighty-rats-flow.md delete mode 100644 .changeset/modern-candles-sip.md delete mode 100644 .changeset/nervous-beans-peel.md delete mode 100644 .changeset/ninety-weeks-juggle.md delete mode 100644 .changeset/odd-rivers-happen.md delete mode 100644 .changeset/orange-candles-sip.md delete mode 100644 .changeset/plenty-candles-help.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/rude-hairs-whisper.md delete mode 100644 .changeset/sharp-starfishes-compete.md delete mode 100644 .changeset/shiny-trees-sip.md delete mode 100644 .changeset/short-deers-whisper.md delete mode 100644 .changeset/silent-phones-divide.md delete mode 100644 .changeset/slimy-jeans-peel.md delete mode 100644 .changeset/slow-hornets-try.md delete mode 100644 .changeset/smart-cats-camp.md delete mode 100644 .changeset/smooth-gifts-train.md delete mode 100644 .changeset/sour-games-burn.md delete mode 100644 .changeset/spicy-starfishes-shake.md delete mode 100644 .changeset/tasty-dryers-bathe.md delete mode 100644 .changeset/tasty-parents-own.md delete mode 100644 .changeset/tender-eagles-learn.md delete mode 100644 .changeset/three-chairs-sip.md delete mode 100644 .changeset/tricky-dragons-explain.md delete mode 100644 .changeset/weak-wolves-bow.md delete mode 100644 .changeset/wicked-sloths-develop.md delete mode 100644 .changeset/wild-apricots-rescue.md delete mode 100644 .changeset/wild-boats-wait.md diff --git a/.changeset/angry-swans-fry.md b/.changeset/angry-swans-fry.md deleted file mode 100644 index ce5c513d5f..0000000000 --- a/.changeset/angry-swans-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Redesign Dev Overlay main screen to show more information, such as the coolest integrations, your current Astro version and more. diff --git a/.changeset/beige-jokes-report.md b/.changeset/beige-jokes-report.md deleted file mode 100644 index ecb97328b6..0000000000 --- a/.changeset/beige-jokes-report.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@astrojs/mdx': major -'@astrojs/markdown-remark': major -'astro': major ---- - -Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions. - -**Potentially breaking change:** The default value of `markdown.remarkRehype.footnoteBackLabel` is changed from `"Back to content"` to `"Back to reference 1"`. See the `mdast-util-to-hast` [commit](https://github.com/syntax-tree/mdast-util-to-hast/commit/56c88e45690be138fad9f0bf367b939d09816863) for more information. diff --git a/.changeset/big-cooks-notice.md b/.changeset/big-cooks-notice.md deleted file mode 100644 index 9a0586c73a..0000000000 --- a/.changeset/big-cooks-notice.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@astrojs/vercel': major -'@astrojs/node': major ---- - -The internals of the integration have been updated to support Astro 4.0. Make sure to upgrade your Astro version as Astro 3.0 is no longer supported. diff --git a/.changeset/brown-jars-lick.md b/.changeset/brown-jars-lick.md deleted file mode 100644 index 0d824e445f..0000000000 --- a/.changeset/brown-jars-lick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes an issue where links with the same pathname as the current page, but different search params, were not prefetched. diff --git a/.changeset/calm-baboons-watch.md b/.changeset/calm-baboons-watch.md deleted file mode 100644 index a0e8259e96..0000000000 --- a/.changeset/calm-baboons-watch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Update CLI logging experience diff --git a/.changeset/chatty-poems-doubt.md b/.changeset/chatty-poems-doubt.md deleted file mode 100644 index 32bc05c9d5..0000000000 --- a/.changeset/chatty-poems-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes an issue where html annotations relevant only to the dev server were included in the production build. diff --git a/.changeset/clever-beds-notice.md b/.changeset/clever-beds-notice.md deleted file mode 100644 index 6be65bde11..0000000000 --- a/.changeset/clever-beds-notice.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'astro': major ---- - -Removes support for returning simple objects from endpoints (deprecated since Astro 3.0). You should return a `Response` instead. - -`ResponseWithEncoding` is also removed. You can refactor the code to return a response with an array buffer instead, which is encoding agnostic. - -The types for middlewares have also been revised. To type a middleware function, you should now use `MiddlewareHandler` instead of `MiddlewareResponseHandler`. If you used `defineMiddleware()` to type the function, no changes are needed. diff --git a/.changeset/curvy-sheep-lick.md b/.changeset/curvy-sheep-lick.md deleted file mode 100644 index d369d129d4..0000000000 --- a/.changeset/curvy-sheep-lick.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': patch ---- - -Consistently emit fallback routes in the correct folders, and emit routes that -consider `trailingSlash` diff --git a/.changeset/famous-eels-trade.md b/.changeset/famous-eels-trade.md deleted file mode 100644 index 2c3d248987..0000000000 --- a/.changeset/famous-eels-trade.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Ensure the dev-overlay-window is anchored to the bottom diff --git a/.changeset/fluffy-dolls-sleep.md b/.changeset/fluffy-dolls-sleep.md deleted file mode 100644 index 02b698f1e4..0000000000 --- a/.changeset/fluffy-dolls-sleep.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'astro': minor ---- - -Adds a new way to configure the `i18n.locales` array. - -Developers can now assign a custom URL path prefix that can span multiple language codes: - -```js -// astro.config.mjs -export default defineConfig({ - experimental: { - i18n: { - defaultLocale: "english", - locales: [ - "de", - { path: "english", codes: ["en", "en-US"]}, - "fr", - ], - routingStrategy: "prefix-always" - } - } -}) -``` - -With the above configuration, the URL prefix of the default locale will be `/english/`. When computing `Astro.preferredLocale`, Astro will use the `codes`. diff --git a/.changeset/gentle-cobras-wash.md b/.changeset/gentle-cobras-wash.md deleted file mode 100644 index 1a9245524a..0000000000 --- a/.changeset/gentle-cobras-wash.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'astro': minor ---- - -Adds the `astro preferences` command to manage user preferences. User preferences are specific to individual Astro users, unlike the `astro.config.mjs` file which changes behavior for everyone working on a project. - -User preferences are scoped to the current project by default, stored in a local `.astro/settings.json` file. Using the `--global` flag, user preferences can also be applied to every Astro project on the current machine. Global user preferences are stored in an operating system-specific location. - -```sh -# Disable the dev overlay for the current user in the current project -npm run astro preferences disable devOverlay -# Disable the dev overlay for the current user in all Astro projects on this machine -npm run astro preferences --global disable devOverlay - -# Check if the dev overlay is enabled for the current user -npm run astro preferences list devOverlay -``` diff --git a/.changeset/giant-snails-perform.md b/.changeset/giant-snails-perform.md deleted file mode 100644 index e44a0b7306..0000000000 --- a/.changeset/giant-snails-perform.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': major ---- - -Removes deprecated `analytics` option. Use the `webAnalytics` option instead. diff --git a/.changeset/gold-grapes-jump.md b/.changeset/gold-grapes-jump.md deleted file mode 100644 index d3da8b72e9..0000000000 --- a/.changeset/gold-grapes-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Reworks Vite's logger to use Astro's logger to correctly log HMR messages diff --git a/.changeset/gorgeous-squids-walk.md b/.changeset/gorgeous-squids-walk.md deleted file mode 100644 index 79599013c0..0000000000 --- a/.changeset/gorgeous-squids-walk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improves display for `astro preferences list` command diff --git a/.changeset/green-impalas-fetch.md b/.changeset/green-impalas-fetch.md deleted file mode 100644 index 02b77375fd..0000000000 --- a/.changeset/green-impalas-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix SVG icons not showing properly in the extended dropdown menu of the dev overlay diff --git a/.changeset/green-parrots-brake.md b/.changeset/green-parrots-brake.md deleted file mode 100644 index f2d9db4be5..0000000000 --- a/.changeset/green-parrots-brake.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'astro': major ---- - -Removes additional deprecated APIs: - -- The Astro preview server now returns a 404 status instead of a 301 redirect when requesting assets from the public directory without a base. -- Removes special handling when referencing the `astro/client-image` type. You should use the `astro/client` type instead. -- Removes deprecated built-in `rss` support in `getStaticPaths`. You should use `@astrojs/rss` instead. -- Removes deprecated `Astro.request.params` support. You should use `Astro.params` instead. diff --git a/.changeset/grumpy-seas-switch.md b/.changeset/grumpy-seas-switch.md deleted file mode 100644 index 85cf0e22fe..0000000000 --- a/.changeset/grumpy-seas-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve high contrast mode with the Dev Overlay diff --git a/.changeset/grumpy-turtles-tickle.md b/.changeset/grumpy-turtles-tickle.md deleted file mode 100644 index 75f8f0eec3..0000000000 --- a/.changeset/grumpy-turtles-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improve highlight/tooltip positioning when in fixed positions diff --git a/.changeset/khaki-fans-sell.md b/.changeset/khaki-fans-sell.md deleted file mode 100644 index f6d84bdaed..0000000000 --- a/.changeset/khaki-fans-sell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdown-remark': patch ---- - -Fixes `RemarkRehype` type's `handler` and `handlers` properties diff --git a/.changeset/lemon-crews-juggle.md b/.changeset/lemon-crews-juggle.md deleted file mode 100644 index d838bdbaad..0000000000 --- a/.changeset/lemon-crews-juggle.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'astro': major ---- - -Renames Dev Overlay to Dev Toolbar - -The previously named experimental Dev Overlay is now known as the Astro Dev Toolbar. Plugins have been renamed as Toolbar Apps. This updates our references to reflect. - -To not break existing APIs, aliases for the Toolbar-based names have been created. The previous API names will continue to function but will be deprecated in the future. All documentation has been updated to reflect Toolbar-based names. diff --git a/.changeset/light-ties-poke.md b/.changeset/light-ties-poke.md deleted file mode 100644 index 97eceace43..0000000000 --- a/.changeset/light-ties-poke.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@astrojs/svelte': major -'@astrojs/react': patch -'@astrojs/vue': patch -'astro': major ---- - -Adds Vite 5 support. There are no breaking changes from Astro. Check the [Vite migration guide](https://vitejs.dev/guide/migration.html) for details of the breaking changes from Vite instead. diff --git a/.changeset/little-beers-sit.md b/.changeset/little-beers-sit.md deleted file mode 100644 index 97dd638738..0000000000 --- a/.changeset/little-beers-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdoc': minor ---- - -Removes internal `propagators` handling for Astro 3 diff --git a/.changeset/mighty-rats-flow.md b/.changeset/mighty-rats-flow.md deleted file mode 100644 index 8fbec88baf..0000000000 --- a/.changeset/mighty-rats-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Update the look and feel of the dev overlay diff --git a/.changeset/modern-candles-sip.md b/.changeset/modern-candles-sip.md deleted file mode 100644 index 31e75c4125..0000000000 --- a/.changeset/modern-candles-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-astro': patch ---- - -Stop clearing the console on start diff --git a/.changeset/nervous-beans-peel.md b/.changeset/nervous-beans-peel.md deleted file mode 100644 index aaf464db0b..0000000000 --- a/.changeset/nervous-beans-peel.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'astro': minor ---- - -Improves consistency between navigations with and without ``. See [#9279](https://github.com/withastro/astro/pull/9279) for more details. - diff --git a/.changeset/ninety-weeks-juggle.md b/.changeset/ninety-weeks-juggle.md deleted file mode 100644 index a78fda8467..0000000000 --- a/.changeset/ninety-weeks-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Adds properties of the submit button (name, value) to the form data of a view transition diff --git a/.changeset/odd-rivers-happen.md b/.changeset/odd-rivers-happen.md deleted file mode 100644 index 2490084bc2..0000000000 --- a/.changeset/odd-rivers-happen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': major ---- - -Removes the opt-in `handleForms` property for ``. Form submissions are now handled by default and can be disabled by setting `data-astro-reload` on relevant `
` elements. diff --git a/.changeset/orange-candles-sip.md b/.changeset/orange-candles-sip.md deleted file mode 100644 index 442e386b74..0000000000 --- a/.changeset/orange-candles-sip.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'astro': patch ---- - -Adds new accessibility audits to the Dev Toolbar's built-in Audits app. - -The audits Astro performs are non-exhaustive and only capable of detecting a handful of common accessibility issues. Please take care to perform a thorough, **manual** audit of your site to ensure compliance with the [Web Content Accessibility Guidelines (WCAG) international standard](https://www.w3.org/WAI/standards-guidelines/wcag/) _before_ publishing your site. - -🧡 Huge thanks to the [Svelte](https://github.com/sveltejs/svelte) team for providing the basis of these accessibility audits! diff --git a/.changeset/plenty-candles-help.md b/.changeset/plenty-candles-help.md deleted file mode 100644 index e7ddf8cb4f..0000000000 --- a/.changeset/plenty-candles-help.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'astro': major ---- - -Removes support for Shiki custom language's `path` property. The language JSON file should be imported and passed to the option instead. - -```diff -// astro.config.js -+ import customLang from './custom.tmLanguage.json' - -export default defineConfig({ - markdown: { - shikiConfig: { - langs: [ -- { path: './custom.tmLanguage.json' }, -+ customLang, - ], - }, - }, -}) -``` diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 49f4fbbf39..0000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "mode": "exit", - "tag": "beta", - "initialVersions": { - "astro": "3.5.5", - "@astrojs/prism": "3.0.0", - "@astrojs/rss": "3.0.0", - "create-astro": "4.5.1", - "@astrojs/alpinejs": "0.3.1", - "@astrojs/cloudflare": "0.0.0", - "@astrojs/lit": "3.0.3", - "@astrojs/markdoc": "0.7.2", - "@astrojs/mdx": "1.1.5", - "@astrojs/netlify": "0.0.0", - "@astrojs/node": "6.0.4", - "@astrojs/partytown": "2.0.2", - "@astrojs/preact": "3.0.1", - "@astrojs/react": "3.0.5", - "@astrojs/sitemap": "3.0.3", - "@astrojs/solid-js": "3.0.2", - "@astrojs/svelte": "4.0.4", - "@astrojs/tailwind": "5.0.2", - "@astrojs/vercel": "5.2.0", - "@astrojs/vue": "3.0.4", - "@astrojs/internal-helpers": "0.2.1", - "@astrojs/markdown-remark": "3.5.0", - "@astrojs/telemetry": "3.0.4", - "@astrojs/underscore-redirects": "0.3.3", - "@astrojs/upgrade": "0.0.1" - }, - "changesets": [ - "angry-swans-fry", - "beige-jokes-report", - "big-cooks-notice", - "brown-jars-lick", - "calm-baboons-watch", - "chatty-poems-doubt", - "clever-beds-notice", - "curvy-sheep-lick", - "famous-eels-trade", - "fluffy-dolls-sleep", - "gentle-cobras-wash", - "giant-snails-perform", - "gold-grapes-jump", - "gorgeous-squids-walk", - "green-impalas-fetch", - "green-parrots-brake", - "grumpy-seas-switch", - "grumpy-turtles-tickle", - "khaki-fans-sell", - "lemon-crews-juggle", - "light-ties-poke", - "little-beers-sit", - "mighty-rats-flow", - "modern-candles-sip", - "nervous-beans-peel", - "ninety-weeks-juggle", - "odd-rivers-happen", - "orange-candles-sip", - "plenty-candles-help", - "rude-hairs-whisper", - "sharp-starfishes-compete", - "shiny-trees-sip", - "short-deers-whisper", - "silent-phones-divide", - "slimy-jeans-peel", - "slow-hornets-try", - "smart-cats-camp", - "smooth-gifts-train", - "sour-games-burn", - "spicy-starfishes-shake", - "tasty-dryers-bathe", - "tasty-parents-own", - "tender-eagles-learn", - "three-chairs-sip", - "tricky-dragons-explain", - "weak-wolves-bow", - "wicked-sloths-develop", - "wild-apricots-rescue", - "wild-boats-wait" - ] -} diff --git a/.changeset/rude-hairs-whisper.md b/.changeset/rude-hairs-whisper.md deleted file mode 100644 index a9d7baa4d4..0000000000 --- a/.changeset/rude-hairs-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Renames the `entryPoint` property of the `injectRoute` integrations API to `entrypoint` for consistency. A warning will be shown prompting you to update your code when using the old name. diff --git a/.changeset/sharp-starfishes-compete.md b/.changeset/sharp-starfishes-compete.md deleted file mode 100644 index 0eb4f413bc..0000000000 --- a/.changeset/sharp-starfishes-compete.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'astro': major ---- - -This change only affects maintainers of third-party adapters. In the Integration API, the `app.render()` method of the `App` class has been simplified. - -Instead of two optional arguments, it now takes a single optional argument that is an object with two optional properties: `routeData` and `locals`. -```diff - app.render(request) - -- app.render(request, routeData) -+ app.render(request, { routeData }) - -- app.render(request, routeData, locals) -+ app.render(request, { routeData, locals }) - -- app.render(request, undefined, locals) -+ app.render(request, { locals }) -``` -The current signature is deprecated but will continue to function until next major version. diff --git a/.changeset/shiny-trees-sip.md b/.changeset/shiny-trees-sip.md deleted file mode 100644 index 991c7aa928..0000000000 --- a/.changeset/shiny-trees-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/markdown-remark': major ---- - -Removes deprecated APIs. All Astro packages had been refactored to not use these APIs. diff --git a/.changeset/short-deers-whisper.md b/.changeset/short-deers-whisper.md deleted file mode 100644 index 03e0f44806..0000000000 --- a/.changeset/short-deers-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Removes vendored Vite's `importMeta.d.ts` file in favour of Vite 5's new `vite/types/import-meta.d.ts` export diff --git a/.changeset/silent-phones-divide.md b/.changeset/silent-phones-divide.md deleted file mode 100644 index afd58853a8..0000000000 --- a/.changeset/silent-phones-divide.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Remove aria-query package - -This is another CJS-only package that breaks usage. diff --git a/.changeset/slimy-jeans-peel.md b/.changeset/slimy-jeans-peel.md deleted file mode 100644 index c4ba769e30..0000000000 --- a/.changeset/slimy-jeans-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/vercel': major ---- - -Removes the deprecated `@astrojs/vercel/edge` export. You should use `@astrojs/vercel/serverless` instead with the `edgeMiddleware` option. diff --git a/.changeset/slow-hornets-try.md b/.changeset/slow-hornets-try.md deleted file mode 100644 index 970e7f4910..0000000000 --- a/.changeset/slow-hornets-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/rss': major ---- - -Removes the `drafts` option as the feature is deprecated in Astro 3.0 diff --git a/.changeset/smart-cats-camp.md b/.changeset/smart-cats-camp.md deleted file mode 100644 index 96f290362b..0000000000 --- a/.changeset/smart-cats-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fix routing prefixes when `prefixDefaultLocale` is `true` diff --git a/.changeset/smooth-gifts-train.md b/.changeset/smooth-gifts-train.md deleted file mode 100644 index 95ebda97e1..0000000000 --- a/.changeset/smooth-gifts-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Exports type for Dev Toolbar App under correct name diff --git a/.changeset/sour-games-burn.md b/.changeset/sour-games-burn.md deleted file mode 100644 index f0d596603d..0000000000 --- a/.changeset/sour-games-burn.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"astro": patch ---- - -Refactors virtual modules exports. This should not break your project unless you import Astro's internal modules, including: - -- `astro/middleware/namespace` -- `astro/transitions` -- `astro/transitions/router` -- `astro/transitions/events` -- `astro/transitions/types` -- `astro/prefetch` -- `astro/i18n` diff --git a/.changeset/spicy-starfishes-shake.md b/.changeset/spicy-starfishes-shake.md deleted file mode 100644 index a283f4d379..0000000000 --- a/.changeset/spicy-starfishes-shake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Ensure overlay x-ray z-index is higher than the island diff --git a/.changeset/tasty-dryers-bathe.md b/.changeset/tasty-dryers-bathe.md deleted file mode 100644 index 438597e13b..0000000000 --- a/.changeset/tasty-dryers-bathe.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'@astrojs/upgrade': minor ---- - -Initial release! - -`@astrojs/upgrade` is an automated command-line tool for upgrading Astro and your official Astro integrations together. - -Inside of your existing `astro` project, run the following command to install the `latest` version of your integrations. - -**With NPM:** - -```bash -npx @astrojs/upgrade -``` - -**With Yarn:** - -```bash -yarn dlx @astrojs/upgrade -``` - -**With PNPM:** - -```bash -pnpm dlx @astrojs/upgrade -``` diff --git a/.changeset/tasty-parents-own.md b/.changeset/tasty-parents-own.md deleted file mode 100644 index 3ab6ca510b..0000000000 --- a/.changeset/tasty-parents-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Adds instructions on how to hide the dev overlay diff --git a/.changeset/tender-eagles-learn.md b/.changeset/tender-eagles-learn.md deleted file mode 100644 index b1f98c2f6c..0000000000 --- a/.changeset/tender-eagles-learn.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Removes the 'a11y-role-has-required-aria-props' audit rule - -This audit rule depends on a CommonJS module. To prevent blocking the 4.0 release the rule is being removed temporarily. diff --git a/.changeset/three-chairs-sip.md b/.changeset/three-chairs-sip.md deleted file mode 100644 index 68bdc0a614..0000000000 --- a/.changeset/three-chairs-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Update error log formatting diff --git a/.changeset/tricky-dragons-explain.md b/.changeset/tricky-dragons-explain.md deleted file mode 100644 index 78ecb1e957..0000000000 --- a/.changeset/tricky-dragons-explain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a number of small user experience bugs with the dev overlay diff --git a/.changeset/weak-wolves-bow.md b/.changeset/weak-wolves-bow.md deleted file mode 100644 index 484544cd12..0000000000 --- a/.changeset/weak-wolves-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': major ---- - -Removes deprecated `app.match()` option, `matchNotFound` diff --git a/.changeset/wicked-sloths-develop.md b/.changeset/wicked-sloths-develop.md deleted file mode 100644 index 806e027072..0000000000 --- a/.changeset/wicked-sloths-develop.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'astro': major ---- - -Removes deprecated features from Astro 3.0 - -- Adapters are now required to pass `supportedAstroFeatures` to specify a list of features they support. -- The `build.split` and `build.excludeMiddleware` options are removed. Use `functionPerRoute` and `edgeMiddleware` from adapters instead. -- The `markdown.drafts` option and draft feature is removed. Use content collections instead. -- Lowercase endpoint names are no longer supported. Use uppercase endpoint names instead. -- `getHeaders()` exported from markdown files is removed. Use `getHeadings()` instead. diff --git a/.changeset/wild-apricots-rescue.md b/.changeset/wild-apricots-rescue.md deleted file mode 100644 index c4a7deea3e..0000000000 --- a/.changeset/wild-apricots-rescue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/svelte': major ---- - -Drops support for Svelte 3 as `@sveltejs/vite-plugin-svelte` is updated to `3.0.0` which does not support Svelte 3 diff --git a/.changeset/wild-boats-wait.md b/.changeset/wild-boats-wait.md deleted file mode 100644 index 6300e839ea..0000000000 --- a/.changeset/wild-boats-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Returns the updated config in the integration `astro:config:setup` hook's `updateConfig()` API diff --git a/examples/basics/package.json b/examples/basics/package.json index 00e32a079e..8657c37cde 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 85da229094..c863ef32a6 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.0.0-beta.0", - "@astrojs/rss": "^4.0.0-beta.0", + "@astrojs/mdx": "^2.0.0", + "@astrojs/rss": "^4.0.0", "@astrojs/sitemap": "^3.0.3", - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 7d39c1c71e..471fd8bc70 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" }, "peerDependencies": { "astro": "^3.0.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 0064aee4c3..33d3804ac7 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.3.1", "@types/alpinejs": "^3.13.5", "alpinejs": "^3.13.3", - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index ae2dac2fd1..41ec0b400c 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^3.0.3", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.0.0-beta.7", + "astro": "^4.0.0", "lit": "^2.8.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 4d15c33c44..eb67152b68 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -12,11 +12,11 @@ }, "dependencies": { "@astrojs/preact": "^3.0.1", - "@astrojs/react": "^3.0.7-beta.0", + "@astrojs/react": "^3.0.7", "@astrojs/solid-js": "^3.0.2", - "@astrojs/svelte": "^5.0.0-beta.0", - "@astrojs/vue": "^4.0.0-beta.0", - "astro": "^4.0.0-beta.7", + "@astrojs/svelte": "^5.0.0", + "@astrojs/vue": "^4.0.0", + "astro": "^4.0.0", "preact": "^10.19.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 5eee2ff9fd..48d1500106 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.0.1", "@preact/signals": "^1.2.1", - "astro": "^4.0.0-beta.7", + "astro": "^4.0.0", "preact": "^10.19.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index f81fc7d661..56eec97cce 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^3.0.7-beta.0", + "@astrojs/react": "^3.0.7", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", - "astro": "^4.0.0-beta.7", + "astro": "^4.0.0", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index bdaf0df7f2..4b326cc4d1 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^3.0.2", - "astro": "^4.0.0-beta.7", + "astro": "^4.0.0", "solid-js": "^1.8.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 6b03bdf265..a4802e958a 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^5.0.0-beta.0", - "astro": "^4.0.0-beta.7", + "@astrojs/svelte": "^5.0.0", + "astro": "^4.0.0", "svelte": "^4.2.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 8f78ceb98c..6829654496 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/vue": "^4.0.0-beta.0", - "astro": "^4.0.0-beta.7", + "@astrojs/vue": "^4.0.0", + "astro": "^4.0.0", "vue": "^3.3.8" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 435ea981a9..439b426a2a 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^7.0.0-beta.1", - "astro": "^4.0.0-beta.7" + "@astrojs/node": "^7.0.0", + "astro": "^4.0.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 4a5718384c..e05486f039 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" }, "peerDependencies": { "astro": "^3.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index fccaab4e7d..25cde11ff6 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -12,8 +12,8 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^7.0.0-beta.1", - "astro": "^4.0.0-beta.7", + "@astrojs/node": "^7.0.0", + "astro": "^4.0.0", "html-minifier": "^4.0.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index a17f4fda6d..45dee04891 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 37d5be57d2..550cb56ac7 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 6a91830972..26df21048f 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index e00f226ae7..67b8d6e291 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,9 +12,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^7.0.0-beta.1", - "@astrojs/svelte": "^5.0.0-beta.0", - "astro": "^4.0.0-beta.7", + "@astrojs/node": "^7.0.0", + "@astrojs/svelte": "^5.0.0", + "astro": "^4.0.0", "svelte": "^4.2.5" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index f6a7ad8897..71ba7346c6 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -10,8 +10,8 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/tailwind": "^6.0.0-beta.0", - "@astrojs/node": "^7.0.0-beta.1", - "astro": "^4.0.0-beta.7" + "@astrojs/tailwind": "^5.0.2", + "@astrojs/node": "^7.0.0", + "astro": "^4.0.0" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 6c6d7bc728..9e2ad69677 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^1.0.0-beta.1", - "astro": "^4.0.0-beta.7" + "@astrojs/markdoc": "^0.8.0", + "astro": "^4.0.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index a8566d078b..17c4663046 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdown-remark": "^4.0.0-beta.0", - "astro": "^4.0.0-beta.7", + "@astrojs/markdown-remark": "^4.0.0", + "astro": "^4.0.0", "hast-util-select": "^6.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 6f4cb2471f..ed520d0c4a 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.7" + "astro": "^4.0.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 6e2de281db..ff92218dfe 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.0.0-beta.0", + "@astrojs/mdx": "^2.0.0", "@astrojs/preact": "^3.0.1", - "astro": "^4.0.0-beta.7", + "astro": "^4.0.0", "preact": "^10.19.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 5838300886..202b11bbd7 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.0.1", "@nanostores/preact": "^0.5.0", - "astro": "^4.0.0-beta.7", + "astro": "^4.0.0", "nanostores": "^0.9.5", "preact": "^10.19.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index abaca5b5a2..e2dc4e83a6 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.0.0-beta.0", - "@astrojs/tailwind": "^6.0.0-beta.0", + "@astrojs/mdx": "^2.0.0", + "@astrojs/tailwind": "^5.0.2", "@types/canvas-confetti": "^1.6.3", - "astro": "^4.0.0-beta.7", + "astro": "^4.0.0", "autoprefixer": "^10.4.15", "canvas-confetti": "^1.9.1", "postcss": "^8.4.28", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 93d1443f7d..3d6c30a479 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.0.0-beta.7", + "astro": "^4.0.0", "vitest": "^0.34.2" } } diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md index 60327a088e..89179a9a70 100644 --- a/packages/astro-rss/CHANGELOG.md +++ b/packages/astro-rss/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/rss +## 4.0.0 + +### Major Changes + +- [#9168](https://github.com/withastro/astro/pull/9168) [`153a5abb9`](https://github.com/withastro/astro/commit/153a5abb905042ac68b712514dc9ec387d3e6b17) Thanks [@bluwy](https://github.com/bluwy)! - Removes the deprecated (in v3.0) `drafts` option as the feature is deprecated in Astro 3.0 + ## 4.0.0-beta.0 ### Major Changes diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json index 86df612b77..9c9adb8499 100644 --- a/packages/astro-rss/package.json +++ b/packages/astro-rss/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/rss", "description": "Add RSS feeds to your Astro projects", - "version": "4.0.0-beta.0", + "version": "4.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index f9d791dfe6..52c92e6417 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,192 @@ # astro +## 4.0.0 + +### Major Changes + +- [#9138](https://github.com/withastro/astro/pull/9138) [`abf601233`](https://github.com/withastro/astro/commit/abf601233f8188d118a8cb063c777478d8d9f1a3) Thanks [@bluwy](https://github.com/bluwy)! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions. + + **Potentially breaking change:** The default value of `markdown.remarkRehype.footnoteBackLabel` is changed from `"Back to content"` to `"Back to reference 1"`. See the `mdast-util-to-hast` [commit](https://github.com/syntax-tree/mdast-util-to-hast/commit/56c88e45690be138fad9f0bf367b939d09816863) for more information. + +- [#9181](https://github.com/withastro/astro/pull/9181) [`cdabf6ef0`](https://github.com/withastro/astro/commit/cdabf6ef02be7220fd2b6bdcef924ceca089381e) Thanks [@bluwy](https://github.com/bluwy)! - Removes support for returning simple objects from endpoints (deprecated since Astro 3.0). You should return a `Response` instead. + + `ResponseWithEncoding` is also removed. You can refactor the code to return a response with an array buffer instead, which is encoding agnostic. + + The types for middlewares have also been revised. To type a middleware function, you should now use `MiddlewareHandler` instead of `MiddlewareResponseHandler`. If you used `defineMiddleware()` to type the function, no changes are needed. + +- [#9263](https://github.com/withastro/astro/pull/9263) [`3cbd8ea75`](https://github.com/withastro/astro/commit/3cbd8ea7534910e3beae396dcfa93ce87dcdd91f) Thanks [@bluwy](https://github.com/bluwy)! - Removes additional deprecated APIs: + + - The Astro preview server now returns a 404 status instead of a 301 redirect when requesting assets from the public directory without a base. + - Removes special handling when referencing the `astro/client-image` type. You should use the `astro/client` type instead. + - Removes deprecated built-in `rss` support in `getStaticPaths`. You should use `@astrojs/rss` instead. + - Removes deprecated `Astro.request.params` support. You should use `Astro.params` instead. + +- [#9271](https://github.com/withastro/astro/pull/9271) [`47604bd5b`](https://github.com/withastro/astro/commit/47604bd5b5bb2ea63922b657bac104c010575c20) Thanks [@matthewp](https://github.com/matthewp)! - Renames Dev Overlay to Dev Toolbar + + The previously named experimental Dev Overlay is now known as the Astro Dev Toolbar. Overlay plugins have been renamed as Toolbar Apps. All APIs have been updated to reflect this name change. + + To not break existing APIs, aliases for the Toolbar-based names have been created. The previous API names will continue to function but will be deprecated in the future. All documentation has been updated to reflect Toolbar-based names. + +- [#9122](https://github.com/withastro/astro/pull/9122) [`1c48ed286`](https://github.com/withastro/astro/commit/1c48ed286538ab9e354eca4e4dcd7c6385c96721) Thanks [@bluwy](https://github.com/bluwy)! - Adds Vite 5 support. There are no breaking changes from Astro. Check the [Vite migration guide](https://vitejs.dev/guide/migration.html) for details of the breaking changes from Vite instead. + +- [#9225](https://github.com/withastro/astro/pull/9225) [`c421a3d17`](https://github.com/withastro/astro/commit/c421a3d17911aeda29b5204f6d568ae87e329eaf) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Removes the opt-in `handleForms` property for ``. Form submissions are now handled by default and this property is no longer necessary. This default behavior can be disabled by setting `data-astro-reload` on relevant `` elements. + +- [#9196](https://github.com/withastro/astro/pull/9196) [`37697a2c5`](https://github.com/withastro/astro/commit/37697a2c5511572dc29c0a4ea46f90c2f62be8e6) Thanks [@bluwy](https://github.com/bluwy)! - Removes support for Shiki custom language's `path` property. The language JSON file should be imported and passed to the option instead. + + ```diff + // astro.config.js + + import customLang from './custom.tmLanguage.json' + + export default defineConfig({ + markdown: { + shikiConfig: { + langs: [ + - { path: './custom.tmLanguage.json' }, + + customLang, + ], + }, + }, + }) + ``` + +- [#9199](https://github.com/withastro/astro/pull/9199) [`49aa215a0`](https://github.com/withastro/astro/commit/49aa215a01ee1c4805316c85bb0aea6cfbc25a31) Thanks [@lilnasy](https://github.com/lilnasy)! - This change only affects maintainers of third-party adapters. In the Integration API, the `app.render()` method of the `App` class has been simplified. + + Instead of two optional arguments, it now takes a single optional argument that is an object with two optional properties: `routeData` and `locals`. + + ```diff + app.render(request) + + - app.render(request, routeData) + + app.render(request, { routeData }) + + - app.render(request, routeData, locals) + + app.render(request, { routeData, locals }) + + - app.render(request, undefined, locals) + + app.render(request, { locals }) + ``` + + The current signature is deprecated but will continue to function until next major version. + +- [#9212](https://github.com/withastro/astro/pull/9212) [`c0383ea0c`](https://github.com/withastro/astro/commit/c0383ea0c102cb62b7235823c706a090ba08715f) Thanks [@alexanderniebuhr](https://github.com/alexanderniebuhr)! - Removes deprecated `app.match()` option, `matchNotFound` + +- [#9168](https://github.com/withastro/astro/pull/9168) [`153a5abb9`](https://github.com/withastro/astro/commit/153a5abb905042ac68b712514dc9ec387d3e6b17) Thanks [@bluwy](https://github.com/bluwy)! - Removes deprecated features from Astro 3.0 + + - Adapters are now required to pass `supportedAstroFeatures` to specify a list of features they support. + - The `build.split` and `build.excludeMiddleware` options are removed. Use `functionPerRoute` and `edgeMiddleware` from adapters instead. + - The `markdown.drafts` option and draft feature is removed. Use content collections instead. + - Lowercase endpoint names are no longer supported. Use uppercase endpoint names instead. + - `getHeaders()` exported from markdown files is removed. Use `getHeadings()` instead. + +### Minor Changes + +- [#9105](https://github.com/withastro/astro/pull/9105) [`6201bbe96`](https://github.com/withastro/astro/commit/6201bbe96c2a083fb201e4a43a9bd88499821a3e) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update CLI logging experience + +- [#9200](https://github.com/withastro/astro/pull/9200) [`b4b851f5a`](https://github.com/withastro/astro/commit/b4b851f5a46b32ee531db5dc39ccd2aa7af7bcfd) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new way to configure the `i18n.locales` array. + + Developers can now assign a custom URL path prefix that can span multiple language codes: + + ```js + // astro.config.mjs + export default defineConfig({ + experimental: { + i18n: { + defaultLocale: 'english', + locales: ['de', { path: 'english', codes: ['en', 'en-US'] }, 'fr'], + }, + }, + }); + ``` + + With the above configuration, the URL prefix of the default locale will be `/english/`. When computing `Astro.preferredLocale`, Astro will use the `codes`. + +- [#9115](https://github.com/withastro/astro/pull/9115) [`3b77889b4`](https://github.com/withastro/astro/commit/3b77889b47750ed6e17c7858780dc4aae9201b58) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Adds the `astro preferences` command to manage user preferences. User preferences are specific to individual Astro users, unlike the `astro.config.mjs` file which changes behavior for everyone working on a project. + + User preferences are scoped to the current project by default, stored in a local `.astro/settings.json` file. Using the `--global` flag, user preferences can also be applied to every Astro project on the current machine. Global user preferences are stored in an operating system-specific location. + + ```sh + # Disable the dev overlay for the current user in the current project + npm run astro preferences disable devOverlay + # Disable the dev overlay for the current user in all Astro projects on this machine + npm run astro preferences --global disable devOverlay + + # Check if the dev overlay is enabled for the current user + npm run astro preferences list devOverlay + ``` + +- [#9139](https://github.com/withastro/astro/pull/9139) [`459b26436`](https://github.com/withastro/astro/commit/459b2643666db08dbd29a100ce3d8697b451d3fe) Thanks [@bluwy](https://github.com/bluwy)! - Reworks Vite's logger to use Astro's logger to correctly log HMR messages + +- [#9279](https://github.com/withastro/astro/pull/9279) [`6a9669b81`](https://github.com/withastro/astro/commit/6a9669b810ddfcae6c537165a438190ea1e7a4bc) Thanks [@martrapp](https://github.com/martrapp)! - Improves consistency between navigations with and without ``. See [#9279](https://github.com/withastro/astro/pull/9279) for more details. + +- [#9161](https://github.com/withastro/astro/pull/9161) [`bd0c2e9ae`](https://github.com/withastro/astro/commit/bd0c2e9ae3389a9d3085050c1e8134ae98dff299) Thanks [@bluwy](https://github.com/bluwy)! - Renames the `entryPoint` property of the `injectRoute` integrations API to `entrypoint` for consistency. A warning will be shown prompting you to update your code when using the old name. + +- [#9129](https://github.com/withastro/astro/pull/9129) [`8bfc20511`](https://github.com/withastro/astro/commit/8bfc20511918d675202cdc100d4efab293e5cbac) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update error log formatting + +### Patch Changes + +- [#9118](https://github.com/withastro/astro/pull/9118) [`000e8f465`](https://github.com/withastro/astro/commit/000e8f4654cae9982e21e0a858366c4844139db6) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Redesign Dev Overlay main screen to show more information, such as the coolest integrations, your current Astro version and more. + +- [#9118](https://github.com/withastro/astro/pull/9118) [`000e8f465`](https://github.com/withastro/astro/commit/000e8f4654cae9982e21e0a858366c4844139db6) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixes an issue where links with the same pathname as the current page, but different search params, were not prefetched. + +- [#9275](https://github.com/withastro/astro/pull/9275) [`0968cb1a3`](https://github.com/withastro/astro/commit/0968cb1a373b1101a649035d2ea2210d3d6412dc) Thanks [@lilnasy](https://github.com/lilnasy)! - Fixes an issue where html annotations relevant only to the dev server were included in the production build. + +- [#9252](https://github.com/withastro/astro/pull/9252) [`7b74ec4ba`](https://github.com/withastro/astro/commit/7b74ec4ba48e363a19d20e322212d0d264927f1b) Thanks [@ematipico](https://github.com/ematipico)! - Consistently emit fallback routes in the correct folders, and emit routes that consider `trailingSlash` + +- [#9222](https://github.com/withastro/astro/pull/9222) [`279e3c1b3`](https://github.com/withastro/astro/commit/279e3c1b3d06e7b48f01c0ef8285c3719ac74ace) Thanks [@matthewp](https://github.com/matthewp)! - Ensure the dev-overlay-window is anchored to the bottom + +- [#9292](https://github.com/withastro/astro/pull/9292) [`5428b3da0`](https://github.com/withastro/astro/commit/5428b3da08493d933981c4646d5d132fb31f0d25) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Improves display for `astro preferences list` command + +- [#9235](https://github.com/withastro/astro/pull/9235) [`9c2342c32`](https://github.com/withastro/astro/commit/9c2342c327a13d2f7d1eb387b743e81f431b9813) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix SVG icons not showing properly in the extended dropdown menu of the dev overlay + +- [#9218](https://github.com/withastro/astro/pull/9218) [`f4401c8c1`](https://github.com/withastro/astro/commit/f4401c8c1fa203431b4e7b2e89381a91b4ef1ac6) Thanks [@matthewp](https://github.com/matthewp)! - Improve high contrast mode with the Dev Overlay + +- [#9254](https://github.com/withastro/astro/pull/9254) [`b750a161e`](https://github.com/withastro/astro/commit/b750a161e0e059de9cf814ce271d5891e4e97cbe) Thanks [@matthewp](https://github.com/matthewp)! - Improve highlight/tooltip positioning when in fixed positions + +- [#9230](https://github.com/withastro/astro/pull/9230) [`60cfa49e4`](https://github.com/withastro/astro/commit/60cfa49e445c926288612a6b1a30113ab988011c) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update the look and feel of the dev overlay + +- [#9248](https://github.com/withastro/astro/pull/9248) [`43ddb5217`](https://github.com/withastro/astro/commit/43ddb5217691dc4112d8d98ae07511a8be6d4b94) Thanks [@martrapp](https://github.com/martrapp)! - Adds properties of the submit button (name, value) to the form data of a view transition + +- [#9170](https://github.com/withastro/astro/pull/9170) [`8a228fce0`](https://github.com/withastro/astro/commit/8a228fce0114daeea2100e50ddc5cf2ea0a03b5d) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Adds new accessibility audits to the Dev Toolbar's built-in Audits app. + + The audits Astro performs are non-exhaustive and only capable of detecting a handful of common accessibility issues. Please take care to perform a thorough, **manual** audit of your site to ensure compliance with the [Web Content Accessibility Guidelines (WCAG) international standard](https://www.w3.org/WAI/standards-guidelines/wcag/) _before_ publishing your site. + + 🧡 Huge thanks to the [Svelte](https://github.com/sveltejs/svelte) team for providing the basis of these accessibility audits! + +- [#9149](https://github.com/withastro/astro/pull/9149) [`0fe3a7ed5`](https://github.com/withastro/astro/commit/0fe3a7ed5d7bb1a9fce1623e84ba14104b51223c) Thanks [@bluwy](https://github.com/bluwy)! - Removes vendored Vite's `importMeta.d.ts` file in favour of Vite 5's new `vite/types/import-meta.d.ts` export + +- [#9295](https://github.com/withastro/astro/pull/9295) [`3d2dbb0e5`](https://github.com/withastro/astro/commit/3d2dbb0e5d2bf67b38ff8533d4dd938c94433812) Thanks [@matthewp](https://github.com/matthewp)! - Remove aria-query package + + This is another CJS-only package that breaks usage. + +- [#9274](https://github.com/withastro/astro/pull/9274) [`feaba2c7f`](https://github.com/withastro/astro/commit/feaba2c7fc0a48d3af7dd98e6b750ec1e8274e33) Thanks [@TheOtterlord](https://github.com/TheOtterlord)! - Fix routing prefixes when `prefixDefaultLocale` is `true` + +- [#9273](https://github.com/withastro/astro/pull/9273) [`9887f2412`](https://github.com/withastro/astro/commit/9887f241241f800e2907afe7079db070f3bfcfab) Thanks [@alexanderniebuhr](https://github.com/alexanderniebuhr)! - Exports type for Dev Toolbar App under correct name + +- [#9150](https://github.com/withastro/astro/pull/9150) [`710be505c`](https://github.com/withastro/astro/commit/710be505c9ddf416e77a75343d8cae9c497d72c6) Thanks [@bluwy](https://github.com/bluwy)! - Refactors virtual modules exports. This should not break your project unless you import Astro's internal modules, including: + + - `astro/middleware/namespace` + - `astro/transitions` + - `astro/transitions/router` + - `astro/transitions/events` + - `astro/transitions/types` + - `astro/prefetch` + - `astro/i18n` + +- [#9227](https://github.com/withastro/astro/pull/9227) [`4b8a42406`](https://github.com/withastro/astro/commit/4b8a42406bbdcc68604ea4ecc2a926721fbc4d52) Thanks [@matthewp](https://github.com/matthewp)! - Ensure overlay x-ray z-index is higher than the island + +- [#9255](https://github.com/withastro/astro/pull/9255) [`9ea3e0b94`](https://github.com/withastro/astro/commit/9ea3e0b94f7c4813c52bffd78043f90fd87dffda) Thanks [@matthewp](https://github.com/matthewp)! - Adds instructions on how to hide the dev overlay + +- [#9293](https://github.com/withastro/astro/pull/9293) [`cf5fa4376`](https://github.com/withastro/astro/commit/cf5fa437627ca6978ae3ff33c7894f278dfe75cd) Thanks [@matthewp](https://github.com/matthewp)! - Removes the 'a11y-role-has-required-aria-props' audit rule + + This audit rule depends on a CommonJS module. To prevent blocking the 4.0 release the rule is being removed temporarily. + +- [#9214](https://github.com/withastro/astro/pull/9214) [`4fe523b00`](https://github.com/withastro/astro/commit/4fe523b0064b323ee46b2574339d96ea8bdb7b2d) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixes a number of small user experience bugs with the dev overlay + +- [#9013](https://github.com/withastro/astro/pull/9013) [`ff8eadb95`](https://github.com/withastro/astro/commit/ff8eadb95d34833baaf3ec7575bf4f293eae97da) Thanks [@bayssmekanique](https://github.com/bayssmekanique)! - Returns the updated config in the integration `astro:config:setup` hook's `updateConfig()` API + +- Updated dependencies [[`abf601233`](https://github.com/withastro/astro/commit/abf601233f8188d118a8cb063c777478d8d9f1a3), [`addb57c8e`](https://github.com/withastro/astro/commit/addb57c8e80b7b67ec61224666f3a1db5c44410c), [`c7953645e`](https://github.com/withastro/astro/commit/c7953645eeaaf9e87c6db4494b0023d2c1878ff0)]: + - @astrojs/markdown-remark@4.0.0 + ## 4.0.0-beta.7 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index f624d32f2b..916bf237de 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.0.0-beta.7", + "version": "4.0.0", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 76b5350897..f1c16fdc21 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 4.5.2 + +### Patch Changes + +- [#9105](https://github.com/withastro/astro/pull/9105) [`6201bbe96`](https://github.com/withastro/astro/commit/6201bbe96c2a083fb201e4a43a9bd88499821a3e) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Stop clearing the console on start + ## 4.5.2-beta.0 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 2699b11948..8f1ed83da9 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "4.5.2-beta.0", + "version": "4.5.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 7fed651df0..67a9d249e5 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdoc +## 0.8.0 + +### Minor Changes + +- [#9263](https://github.com/withastro/astro/pull/9263) [`3cbd8ea75`](https://github.com/withastro/astro/commit/3cbd8ea7534910e3beae396dcfa93ce87dcdd91f) Thanks [@bluwy](https://github.com/bluwy)! - Removes internal `propagators` handling for Astro 3 + ## 1.0.0-beta.1 ### Minor Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index bda1fa5514..f75a56466c 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/markdoc", "description": "Add support for Markdoc in your Astro site", - "version": "0.7.2", + "version": "0.8.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index 11632d110a..374496a496 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,18 @@ # @astrojs/mdx +## 2.0.0 + +### Major Changes + +- [#9138](https://github.com/withastro/astro/pull/9138) [`abf601233`](https://github.com/withastro/astro/commit/abf601233f8188d118a8cb063c777478d8d9f1a3) Thanks [@bluwy](https://github.com/bluwy)! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions. + + **Potentially breaking change:** The default value of `markdown.remarkRehype.footnoteBackLabel` is changed from `"Back to content"` to `"Back to reference 1"`. See the `mdast-util-to-hast` [commit](https://github.com/syntax-tree/mdast-util-to-hast/commit/56c88e45690be138fad9f0bf367b939d09816863) for more information. + +### Patch Changes + +- Updated dependencies [[`abf601233`](https://github.com/withastro/astro/commit/abf601233f8188d118a8cb063c777478d8d9f1a3), [`addb57c8e`](https://github.com/withastro/astro/commit/addb57c8e80b7b67ec61224666f3a1db5c44410c), [`c7953645e`](https://github.com/withastro/astro/commit/c7953645eeaaf9e87c6db4494b0023d2c1878ff0)]: + - @astrojs/markdown-remark@4.0.0 + ## 2.0.0-beta.0 ### Major Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 3f5b6d559a..45a47ae6ca 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Add support for MDX pages in your Astro site", - "version": "2.0.0-beta.0", + "version": "2.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index e4cf76b85f..71a1b2f2f6 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/node +## 7.0.0 + +### Major Changes + +- [#9199](https://github.com/withastro/astro/pull/9199) [`49aa215a0`](https://github.com/withastro/astro/commit/49aa215a01ee1c4805316c85bb0aea6cfbc25a31) Thanks [@lilnasy](https://github.com/lilnasy)! - The internals of the integration have been updated to support Astro 4.0. Make sure to upgrade your Astro version as Astro 3.0 is no longer supported. + ## 7.0.0-beta.1 ### Major Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 9981db3c5b..c75b7a6222 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/node", "description": "Deploy your site to a Node.js server", - "version": "7.0.0-beta.1", + "version": "7.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 7dcf8dc2a0..1ba942a772 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 3.0.7 + +### Patch Changes + +- [#9122](https://github.com/withastro/astro/pull/9122) [`1c48ed286`](https://github.com/withastro/astro/commit/1c48ed286538ab9e354eca4e4dcd7c6385c96721) Thanks [@bluwy](https://github.com/bluwy)! - Adds Vite 5 support. There are no breaking changes from Astro. Check the [Vite migration guide](https://vitejs.dev/guide/migration.html) for details of the breaking changes from Vite instead. + ## 3.0.7-beta.0 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 0721d37f32..4ab958bcc4 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "3.0.7-beta.0", + "version": "3.0.7", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index e9ce0c2ed8..19939d2f15 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/svelte +## 5.0.0 + +### Major Changes + +- [#9122](https://github.com/withastro/astro/pull/9122) [`1c48ed286`](https://github.com/withastro/astro/commit/1c48ed286538ab9e354eca4e4dcd7c6385c96721) Thanks [@bluwy](https://github.com/bluwy)! - Adds Vite 5 support. There are no breaking changes from Astro. Check the [Vite migration guide](https://vitejs.dev/guide/migration.html) for details of the breaking changes from Vite instead. + +- [#9122](https://github.com/withastro/astro/pull/9122) [`1c48ed286`](https://github.com/withastro/astro/commit/1c48ed286538ab9e354eca4e4dcd7c6385c96721) Thanks [@bluwy](https://github.com/bluwy)! - Drops support for Svelte 3 as `@sveltejs/vite-plugin-svelte` is updated to `3.0.0` which does not support Svelte 3 + ## 5.0.0-beta.0 ### Major Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 9694acab64..1dfec1977f 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "5.0.0-beta.0", + "version": "5.0.0", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 5e025048e9..aaec3b1448 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/vercel +## 6.0.0 + +### Major Changes + +- [#9199](https://github.com/withastro/astro/pull/9199) [`49aa215a0`](https://github.com/withastro/astro/commit/49aa215a01ee1c4805316c85bb0aea6cfbc25a31) Thanks [@lilnasy](https://github.com/lilnasy)! - The internals of the integration have been updated to support Astro 4.0. Make sure to upgrade your Astro version as Astro 3.0 is no longer supported. + +- [#9184](https://github.com/withastro/astro/pull/9184) [`a145ac07e`](https://github.com/withastro/astro/commit/a145ac07e75927e13af62e28d13bc8217a362b8e) Thanks [@bluwy](https://github.com/bluwy)! - Removes deprecated `analytics` option. Use the `webAnalytics` option instead. + +- [#9263](https://github.com/withastro/astro/pull/9263) [`3cbd8ea75`](https://github.com/withastro/astro/commit/3cbd8ea7534910e3beae396dcfa93ce87dcdd91f) Thanks [@bluwy](https://github.com/bluwy)! - Removes the deprecated `@astrojs/vercel/edge` export. You should use `@astrojs/vercel/serverless` instead with the `edgeMiddleware` option. + ## 6.0.0-beta.2 ### Major Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 067163c50e..730020c047 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/vercel", "description": "Deploy your site to Vercel", - "version": "6.0.0-beta.2", + "version": "6.0.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index 3199fdccb1..dcb0c91e8d 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/vue +## 4.0.0 + +### Patch Changes + +- [#9122](https://github.com/withastro/astro/pull/9122) [`1c48ed286`](https://github.com/withastro/astro/commit/1c48ed286538ab9e354eca4e4dcd7c6385c96721) Thanks [@bluwy](https://github.com/bluwy)! - Adds Vite 5 support. There are no breaking changes from Astro. Check the [Vite migration guide](https://vitejs.dev/guide/migration.html) for details of the breaking changes from Vite instead. + ## 4.0.0-beta.0 ### Patch Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index f220d5bf90..463b98958b 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "4.0.0-beta.0", + "version": "4.0.0", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index b720f5b5f2..93e1d58700 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,19 @@ # @astrojs/markdown-remark +## 4.0.0 + +### Major Changes + +- [#9138](https://github.com/withastro/astro/pull/9138) [`abf601233`](https://github.com/withastro/astro/commit/abf601233f8188d118a8cb063c777478d8d9f1a3) Thanks [@bluwy](https://github.com/bluwy)! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions. + + **Potentially breaking change:** The default value of `markdown.remarkRehype.footnoteBackLabel` is changed from `"Back to content"` to `"Back to reference 1"`. See the `mdast-util-to-hast` [commit](https://github.com/syntax-tree/mdast-util-to-hast/commit/56c88e45690be138fad9f0bf367b939d09816863) for more information. + +- [#9182](https://github.com/withastro/astro/pull/9182) [`c7953645e`](https://github.com/withastro/astro/commit/c7953645eeaaf9e87c6db4494b0023d2c1878ff0) Thanks [@bluwy](https://github.com/bluwy)! - Removes deprecated APIs. All Astro packages had been refactored to not use these APIs. + +### Patch Changes + +- [#9147](https://github.com/withastro/astro/pull/9147) [`addb57c8e`](https://github.com/withastro/astro/commit/addb57c8e80b7b67ec61224666f3a1db5c44410c) Thanks [@bluwy](https://github.com/bluwy)! - Fixes `RemarkRehype` type's `handler` and `handlers` properties + ## 4.0.0-beta.0 ### Major Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 15777e10be..05d55e0dbf 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "4.0.0-beta.0", + "version": "4.0.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/upgrade/CHANGELOG.md b/packages/upgrade/CHANGELOG.md index 969c359b66..8ea9a0f396 100644 --- a/packages/upgrade/CHANGELOG.md +++ b/packages/upgrade/CHANGELOG.md @@ -1,5 +1,33 @@ # @astrojs/upgrade +## 0.2.0 + +### Minor Changes + +- [#9118](https://github.com/withastro/astro/pull/9118) [`000e8f465`](https://github.com/withastro/astro/commit/000e8f4654cae9982e21e0a858366c4844139db6) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Initial release! + + `@astrojs/upgrade` is an automated command-line tool for upgrading Astro and your official Astro integrations together. + + Inside of your existing `astro` project, run the following command to install the `latest` version of your integrations. + + **With NPM:** + + ```bash + npx @astrojs/upgrade + ``` + + **With Yarn:** + + ```bash + yarn dlx @astrojs/upgrade + ``` + + **With PNPM:** + + ```bash + pnpm dlx @astrojs/upgrade + ``` + ## 0.1.0-beta.0 ### Minor Changes diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index 69fd31694c..1f5eb5f86d 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/upgrade", - "version": "0.2.0-beta.0", + "version": "0.2.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9c5784ba3f..a685a9fa58 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,28 +125,28 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^2.0.0-beta.0 + specifier: ^2.0.0 version: link:../../packages/integrations/mdx '@astrojs/rss': - specifier: ^4.0.0-beta.0 + specifier: ^4.0.0 version: link:../../packages/astro-rss '@astrojs/sitemap': specifier: ^3.0.3 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/framework-alpine: @@ -161,7 +161,7 @@ importers: specifier: ^3.13.3 version: 3.13.3 astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/framework-lit: @@ -173,7 +173,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro lit: specifier: ^2.8.0 @@ -185,19 +185,19 @@ importers: specifier: ^3.0.1 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^3.0.7-beta.0 + specifier: ^3.0.7 version: link:../../packages/integrations/react '@astrojs/solid-js': specifier: ^3.0.2 version: link:../../packages/integrations/solid '@astrojs/svelte': - specifier: ^5.0.0-beta.0 + specifier: ^5.0.0 version: link:../../packages/integrations/svelte '@astrojs/vue': - specifier: ^4.0.0-beta.0 + specifier: ^4.0.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -227,7 +227,7 @@ importers: specifier: ^1.2.1 version: 1.2.1(preact@10.19.2) astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -236,7 +236,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^3.0.7-beta.0 + specifier: ^3.0.7 version: link:../../packages/integrations/react '@types/react': specifier: ^18.2.37 @@ -245,7 +245,7 @@ importers: specifier: ^18.2.15 version: 18.2.15 astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro react: specifier: ^18.2.0 @@ -260,7 +260,7 @@ importers: specifier: ^3.0.2 version: link:../../packages/integrations/solid astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro solid-js: specifier: ^1.8.5 @@ -269,10 +269,10 @@ importers: examples/framework-svelte: dependencies: '@astrojs/svelte': - specifier: ^5.0.0-beta.0 + specifier: ^5.0.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -281,10 +281,10 @@ importers: examples/framework-vue: dependencies: '@astrojs/vue': - specifier: ^4.0.0-beta.0 + specifier: ^4.0.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro vue: specifier: ^3.3.8 @@ -293,25 +293,25 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^7.0.0-beta.1 + specifier: ^7.0.0 version: link:../../packages/integrations/node astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/middleware: dependencies: '@astrojs/node': - specifier: ^7.0.0-beta.1 + specifier: ^7.0.0 version: link:../../packages/integrations/node astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -320,31 +320,31 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/ssr: dependencies: '@astrojs/node': - specifier: ^7.0.0-beta.1 + specifier: ^7.0.0 version: link:../../packages/integrations/node '@astrojs/svelte': - specifier: ^5.0.0-beta.0 + specifier: ^5.0.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -353,31 +353,31 @@ importers: examples/view-transitions: devDependencies: '@astrojs/node': - specifier: ^7.0.0-beta.1 + specifier: ^7.0.0 version: link:../../packages/integrations/node '@astrojs/tailwind': - specifier: ^6.0.0-beta.0 + specifier: ^5.0.2 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^1.0.0-beta.1 + specifier: ^0.8.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/with-markdown-plugins: dependencies: '@astrojs/markdown-remark': - specifier: ^4.0.0-beta.0 + specifier: ^4.0.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -398,19 +398,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^2.0.0-beta.0 + specifier: ^2.0.0 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^3.0.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -425,7 +425,7 @@ importers: specifier: ^0.5.0 version: 0.5.0(nanostores@0.9.5)(preact@10.19.2) astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro nanostores: specifier: ^0.9.5 @@ -437,16 +437,16 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^2.0.0-beta.0 + specifier: ^2.0.0 version: link:../../packages/integrations/mdx '@astrojs/tailwind': - specifier: ^6.0.0-beta.0 + specifier: ^5.0.2 version: link:../../packages/integrations/tailwind '@types/canvas-confetti': specifier: ^1.6.3 version: 1.6.3 astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro autoprefixer: specifier: ^10.4.15 @@ -464,7 +464,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.0.0-beta.7 + specifier: ^4.0.0 version: link:../../packages/astro vitest: specifier: ^0.34.2