diff --git a/.changeset/pre.json b/.changeset/pre.json index f3efcc3d9276..42dd547a5b0a 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -25,7 +25,36 @@ "@astrojs/markdown-remark": "6.3.6", "@astrojs/telemetry": "3.3.0", "@astrojs/underscore-redirects": "1.0.0", - "@astrojs/upgrade": "0.6.2" + "@astrojs/upgrade": "0.6.2", + "@astrojs/check": "0.9.5", + "@astrojs/language-server": "2.16.0", + "@astrojs/ts-plugin": "1.10.5", + "astro-vscode": "2.16.0", + "@astrojs/yaml2ts": "0.2.2" }, - "changesets": [] + "changesets": [ + "beige-clowns-read", + "busy-olives-chew", + "cuddly-worlds-beam", + "cyan-crews-cross", + "dark-chicken-sleep", + "dull-mangos-travel", + "fast-bushes-fall", + "giant-areas-press", + "good-camels-pull", + "green-garlics-heal", + "honest-deer-add", + "kind-pears-behave", + "pretty-forks-smash", + "puny-poems-create", + "rich-horses-begin", + "rich-tips-kick", + "sad-lines-hear", + "six-women-visit", + "stale-ads-see", + "tricky-donkeys-camp", + "wet-suits-help", + "whole-geckos-think", + "young-banks-camp" + ] } diff --git a/examples/basics/package.json b/examples/basics/package.json index d090e16943d4..d808e53d0e67 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.15.4" + "astro": "^6.0.0-alpha.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 36710b8efac9..dc5580f2ac8b 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -10,10 +10,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^4.3.10", + "@astrojs/mdx": "^5.0.0-alpha.0", "@astrojs/rss": "^4.0.13", "@astrojs/sitemap": "^3.6.0", - "astro": "^5.15.4", + "astro": "^6.0.0-alpha.0", "sharp": "^0.34.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index 5023b02c0b06..ffbb6f215878 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.15.4" + "astro": "^6.0.0-alpha.0" }, "peerDependencies": { "astro": "^4.0.0 || ^5.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index eaa4516390ad..4d2daa5da94a 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -11,8 +11,8 @@ "test": "vitest run" }, "dependencies": { - "@astrojs/react": "^4.4.2", - "astro": "^5.15.4", + "@astrojs/react": "^5.0.0-alpha.0", + "astro": "^6.0.0-alpha.0", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^3.2.4" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 72931e3f6a83..5dcd5e8aee41 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -10,9 +10,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/alpinejs": "^0.4.9", + "@astrojs/alpinejs": "^0.5.0-alpha.0", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.15.0", - "astro": "^5.15.4" + "astro": "^6.0.0-alpha.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 6b76e7fed2ce..af7272aa0a52 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -10,14 +10,14 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^4.1.3", - "@astrojs/react": "^4.4.2", - "@astrojs/solid-js": "^5.1.3", - "@astrojs/svelte": "^7.2.2", - "@astrojs/vue": "^5.1.3", + "@astrojs/preact": "^5.0.0-alpha.0", + "@astrojs/react": "^5.0.0-alpha.0", + "@astrojs/solid-js": "^6.0.0-alpha.0", + "@astrojs/svelte": "^8.0.0-alpha.0", + "@astrojs/vue": "^6.0.0-alpha.0", "@types/react": "^18.3.26", "@types/react-dom": "^18.3.7", - "astro": "^5.15.4", + "astro": "^6.0.0-alpha.0", "preact": "^10.27.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 7f452cbd7326..cff4b783bfd7 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -10,9 +10,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^4.1.3", + "@astrojs/preact": "^5.0.0-alpha.0", "@preact/signals": "^2.3.2", - "astro": "^5.15.4", + "astro": "^6.0.0-alpha.0", "preact": "^10.27.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 7d34cde23d4b..22f212c0a511 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -10,10 +10,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^4.4.2", + "@astrojs/react": "^5.0.0-alpha.0", "@types/react": "^18.3.26", "@types/react-dom": "^18.3.7", - "astro": "^5.15.4", + "astro": "^6.0.0-alpha.0", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 007efc1e39c3..87f6579f587a 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -10,8 +10,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/solid-js": "^5.1.3", - "astro": "^5.15.4", + "@astrojs/solid-js": "^6.0.0-alpha.0", + "astro": "^6.0.0-alpha.0", "solid-js": "^1.9.9" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 37e3e31b6fb7..bca7e0ccff91 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,8 +10,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^7.2.2", - "astro": "^5.15.4", + "@astrojs/svelte": "^8.0.0-alpha.0", + "astro": "^6.0.0-alpha.0", "svelte": "^5.41.3" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index d8171c928435..c25561637890 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -10,8 +10,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/vue": "^5.1.3", - "astro": "^5.15.4", + "@astrojs/vue": "^6.0.0-alpha.0", + "astro": "^6.0.0-alpha.0", "vue": "^3.5.22" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 7827eb624102..637ad04bb237 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^9.5.0", - "astro": "^5.15.4" + "@astrojs/node": "^10.0.0-alpha.0", + "astro": "^6.0.0-alpha.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 18ba0f5b95bf..d6552c667543 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.15.4" + "astro": "^6.0.0-alpha.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index b13f301a733a..ccd5d875e3d9 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.15.4" + "astro": "^6.0.0-alpha.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 347a5de9e58c..5d255319e509 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.15.4" + "astro": "^6.0.0-alpha.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 0585cdb0669f..90bc1e434854 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -11,9 +11,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^9.5.0", - "@astrojs/svelte": "^7.2.2", - "astro": "^5.15.4", + "@astrojs/node": "^10.0.0-alpha.0", + "@astrojs/svelte": "^8.0.0-alpha.0", + "astro": "^6.0.0-alpha.0", "svelte": "^5.41.3" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index fa156981c23d..b5be5eddf7ef 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.15.4", + "astro": "^6.0.0-alpha.0", "sass": "^1.93.2", "sharp": "^0.34.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 40758a360122..e71934c548ca 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,6 +16,6 @@ }, "devDependencies": { "@types/node": "^18.17.8", - "astro": "^5.15.4" + "astro": "^6.0.0-alpha.0" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 38f60ec8505f..d4de46126fae 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.15.8", - "astro": "^5.15.4" + "@astrojs/markdoc": "^1.0.0-alpha.0", + "astro": "^6.0.0-alpha.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 7730302705b9..72aa5db4d2c6 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -10,9 +10,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^4.3.10", - "@astrojs/preact": "^4.1.3", - "astro": "^5.15.4", + "@astrojs/mdx": "^5.0.0-alpha.0", + "@astrojs/preact": "^5.0.0-alpha.0", + "astro": "^6.0.0-alpha.0", "preact": "^10.27.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 0deb85627d34..10c2c8c4a9bc 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -10,9 +10,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^4.1.3", + "@astrojs/preact": "^5.0.0-alpha.0", "@nanostores/preact": "^0.5.2", - "astro": "^5.15.4", + "astro": "^6.0.0-alpha.0", "nanostores": "^0.11.4", "preact": "^10.27.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 72dd9a09d0c6..ef3e64ebc2a0 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -10,10 +10,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^4.3.10", + "@astrojs/mdx": "^5.0.0-alpha.0", "@tailwindcss/vite": "^4.1.16", "@types/canvas-confetti": "^1.9.0", - "astro": "^5.15.4", + "astro": "^6.0.0-alpha.0", "canvas-confetti": "^1.9.3", "tailwindcss": "^4.1.16" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 41e9875efe24..f69843a6037d 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.15.4", + "astro": "^6.0.0-alpha.0", "vitest": "^3.2.4" } } diff --git a/packages/astro-prism/CHANGELOG.md b/packages/astro-prism/CHANGELOG.md index 19871c6d0f4d..b716d4b88e45 100644 --- a/packages/astro-prism/CHANGELOG.md +++ b/packages/astro-prism/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/prism +## 4.0.0-alpha.0 + +### Major Changes + +- [#14427](https://github.com/withastro/astro/pull/14427) [`e131261`](https://github.com/withastro/astro/commit/e1312615b39c59ebc05d5bb905ee0960b50ad3cf) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Increases minimum Node.js version to 22.12.0 - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#node-22)) + ## 3.3.0 ### Minor Changes diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index 176bbcd47f2f..2105e0ba9418 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/prism", - "version": "3.3.0", + "version": "4.0.0-alpha.0", "description": "Add Prism syntax highlighting support to your Astro site", "author": "withastro", "type": "module", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index a6f442caed15..795aa571f0b8 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,135 @@ # astro +## 6.0.0-alpha.0 + +### Major Changes + +- [#14446](https://github.com/withastro/astro/pull/14446) [`ece667a`](https://github.com/withastro/astro/commit/ece667a737a96c8bfea2702de7207bed0842b37c) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes `entryPoints` on `astro:build:ssr` hook (Integration API) - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-entrypoints-on-astrobuildssr-hook-integration-api)) + +- [#14426](https://github.com/withastro/astro/pull/14426) [`861b9cc`](https://github.com/withastro/astro/commit/861b9cc770a05d9fcfcb2f1f442a3ba41e94b510) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes the deprecated `emitESMImage()` function - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-emitesmimage)) + +- [#14446](https://github.com/withastro/astro/pull/14446) [`ece667a`](https://github.com/withastro/astro/commit/ece667a737a96c8bfea2702de7207bed0842b37c) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes `routes` on `astro:build:done` hook (Integration API) - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-routes-on-astrobuilddone-hook-integration-api)) + +- [#14462](https://github.com/withastro/astro/pull/14462) [`9fdfd4c`](https://github.com/withastro/astro/commit/9fdfd4c620313827e65664632a9c9cb435ad07ca) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes the old `app.render()` signature (Adapter API) - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-old-apprender-signature-adapter-api)) + +- [#14462](https://github.com/withastro/astro/pull/14462) [`9fdfd4c`](https://github.com/withastro/astro/commit/9fdfd4c620313827e65664632a9c9cb435ad07ca) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes `prefetch()` `with` option - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-prefetch-with-option)) + +- [#14432](https://github.com/withastro/astro/pull/14432) [`b1d87ec`](https://github.com/withastro/astro/commit/b1d87ec3bc2fbe214437990e871df93909d18f62) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Deprecates `Astro` in `getStaticPaths()` - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#deprecated-astro-in-getstaticpaths)) + +- [#14457](https://github.com/withastro/astro/pull/14457) [`049da87`](https://github.com/withastro/astro/commit/049da87cb7ce1828f3025062ce079dbf132f5b86) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates trailing slash behavior of endpoint URLs - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#changed-endpoints-with-a-file-extension-cannot-be-accessed-with-a-trailing-slash)) + +- [#14494](https://github.com/withastro/astro/pull/14494) [`727b0a2`](https://github.com/withastro/astro/commit/727b0a205eb765f1c36f13a73dfc69e17e44df8f) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates Markdown heading ID generation - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#changed-markdown-heading-id-generation)) + +- [#14461](https://github.com/withastro/astro/pull/14461) [`55a1a91`](https://github.com/withastro/astro/commit/55a1a911aa4e0d38191f8cb9464ffd58f3eb7608) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Deprecates `import.meta.env.ASSETS_PREFIX` - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#deprecated-importmetaenvassets_prefix)) + +- [#14586](https://github.com/withastro/astro/pull/14586) [`669ca5b`](https://github.com/withastro/astro/commit/669ca5b0199d9933f54c76448de9ec5a9f13c430) Thanks [@ocavue](https://github.com/ocavue)! - Changes the values allowed in `params` returned by `getStaticPaths()` - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#changed-getstaticpaths-cannot-return-params-of-type-number)) + +- [#14421](https://github.com/withastro/astro/pull/14421) [`df6d2d7`](https://github.com/withastro/astro/commit/df6d2d7bbcaf6b6a327a37a6437d4adade6e2485) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes the previously deprecated `Astro.glob()` - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-astroglob)) + +- [#14462](https://github.com/withastro/astro/pull/14462) [`9fdfd4c`](https://github.com/withastro/astro/commit/9fdfd4c620313827e65664632a9c9cb435ad07ca) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes the `handleForms` prop for the `` component - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-handleforms-prop-for-the-clientrouter--component)) + +- [#14427](https://github.com/withastro/astro/pull/14427) [`e131261`](https://github.com/withastro/astro/commit/e1312615b39c59ebc05d5bb905ee0960b50ad3cf) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Increases minimum Node.js version to 22.12.0 - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#node-22)) + +- [#14400](https://github.com/withastro/astro/pull/14400) [`c69c7de`](https://github.com/withastro/astro/commit/c69c7de1ffeff29f919d97c262f245927556f875) Thanks [@ellielok](https://github.com/ellielok)! - Removes the deprecated `` component - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-viewtransitions--component)) + +- [#14406](https://github.com/withastro/astro/pull/14406) [`4f11510`](https://github.com/withastro/astro/commit/4f11510c9ed932f5cb6d1075b1172909dd5db23e) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Changes the default routing configuration value of `i18n.routing.redirectToDefaultLocale` from `true` to `false` - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#changed-i18nroutingredirecttodefaultlocale-default-value)) + +- [#14477](https://github.com/withastro/astro/pull/14477) [`25fe093`](https://github.com/withastro/astro/commit/25fe09396dbcda2e1008c01a982f4eb2d1f33ae6) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes `rewrite()` from Actions context - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#removed-rewrite-from-actions-context)) + +- [#14445](https://github.com/withastro/astro/pull/14445) [`ecb0b98`](https://github.com/withastro/astro/commit/ecb0b98396f639d830a99ddb5895ab9223e4dc87) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#vite-70)) + +- [#14485](https://github.com/withastro/astro/pull/14485) [`6f67c6e`](https://github.com/withastro/astro/commit/6f67c6eef2647ef1a1eab78a65a906ab633974bb) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates `import.meta.env` values to always be inlined - ([v6 upgrade guidance](https://deploy-preview-12322--astro-docs-2.netlify.app/en/guides/upgrade-to/v6/#changed-importmetaenv-values-are-always-inlined)) + +- [#14480](https://github.com/withastro/astro/pull/14480) [`36a461b`](https://github.com/withastro/astro/commit/36a461bf3f64c467bc52aecf511cd831d238e18b) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates `