diff --git a/.changeset/pre.json b/.changeset/pre.json index f239e523d5cc..50eeffb37363 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -31,5 +31,16 @@ "@astrojs/underscore-redirects": "0.3.4", "@astrojs/upgrade": "0.3.1" }, - "changesets": [] + "changesets": [ + "chatty-teachers-sit", + "mighty-trees-teach", + "new-pillows-kick", + "poor-frogs-dream", + "quick-ads-exercise", + "small-ties-sort", + "smart-comics-doubt", + "spicy-houses-fry", + "ten-students-repair", + "weak-dancers-beam" + ] } diff --git a/examples/basics/package.json b/examples/basics/package.json index be4bf81ad1c6..3390c86343ab 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 2b248d3a8d29..e3c9c3bb9767 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.3", + "@astrojs/mdx": "^4.0.0-alpha.0", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 3d2e2bead498..9ef977a493e5 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 1c673234054c..b062065f6557 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest run" }, "dependencies": { - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "@astrojs/react": "^3.6.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 03cfff656dbf..3d494a88f6d1 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.1", - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 043cee15ebd0..ec4d835ecfc5 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -14,11 +14,11 @@ "@astrojs/preact": "^3.5.1", "@astrojs/react": "^3.6.2", "@astrojs/solid-js": "^4.4.1", - "@astrojs/svelte": "^5.7.0", - "@astrojs/vue": "^4.5.0", + "@astrojs/svelte": "^6.0.0-alpha.0", + "@astrojs/vue": "^5.0.0-alpha.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "preact": "^10.23.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 cb70d3a9f028..c2635c093e5a 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@preact/signals": "^1.3.0", - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "preact": "^10.23.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 4fbde09c6476..f1585c4c10ba 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.2", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.2", + "astro": "^5.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 6d234f05c293..05e6ec738b5d 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.1", - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "solid-js": "^1.8.21" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 42a99cd2473a..1cec15cbc1d2 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.2", + "@astrojs/svelte": "^6.0.0-alpha.0", + "astro": "^5.0.0-alpha.0", "svelte": "^4.2.18" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 2e9653a88ae4..ad8546684e58 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/vue": "^4.5.0", - "astro": "^4.14.2", + "@astrojs/vue": "^5.0.0-alpha.0", + "astro": "^5.0.0-alpha.0", "vue": "^3.4.38" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index bc5ee46b2c2b..4b6a2af106dc 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^8.3.3", - "astro": "^4.14.2" + "@astrojs/node": "^9.0.0-alpha.0", + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index d8225462a805..2b5f62ef3ab2 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index db80ba2fe233..4c7fa55dedb8 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -12,8 +12,8 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^8.3.3", - "astro": "^4.14.2", + "@astrojs/node": "^9.0.0-alpha.0", + "astro": "^5.0.0-alpha.0", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 129a0e1c68d6..d18bbd27a3a7 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 14750d84118e..f5e09395a14e 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 22e75e1419ea..b0620901ec10 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index adf39cd380c8..96ac136abc22 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -10,14 +10,14 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/node": "^8.3.3", + "@astrojs/node": "^9.0.0-alpha.0", "@astrojs/react": "^3.6.2", - "@astrojs/tailwind": "^5.1.0", + "@astrojs/tailwind": "^6.0.0-alpha.0", "@fortawesome/fontawesome-free": "^6.6.0", "@tailwindcss/forms": "^0.5.7", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "postcss": "^8.4.41", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index d35df0ec4c56..cb9e2a4cb061 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,9 +12,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^8.3.3", - "@astrojs/svelte": "^5.7.0", - "astro": "^4.14.2", + "@astrojs/node": "^9.0.0-alpha.0", + "@astrojs/svelte": "^6.0.0-alpha.0", + "astro": "^5.0.0-alpha.0", "svelte": "^4.2.18" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 905df4a69dfe..9e03a65ad4fe 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "sass": "^1.77.8", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index d08c29bca229..fb8551ae65bc 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 7448b9ec0a8f..f568ec7a1ac3 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -10,8 +10,8 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/tailwind": "^5.1.0", - "@astrojs/node": "^8.3.3", - "astro": "^4.14.2" + "@astrojs/tailwind": "^6.0.0-alpha.0", + "@astrojs/node": "^9.0.0-alpha.0", + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 1af3bc63c152..23a78a6acd69 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.11.3", - "astro": "^4.14.2" + "@astrojs/markdoc": "^1.0.0-alpha.0", + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 61f1253458f9..f444977132f5 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": "^5.2.0", - "astro": "^4.14.2", + "@astrojs/markdown-remark": "^6.0.0-alpha.0", + "astro": "^5.0.0-alpha.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 e1486a376a88..1e5a875cc598 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.14.2" + "astro": "^5.0.0-alpha.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index e83c26abc6a2..d5d61d16db95 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.3", + "@astrojs/mdx": "^4.0.0-alpha.0", "@astrojs/preact": "^3.5.1", - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "preact": "^10.23.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 709d6388cb5a..db6080d09fa3 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@nanostores/preact": "^0.5.2", - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "nanostores": "^0.11.2", "preact": "^10.23.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index cd5e7b994e34..5fc07f1de8a7 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.3", - "@astrojs/tailwind": "^5.1.0", + "@astrojs/mdx": "^4.0.0-alpha.0", + "@astrojs/tailwind": "^6.0.0-alpha.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.41", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 88956a94eb43..40ea3ea32b81 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.14.2", + "astro": "^5.0.0-alpha.0", "vitest": "^2.0.5" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 5c93709a4b30..1a9256585297 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,80 @@ # astro +## 5.0.0-alpha.0 + +### Major Changes + +- [#10742](https://github.com/withastro/astro/pull/10742) [`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0) Thanks [@ematipico](https://github.com/ematipico)! - The lowest version of Node supported by Astro is now Node v18.17.1 and higher. + +- [#11715](https://github.com/withastro/astro/pull/11715) [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Refactor the exported types from the `astro` module. There should normally be no breaking changes, but if you relied on some previously deprecated types, these might now have been fully removed. + + In most cases, updating your code to move away from previously deprecated APIs in previous versions of Astro should be enough to fix any issues. + +- [#11660](https://github.com/withastro/astro/pull/11660) [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9) Thanks [@bluwy](https://github.com/bluwy)! - Fixes attribute rendering for non-[boolean HTML attributes](https://developer.mozilla.org/en-US/docs/Glossary/Boolean/HTML) with boolean values to match proper attribute handling in browsers. + + Previously, non-boolean attributes may not have included their values when rendered to HTML. In Astro v5.0, the values are now explicitly rendered as `="true"` or `="false"` + + In the following `.astro` examples, only `allowfullscreen` is a boolean attribute: + + ```astro + +

+

+ + +

+

+ + +

+

+ ``` + + Astro v5.0 now preserves the full data attribute with its value when rendering the HTML of non-boolean attributes: + + ```diff +

+

+ +

+ -

+ +

+ + -

+ +

+ -

+ +

+ ``` + + If you rely on attribute values, for example to locate elements or to conditionally render, update your code to match the new non-boolean attribute values: + + ```diff + - el.getAttribute('inherit') === '' + + el.getAttribute('inherit') === 'false' + + - el.hasAttribute('data-light') + + el.dataset.light === 'true' + ``` + +- [#11714](https://github.com/withastro/astro/pull/11714) [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6) Thanks [@matthewp](https://github.com/matthewp)! - Remove support for functionPerRoute + + This change removes support for the `functionPerRoute` option both in Astro and `@astrojs/vercel`. + + This option made it so that each route got built as separate entrypoints so that they could be loaded as separate functions. The hope was that by doing this it would decrease the size of each function. However in practice routes use most of the same code, and increases in function size limitations made the potential upsides less important. + + Additionally there are downsides to functionPerRoute, such as hitting limits on the number of functions per project. The feature also never worked with some Astro features like i18n domains and request rewriting. + + Given this, the feature has been removed from Astro. + +### Patch Changes + +- [#11745](https://github.com/withastro/astro/pull/11745) [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f) Thanks [@bluwy](https://github.com/bluwy)! - Prints prerender dynamic value usage warning only if it's used + +- [#11730](https://github.com/withastro/astro/pull/11730) [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Simplifies path operations of `astro sync` + +- Updated dependencies [[`83a2a64`](https://github.com/withastro/astro/commit/83a2a648418ad30f4eb781d1c1b5f2d8a8ac846e)]: + - @astrojs/markdown-remark@6.0.0-alpha.0 + ## 4.14.2 ### Patch Changes diff --git a/packages/astro/components/Picture.astro b/packages/astro/components/Picture.astro index 6686faf15bbe..73459db04f37 100644 --- a/packages/astro/components/Picture.astro +++ b/packages/astro/components/Picture.astro @@ -1,9 +1,9 @@ --- import { type LocalImageProps, type RemoteImageProps, getImage } from 'astro:assets'; import * as mime from 'mrmime'; -import type { GetImageResult, ImageOutputFormat } from '../dist/types/public/index.js'; import { isESMImportedImage, resolveSrc } from '../dist/assets/utils/imageKind'; import { AstroError, AstroErrorData } from '../dist/core/errors/index.js'; +import type { GetImageResult, ImageOutputFormat } from '../dist/types/public/index.js'; import type { HTMLAttributes } from '../types'; type Props = (LocalImageProps | RemoteImageProps) & { diff --git a/packages/astro/package.json b/packages/astro/package.json index 263d9389e9a4..e55274daff00 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.14.2", + "version": "5.0.0-alpha.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/astro/src/cli/db/index.ts b/packages/astro/src/cli/db/index.ts index 7aaea302c173..0dda4f30b708 100644 --- a/packages/astro/src/cli/db/index.ts +++ b/packages/astro/src/cli/db/index.ts @@ -1,7 +1,7 @@ import type { Arguments } from 'yargs-parser'; -import type { AstroConfig } from '../../types/public/config.js'; import { resolveConfig } from '../../core/config/config.js'; import { apply as applyPolyfill } from '../../core/polyfill.js'; +import type { AstroConfig } from '../../types/public/config.js'; import { createLoggerFromFlags, flagsToAstroInlineConfig } from '../flags.js'; import { getPackage } from '../install-package.js'; diff --git a/packages/astro/src/core/build/generate.ts b/packages/astro/src/core/build/generate.ts index 8bf88109595e..e58f56100340 100644 --- a/packages/astro/src/core/build/generate.ts +++ b/packages/astro/src/core/build/generate.ts @@ -99,7 +99,7 @@ export async function generatePages(options: StaticBuildOptions, internals: Buil } const ssrEntryPage = await pipeline.retrieveSsrEntry(pageData.route, filePath); - + const ssrEntry = ssrEntryPage as SinglePageBuiltModule; await generatePage(pageData, ssrEntry, builtPaths, pipeline); } diff --git a/packages/astro/src/core/build/pipeline.ts b/packages/astro/src/core/build/pipeline.ts index 86a97071af1d..ae00da5a0ede 100644 --- a/packages/astro/src/core/build/pipeline.ts +++ b/packages/astro/src/core/build/pipeline.ts @@ -199,9 +199,7 @@ export class BuildPipeline extends Pipeline { for (const [virtualModulePageName, filePath] of this.internals.entrySpecifierToBundleMap) { // virtual pages are emitted with the 'plugin-pages' prefix - if ( - virtualModulePageName.includes(ASTRO_PAGE_RESOLVED_MODULE_ID) - ) { + if (virtualModulePageName.includes(ASTRO_PAGE_RESOLVED_MODULE_ID)) { let pageDatas: PageBuildData[] = []; pageDatas.push( ...getPagesFromVirtualModulePageName( diff --git a/packages/astro/src/core/build/plugins/plugin-ssr.ts b/packages/astro/src/core/build/plugins/plugin-ssr.ts index 180bd158ee53..992dc65614f4 100644 --- a/packages/astro/src/core/build/plugins/plugin-ssr.ts +++ b/packages/astro/src/core/build/plugins/plugin-ssr.ts @@ -1,3 +1,4 @@ +import type { Plugin as VitePlugin } from 'vite'; import type { AstroSettings } from '../../../types/astro.js'; import type { AstroAdapter } from '../../../types/public/integrations.js'; import { routeIsRedirect } from '../../redirects/index.js'; @@ -12,7 +13,6 @@ import { MIDDLEWARE_MODULE_ID } from './plugin-middleware.js'; import { ASTRO_PAGE_MODULE_ID } from './plugin-pages.js'; import { RENDERERS_MODULE_ID } from './plugin-renderers.js'; import { getVirtualModulePageName } from './util.js'; -import type { Plugin as VitePlugin } from 'vite'; export const SSR_VIRTUAL_MODULE_ID = '@astrojs-ssr-virtual-entry'; export const RESOLVED_SSR_VIRTUAL_MODULE_ID = '\0' + SSR_VIRTUAL_MODULE_ID; @@ -137,7 +137,7 @@ export function pluginSSR( hooks: { 'build:before': () => { const adapter = options.settings.adapter!; - const ssrPlugin = ssr && vitePluginSSR(internals, adapter, options) + const ssrPlugin = ssr && vitePluginSSR(internals, adapter, options); const vitePlugin = [vitePluginAdapter(adapter)]; if (ssrPlugin) { vitePlugin.unshift(ssrPlugin); diff --git a/packages/astro/src/types/public/config.ts b/packages/astro/src/types/public/config.ts index 178b9edf7c96..70f13e9a53ed 100644 --- a/packages/astro/src/types/public/config.ts +++ b/packages/astro/src/types/public/config.ts @@ -1,10 +1,10 @@ +import type { OutgoingHttpHeaders } from 'node:http'; import type { RehypePlugins, RemarkPlugins, RemarkRehype, ShikiConfig, } from '@astrojs/markdown-remark'; -import type { OutgoingHttpHeaders } from 'node:http'; import type { UserConfig as OriginalViteUserConfig, SSROptions as ViteSSROptions } from 'vite'; import type { RemotePattern } from '../../assets/utils/remotePattern.js'; import type { AssetsPrefix } from '../../core/app/types.js'; diff --git a/packages/astro/test/astro-attrs.test.js b/packages/astro/test/astro-attrs.test.js index a981a5b15278..287298c938ba 100644 --- a/packages/astro/test/astro-attrs.test.js +++ b/packages/astro/test/astro-attrs.test.js @@ -44,11 +44,11 @@ describe('Attributes', async () => { assert.ok(!/allowfullscreen=/.test(html), 'boolean attributes should not have values'); assert.ok( !/id="data-attr-string-falsy"\s+data-foobar=/.test(html), - "data attributes should not have values if it's an empty string" + "data attributes should not have values if it's an empty string", ); assert.ok( !/id="normal-attr-string-falsy"\s+data-foobar=/.test(html), - "normal attributes should not have values if it's an empty string" + "normal attributes should not have values if it's an empty string", ); // cheerio will unescape the values, so checking that the url rendered unescaped to begin with has to be done manually diff --git a/packages/astro/test/astro-component-code.test.js b/packages/astro/test/astro-component-code.test.js index bc8b5f172d48..b6f08ac57467 100644 --- a/packages/astro/test/astro-component-code.test.js +++ b/packages/astro/test/astro-component-code.test.js @@ -94,7 +94,7 @@ describe('', () => { 'color:var(--astro-code-foreground)', 'color:var(--astro-code-token-string-expression)', 'color:var(--astro-code-foreground)', - ] + ], ); }); diff --git a/packages/astro/test/types/call-action.ts b/packages/astro/test/types/call-action.ts index 8cadd1fb06e6..6d4019d3897e 100644 --- a/packages/astro/test/types/call-action.ts +++ b/packages/astro/test/types/call-action.ts @@ -1,7 +1,7 @@ import { describe, it } from 'node:test'; import { expectTypeOf } from 'expect-type'; -import type { APIContext } from '../../dist/types/public/context.js'; import { type ActionReturnType, defineAction } from '../../dist/actions/runtime/virtual/server.js'; +import type { APIContext } from '../../dist/types/public/context.js'; import { z } from '../../zod.mjs'; describe('Astro.callAction', () => { diff --git a/packages/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 19ae5f93f39c..e658c7850eda 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 4.8.4-alpha.0 + +### Patch Changes + +- [#11766](https://github.com/withastro/astro/pull/11766) [`d12dcbf`](https://github.com/withastro/astro/commit/d12dcbff606dd8330075ba77d73ed3cbc79d7421) Thanks [@bluwy](https://github.com/bluwy)! - Fixes initial git commit when initializing git + ## 4.8.3 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index e22a738fae2a..2d2b79d797d6 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "4.8.3", + "version": "4.8.4-alpha.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 0884b81baa2c..a968e5911886 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/markdoc +## 1.0.0-alpha.0 + +### Patch Changes + +- Updated dependencies [[`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0), [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f), [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e), [`83a2a64`](https://github.com/withastro/astro/commit/83a2a648418ad30f4eb781d1c1b5f2d8a8ac846e), [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9), [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6), [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6)]: + - astro@5.0.0-alpha.0 + - @astrojs/markdown-remark@6.0.0-alpha.0 + ## 0.11.3 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 2314f81b94cc..71cce6fd0aa1 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.11.3", + "version": "1.0.0-alpha.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -72,7 +72,7 @@ "htmlparser2": "^9.1.0" }, "peerDependencies": { - "astro": "^3.0.0 || ^4.0.0" + "astro": "^5.0.0-alpha.0" }, "devDependencies": { "@types/markdown-it": "^14.1.2", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index ff85f84858e4..10c30fbf9c4f 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/mdx +## 4.0.0-alpha.0 + +### Patch Changes + +- [#11717](https://github.com/withastro/astro/pull/11717) [`423614e`](https://github.com/withastro/astro/commit/423614ebb6ddb76cc8d11f3e3b6ae111a4a82662) Thanks [@bluwy](https://github.com/bluwy)! - Fixes stack trace location when failed to parse an MDX file with frontmatter + +- Updated dependencies [[`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0), [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f), [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e), [`83a2a64`](https://github.com/withastro/astro/commit/83a2a648418ad30f4eb781d1c1b5f2d8a8ac846e), [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9), [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6), [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6)]: + - astro@5.0.0-alpha.0 + - @astrojs/markdown-remark@6.0.0-alpha.0 + ## 3.1.3 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 773b3bf6215e..a07777b6a2e1 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": "3.1.3", + "version": "4.0.0-alpha.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -49,7 +49,7 @@ "vfile": "^6.0.2" }, "peerDependencies": { - "astro": "^4.8.0" + "astro": "^5.0.0-alpha.0" }, "devDependencies": { "@types/estree": "^1.0.5", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index 738cfc3672e0..15ee56a01597 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/node +## 9.0.0-alpha.0 + +### Patch Changes + +- Updated dependencies [[`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0), [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f), [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e), [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9), [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6), [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6)]: + - astro@5.0.0-alpha.0 + ## 8.3.3 ### Patch Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index a87f261331bb..0df2ba55abf0 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": "8.3.3", + "version": "9.0.0-alpha.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -37,7 +37,7 @@ "server-destroy": "^1.0.1" }, "peerDependencies": { - "astro": "^4.2.0" + "astro": "^5.0.0-alpha.0" }, "devDependencies": { "@types/node": "^18.17.8", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index 44c3295eb477..a498778af29d 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/svelte +## 6.0.0-alpha.0 + +### Patch Changes + +- Updated dependencies [[`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0), [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f), [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e), [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9), [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6), [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6)]: + - astro@5.0.0-alpha.0 + ## 5.7.0 ### Minor Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 5354279cb177..0c0ccdba89dc 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "5.7.0", + "version": "6.0.0-alpha.0", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -60,7 +60,7 @@ "vite": "^5.4.1" }, "peerDependencies": { - "astro": "^4.0.0", + "astro": "^5.0.0-alpha.0", "svelte": "^4.0.0 || ^5.0.0-next.190", "typescript": "^5.3.3" }, diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md index f796b10830a6..cc632bfc2df0 100644 --- a/packages/integrations/tailwind/CHANGELOG.md +++ b/packages/integrations/tailwind/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/tailwind +## 6.0.0-alpha.0 + +### Patch Changes + +- Updated dependencies [[`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0), [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f), [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e), [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9), [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6), [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6)]: + - astro@5.0.0-alpha.0 + ## 5.1.0 ### Minor Changes diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 6001780a1529..236134069a8a 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/tailwind", "description": "Use Tailwind CSS to style your Astro site", - "version": "5.1.0", + "version": "6.0.0-alpha.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -44,7 +44,7 @@ "vite": "^5.4.1" }, "peerDependencies": { - "astro": "^3.0.0 || ^4.0.0", + "astro": "^5.0.0-alpha.0", "tailwindcss": "^3.0.24" }, "publishConfig": { diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 2fda03d95136..f05d7e730ada 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,43 @@ # @astrojs/vercel +## 8.0.0-alpha.0 + +### Major Changes + +- [#11714](https://github.com/withastro/astro/pull/11714) [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6) Thanks [@matthewp](https://github.com/matthewp)! - Remove support for functionPerRoute + + This change removes support for the `functionPerRoute` option both in Astro and `@astrojs/vercel`. + + This option made it so that each route got built as separate entrypoints so that they could be loaded as separate functions. The hope was that by doing this it would decrease the size of each function. However in practice routes use most of the same code, and increases in function size limitations made the potential upsides less important. + + Additionally there are downsides to functionPerRoute, such as hitting limits on the number of functions per project. The feature also never worked with some Astro features like i18n domains and request rewriting. + + Given this, the feature has been removed from Astro. + +### Minor Changes + +- [#11728](https://github.com/withastro/astro/pull/11728) [`5ea02b1`](https://github.com/withastro/astro/commit/5ea02b12fdb9b8ca45b1229bb9d04bc3d1270e0f) Thanks [@matthewp](https://github.com/matthewp)! - Deprecates the `functionPerRoute` option + + This option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to: + + ```diff + import { defineConfig } from 'astro/config'; + import vercel from '@astrojs/vercel/serverless'; + + export default defineConfig({ + // ... + output: 'server', + adapter: vercel({ + - functionPerRoute: true, + }), + }); + ``` + +### Patch Changes + +- Updated dependencies [[`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0), [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f), [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e), [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9), [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6), [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6)]: + - astro@5.0.0-alpha.0 + ## 7.7.2 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 70fe485b287f..d28fc46e94f0 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": "7.7.2", + "version": "8.0.0-alpha.0", "type": "module", "author": "withastro", "license": "MIT", @@ -60,7 +60,7 @@ "web-vitals": "^3.5.2" }, "peerDependencies": { - "astro": "^4.2.0" + "astro": "^5.0.0-alpha.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/vercel/src/serverless/adapter.ts b/packages/integrations/vercel/src/serverless/adapter.ts index 29e4fc7b068d..cd14e25b38ea 100644 --- a/packages/integrations/vercel/src/serverless/adapter.ts +++ b/packages/integrations/vercel/src/serverless/adapter.ts @@ -272,9 +272,7 @@ export default function vercelServerless({ }); }, 'astro:config:done': ({ setAdapter, config }) => { - setAdapter( - getAdapter({ edgeMiddleware, middlewareSecret, skewProtection }), - ); + setAdapter(getAdapter({ edgeMiddleware, middlewareSecret, skewProtection })); _config = config; _buildTempFolder = config.build.server; diff --git a/packages/integrations/vercel/test/serverless-with-dynamic-routes.test.js b/packages/integrations/vercel/test/serverless-with-dynamic-routes.test.js index 1ffe80ae0388..7eac7e875ff4 100644 --- a/packages/integrations/vercel/test/serverless-with-dynamic-routes.test.js +++ b/packages/integrations/vercel/test/serverless-with-dynamic-routes.test.js @@ -17,8 +17,6 @@ describe('Serverless with dynamic routes', () => { it('build successful', async () => { assert.ok(await fixture.readFile('../.vercel/output/static/index.html')); - assert.ok( - await fixture.readFile('../.vercel/output/functions/_render.func/.vc-config.json'), - ); + assert.ok(await fixture.readFile('../.vercel/output/functions/_render.func/.vc-config.json')); }); }); diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index fd9c71e04162..88ff9204e304 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/vue +## 5.0.0-alpha.0 + +### Patch Changes + +- Updated dependencies [[`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0), [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f), [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e), [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9), [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6), [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6)]: + - astro@5.0.0-alpha.0 + ## 4.5.0 ### Minor Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index ae7467ac28eb..d66c36aad230 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "4.5.0", + "version": "5.0.0-alpha.0", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -58,7 +58,7 @@ "vue": "^3.4.38" }, "peerDependencies": { - "astro": "^4.0.0", + "astro": "^5.0.0-alpha.0", "vue": "^3.2.30" }, "engines": { diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 73bab0b25280..0f0ef4bb8c34 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/markdown-remark +## 6.0.0-alpha.0 + +### Major Changes + +- [#11661](https://github.com/withastro/astro/pull/11661) [`83a2a64`](https://github.com/withastro/astro/commit/83a2a648418ad30f4eb781d1c1b5f2d8a8ac846e) Thanks [@bluwy](https://github.com/bluwy)! - Renames the following CSS variables theme color token names to better align with the Shiki v1 defaults: + + - `--astro-code-color-text` => `--astro-code-foreground` + - `--astro-code-color-background` => `--astro-code-background` + + You can perform a global find and replace in your project to migrate to the new token names. + ## 5.2.0 ### Minor Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 87cba7d1f1f1..e8f8304ee64d 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "5.2.0", + "version": "6.0.0-alpha.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 14bff000ceb3..ef1f46e350d1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -116,13 +116,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^3.1.3 + specifier: ^4.0.0-alpha.0 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.7 @@ -131,13 +131,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/container-with-vitest: @@ -146,7 +146,7 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -177,7 +177,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/framework-multiple: @@ -192,10 +192,10 @@ importers: specifier: ^4.4.1 version: link:../../packages/integrations/solid '@astrojs/svelte': - specifier: ^5.7.0 + specifier: ^6.0.0-alpha.0 version: link:../../packages/integrations/svelte '@astrojs/vue': - specifier: ^4.5.0 + specifier: ^5.0.0-alpha.0 version: link:../../packages/integrations/vue '@types/react': specifier: ^18.3.3 @@ -204,7 +204,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -234,7 +234,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.23.2) astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -252,7 +252,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -267,7 +267,7 @@ importers: specifier: ^4.4.1 version: link:../../packages/integrations/solid astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro solid-js: specifier: ^1.8.21 @@ -276,10 +276,10 @@ importers: examples/framework-svelte: dependencies: '@astrojs/svelte': - specifier: ^5.7.0 + specifier: ^6.0.0-alpha.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -288,10 +288,10 @@ importers: examples/framework-vue: dependencies: '@astrojs/vue': - specifier: ^4.5.0 + specifier: ^5.0.0-alpha.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro vue: specifier: ^3.4.38 @@ -300,25 +300,25 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^8.3.3 + specifier: ^9.0.0-alpha.0 version: link:../../packages/integrations/node astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/middleware: dependencies: '@astrojs/node': - specifier: ^8.3.3 + specifier: ^9.0.0-alpha.0 version: link:../../packages/integrations/node astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -331,31 +331,31 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/server-islands: devDependencies: '@astrojs/node': - specifier: ^8.3.3 + specifier: ^9.0.0-alpha.0 version: link:../../packages/integrations/node '@astrojs/react': specifier: ^3.6.2 version: link:../../packages/integrations/react '@astrojs/tailwind': - specifier: ^5.1.0 + specifier: ^6.0.0-alpha.0 version: link:../../packages/integrations/tailwind '@fortawesome/fontawesome-free': specifier: ^6.6.0 @@ -370,7 +370,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro postcss: specifier: ^8.4.41 @@ -388,13 +388,13 @@ importers: examples/ssr: dependencies: '@astrojs/node': - specifier: ^8.3.3 + specifier: ^9.0.0-alpha.0 version: link:../../packages/integrations/node '@astrojs/svelte': - specifier: ^5.7.0 + specifier: ^6.0.0-alpha.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -403,7 +403,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro sass: specifier: ^1.77.8 @@ -415,37 +415,37 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/view-transitions: devDependencies: '@astrojs/node': - specifier: ^8.3.3 + specifier: ^9.0.0-alpha.0 version: link:../../packages/integrations/node '@astrojs/tailwind': - specifier: ^5.1.0 + specifier: ^6.0.0-alpha.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.11.3 + specifier: ^1.0.0-alpha.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/with-markdown-plugins: dependencies: '@astrojs/markdown-remark': - specifier: ^5.2.0 + specifier: ^6.0.0-alpha.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -466,19 +466,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^3.1.3 + specifier: ^4.0.0-alpha.0 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^3.5.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro preact: specifier: ^10.23.2 @@ -493,7 +493,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.2)(preact@10.23.2) astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro nanostores: specifier: ^0.11.2 @@ -505,16 +505,16 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^3.1.3 + specifier: ^4.0.0-alpha.0 version: link:../../packages/integrations/mdx '@astrojs/tailwind': - specifier: ^5.1.0 + specifier: ^6.0.0-alpha.0 version: link:../../packages/integrations/tailwind '@types/canvas-confetti': specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -532,7 +532,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.14.2 + specifier: ^5.0.0-alpha.0 version: link:../../packages/astro vitest: specifier: ^2.0.5 @@ -5379,15 +5379,6 @@ importers: specifier: workspace:* version: link:../../../../../astro - packages/integrations/vercel/test/fixtures/functionPerRoute: - dependencies: - '@astrojs/vercel': - specifier: workspace:* - version: link:../../.. - astro: - specifier: workspace:* - version: link:../../../../../astro - packages/integrations/vercel/test/fixtures/image: dependencies: '@astrojs/vercel': @@ -9361,12 +9352,10 @@ packages: libsql@0.3.19: resolution: {integrity: sha512-Aj5cQ5uk/6fHdmeW0TiXK42FqUlwx7ytmMLPSaUQPin5HKKKuUPD62MAbN4OEweGBBI7q1BekoEN4gPUEL6MZA==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] libsql@0.4.1: resolution: {integrity: sha512-qZlR9Yu1zMBeLChzkE/cKfoKV3Esp9cn9Vx5Zirn4AVhDWPcjYhKwbtJcMuHehgk3mH+fJr9qW+3vesBWbQpBg==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lilconfig@2.1.0: