diff --git a/.changeset/pre.json b/.changeset/pre.json index 2023b5251df9..5c207e71e319 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -30,13 +30,23 @@ "@astrojs/markdown-remark": "7.0.1", "@astrojs/telemetry": "3.3.0", "@astrojs/underscore-redirects": "1.0.2", - "@astrojs/upgrade": "0.7.1" + "@astrojs/upgrade": "0.7.1", + "@astrojs/markdown-satteri": "0.2.2" }, "changesets": [ + "beige-doodles-bow", "common-pears-drive", + "cozy-knives-buy", + "experimental-background-dev", + "fix-cloudflare-fetch-circular-import", "fix-dev-port-vite-restart", "goofy-tigers-like", + "kind-snails-wash", "rusty-compilers-only", - "two-eels-live" + "satteri-prism", + "silly-spoons-write", + "two-eels-live", + "update-vite-plugin-svelte-v7", + "wacky-bugs-act" ] } diff --git a/examples/advanced-routing/package.json b/examples/advanced-routing/package.json index da349c7b98e6..4e3edb9d2143 100644 --- a/examples/advanced-routing/package.json +++ b/examples/advanced-routing/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/node": "^11.0.0-alpha.0", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "hono": "^4.12.14" } } diff --git a/examples/basics/package.json b/examples/basics/package.json index 686e81d0718c..bbea735c012f 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 4369f33ee9f3..4a06c6cc2d11 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^6.0.0-alpha.0", + "@astrojs/mdx": "^6.0.0-alpha.1", "@astrojs/rss": "^4.0.18", - "@astrojs/sitemap": "^3.7.2", - "astro": "^7.0.0-alpha.1", + "@astrojs/sitemap": "^3.7.3", + "astro": "^7.0.0-alpha.2", "sharp": "^0.34.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index de95eee30cd3..8209f0d37d07 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" }, "peerDependencies": { "astro": "^5.0.0 || ^6.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 04e69af85dd8..87096ad60dcf 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@astrojs/react": "^6.0.0-alpha.0", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^4.1.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index c37ed09c8684..eb86c6608f59 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -16,6 +16,6 @@ "@astrojs/alpinejs": "^1.0.0-alpha.0", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.15.8", - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 024a440ec33d..042b0f538d51 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -16,11 +16,11 @@ "@astrojs/preact": "^6.0.0-alpha.0", "@astrojs/react": "^6.0.0-alpha.0", "@astrojs/solid-js": "^7.0.0-alpha.0", - "@astrojs/svelte": "^9.0.0-alpha.0", + "@astrojs/svelte": "^9.0.0-alpha.2", "@astrojs/vue": "^7.0.0-alpha.0", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "preact": "^10.28.4", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index cb176d606332..5ee5bb1e6b48 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -15,7 +15,7 @@ "dependencies": { "@astrojs/preact": "^6.0.0-alpha.0", "@preact/signals": "^2.8.1", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "preact": "^10.28.4" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 9a8bbf350ac0..4eda1a1ec728 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -16,7 +16,7 @@ "@astrojs/react": "^6.0.0-alpha.0", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index d8578d6a9a61..f59aaa01c322 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/solid-js": "^7.0.0-alpha.0", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "solid-js": "^1.9.11" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 4113c6a183b2..d7a1389490c0 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -13,8 +13,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^9.0.0-alpha.0", - "astro": "^7.0.0-alpha.1", + "@astrojs/svelte": "^9.0.0-alpha.2", + "astro": "^7.0.0-alpha.2", "svelte": "^5.53.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 1008c64195d1..c98a9df584dd 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@astrojs/vue": "^7.0.0-alpha.0", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "vue": "^3.5.29" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 397529c4bb12..e7c152752ab8 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/node": "^11.0.0-alpha.0", - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 5a4f639aeca8..1a071026b2ac 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -18,7 +18,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 792d3ed094cb..fee2949932dd 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 2afc6822c581..7921ea75c4ac 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -13,6 +13,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index f71d7ad924d6..64fb65b1e2dd 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -15,8 +15,8 @@ }, "dependencies": { "@astrojs/node": "^11.0.0-alpha.0", - "@astrojs/svelte": "^9.0.0-alpha.0", - "astro": "^7.0.0-alpha.1", + "@astrojs/svelte": "^9.0.0-alpha.2", + "astro": "^7.0.0-alpha.2", "svelte": "^5.53.5" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index f4c6a626fa4f..d47fda8b755e 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "sass": "^1.97.3", "sharp": "^0.34.3" }, diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 35214959f800..21957e232d8e 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@types/node": "^22.10.6", - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" }, "engines": { "node": ">=22.12.0" diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index d7236a7bf276..710ebcc239c6 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -14,6 +14,6 @@ }, "dependencies": { "@astrojs/markdoc": "^2.0.0-alpha.0", - "astro": "^7.0.0-alpha.1" + "astro": "^7.0.0-alpha.2" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index a0d5ad70c3bb..cf4e94967888 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,9 +13,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^6.0.0-alpha.0", + "@astrojs/mdx": "^6.0.0-alpha.1", "@astrojs/preact": "^6.0.0-alpha.0", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "preact": "^10.28.4" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 9e943b61bdef..10736fc273ee 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -15,7 +15,7 @@ "dependencies": { "@astrojs/preact": "^6.0.0-alpha.0", "@nanostores/preact": "^1.0.0", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "nanostores": "^1.1.1", "preact": "^10.28.4" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 475ff799843f..fe50ee333e36 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,10 +13,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^6.0.0-alpha.0", + "@astrojs/mdx": "^6.0.0-alpha.1", "@tailwindcss/vite": "^4.2.1", "@types/canvas-confetti": "^1.9.0", - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "canvas-confetti": "^1.9.4", "tailwindcss": "^4.2.1" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 3b3cfa417255..d340df7b6a6e 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -14,7 +14,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^7.0.0-alpha.1", + "astro": "^7.0.0-alpha.2", "vitest": "^5.0.0-beta.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 3d81728aa0f0..aec00e847f15 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,76 @@ # astro +## 7.0.0-alpha.2 + +### Major Changes + +- [#16610](https://github.com/withastro/astro/pull/16610) [`c63e7e4`](https://github.com/withastro/astro/commit/c63e7e4411db8fc652c84ce82b45f53e951eb6fa) Thanks [@matthewp](https://github.com/matthewp)! - Adds background dev server management for AI coding agents. + + When an AI coding agent is detected, `astro dev` now automatically starts the dev server as a detached background process. This prevents the dev server from blocking the agent's terminal and allows it to continue working while the server runs. + + A lock file (`.astro/dev.json`) is written when the dev server starts, recording the server's URL, port, and PID. This prevents duplicate servers from being started for the same project. + + #### New flag and subcommands + - `astro dev --background` — Start the dev server as a background process (this is what runs automatically when an agent is detected). + - `astro dev stop` — Stop a running background dev server. + - `astro dev status` — Check if a dev server is running and display its URL, PID, and uptime. + - `astro dev logs` — View logs from a background dev server. Use `--follow` (`-f`) to stream new output as it's written. + + These allow you to start and manage dev servers programmatically and were designed with AI coding agents in mind. + + #### What should I do? + + No action is required. If you are not using an AI coding agent, `astro dev` behaves exactly as before. If you are using an agent, background mode is enabled automatically — the agent will receive the server URL and PID, and can use `astro dev stop` to shut it down. + + To opt out of automatic background mode when an agent is detected, set the environment variable `ASTRO_DEV_BACKGROUND=0` before running `astro dev`. + +- [#16725](https://github.com/withastro/astro/pull/16725) [`10229f7`](https://github.com/withastro/astro/commit/10229f73dbf0f19b9936e9a23f0abc774a4c579e) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Removes deprecated APIs exported from `astro:transitions`. + + In Astro 6.x, some helpers available in `astro:transitions` and `astro:transitions/client` were deprecated. + + In Astro 7.0, the following APIs can no longer be used in your project: + - `TRANSITION_BEFORE_PREPARATION` + - `TRANSITION_AFTER_PREPARATION` + - `TRANSITION_BEFORE_SWAP` + - `TRANSITION_AFTER_SWAP` + - `TRANSITION_PAGE_LOAD` + - `isTransitionBeforePreparationEvent()` + - `isTransitionBeforeSwapEvent()` + - `createAnimationScope()` + + #### What should I do? + + Remove any occurrence of `createAnimationScope()`: + + ```diff + -import { createAnimationScope } from 'astro:transitions'; + ``` + + Replace any occurrence of the other APIs using the lifecycle event names directly: + + ```diff + -import { + - TRANSITION_AFTER_SWAP, + - isTransitionBeforePreparationEvent, + -} from 'astro:transitions/client'; + + -console.log(isTransitionBeforePreparationEvent(event)); + +console.log(event.type === 'astro:before-preparation'); + + -console.log(TRANSITION_AFTER_SWAP); + +console.log('astro:after-swap'); + ``` + + Learn more about all utilities available in the [View Transitions Router API Reference](https://v7.docs.astro.build/en/reference/modules/astro-transitions/). + +### Patch Changes + +- [#16980](https://github.com/withastro/astro/pull/16980) [`1f07343`](https://github.com/withastro/astro/commit/1f07343ffc69b9c982f43cd0369069fe8d1a07fa) Thanks [@matthewp](https://github.com/matthewp)! - Removes `state.provide()`, `state.resolve()`, `state.finalizeAll()`, and `App.Providers` from the public advanced routing API. These context provider extension points are now internal-only. If you were using them in an integration, use `locals` to share per-request state instead. + +- [#16982](https://github.com/withastro/astro/pull/16982) [`1e000e2`](https://github.com/withastro/astro/commit/1e000e2454fbbade0a5ed978a9dccf8307780305) Thanks [@matthewp](https://github.com/matthewp)! - Improves the warning when accessing `Astro.session` without session storage configured. The `session` property is now always defined on the context object, and accessing it without configuration logs a helpful message instead of silently returning `undefined`. + +- [#16990](https://github.com/withastro/astro/pull/16990) [`ebeb830`](https://github.com/withastro/astro/commit/ebeb83075ba7825a822fdcf4228b475cae38c9c5) Thanks [@ocavue](https://github.com/ocavue)! - Fixes `Astro.request.url` not reflecting validated `X-Forwarded-Proto`/`X-Forwarded-Host` headers when `security.allowedDomains` is configured. Previously, only `Astro.url` was updated with the forwarded origin while `Astro.request.url` retained the socket-derived URL, causing the two to diverge behind TLS-terminating proxies. + ## 7.0.0-alpha.1 ### Patch Changes @@ -25,6 +96,7 @@ - [#15819](https://github.com/withastro/astro/pull/15819) [`cafec4e`](https://github.com/withastro/astro/commit/cafec4e23365061491103dfce2e889a15cf86f27) Thanks [@delucis](https://github.com/delucis)! - Fixes `--port` flag being ignored after a Vite-triggered server restart (e.g. when a `.env` file changes) - [#16434](https://github.com/withastro/astro/pull/16434) [`ee079d4`](https://github.com/withastro/astro/commit/ee079d4c7f143076b84d663c832911009a077c7f) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where i18n domains would return 404 when `trailingSlash` is set to `never`. + ## 6.4.4 ### Patch Changes diff --git a/packages/astro/e2e/nested-in-svelte.test.ts b/packages/astro/e2e/nested-in-svelte.test.ts index 8c4e873fa19c..c57a8479612e 100644 --- a/packages/astro/e2e/nested-in-svelte.test.ts +++ b/packages/astro/e2e/nested-in-svelte.test.ts @@ -14,88 +14,88 @@ test.afterAll(async () => { }); test.describe('Nested Frameworks in Svelte', () => { - test('React counter', async ({ astro, page }) => { - await page.goto(astro.resolveUrl('/')); + test('React counter', async ({ astro, page }) => { + await page.goto(astro.resolveUrl('/')); - const counter = page.locator('#react-counter'); - await expect(counter, 'component is visible').toBeVisible(); + const counter = page.locator('#react-counter'); + await expect(counter, 'component is visible').toBeVisible(); - const count = counter.locator('#react-counter-count'); - await expect(count, 'initial count is 0').toHaveText('0'); + const count = counter.locator('#react-counter-count'); + await expect(count, 'initial count is 0').toHaveText('0'); - await waitForHydrate(page, counter); + await waitForHydrate(page, counter); - const increment = counter.locator('#react-counter-increment'); - await increment.click(); + const increment = counter.locator('#react-counter-increment'); + await increment.click(); - await expect(count, 'count incremented by 1').toHaveText('1'); - }); + await expect(count, 'count incremented by 1').toHaveText('1'); + }); - test('Preact counter', async ({ astro, page }) => { - await page.goto(astro.resolveUrl('/')); + test('Preact counter', async ({ astro, page }) => { + await page.goto(astro.resolveUrl('/')); - const counter = page.locator('#preact-counter'); - await expect(counter, 'component is visible').toBeVisible(); + const counter = page.locator('#preact-counter'); + await expect(counter, 'component is visible').toBeVisible(); - const count = counter.locator('#preact-counter-count'); - await expect(count, 'initial count is 0').toHaveText('0'); + const count = counter.locator('#preact-counter-count'); + await expect(count, 'initial count is 0').toHaveText('0'); - await waitForHydrate(page, counter); + await waitForHydrate(page, counter); - const increment = counter.locator('#preact-counter-increment'); - await increment.click(); + const increment = counter.locator('#preact-counter-increment'); + await increment.click(); - await expect(count, 'count incremented by 1').toHaveText('1'); - }); + await expect(count, 'count incremented by 1').toHaveText('1'); + }); - test('Solid counter', async ({ astro, page }) => { - await page.goto(astro.resolveUrl('/')); + test('Solid counter', async ({ astro, page }) => { + await page.goto(astro.resolveUrl('/')); - const counter = page.locator('#solid-counter'); - await expect(counter, 'component is visible').toBeVisible(); + const counter = page.locator('#solid-counter'); + await expect(counter, 'component is visible').toBeVisible(); - const count = counter.locator('#solid-counter-count'); - await expect(count, 'initial count is 0').toHaveText('0'); + const count = counter.locator('#solid-counter-count'); + await expect(count, 'initial count is 0').toHaveText('0'); - await waitForHydrate(page, counter); + await waitForHydrate(page, counter); - const increment = counter.locator('#solid-counter-increment'); - await increment.click(); + const increment = counter.locator('#solid-counter-increment'); + await increment.click(); - await expect(count, 'count incremented by 1').toHaveText('1'); - }); + await expect(count, 'count incremented by 1').toHaveText('1'); + }); - test('Vue counter', async ({ astro, page }) => { - await page.goto(astro.resolveUrl('/')); + test('Vue counter', async ({ astro, page }) => { + await page.goto(astro.resolveUrl('/')); - const counter = page.locator('#vue-counter'); - await expect(counter, 'component is visible').toBeVisible(); + const counter = page.locator('#vue-counter'); + await expect(counter, 'component is visible').toBeVisible(); - const count = counter.locator('#vue-counter-count'); - await expect(count, 'initial count is 0').toHaveText('0'); + const count = counter.locator('#vue-counter-count'); + await expect(count, 'initial count is 0').toHaveText('0'); - await waitForHydrate(page, counter); + await waitForHydrate(page, counter); - const increment = counter.locator('#vue-counter-increment'); - await increment.click(); + const increment = counter.locator('#vue-counter-increment'); + await increment.click(); - await expect(count, 'count incremented by 1').toHaveText('1'); - }); + await expect(count, 'count incremented by 1').toHaveText('1'); + }); - test('Svelte counter', async ({ astro, page }) => { - await page.goto(astro.resolveUrl('/')); + test('Svelte counter', async ({ astro, page }) => { + await page.goto(astro.resolveUrl('/')); - const counter = page.locator('#svelte-counter'); - await expect(counter, 'component is visible').toBeVisible(); + const counter = page.locator('#svelte-counter'); + await expect(counter, 'component is visible').toBeVisible(); - const count = counter.locator('#svelte-counter-count'); - await expect(count, 'initial count is 0').toHaveText('0'); + const count = counter.locator('#svelte-counter-count'); + await expect(count, 'initial count is 0').toHaveText('0'); - await waitForHydrate(page, counter); + await waitForHydrate(page, counter); - const increment = counter.locator('#svelte-counter-increment'); - await increment.click(); + const increment = counter.locator('#svelte-counter-increment'); + await increment.click(); - await expect(count, 'count incremented by 1').toHaveText('1'); - }); + await expect(count, 'count incremented by 1').toHaveText('1'); }); +}); diff --git a/packages/astro/package.json b/packages/astro/package.json index 1ef4daa38323..5a0391dcdb50 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "7.0.0-alpha.1", + "version": "7.0.0-alpha.2", "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/astro/src/cli/dev/background.ts b/packages/astro/src/cli/dev/background.ts index feaebf48cf1f..b059895bb764 100644 --- a/packages/astro/src/cli/dev/background.ts +++ b/packages/astro/src/cli/dev/background.ts @@ -32,16 +32,22 @@ export function formatBackgroundOutput(result: BackgroundResult | BackgroundErro export async function background({ flags, logger, -}: { flags: Flags; logger: AstroLogger }): Promise { +}: { + flags: Flags; + logger: AstroLogger; +}): Promise { const root = pathToFileURL(resolveRoot(flags.root) + '/'); // Check for existing server const existing = checkExistingServer(root); if (existing && !flags.force) { - logger.info('SKIP_FORMAT', `Dev server already running at ${existing.url} (pid ${existing.pid})\n` + - ' Stop: astro dev stop\n' + - ' Status: astro dev status\n' + - ' Logs: astro dev logs'); + logger.info( + 'SKIP_FORMAT', + `Dev server already running at ${existing.url} (pid ${existing.pid})\n` + + ' Stop: astro dev stop\n' + + ' Status: astro dev status\n' + + ' Logs: astro dev logs', + ); return; } @@ -127,10 +133,13 @@ export async function background({ // Check for the lock file (written by the child's dev server) const lockData = readLockFile(root); if (lockData && lockData.pid === childPid) { - logger.info('SKIP_FORMAT', `Dev server running at ${lockData.url} (pid ${lockData.pid})\n` + - ' Stop: astro dev stop\n' + - ' Status: astro dev status\n' + - ' Logs: astro dev logs'); + logger.info( + 'SKIP_FORMAT', + `Dev server running at ${lockData.url} (pid ${lockData.pid})\n` + + ' Stop: astro dev stop\n' + + ' Status: astro dev status\n' + + ' Logs: astro dev logs', + ); return; } diff --git a/packages/astro/src/cli/dev/index.ts b/packages/astro/src/cli/dev/index.ts index a725677abee6..2bc7c310a88b 100644 --- a/packages/astro/src/cli/dev/index.ts +++ b/packages/astro/src/cli/dev/index.ts @@ -25,25 +25,25 @@ export async function dev({ flags }: DevOptions) { commandName: 'astro dev', usage: '[command] [...flags]', tables: { - Commands: [ - ['stop', 'Stop a running background dev server.'], - ['status', 'Check if a dev server is running.'], - ['logs [--follow]', 'View logs from a background dev server.'], - ], - Flags: [ - ['--background', 'Start the dev server as a background process.'], - ['--mode', `Specify the mode of the project. Defaults to "development".`], - ['--port', `Specify which port to run on. Defaults to 4321.`], - ['--host', `Listen on all addresses, including LAN and public addresses.`], - ['--host ', `Expose on a network IP address at `], - ['--open', 'Automatically open the app in the browser on server start'], - ['--force', 'Clear the content layer cache, forcing a full rebuild.'], - [ - '--allowed-hosts', - 'Specify a comma-separated list of allowed hosts or allow any hostname.', + Commands: [ + ['stop', 'Stop a running background dev server.'], + ['status', 'Check if a dev server is running.'], + ['logs [--follow]', 'View logs from a background dev server.'], + ], + Flags: [ + ['--background', 'Start the dev server as a background process.'], + ['--mode', `Specify the mode of the project. Defaults to "development".`], + ['--port', `Specify which port to run on. Defaults to 4321.`], + ['--host', `Listen on all addresses, including LAN and public addresses.`], + ['--host ', `Expose on a network IP address at `], + ['--open', 'Automatically open the app in the browser on server start'], + ['--force', 'Clear the content layer cache, forcing a full rebuild.'], + [ + '--allowed-hosts', + 'Specify a comma-separated list of allowed hosts or allow any hostname.', + ], + ['--help (-h)', 'See all available flags.'], ], - ['--help (-h)', 'See all available flags.'], - ], }, description: `Check ${colors.cyan( 'https://docs.astro.build/en/reference/cli-reference/#astro-dev', @@ -93,7 +93,10 @@ export async function dev({ flags }: DevOptions) { // Unknown subcommand — exit with an error before starting the server. if (subcommand) { - logger.error('SKIP_FORMAT', `Unknown command: astro dev ${subcommand}\n\nRun \`astro dev --help\` to see available commands.`); + logger.error( + 'SKIP_FORMAT', + `Unknown command: astro dev ${subcommand}\n\nRun \`astro dev --help\` to see available commands.`, + ); process.exit(1); } diff --git a/packages/astro/src/cli/dev/logs.ts b/packages/astro/src/cli/dev/logs.ts index 6c6caefa4660..116842c99758 100644 --- a/packages/astro/src/cli/dev/logs.ts +++ b/packages/astro/src/cli/dev/logs.ts @@ -5,7 +5,13 @@ import type { Flags } from '../flags.js'; import { checkExistingServer, getLogFileURL, isProcessAlive } from '../../core/dev/lockfile.js'; import { resolveRoot } from '../../core/config/config.js'; -export async function logs({ flags, logger }: { flags: Flags; logger: AstroLogger }): Promise { +export async function logs({ + flags, + logger, +}: { + flags: Flags; + logger: AstroLogger; +}): Promise { const root = pathToFileURL(resolveRoot(flags.root) + '/'); const existing = checkExistingServer(root); diff --git a/packages/astro/src/cli/dev/status.ts b/packages/astro/src/cli/dev/status.ts index 0b404fc4fa64..ad37b0f50daf 100644 --- a/packages/astro/src/cli/dev/status.ts +++ b/packages/astro/src/cli/dev/status.ts @@ -20,7 +20,10 @@ export function formatStatusOutput(result: StatusResult): string { export async function status({ flags, logger, -}: { flags: Flags; logger: AstroLogger }): Promise { +}: { + flags: Flags; + logger: AstroLogger; +}): Promise { const root = pathToFileURL(resolveRoot(flags.root) + '/'); const existing = checkExistingServer(root); diff --git a/packages/astro/src/cli/dev/stop.ts b/packages/astro/src/cli/dev/stop.ts index 68b6eec76c09..556f16c14bb6 100644 --- a/packages/astro/src/cli/dev/stop.ts +++ b/packages/astro/src/cli/dev/stop.ts @@ -1,7 +1,12 @@ import type { AstroLogger } from '../../core/logger/core.js'; import type { Flags } from '../flags.js'; import { pathToFileURL } from 'node:url'; -import { checkExistingServer, removeLockFile, isProcessAlive, GRACEFUL_SHUTDOWN_TIMEOUT } from '../../core/dev/lockfile.js'; +import { + checkExistingServer, + removeLockFile, + isProcessAlive, + GRACEFUL_SHUTDOWN_TIMEOUT, +} from '../../core/dev/lockfile.js'; import { resolveRoot } from '../../core/config/config.js'; export interface StopResult { @@ -14,7 +19,13 @@ export function formatStopOutput(result: StopResult): string { return JSON.stringify(result); } -export async function stop({ flags, logger }: { flags: Flags; logger: AstroLogger }): Promise { +export async function stop({ + flags, + logger, +}: { + flags: Flags; + logger: AstroLogger; +}): Promise { const root = pathToFileURL(resolveRoot(flags.root) + '/'); const existing = checkExistingServer(root); diff --git a/packages/astro/test/units/fetch/index.test.ts b/packages/astro/test/units/fetch/index.test.ts index c8316bef404a..ea5a7ab62ef4 100644 --- a/packages/astro/test/units/fetch/index.test.ts +++ b/packages/astro/test/units/fetch/index.test.ts @@ -13,7 +13,13 @@ import { } from '../../../dist/core/fetch/index.js'; import { ALL_PIPELINE_FEATURES } from '../../../dist/core/base-pipeline.js'; import { createComponent, render } from '../../../dist/runtime/server/index.js'; -import { createEndpoint, createPage, createRedirect, createTestApp, createMockFetchState } from '../mocks.ts'; +import { + createEndpoint, + createPage, + createRedirect, + createTestApp, + createMockFetchState, +} from '../mocks.ts'; import { dynamicPart, spreadPart } from '../routing/test-helpers.ts'; import { SpyLogger } from '../test-utils.ts'; diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index ca31641b9bda..5815a979ecb5 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -1,5 +1,17 @@ # @astrojs/cloudflare +## 14.0.0-alpha.1 + +### Patch Changes + +- [#16990](https://github.com/withastro/astro/pull/16990) [`ebeb830`](https://github.com/withastro/astro/commit/ebeb83075ba7825a822fdcf4228b475cae38c9c5) Thanks [@ocavue](https://github.com/ocavue)! - Fixes a build crash when using `experimental.advancedRouting` with a custom `fetchFile` that statically imports `cf` from `@astrojs/cloudflare/fetch`. The circular dependency between `@astrojs/cloudflare/fetch` and `astro/app/entrypoint` caused `createApp` or `createGetEnv` to be `undefined` at module evaluation time. Initialization is now deferred to the first `cf()` call, breaking the cycle. + +- [#16671](https://github.com/withastro/astro/pull/16671) [`fd926fd`](https://github.com/withastro/astro/commit/fd926fdafd4a5e94dd156105dacb214741f4b7ac) Thanks [@alexanderniebuhr](https://github.com/alexanderniebuhr)! - Removes deprecations warnings added in Astro v6 for Cloudflare specific Astro.locals properties. + +- Updated dependencies [[`1f07343`](https://github.com/withastro/astro/commit/1f07343ffc69b9c982f43cd0369069fe8d1a07fa), [`1e000e2`](https://github.com/withastro/astro/commit/1e000e2454fbbade0a5ed978a9dccf8307780305), [`c63e7e4`](https://github.com/withastro/astro/commit/c63e7e4411db8fc652c84ce82b45f53e951eb6fa), [`ebeb830`](https://github.com/withastro/astro/commit/ebeb83075ba7825a822fdcf4228b475cae38c9c5), [`10229f7`](https://github.com/withastro/astro/commit/10229f73dbf0f19b9936e9a23f0abc774a4c579e)]: + - astro@7.0.0-alpha.2 + - @astrojs/underscore-redirects@1.0.3 + ## 14.0.0-alpha.0 ### Major Changes @@ -10,6 +22,7 @@ - Updated dependencies [[`cafec4e`](https://github.com/withastro/astro/commit/cafec4e23365061491103dfce2e889a15cf86f27), [`cafec4e`](https://github.com/withastro/astro/commit/cafec4e23365061491103dfce2e889a15cf86f27), [`c30a778`](https://github.com/withastro/astro/commit/c30a7789a477e44826c54c8560587d09dc46a229), [`ee079d4`](https://github.com/withastro/astro/commit/ee079d4c7f143076b84d663c832911009a077c7f)]: - astro@7.0.0-alpha.0 + ## 13.6.1 ### Patch Changes diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index db94a25362ea..1ce63fdf408b 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/cloudflare", "description": "Deploy your site to Cloudflare Workers", - "version": "14.0.0-alpha.0", + "version": "14.0.0-alpha.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -51,7 +51,7 @@ "vite": "^8.0.13" }, "peerDependencies": { - "astro": "^7.3.0-alpha.0", + "astro": "^7.0.0-alpha.2", "wrangler": "^4.83.0" }, "devDependencies": { diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index 00f99681a296..326db990276a 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,26 @@ # @astrojs/mdx +## 6.0.0-alpha.1 + +### Patch Changes + +- [#16969](https://github.com/withastro/astro/pull/16969) [`4a31f90`](https://github.com/withastro/astro/commit/4a31f90c765bcd1c4af8b85160b74a0da338cfe7) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds support for Prism syntax highlighting to the Sätteri Markdown and MDX processors. Setting `markdown.syntaxHighlight` to `'prism'` now highlights your code blocks with Prism. + + ```js + // astro.config.mjs + import { satteri } from '@astrojs/markdown-satteri'; + + export default defineConfig({ + markdown: { + processor: satteri(), + syntaxHighlight: 'prism', + }, + }); + ``` + +- Updated dependencies [[`4a31f90`](https://github.com/withastro/astro/commit/4a31f90c765bcd1c4af8b85160b74a0da338cfe7)]: + - @astrojs/markdown-satteri@0.3.0-alpha.0 + ## 6.0.0-alpha.0 ### Major Changes @@ -10,6 +31,7 @@ - Updated dependencies [[`cafec4e`](https://github.com/withastro/astro/commit/cafec4e23365061491103dfce2e889a15cf86f27), [`cafec4e`](https://github.com/withastro/astro/commit/cafec4e23365061491103dfce2e889a15cf86f27), [`c30a778`](https://github.com/withastro/astro/commit/c30a7789a477e44826c54c8560587d09dc46a229), [`ee079d4`](https://github.com/withastro/astro/commit/ee079d4c7f143076b84d663c832911009a077c7f)]: - astro@7.0.0-alpha.0 + ## 6.0.2 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 2120fdf3602b..bae29c986205 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": "6.0.0-alpha.0", + "version": "6.0.0-alpha.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -50,7 +50,7 @@ "vfile": "^6.0.3" }, "peerDependencies": { - "@astrojs/markdown-satteri": "0.3.0", + "@astrojs/markdown-satteri": "0.3.0-alpha.0", "astro": "^7.0.0-alpha.0" }, "peerDependenciesMeta": { diff --git a/packages/integrations/solid/src/index.ts b/packages/integrations/solid/src/index.ts index 3ee9e391a870..91712fc8ccec 100644 --- a/packages/integrations/solid/src/index.ts +++ b/packages/integrations/solid/src/index.ts @@ -44,7 +44,10 @@ function getViteConfiguration( { include, exclude }: Options, devtoolsPlugin: DevtoolsPlugin | null, ) { - const plugins: PluginOption[] = [solid({ include, exclude, ssr: true }), configEnvironmentPlugin()]; + const plugins: PluginOption[] = [ + solid({ include, exclude, ssr: true }), + configEnvironmentPlugin(), + ]; if (devtoolsPlugin) { plugins.push(devtoolsPlugin({ autoname: true })); diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index ea4130690729..35532d5fac0a 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/svelte +## 9.0.0-alpha.2 + +### Minor Changes + +- [#16549](https://github.com/withastro/astro/pull/16549) [`9d9d516`](https://github.com/withastro/astro/commit/9d9d516ba95fb888d5e8c62892269cf047b523e9) Thanks [@ocavue](https://github.com/ocavue)! - Updates `@sveltejs/vite-plugin-svelte` to v7. No user action is necessary. + ## 9.0.0-alpha.0 ### Major Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index f47f7b7e4f6d..1b477e4e5436 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "9.0.0-alpha.1", + "version": "9.0.0-alpha.2", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/vue/src/index.ts b/packages/integrations/vue/src/index.ts index 2e86b0d4cba7..6e8cbe3a4d63 100644 --- a/packages/integrations/vue/src/index.ts +++ b/packages/integrations/vue/src/index.ts @@ -121,7 +121,11 @@ async function getViteConfiguration( // The vue vite plugin may not manage to resolve it automatically vueOptions.compiler ??= await import('vue/compiler-sfc'); - const plugins: PluginOption[] = [vue(vueOptions), virtualAppEntrypoint(vueOptions), configEnvironmentPlugin()]; + const plugins: PluginOption[] = [ + vue(vueOptions), + virtualAppEntrypoint(vueOptions), + configEnvironmentPlugin(), + ]; if (options?.jsx) { const vueJsx = (await import('@vitejs/plugin-vue-jsx')).default; diff --git a/packages/markdown/satteri/CHANGELOG.md b/packages/markdown/satteri/CHANGELOG.md index 72f98b3765ff..818422fb9443 100644 --- a/packages/markdown/satteri/CHANGELOG.md +++ b/packages/markdown/satteri/CHANGELOG.md @@ -1,5 +1,23 @@ # @astrojs/markdown-satteri +## 0.3.0-alpha.0 + +### Minor Changes + +- [#16969](https://github.com/withastro/astro/pull/16969) [`4a31f90`](https://github.com/withastro/astro/commit/4a31f90c765bcd1c4af8b85160b74a0da338cfe7) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds support for Prism syntax highlighting to the Sätteri Markdown and MDX processors. Setting `markdown.syntaxHighlight` to `'prism'` now highlights your code blocks with Prism. + + ```js + // astro.config.mjs + import { satteri } from '@astrojs/markdown-satteri'; + + export default defineConfig({ + markdown: { + processor: satteri(), + syntaxHighlight: 'prism', + }, + }); + ``` + ## 0.2.2 ### Patch Changes diff --git a/packages/markdown/satteri/package.json b/packages/markdown/satteri/package.json index b4eb79137a35..4251f585bd53 100644 --- a/packages/markdown/satteri/package.json +++ b/packages/markdown/satteri/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-satteri", - "version": "0.2.2", + "version": "0.3.0-alpha.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 42b2550d78c8..8cbdc73d1913 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -197,7 +197,7 @@ importers: specifier: ^11.0.0-alpha.0 version: link:../../packages/integrations/node astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro hono: specifier: ^4.12.14 @@ -206,22 +206,22 @@ importers: examples/basics: dependencies: astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^6.0.0-alpha.0 + specifier: ^6.0.0-alpha.1 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.18 version: link:../../packages/astro-rss '@astrojs/sitemap': - specifier: ^3.7.2 + specifier: ^3.7.3 version: link:../../packages/integrations/sitemap astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro sharp: specifier: ^0.34.3 @@ -230,7 +230,7 @@ importers: examples/component: devDependencies: astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/container-with-vitest: @@ -239,7 +239,7 @@ importers: specifier: ^6.0.0-alpha.0 version: link:../../packages/integrations/react astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -270,7 +270,7 @@ importers: specifier: ^3.15.8 version: 3.15.8 astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/framework-multiple: @@ -285,7 +285,7 @@ importers: specifier: ^7.0.0-alpha.0 version: link:../../packages/integrations/solid '@astrojs/svelte': - specifier: ^9.0.0-alpha.0 + specifier: ^9.0.0-alpha.2 version: link:../../packages/integrations/svelte '@astrojs/vue': specifier: ^7.0.0-alpha.0 @@ -297,7 +297,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -327,7 +327,7 @@ importers: specifier: ^2.8.1 version: 2.8.2(preact@10.29.0) astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -345,7 +345,7 @@ importers: specifier: ^18.3.7 version: 18.3.7(@types/react@18.3.28) astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -360,7 +360,7 @@ importers: specifier: ^7.0.0-alpha.0 version: link:../../packages/integrations/solid astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro solid-js: specifier: ^1.9.11 @@ -369,10 +369,10 @@ importers: examples/framework-svelte: dependencies: '@astrojs/svelte': - specifier: ^9.0.0-alpha.0 + specifier: ^9.0.0-alpha.2 version: link:../../packages/integrations/svelte astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -384,7 +384,7 @@ importers: specifier: ^7.0.0-alpha.0 version: link:../../packages/integrations/vue astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro vue: specifier: ^3.5.29 @@ -396,25 +396,25 @@ importers: specifier: ^11.0.0-alpha.0 version: link:../../packages/integrations/node astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/ssr: @@ -423,10 +423,10 @@ importers: specifier: ^11.0.0-alpha.0 version: link:../../packages/integrations/node '@astrojs/svelte': - specifier: ^9.0.0-alpha.0 + specifier: ^9.0.0-alpha.2 version: link:../../packages/integrations/svelte astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro svelte: specifier: ^5.53.5 @@ -435,7 +435,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro sass: specifier: ^1.97.3 @@ -450,7 +450,7 @@ importers: specifier: ^22.19.0 version: 22.19.19 astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/with-markdoc: @@ -459,19 +459,19 @@ importers: specifier: ^2.0.0-alpha.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^6.0.0-alpha.0 + specifier: ^6.0.0-alpha.1 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^6.0.0-alpha.0 version: link:../../packages/integrations/preact astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro preact: specifier: ^10.28.4 @@ -486,7 +486,7 @@ importers: specifier: ^1.0.0 version: 1.0.0(nanostores@1.1.1)(preact@10.29.0) astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro nanostores: specifier: ^1.1.1 @@ -498,7 +498,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^6.0.0-alpha.0 + specifier: ^6.0.0-alpha.1 version: link:../../packages/integrations/mdx '@tailwindcss/vite': specifier: ^4.2.1 @@ -507,7 +507,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.4 @@ -519,7 +519,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^7.0.0-alpha.1 + specifier: ^7.0.0-alpha.2 version: link:../../packages/astro vitest: specifier: ^5.0.0-beta.2