diff --git a/.changeset/pre.json b/.changeset/pre.json index bbbe69553731b..14dd6dc7a65dd 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -32,5 +32,22 @@ "@astrojs/telemetry": "2.1.1", "@astrojs/underscore-redirects": "0.2.0" }, - "changesets": [] + "changesets": [ + "afraid-dots-whisper", + "chilled-ducks-grin", + "dirty-lies-cover", + "fair-emus-divide", + "famous-queens-itch", + "honest-moose-type", + "mighty-dancers-lay", + "odd-books-live", + "rude-ears-play", + "sour-pants-agree", + "spicy-eels-rush", + "three-adults-exist", + "tricky-candles-suffer", + "twelve-coats-rush", + "twenty-cheetahs-deny", + "unlucky-hotels-try" + ] } diff --git a/examples/basics/package.json b/examples/basics/package.json index af5941897df8d..9b5e8d29789d4 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index ebe82abe379ca..48e3548168817 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^0.19.7", - "@astrojs/rss": "^2.4.3", - "@astrojs/sitemap": "^2.0.1", - "astro": "^2.9.6" + "@astrojs/mdx": "^1.0.0-beta.0", + "@astrojs/rss": "^3.0.0-beta.0", + "@astrojs/sitemap": "^3.0.0-beta.0", + "astro": "^3.0.0-beta.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 30fb3d3ff939a..7e670784d0489 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/deno/package.json b/examples/deno/package.json index 6a6ff40641540..a9aa9ce8f7e57 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,9 +10,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" }, "devDependencies": { - "@astrojs/deno": "^4.3.0" + "@astrojs/deno": "^5.0.0-beta.0" } } diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 01bb9e4619ad2..3fcb2d879155b 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/alpinejs": "^0.2.2", + "@astrojs/alpinejs": "^0.3.0-beta.0", "@types/alpinejs": "^3.7.1", "alpinejs": "^3.12.2", - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index a9d1f1e2cbca1..b868a3010d7e1 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/lit": "^2.1.0", + "@astrojs/lit": "^3.0.0-beta.0", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^2.9.6", + "astro": "^3.0.0-beta.0", "lit": "^2.7.5" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index add2cfb366fbc..11400c309135a 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,12 +11,12 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^2.2.1", - "@astrojs/react": "^2.2.1", - "@astrojs/solid-js": "^2.2.0", - "@astrojs/svelte": "^3.1.0", - "@astrojs/vue": "^2.2.1", - "astro": "^2.9.6", + "@astrojs/preact": "^3.0.0-beta.0", + "@astrojs/react": "^3.0.0-beta.0", + "@astrojs/solid-js": "^3.0.0-beta.0", + "@astrojs/svelte": "^4.0.0-beta.0", + "@astrojs/vue": "^3.0.0-beta.0", + "astro": "^3.0.0-beta.0", "preact": "^10.15.1", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 3668a1dca1b9c..30ad40bda881f 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^2.2.1", + "@astrojs/preact": "^3.0.0-beta.0", "@preact/signals": "^1.1.3", - "astro": "^2.9.6", + "astro": "^3.0.0-beta.0", "preact": "^10.15.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 294a24c1bb1d4..a680274daef87 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^2.2.1", + "@astrojs/react": "^3.0.0-beta.0", "@types/react": "^18.2.13", "@types/react-dom": "^18.2.6", - "astro": "^2.9.6", + "astro": "^3.0.0-beta.0", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index a163a5d551141..d8328ea079060 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/solid-js": "^2.2.0", - "astro": "^2.9.6", + "@astrojs/solid-js": "^3.0.0-beta.0", + "astro": "^3.0.0-beta.0", "solid-js": "^1.7.6" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index de05e34e358a7..b7a31c4667253 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^3.1.0", - "astro": "^2.9.6", + "@astrojs/svelte": "^4.0.0-beta.0", + "astro": "^3.0.0-beta.0", "svelte": "^3.59.1" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 9c9b16d50be13..87e1aa282b2b0 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/vue": "^2.2.1", - "astro": "^2.9.6", + "@astrojs/vue": "^3.0.0-beta.0", + "astro": "^3.0.0-beta.0", "vue": "^3.3.4" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 1e0c94f323d5e..63b4c492053e3 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^5.3.0", - "astro": "^2.9.6" + "@astrojs/node": "^6.0.0-beta.0", + "astro": "^3.0.0-beta.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 318c37a5b9c0a..7a6ed5eb2a8ca 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 49ca62cbdf52d..ab37a8949d2ba 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -12,8 +12,8 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^5.3.0", - "astro": "^2.9.6", + "@astrojs/node": "^6.0.0-beta.0", + "astro": "^3.0.0-beta.0", "html-minifier": "^4.0.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index c677a0626998e..dde9ab90baba2 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 7e82139e5ebf8..dcf2c10c462de 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 6feee3e398a54..b583855689e90 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 822830330ac4b..eb434e8fc6535 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,9 +12,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^5.3.0", - "@astrojs/svelte": "^3.1.0", - "astro": "^2.9.6", + "@astrojs/node": "^6.0.0-beta.0", + "@astrojs/svelte": "^4.0.0-beta.0", + "astro": "^3.0.0-beta.0", "svelte": "^3.59.1" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 85a23092bd711..5e8a2253743ba 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.4.4", - "astro": "^2.9.6" + "@astrojs/markdoc": "^1.0.0-beta.0", + "astro": "^3.0.0-beta.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index b814fa116954a..4b81aca1fa0d7 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": "^2.2.1", - "astro": "^2.9.6", + "@astrojs/markdown-remark": "^3.0.0-beta.0", + "astro": "^3.0.0-beta.0", "hast-util-select": "^5.0.5", "rehype-autolink-headings": "^6.1.1", "rehype-slug": "^5.1.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index feb6622aa009b..47abed19cac83 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.9.6" + "astro": "^3.0.0-beta.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 77ea1a730dc8f..81205e3c8b8e9 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^0.19.7", - "@astrojs/preact": "^2.2.1", - "astro": "^2.9.6", + "@astrojs/mdx": "^1.0.0-beta.0", + "@astrojs/preact": "^3.0.0-beta.0", + "astro": "^3.0.0-beta.0", "preact": "^10.15.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index d98ee338d1d44..ea780053f969a 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^2.2.1", + "@astrojs/preact": "^3.0.0-beta.0", "@nanostores/preact": "^0.4.1", - "astro": "^2.9.6", + "astro": "^3.0.0-beta.0", "nanostores": "^0.8.1", "preact": "^10.15.1" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index e67af5720039c..da98bc64d92cc 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^0.19.7", - "@astrojs/tailwind": "^4.0.0", + "@astrojs/mdx": "^1.0.0-beta.0", + "@astrojs/tailwind": "^5.0.0-beta.0", "@types/canvas-confetti": "^1.6.0", - "astro": "^2.9.6", + "astro": "^3.0.0-beta.0", "autoprefixer": "^10.4.14", "canvas-confetti": "^1.6.0", "postcss": "^8.4.24", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 1f7a12af226e4..235600647954a 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.9.6", + "astro": "^3.0.0-beta.0", "vite-plugin-pwa": "0.14.7", "workbox-window": "^6.6.0" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 1cfb9ee8f4cd6..60151e1c9d2ba 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^2.9.6", + "astro": "^3.0.0-beta.0", "vitest": "^0.31.4" } } diff --git a/packages/astro-prism/CHANGELOG.md b/packages/astro-prism/CHANGELOG.md index dae8671f9ba06..fdef433061e84 100644 --- a/packages/astro-prism/CHANGELOG.md +++ b/packages/astro-prism/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/prism +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 2.1.2 ### Patch Changes diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index 278d524821187..8384470901396 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/prism", - "version": "2.1.2", + "version": "3.0.0-beta.0", "description": "Add Prism syntax highlighting support to your Astro site", "author": "withastro", "type": "module", diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md index d2120b6282092..1416cd3f6ee8f 100644 --- a/packages/astro-rss/CHANGELOG.md +++ b/packages/astro-rss/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/rss +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 2.4.3 ### Patch Changes diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json index 572f9649cb64e..2491f6a66607c 100644 --- a/packages/astro-rss/package.json +++ b/packages/astro-rss/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/rss", "description": "Add RSS feeds to your Astro projects", - "version": "2.4.3", + "version": "3.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 5ab000a1df22c..40e1af5b6602f 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,190 @@ # astro +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +- [#7874](https://github.com/withastro/astro/pull/7874) [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f) Thanks [@ematipico](https://github.com/ematipico)! - Removed automatic flattening of `getStaticPaths` result. `.flatMap` and `.flat` should now be used to ensure that you're returning a flat array. + +- [#7874](https://github.com/withastro/astro/pull/7874) [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5) Thanks [@ematipico](https://github.com/ematipico)! - The `build.split` and `build.excludeMiddleware` configuration options are deprecated and have been replaced by options in the adapter config. + + If your config includes the `build.excludeMiddleware` option, replace it with `edgeMiddleware` in your adapter options: + + ```diff + import { defineConfig } from "astro/config"; + import netlify from "@astrojs/netlify/functions"; + + export default defineConfig({ + build: { + - excludeMiddleware: true + }, + adapter: netlify({ + + edgeMiddleware: true + }), + }); + ``` + + If your config includes the `build.split` option, replace it with `functionPerRoute` in your adapter options: + + ```diff + import { defineConfig } from "astro/config"; + import netlify from "@astrojs/netlify/functions"; + + export default defineConfig({ + build: { + - split: true + }, + adapter: netlify({ + + functionPerRoute: true + }), + }); + ``` + +- [#7874](https://github.com/withastro/astro/pull/7874) [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786) Thanks [@ematipico](https://github.com/ematipico)! - Removed support for old syntax of the API routes. + +- [#7874](https://github.com/withastro/astro/pull/7874) [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022) Thanks [@ematipico](https://github.com/ematipico)! - Remove MDX plugin re-ordering hack + +- [#7874](https://github.com/withastro/astro/pull/7874) [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc) Thanks [@ematipico](https://github.com/ematipico)! - Reduced the amount of polyfills provided by Astro. Astro will no longer provide (no-op) polyfills for several web apis such as HTMLElement, Image or Document. If you need access to those APIs on the server, we recommend using more proper polyfills available on npm. + +- [#7874](https://github.com/withastro/astro/pull/7874) [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c) Thanks [@ematipico](https://github.com/ematipico)! - Update `tsconfig.json` presets with `moduleResolution: 'bundler'` and other new options from TypeScript 5.0. Astro now assumes that you use TypeScript 5.0 (March 2023), or that your editor includes it, ex: VS Code 1.77 + +- [#7874](https://github.com/withastro/astro/pull/7874) [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5) Thanks [@ematipico](https://github.com/ematipico)! - The `build.split` and `build.excludeMiddleware` configuration options are deprecated and have been replaced by options in the adapter config. + + If your config includes the `build.excludeMiddleware` option, replace it with `edgeMiddleware` in your adapter options: + + ```diff + import { defineConfig } from "astro/config"; + import vercel from "@astrojs/vercel/serverless"; + + export default defineConfig({ + build: { + - excludeMiddleware: true + }, + adapter: vercel({ + + edgeMiddleware: true + }), + }); + ``` + + If your config includes the `build.split` option, replace it with `functionPerRoute` in your adapter options: + + ```diff + import { defineConfig } from "astro/config"; + import vercel from "@astrojs/vercel/serverless"; + + export default defineConfig({ + build: { + - split: true + }, + adapter: vercel({ + + functionPerRoute: true + }), + }); + ``` + +- [#7874](https://github.com/withastro/astro/pull/7874) [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b) Thanks [@ematipico](https://github.com/ematipico)! - Lowercase names for endpoint functions are now deprecated. + + Rename functions to their uppercase equivalent: + + ```diff + - export function get() { + + export function GET() { + return new Response(JSON.stringify({ "title": "Bob's blog" })); + } + + - export function post() { + + export function POST() { + return new Response(JSON.stringify({ "title": "Bob's blog" })); + } + + - export function put() { + + export function PUT() { + return new Response(JSON.stringify({ "title": "Bob's blog" })); + } + + - export function all() { + + export function ALL() { + return new Response(JSON.stringify({ "title": "Bob's blog" })); + } + + // you can use the whole word "DELETE" + - export function del() { + + export function DELETE() { + return new Response(JSON.stringify({ "title": "Bob's blog" })); + } + ``` + +- [#7888](https://github.com/withastro/astro/pull/7888) [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7) Thanks [@matthewp](https://github.com/matthewp)! - Astro.cookies.get(key) returns undefined if cookie doesn't exist + + With this change, Astro.cookies.get(key) no longer always returns a `AstroCookie` object. Instead it now returns `undefined` if the cookie does not exist. + + You should update your code if you assume that all calls to `get()` return a value. When using with `has()` you still need to assert the value, like so: + + ```astro + --- + if (Astro.cookies.has(id)) { + const id = Astro.cookies.get(id)!; + } + --- + ``` + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf) Thanks [@ematipico](https://github.com/ematipico)! - Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adapter + can tell Astro if it can support it. + + ```ts + import { AstroIntegration } from './astro'; + + function myIntegration(): AstroIntegration { + return { + name: 'astro-awesome-list', + // new feature map + supportedAstroFeatures: { + hybridOutput: 'experimental', + staticOutput: 'stable', + serverOutput: 'stable', + assets: { + supportKind: 'stable', + isSharpCompatible: false, + isSquooshCompatible: false, + }, + }, + }; + } + ``` + +- [#7874](https://github.com/withastro/astro/pull/7874) [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150) Thanks [@ematipico](https://github.com/ematipico)! - Integrations can now log messages using Astro’s built-in logger. + + The logger is available to all hooks as an additional parameter: + + ```ts + import { AstroIntegration } from './astro'; + + // integration.js + export function myIntegration(): AstroIntegration { + return { + name: 'my-integration', + hooks: { + 'astro:config:done': ({ logger }) => { + logger.info('Configure integration...'); + }, + }, + }; + } + ``` + +### Patch Changes + +- [#7876](https://github.com/withastro/astro/pull/7876) [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7) Thanks [@ematipico](https://github.com/ematipico)! - Check for `getStaticPaths` only if the file has the `.astro` extension. + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8)]: + - @astrojs/telemetry@3.0.0-beta.0 + - @astrojs/internal-helpers@0.2.0-beta.0 + - @astrojs/markdown-remark@3.0.0-beta.0 + ## 2.9.6 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 2f9333e7da39f..60516a8df74c8 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "2.9.6", + "version": "3.0.0-beta.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/core/cookies/cookies.ts b/packages/astro/src/core/cookies/cookies.ts index 0babd73f248cf..604f30e63b925 100644 --- a/packages/astro/src/core/cookies/cookies.ts +++ b/packages/astro/src/core/cookies/cookies.ts @@ -109,11 +109,10 @@ class AstroCookies implements AstroCookiesInterface { } const values = this.#ensureParsed(); - if(key in values) { + if (key in values) { const value = values[key]; return new AstroCookie(value); } - } /** diff --git a/packages/astro/test/units/cookies/get.test.js b/packages/astro/test/units/cookies/get.test.js index f79dd47bea4d2..2161289075439 100644 --- a/packages/astro/test/units/cookies/get.test.js +++ b/packages/astro/test/units/cookies/get.test.js @@ -16,7 +16,7 @@ describe('astro/src/core/cookies', () => { expect(cookies.get('foo').value).to.equal('bar'); }); - it('Returns undefined is the value doesn\'t exist', () => { + it("Returns undefined is the value doesn't exist", () => { const req = new Request('http://example.com/'); let cookies = new AstroCookies(req); let cookie = cookies.get('foo'); diff --git a/packages/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 4c3374a743415..6204b4c0b0543 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 4.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 3.1.10 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 24c2a5409ea84..8b3034c0b27dc 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "3.1.10", + "version": "4.0.0-beta.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/alpinejs/CHANGELOG.md b/packages/integrations/alpinejs/CHANGELOG.md index f19d0c22905a0..232730a9fa1a6 100644 --- a/packages/integrations/alpinejs/CHANGELOG.md +++ b/packages/integrations/alpinejs/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/alpinejs +## 0.3.0-beta.0 + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 0.2.2 ### Patch Changes diff --git a/packages/integrations/alpinejs/package.json b/packages/integrations/alpinejs/package.json index d1b6a6b497807..9b4cd3d5b41b6 100644 --- a/packages/integrations/alpinejs/package.json +++ b/packages/integrations/alpinejs/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/alpinejs", "description": "Use Alpine within Astro", - "version": "0.2.2", + "version": "0.3.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md index b561a710a12b0..c420136a5cc99 100644 --- a/packages/integrations/cloudflare/CHANGELOG.md +++ b/packages/integrations/cloudflare/CHANGELOG.md @@ -1,5 +1,43 @@ # @astrojs/cloudflare +## 7.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf) Thanks [@ematipico](https://github.com/ematipico)! - Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adapter + can tell Astro if it can support it. + + ```ts + import { AstroIntegration } from './astro'; + + function myIntegration(): AstroIntegration { + return { + name: 'astro-awesome-list', + // new feature map + supportedAstroFeatures: { + hybridOutput: 'experimental', + staticOutput: 'stable', + serverOutput: 'stable', + assets: { + supportKind: 'stable', + isSharpCompatible: false, + isSquooshCompatible: false, + }, + }, + }; + } + ``` + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + - @astrojs/underscore-redirects@0.3.0-beta.0 + ## 6.6.2 ### Patch Changes diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 0bf19c5f9e9f8..c4f4ac54c5bd9 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/Pages", - "version": "6.6.2", + "version": "7.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -45,7 +45,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "workspace:^2.9.6" + "astro": "workspace:^3.0.0-beta.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/CHANGELOG.md b/packages/integrations/deno/CHANGELOG.md index b7ecf636ff140..40766ae2ee660 100644 --- a/packages/integrations/deno/CHANGELOG.md +++ b/packages/integrations/deno/CHANGELOG.md @@ -1,5 +1,42 @@ # @astrojs/deno +## 5.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf) Thanks [@ematipico](https://github.com/ematipico)! - Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adapter + can tell Astro if it can support it. + + ```ts + import { AstroIntegration } from './astro'; + + function myIntegration(): AstroIntegration { + return { + name: 'astro-awesome-list', + // new feature map + supportedAstroFeatures: { + hybridOutput: 'experimental', + staticOutput: 'stable', + serverOutput: 'stable', + assets: { + supportKind: 'stable', + isSharpCompatible: false, + isSquooshCompatible: false, + }, + }, + }; + } + ``` + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + ## 4.3.0 ### Minor Changes diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index e6bfecd6a2cb0..8079cbac56171 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/deno", "description": "Deploy your site to a Deno server", - "version": "4.3.0", + "version": "5.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -36,7 +36,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.9.6" + "astro": "workspace:^3.0.0-beta.0" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 6b4df7cf46c1e..bd7b38431581a 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/image +## 1.0.0-beta.0 + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + ## 0.17.2 ### Patch Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 142951f73de52..1e23e50755f3e 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/image", "description": "Load and transform images in your Astro site", - "version": "0.17.2", + "version": "1.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -63,7 +63,7 @@ "vite": "^4.4.6" }, "peerDependencies": { - "astro": "workspace:^2.9.6", + "astro": "workspace:^3.0.0-beta.0", "sharp": ">=0.31.0" }, "peerDependenciesMeta": { diff --git a/packages/integrations/lit/CHANGELOG.md b/packages/integrations/lit/CHANGELOG.md index edf38dfa90ecb..ccc79608d9943 100644 --- a/packages/integrations/lit/CHANGELOG.md +++ b/packages/integrations/lit/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/lit +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 2.1.0 ### Minor Changes diff --git a/packages/integrations/lit/package.json b/packages/integrations/lit/package.json index d1c08502830ad..99d3130cea4c9 100644 --- a/packages/integrations/lit/package.json +++ b/packages/integrations/lit/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/lit", - "version": "2.1.0", + "version": "3.0.0-beta.0", "description": "Use Lit components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 7a7a7f0ba1bef..81a379f4437a7 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,18 @@ # @astrojs/markdoc +## 1.0.0-beta.0 + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - @astrojs/prism@3.0.0-beta.0 + - astro@3.0.0-beta.0 + - @astrojs/internal-helpers@0.2.0-beta.0 + ## 0.4.4 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 881f4561c2a49..5426686af2046 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.4.4", + "version": "1.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -75,7 +75,7 @@ "zod": "^3.17.3" }, "peerDependencies": { - "astro": "workspace:^2.9.6" + "astro": "workspace:^3.0.0-beta.0" }, "devDependencies": { "@astrojs/markdown-remark": "workspace:*", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index 531e8809fe896..2a0eeb512e132 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,22 @@ # @astrojs/mdx +## 1.0.0-beta.0 + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +- [#7874](https://github.com/withastro/astro/pull/7874) [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022) Thanks [@ematipico](https://github.com/ematipico)! - Add `astro` as peer dependency + +### Patch Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022) Thanks [@ematipico](https://github.com/ematipico)! - Re-orders the MDX plugin to run before Astro's JSX plugin + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - @astrojs/prism@3.0.0-beta.0 + - astro@3.0.0-beta.0 + - @astrojs/markdown-remark@3.0.0-beta.0 + ## 0.19.7 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index b01f9fdc8201d..f5ed6fad8bd5d 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": "0.19.7", + "version": "1.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -54,7 +54,7 @@ "vfile": "^5.3.7" }, "peerDependencies": { - "astro": "workspace:^2.9.6" + "astro": "workspace:^3.0.0-beta.0" }, "devDependencies": { "@types/chai": "^4.3.5", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md index 444d84217ffdf..7a12abd8f3834 100644 --- a/packages/integrations/netlify/CHANGELOG.md +++ b/packages/integrations/netlify/CHANGELOG.md @@ -1,5 +1,81 @@ # @astrojs/netlify +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +- [#7874](https://github.com/withastro/astro/pull/7874) [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc) Thanks [@ematipico](https://github.com/ematipico)! - Reduced the amount of polyfills provided by Astro. Astro will no longer provide (no-op) polyfills for several web apis such as HTMLElement, Image or Document. If you need access to those APIs on the server, we recommend using more proper polyfills available on npm. + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf) Thanks [@ematipico](https://github.com/ematipico)! - Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adapter + can tell Astro if it can support it. + + ```ts + import { AstroIntegration } from './astro'; + + function myIntegration(): AstroIntegration { + return { + name: 'astro-awesome-list', + // new feature map + supportedAstroFeatures: { + hybridOutput: 'experimental', + staticOutput: 'stable', + serverOutput: 'stable', + assets: { + supportKind: 'stable', + isSharpCompatible: false, + isSquooshCompatible: false, + }, + }, + }; + } + ``` + +- [#7874](https://github.com/withastro/astro/pull/7874) [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5) Thanks [@ematipico](https://github.com/ematipico)! - The `build.split` and `build.excludeMiddleware` configuration options are deprecated and have been replaced by options in the adapter config. + + If your config includes the `build.excludeMiddleware` option, replace it with `edgeMiddleware` in your adapter options: + + ```diff + import { defineConfig } from "astro/config"; + import netlify from "@astrojs/netlify/functions"; + + export default defineConfig({ + build: { + - excludeMiddleware: true + }, + adapter: netlify({ + + edgeMiddleware: true + }), + }); + ``` + + If your config includes the `build.split` option, replace it with `functionPerRoute` in your adapter options: + + ```diff + import { defineConfig } from "astro/config"; + import netlify from "@astrojs/netlify/functions"; + + export default defineConfig({ + build: { + - split: true + }, + adapter: netlify({ + + functionPerRoute: true + }), + }); + ``` + +### Patch Changes + +- [#7862](https://github.com/withastro/astro/pull/7862) [`1859960d0`](https://github.com/withastro/astro/commit/1859960d0443cc6638569408282544f37e0a90ae) Thanks [@Yan-Thomas](https://github.com/Yan-Thomas)! - Fix README GitHub search link + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + - @astrojs/underscore-redirects@0.3.0-beta.0 + ## 2.5.1 ### Patch Changes diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index 850a17a1f1485..1214dc6f77a0a 100644 --- a/packages/integrations/netlify/package.json +++ b/packages/integrations/netlify/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/netlify", "description": "Deploy your site to Netlify", - "version": "2.5.1", + "version": "3.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -43,7 +43,7 @@ "esbuild": "^0.18.16" }, "peerDependencies": { - "astro": "workspace:^2.9.6" + "astro": "workspace:^3.0.0-beta.0" }, "devDependencies": { "@netlify/edge-functions": "^2.0.0", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index ae8e8cfdb5b6d..f8828a3c1d3fb 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,44 @@ # @astrojs/node +## 6.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +- [#7874](https://github.com/withastro/astro/pull/7874) [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc) Thanks [@ematipico](https://github.com/ematipico)! - Reduced the amount of polyfills provided by Astro. Astro will no longer provide (no-op) polyfills for several web apis such as HTMLElement, Image or Document. If you need access to those APIs on the server, we recommend using more proper polyfills available on npm. + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf) Thanks [@ematipico](https://github.com/ematipico)! - Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adapter + can tell Astro if it can support it. + + ```ts + import { AstroIntegration } from './astro'; + + function myIntegration(): AstroIntegration { + return { + name: 'astro-awesome-list', + // new feature map + supportedAstroFeatures: { + hybridOutput: 'experimental', + staticOutput: 'stable', + serverOutput: 'stable', + assets: { + supportKind: 'stable', + isSharpCompatible: false, + isSquooshCompatible: false, + }, + }, + }; + } + ``` + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + ## 5.3.0 ### Minor Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index fa6197b759cdc..d46a94c0c2c4a 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": "5.3.0", + "version": "6.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -37,7 +37,7 @@ "server-destroy": "^1.0.1" }, "peerDependencies": { - "astro": "workspace:^2.9.6" + "astro": "workspace:^3.0.0-beta.0" }, "devDependencies": { "@types/node": "^18.16.18", diff --git a/packages/integrations/partytown/CHANGELOG.md b/packages/integrations/partytown/CHANGELOG.md index 4143a90355a98..f1f947195e6dc 100644 --- a/packages/integrations/partytown/CHANGELOG.md +++ b/packages/integrations/partytown/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/partytown +## 2.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 1.2.3 ### Patch Changes diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json index d613b02f07d0b..90441bc7a2239 100644 --- a/packages/integrations/partytown/package.json +++ b/packages/integrations/partytown/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/partytown", "description": "Use Partytown to move scripts into a web worker in your Astro project", - "version": "1.2.3", + "version": "2.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index 96856cf85f257..143c90ce64f02 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/preact +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 2.2.1 ### Patch Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index 391fdb547829a..f1a5f08f47f74 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/preact", "description": "Use Preact components within Astro", - "version": "2.2.1", + "version": "3.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/prefetch/CHANGELOG.md b/packages/integrations/prefetch/CHANGELOG.md index 959c286773dea..c2b2e4310cdce 100644 --- a/packages/integrations/prefetch/CHANGELOG.md +++ b/packages/integrations/prefetch/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/prefetch +## 0.4.0-beta.0 + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 0.3.0 ### Minor Changes diff --git a/packages/integrations/prefetch/package.json b/packages/integrations/prefetch/package.json index 1a1a9258b7449..0261ef8d37f10 100644 --- a/packages/integrations/prefetch/package.json +++ b/packages/integrations/prefetch/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/prefetch", "description": "Prefetch page navigations in your Astro site", - "version": "0.3.0", + "version": "0.4.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 268b1c8ea2f75..1abd9fb0d2b72 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/react +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 2.2.1 ### Patch Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index dbcdadca95799..958ee5ed7c9bd 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/react", "description": "Use React components within Astro", - "version": "2.2.1", + "version": "3.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/sitemap/CHANGELOG.md b/packages/integrations/sitemap/CHANGELOG.md index d6e63254a3128..fecdec9ace263 100644 --- a/packages/integrations/sitemap/CHANGELOG.md +++ b/packages/integrations/sitemap/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/sitemap +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 2.0.1 ### Patch Changes diff --git a/packages/integrations/sitemap/package.json b/packages/integrations/sitemap/package.json index d559cfb476e32..5831841421d27 100644 --- a/packages/integrations/sitemap/package.json +++ b/packages/integrations/sitemap/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/sitemap", "description": "Generate a sitemap for your Astro site", - "version": "2.0.1", + "version": "3.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md index a23dd7f7a7874..8d860e586a7ae 100644 --- a/packages/integrations/solid/CHANGELOG.md +++ b/packages/integrations/solid/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/solid-js +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 2.2.0 ### Minor Changes diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 6f1db89e740ef..c962e025a21c0 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/solid-js", - "version": "2.2.0", + "version": "3.0.0-beta.0", "description": "Use Solid components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index 4f13fe9c165f0..1b33851be1f19 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/svelte +## 4.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + ## 3.1.0 ### Minor Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 27e74e62854cd..7b03b9413c773 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "3.1.0", + "version": "4.0.0-beta.0", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -48,7 +48,7 @@ "vite": "^4.4.6" }, "peerDependencies": { - "astro": "workspace:^2.9.6", + "astro": "workspace:^3.0.0-beta.0", "svelte": "^3.55.0 || ^4.0.0" }, "engines": { diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md index fa55606bc8343..f5b876c798449 100644 --- a/packages/integrations/tailwind/CHANGELOG.md +++ b/packages/integrations/tailwind/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/tailwind +## 5.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + ## 4.0.0 ### Major Changes diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index c3511b145fcdf..7e678bb801813 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": "4.0.0", + "version": "5.0.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -43,7 +43,7 @@ "vite": "^4.4.6" }, "peerDependencies": { - "astro": "workspace:^2.9.6", + "astro": "workspace:^3.0.0-beta.0", "tailwindcss": "^3.0.24" } } diff --git a/packages/integrations/turbolinks/CHANGELOG.md b/packages/integrations/turbolinks/CHANGELOG.md index e9bd6a75a2c9b..d9e5b0f1f520f 100644 --- a/packages/integrations/turbolinks/CHANGELOG.md +++ b/packages/integrations/turbolinks/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/turbolinks +## 0.3.0-beta.0 + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 0.2.2 ### Patch Changes diff --git a/packages/integrations/turbolinks/package.json b/packages/integrations/turbolinks/package.json index 067b8de2862a7..b80bd8f804ae3 100644 --- a/packages/integrations/turbolinks/package.json +++ b/packages/integrations/turbolinks/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/turbolinks", "description": "Deprecated — Use Turbolinks to speed up page navigation in your Astro site", - "version": "0.2.2", + "version": "0.3.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index 48cfc035a68ce..9adf015d45a07 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,79 @@ # @astrojs/vercel +## 4.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +- [#7874](https://github.com/withastro/astro/pull/7874) [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc) Thanks [@ematipico](https://github.com/ematipico)! - Reduced the amount of polyfills provided by Astro. Astro will no longer provide (no-op) polyfills for several web apis such as HTMLElement, Image or Document. If you need access to those APIs on the server, we recommend using more proper polyfills available on npm. + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf) Thanks [@ematipico](https://github.com/ematipico)! - Introduced the concept of feature map. A feature map is a list of features that are built-in in Astro, and an Adapter + can tell Astro if it can support it. + + ```ts + import { AstroIntegration } from './astro'; + + function myIntegration(): AstroIntegration { + return { + name: 'astro-awesome-list', + // new feature map + supportedAstroFeatures: { + hybridOutput: 'experimental', + staticOutput: 'stable', + serverOutput: 'stable', + assets: { + supportKind: 'stable', + isSharpCompatible: false, + isSquooshCompatible: false, + }, + }, + }; + } + ``` + +- [#7874](https://github.com/withastro/astro/pull/7874) [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5) Thanks [@ematipico](https://github.com/ematipico)! - The `build.split` and `build.excludeMiddleware` configuration options are deprecated and have been replaced by options in the adapter config. + + If your config includes the `build.excludeMiddleware` option, replace it with `edgeMiddleware` in your adapter options: + + ```diff + import { defineConfig } from "astro/config"; + import vercel from "@astrojs/vercel/serverless"; + + export default defineConfig({ + build: { + - excludeMiddleware: true + }, + adapter: vercel({ + + edgeMiddleware: true + }), + }); + ``` + + If your config includes the `build.split` option, replace it with `functionPerRoute` in your adapter options: + + ```diff + import { defineConfig } from "astro/config"; + import vercel from "@astrojs/vercel/serverless"; + + export default defineConfig({ + build: { + - split: true + }, + adapter: vercel({ + + functionPerRoute: true + }), + }); + ``` + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + - @astrojs/internal-helpers@0.2.0-beta.0 + ## 3.7.4 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index c259cc89fa768..3c13c8a98ec13 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": "3.7.4", + "version": "4.0.0-beta.0", "type": "module", "author": "withastro", "license": "MIT", @@ -60,7 +60,7 @@ "web-vitals": "^3.3.2" }, "peerDependencies": { - "astro": "workspace:^2.9.6" + "astro": "workspace:^3.0.0-beta.0" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index 26e4a28039a79..2c863b5f2cbf4 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,16 @@ # @astrojs/vue +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - astro@3.0.0-beta.0 + ## 2.2.1 ### Patch Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 7b6a591337fe5..716d4a7437bfd 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "2.2.1", + "version": "3.0.0-beta.0", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -56,7 +56,7 @@ "vue": "^3.3.4" }, "peerDependencies": { - "astro": "workspace:^2.9.6", + "astro": "workspace:^3.0.0-beta.0", "vue": "^3.2.30" }, "engines": { diff --git a/packages/internal-helpers/CHANGELOG.md b/packages/internal-helpers/CHANGELOG.md index e309c08eae96d..93e37c3fe341d 100644 --- a/packages/internal-helpers/CHANGELOG.md +++ b/packages/internal-helpers/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/internal-helpers +## 0.2.0-beta.0 + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 0.1.1 ### Patch Changes diff --git a/packages/internal-helpers/package.json b/packages/internal-helpers/package.json index d9e37885c398a..3c22b374c0621 100644 --- a/packages/internal-helpers/package.json +++ b/packages/internal-helpers/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/internal-helpers", "description": "Internal helpers used by core Astro packages.", - "version": "0.1.1", + "version": "0.2.0-beta.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index c4ee870b4acf5..3765eaa56b664 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/markdown-remark +## 3.0.0-beta.0 + +### Patch Changes + +- Updated dependencies [[`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8), [`135eca7aa`](https://github.com/withastro/astro/commit/135eca7aa8e9e1f229aaefaa2295845e6d9c457f), [`067c17ee3`](https://github.com/withastro/astro/commit/067c17ee3e1be5c24db89489c0f868e09a9cabdf), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`05b2f41d4`](https://github.com/withastro/astro/commit/05b2f41d4bb428c9430e7dc69b0461fad7180786), [`356832e9a`](https://github.com/withastro/astro/commit/356832e9a10040b10f7e8a839a0f6ba90d934150), [`d265ccaa6`](https://github.com/withastro/astro/commit/d265ccaa62e8f950e81fb37467cebeb100925022), [`89d015db6`](https://github.com/withastro/astro/commit/89d015db6ce4d15b5b1140f0eb6bfbef187d6ad7), [`7d9b9daea`](https://github.com/withastro/astro/commit/7d9b9daea5a32743177686f29b7bfcdb3ee753bc), [`6f4288c65`](https://github.com/withastro/astro/commit/6f4288c654a0f441adba170d69c7e0b49facd02c), [`460fe00ed`](https://github.com/withastro/astro/commit/460fe00ed6e69d3ae3cd74bf56a4dfe89eedc8c5), [`c8435c3a2`](https://github.com/withastro/astro/commit/c8435c3a253602ab8f8fde2b18ea2c1ce898f07b), [`54c158ac0`](https://github.com/withastro/astro/commit/54c158ac0d5cf31357b63823be70b36b18b387a7)]: + - @astrojs/prism@3.0.0-beta.0 + - astro@3.0.0-beta.0 + ## 2.2.1 ### Patch Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 0c4a353bb647c..b9d53a3ea10c9 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "2.2.1", + "version": "3.0.0-beta.0", "type": "module", "author": "withastro", "license": "MIT", @@ -28,10 +28,10 @@ "test": "mocha --exit --timeout 20000" }, "peerDependencies": { - "astro": "workspace:^2.5.0" + "astro": "workspace:^3.0.0-beta.0" }, "dependencies": { - "@astrojs/prism": "^2.1.2", + "@astrojs/prism": "^3.0.0-beta.0", "github-slugger": "^1.5.0", "import-meta-resolve": "^2.2.2", "rehype-raw": "^6.1.1", diff --git a/packages/telemetry/CHANGELOG.md b/packages/telemetry/CHANGELOG.md index a4edcc5533d50..5ed708a8f8205 100644 --- a/packages/telemetry/CHANGELOG.md +++ b/packages/telemetry/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/telemetry +## 3.0.0-beta.0 + +### Major Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 2.1.1 ### Patch Changes diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index a81906743b133..58e67a6087305 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/telemetry", - "version": "2.1.1", + "version": "3.0.0-beta.0", "type": "module", "types": "./dist/types/index.d.ts", "author": "withastro", diff --git a/packages/underscore-redirects/CHANGELOG.md b/packages/underscore-redirects/CHANGELOG.md index fcc2a02ccd004..42253fa4661dd 100644 --- a/packages/underscore-redirects/CHANGELOG.md +++ b/packages/underscore-redirects/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/underscore-redirects +## 0.3.0-beta.0 + +### Minor Changes + +- [#7874](https://github.com/withastro/astro/pull/7874) [`a026daf38`](https://github.com/withastro/astro/commit/a026daf38b0ccb7bd1041d0bf980f4291435d6c8) Thanks [@ematipico](https://github.com/ematipico)! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. + ## 0.2.0 ### Minor Changes diff --git a/packages/underscore-redirects/package.json b/packages/underscore-redirects/package.json index b0b6ba65a54c7..2b9ee05b0a853 100644 --- a/packages/underscore-redirects/package.json +++ b/packages/underscore-redirects/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/underscore-redirects", "description": "Utilities to generate _redirects files in Astro projects", - "version": "0.2.0", + "version": "0.3.0-beta.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebe0379dca105..765c0fbf79811 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -122,44 +122,44 @@ importers: examples/basics: dependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^0.19.7 + specifier: ^1.0.0-beta.0 version: link:../../packages/integrations/mdx '@astrojs/rss': - specifier: ^2.4.3 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro-rss '@astrojs/sitemap': - specifier: ^2.0.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/sitemap astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/deno: dependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro devDependencies: '@astrojs/deno': - specifier: ^4.3.0 + specifier: ^5.0.0-beta.0 version: link:../../packages/integrations/deno examples/framework-alpine: dependencies: '@astrojs/alpinejs': - specifier: ^0.2.2 + specifier: ^0.3.0-beta.0 version: link:../../packages/integrations/alpinejs '@types/alpinejs': specifier: ^3.7.1 @@ -168,19 +168,19 @@ importers: specifier: ^3.12.2 version: 3.12.2 astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/framework-lit: dependencies: '@astrojs/lit': - specifier: ^2.1.0 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/lit '@webcomponents/template-shadowroot': specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro lit: specifier: ^2.7.5 @@ -189,22 +189,22 @@ importers: examples/framework-multiple: dependencies: '@astrojs/preact': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/react '@astrojs/solid-js': - specifier: ^2.2.0 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/solid '@astrojs/svelte': - specifier: ^3.1.0 + specifier: ^4.0.0-beta.0 version: link:../../packages/integrations/svelte '@astrojs/vue': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/vue astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro preact: specifier: ^10.15.1 @@ -228,13 +228,13 @@ importers: examples/framework-preact: dependencies: '@astrojs/preact': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/preact '@preact/signals': specifier: ^1.1.3 version: 1.1.3(preact@10.15.1) astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro preact: specifier: ^10.15.1 @@ -243,7 +243,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/react '@types/react': specifier: ^18.2.13 @@ -252,7 +252,7 @@ importers: specifier: ^18.2.6 version: 18.2.6 astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro react: specifier: ^18.2.0 @@ -264,10 +264,10 @@ importers: examples/framework-solid: dependencies: '@astrojs/solid-js': - specifier: ^2.2.0 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/solid astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro solid-js: specifier: ^1.7.6 @@ -276,10 +276,10 @@ importers: examples/framework-svelte: dependencies: '@astrojs/svelte': - specifier: ^3.1.0 + specifier: ^4.0.0-beta.0 version: link:../../packages/integrations/svelte astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro svelte: specifier: ^3.59.1 @@ -288,10 +288,10 @@ importers: examples/framework-vue: dependencies: '@astrojs/vue': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/vue astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro vue: specifier: ^3.3.4 @@ -300,25 +300,25 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^5.3.0 + specifier: ^6.0.0-beta.0 version: link:../../packages/integrations/node astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/middleware: dependencies: '@astrojs/node': - specifier: ^5.3.0 + specifier: ^6.0.0-beta.0 version: link:../../packages/integrations/node astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -327,31 +327,31 @@ importers: examples/minimal: dependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/ssr: dependencies: '@astrojs/node': - specifier: ^5.3.0 + specifier: ^6.0.0-beta.0 version: link:../../packages/integrations/node '@astrojs/svelte': - specifier: ^3.1.0 + specifier: ^4.0.0-beta.0 version: link:../../packages/integrations/svelte astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro svelte: specifier: ^3.59.1 @@ -360,19 +360,19 @@ importers: examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.4.4 + specifier: ^1.0.0-beta.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/with-markdown-plugins: dependencies: '@astrojs/markdown-remark': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/markdown/remark astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro hast-util-select: specifier: ^5.0.5 @@ -393,19 +393,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^0.19.7 + specifier: ^1.0.0-beta.0 version: link:../../packages/integrations/mdx '@astrojs/preact': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/preact astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro preact: specifier: ^10.15.1 @@ -414,13 +414,13 @@ importers: examples/with-nanostores: dependencies: '@astrojs/preact': - specifier: ^2.2.1 + specifier: ^3.0.0-beta.0 version: link:../../packages/integrations/preact '@nanostores/preact': specifier: ^0.4.1 version: 0.4.1(nanostores@0.8.1)(preact@10.15.1) astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro nanostores: specifier: ^0.8.1 @@ -432,16 +432,16 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^0.19.7 + specifier: ^1.0.0-beta.0 version: link:../../packages/integrations/mdx '@astrojs/tailwind': - specifier: ^4.0.0 + specifier: ^5.0.0-beta.0 version: link:../../packages/integrations/tailwind '@types/canvas-confetti': specifier: ^1.6.0 version: 1.6.0 astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro autoprefixer: specifier: ^10.4.14 @@ -459,7 +459,7 @@ importers: examples/with-vite-plugin-pwa: dependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro vite-plugin-pwa: specifier: 0.14.7 @@ -471,7 +471,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^2.9.6 + specifier: ^3.0.0-beta.0 version: link:../../packages/astro vitest: specifier: ^0.31.4 @@ -4504,7 +4504,7 @@ importers: dependencies: '@astrojs/netlify': specifier: file:../../.. - version: file:packages/integrations/netlify(astro@2.9.6) + version: file:packages/integrations/netlify(astro@3.0.0-beta.0) astro: specifier: file:../../../../../astro version: file:packages/astro(@types/node@18.16.18) @@ -5028,7 +5028,7 @@ importers: dependencies: '@astrojs/vercel': specifier: file:../../.. - version: file:packages/integrations/vercel(astro@2.9.6) + version: file:packages/integrations/vercel(astro@3.0.0-beta.0) astro: specifier: file:../../../../../astro version: file:packages/astro(@types/node@18.16.18) @@ -5238,7 +5238,7 @@ importers: packages/markdown/remark: dependencies: '@astrojs/prism': - specifier: ^2.1.2 + specifier: ^3.0.0-beta.0 version: link:../../astro-prism github-slugger: specifier: ^1.5.0 @@ -18492,7 +18492,7 @@ packages: resolution: {directory: packages/astro, type: directory} id: file:packages/astro name: astro - version: 2.9.6 + version: 3.0.0-beta.0 engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true peerDependencies: @@ -18601,31 +18601,29 @@ packages: solid-js: 1.7.6 dev: false - file:packages/integrations/netlify(astro@2.9.6): + file:packages/integrations/netlify(astro@3.0.0-beta.0): resolution: {directory: packages/integrations/netlify, type: directory} id: file:packages/integrations/netlify name: '@astrojs/netlify' - version: 2.5.1 + version: 3.0.0-beta.0 peerDependencies: astro: '*' dependencies: '@astrojs/underscore-redirects': link:packages/underscore-redirects - '@astrojs/webapi': 2.2.0 '@netlify/functions': 1.6.0 astro: file:packages/astro(@types/node@18.16.18) esbuild: 0.18.16 dev: false - file:packages/integrations/vercel(astro@2.9.6): + file:packages/integrations/vercel(astro@3.0.0-beta.0): resolution: {directory: packages/integrations/vercel, type: directory} id: file:packages/integrations/vercel name: '@astrojs/vercel' - version: 3.7.4 + version: 4.0.0-beta.0 peerDependencies: astro: '*' dependencies: '@astrojs/internal-helpers': link:packages/internal-helpers - '@astrojs/webapi': 2.2.0 '@vercel/analytics': 0.1.11 '@vercel/nft': 0.22.6 astro: file:packages/astro(@types/node@18.16.18)