diff --git a/.changeset/pre.json b/.changeset/pre.json index bb9d005f4..b333a9650 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -62,15 +62,19 @@ }, "changesets": [ "angry-pots-boil", + "angry-spoons-flow", "beige-beds-smile", "beige-pumpkins-pump", + "calm-emus-raise", "calm-peas-doubt", + "chatty-planes-bathe", "chatty-rivers-camp", "chilled-geese-worry", "curvy-beds-warn", "curvy-foxes-reply", "dull-rabbits-relax", "eleven-bulldogs-provide", + "few-rice-report", "fluffy-mirrors-swim", "fluffy-onions-wink", "giant-chefs-rule", @@ -81,9 +85,14 @@ "lemon-eagles-worry", "lovely-terms-drive", "lovely-worms-invite", + "mean-suits-cover", "modern-bulldogs-film", + "neat-eagles-trade", "new-lies-guess", + "ninety-garlics-fly", + "odd-mirrors-beam", "poor-chicken-film", + "poor-ladybugs-thank", "pretty-planes-promise", "quick-impalas-rush", "quiet-actors-agree", @@ -96,6 +105,8 @@ "shaggy-melons-tap", "six-carpets-talk", "smart-clouds-applaud", + "smooth-guests-perform", + "spicy-parrots-beam", "spicy-tips-dream", "spotty-bees-switch", "stupid-wolves-explain", @@ -105,7 +116,12 @@ "thin-beers-drive", "thin-seahorses-worry", "tricky-rabbits-count", + "twelve-cooks-tickle", + "twenty-boxes-know", + "twenty-llamas-type", "two-geese-eat", - "two-needles-buy" + "two-needles-buy", + "wicked-clouds-obey", + "witty-pugs-drum" ] } diff --git a/examples/basics/package.json b/examples/basics/package.json index 792bdcdd6..091ff28fa 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index fad029307..3e358672b 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", - "@astrojs/mdx": "^1.0.0-beta.2", + "astro": "^2.0.0-beta.3", + "@astrojs/mdx": "^0.15.0-beta.0", "@astrojs/rss": "^2.0.0", "@astrojs/sitemap": "^1.0.0" } diff --git a/examples/component/package.json b/examples/component/package.json index c7dae3c5c..d0c6f8159 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/deno/package.json b/examples/deno/package.json index 1a6bff584..e2eed9c9e 100644 --- a/examples/deno/package.json +++ b/examples/deno/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" }, "devDependencies": { "@astrojs/deno": "^4.0.0-beta.2" diff --git a/examples/docs/package.json b/examples/docs/package.json index 33d3027f3..e1871cd3f 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -12,7 +12,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 0b802c6cf..bc94df85b 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "alpinejs": "^3.10.2", "@astrojs/alpinejs": "^0.1.2", "@types/alpinejs": "^3.7.0" diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 2e1295ec2..417357ea7 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "lit": "^2.2.5", "@astrojs/lit": "^1.0.2-beta.0", "@webcomponents/template-shadowroot": "^0.1.0" diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 385c675e8..6fdb34bac 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "preact": "^10.7.3", "react": "^18.1.0", "react-dom": "^18.1.0", @@ -21,7 +21,7 @@ "@astrojs/preact": "^2.0.0-beta.0", "@astrojs/react": "^2.0.0-beta.0", "@astrojs/solid-js": "^2.0.0-beta.0", - "@astrojs/svelte": "^2.0.0-beta.1", + "@astrojs/svelte": "^2.0.0-beta.2", "@astrojs/vue": "^2.0.0-beta.1" } } diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index b03a54843..fe3a2789a 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "preact": "^10.7.3", "@astrojs/preact": "^2.0.0-beta.0", "@preact/signals": "^1.1.0" diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 3c07599e5..4539388b7 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "react": "^18.1.0", "react-dom": "^18.1.0", "@astrojs/react": "^2.0.0-beta.0", diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index cbcf18b9d..43de84fd2 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "solid-js": "^1.4.3", "@astrojs/solid-js": "^2.0.0-beta.0" } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 6e38c6196..afa756ce5 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "svelte": "^3.48.0", - "@astrojs/svelte": "^2.0.0-beta.1", - "astro": "^2.0.0-beta.2" + "@astrojs/svelte": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index d30add841..b15703a5a 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "vue": "^3.2.37", "@astrojs/vue": "^2.0.0-beta.1" } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index f1a301206..17d49c71c 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -13,6 +13,6 @@ }, "dependencies": { "@astrojs/node": "^5.0.0-beta.1", - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index f386381d1..7400dfba2 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" }, "peerDependencies": { "astro": "^2.0.0-beta.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 1922b43ed..86e6db1bb 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index dd5152137..9379b0438 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 804898dfd..a75cd3d67 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 291292531..4294662e9 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,9 +12,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "svelte": "^3.48.0", - "@astrojs/svelte": "^2.0.0-beta.1", + "@astrojs/svelte": "^2.0.0-beta.2", "@astrojs/node": "^5.0.0-beta.1", "concurrently": "^7.2.1", "unocss": "^0.15.6", diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index daa376a73..b555f2a44 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "@astrojs/markdown-remark": "^2.0.0-beta.2", "hast-util-select": "5.0.1", "rehype-autolink-headings": "^6.1.1", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index 81bc160bb..5d1b30aee 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2" + "astro": "^2.0.0-beta.3" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 324c91b8a..9b75345ed 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "preact": "^10.6.5", "@astrojs/preact": "^2.0.0-beta.0", - "@astrojs/mdx": "^1.0.0-beta.2" + "@astrojs/mdx": "^0.15.0-beta.0" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 1d9c13cbe..91ee29340 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "preact": "^10.7.3", "@astrojs/preact": "^2.0.0-beta.0", "nanostores": "^0.5.12", diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 616c812e7..45c98e2e7 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^1.0.0-beta.2", + "@astrojs/mdx": "^0.15.0-beta.0", "@astrojs/tailwind": "^3.0.0-beta.1", "@types/canvas-confetti": "^1.4.3", - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "autoprefixer": "^10.4.7", "canvas-confetti": "^1.5.1", "postcss": "^8.4.14", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index a2a372d1b..e004b484f 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.0.0-beta.2", + "astro": "^2.0.0-beta.3", "vite-plugin-pwa": "0.11.11", "workbox-window": "^6.5.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 3c04ea9f9..610e17804 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^2.0.0-beta.2", + "astro": "^2.0.0-beta.3", "vitest": "^0.20.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index b7387a028..f9d5c20c9 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,69 @@ # astro +## 2.0.0-beta.3 + +### Major Changes + +- [#5891](https://github.com/withastro/astro/pull/5891) [`05caf445d`](https://github.com/withastro/astro/commit/05caf445d4d2728f1010aeb2179a9e756c2fd17d) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Remove deprecated Markdown APIs from Astro v0.X. This includes `getHeaders()`, the `.astro` property for layouts, and the `rawContent()` and `compiledContent()` error messages for MDX. + +- [#5893](https://github.com/withastro/astro/pull/5893) [`be901dc98`](https://github.com/withastro/astro/commit/be901dc98c4a7f6b5536540aa8f7ba5108e939a0) Thanks [@matthewp](https://github.com/matthewp)! - Move getEntry to getEntryBySlug + + This change moves `getEntry` to `getEntryBySlug` and accepts a slug rather than an id. + + In order to improve support in `[id].astro` routes, particularly in SSR where you do not know what the id of a collection is. Using `getEntryBySlug` instead allows you to map the `[id]` param in your route to the entry. You can use it like this: + + ```astro + --- + import { getEntryBySlug } from 'astro:content'; + + const entry = await getEntryBySlug('docs', Astro.params.id); + + if (!entry) { + return new Response(null, { + status: 404, + }); + } + --- + + + ``` + +- [#5608](https://github.com/withastro/astro/pull/5608) [`899214298`](https://github.com/withastro/astro/commit/899214298cee5f0c975c7245e623c649e1842d73) Thanks [@konojunya](https://github.com/konojunya)! - A trailing slash will not be automatically appended to `import.meta.env.SITE`. Instead, it will be the value of the `site` config as is. This may affect usages of `${import.meta.env.SITE}image.png`, which will need to be updated accordingly. + +- [#5862](https://github.com/withastro/astro/pull/5862) [`1ca81c16b`](https://github.com/withastro/astro/commit/1ca81c16b8b66236e092e6eb6ec3f73f5668421c) Thanks [@bluwy](https://github.com/bluwy)! - Remove unused exports + +### Minor Changes + +- [#5901](https://github.com/withastro/astro/pull/5901) [`a342a486c`](https://github.com/withastro/astro/commit/a342a486c2831461e24e6c2f1ca8a9d3e15477b6) Thanks [@bluwy](https://github.com/bluwy)! - The fallback Svelte preprocessor will only be applied if a custom `preprocess` option is not passed to the `svelte()` integration option, or in the `svelte.config.js` file. + + To support IDE autocompletion, or if you're migrating from `@astrojs/svelte` v1, you can create a `svelte.config.js` file with: + + ```js + import { vitePreprocess } from '@astrojs/svelte'; + + export default { + preprocess: vitePreprocess(), + }; + ``` + + This file will also be generated by `astro add svelte` by default. + +### Patch Changes + +- [#5855](https://github.com/withastro/astro/pull/5855) [`16dc36a87`](https://github.com/withastro/astro/commit/16dc36a870df47a4151a8ed2d91d0bd1bb812458) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Remove legacy compiler error handling + +- [#5884](https://github.com/withastro/astro/pull/5884) [`ce5c5dbd4`](https://github.com/withastro/astro/commit/ce5c5dbd46afbe738b03600758bf5c35113de522) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - Add a theme toggle button to the error overlay + +- [#5845](https://github.com/withastro/astro/pull/5845) [`e818cc046`](https://github.com/withastro/astro/commit/e818cc0466a942919ea3c41585e231c8c80cb3d0) Thanks [@bluwy](https://github.com/bluwy)! - Fix importing client-side components with alias + +- [#5849](https://github.com/withastro/astro/pull/5849) [`8c100a6fe`](https://github.com/withastro/astro/commit/8c100a6fe6cc652c3799d1622e12c2c969f30510) Thanks [@bluwy](https://github.com/bluwy)! - Handle server restart from Vite plugins + +- [#5896](https://github.com/withastro/astro/pull/5896) [`64b8082e7`](https://github.com/withastro/astro/commit/64b8082e776b832f1433ed288e6f7888adb626d0) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Update `@astrojs/compiler` to `v1.0.0` + +- [#5852](https://github.com/withastro/astro/pull/5852) [`3a00ecb3e`](https://github.com/withastro/astro/commit/3a00ecb3eb4bc44be758c064f2bde6e247e8a593) Thanks [@rishi-raj-jain](https://github.com/rishi-raj-jain)! - Respect `vite.envPrefix` if provided + +- [#5872](https://github.com/withastro/astro/pull/5872) [`b66d7195c`](https://github.com/withastro/astro/commit/b66d7195c17a55ea0931bc3744888bd4f5f01ce6) Thanks [@bluwy](https://github.com/bluwy)! - Enable `skipLibCheck` by default + ## 2.0.0-beta.2 ### Major Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 75ac52155..bc25a6bc5 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "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/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 7eef2b66b..ecdc8c43e 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -38,7 +38,7 @@ "tiny-glob": "^0.2.9" }, "peerDependencies": { - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json index 63e5ef2e5..5f7120d42 100644 --- a/packages/integrations/deno/package.json +++ b/packages/integrations/deno/package.json @@ -32,7 +32,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "devDependencies": { "astro": "workspace:*", diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 08e0e63c0..175cf5e70 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,20 @@ # @astrojs/image +## 0.12.2-beta.0 + +### Patch Changes + +- [#5788](https://github.com/withastro/astro/pull/5788) [`006405d33`](https://github.com/withastro/astro/commit/006405d33c2b8eb1307cb84161659428e43efa51) Thanks [@MoustaphaDev](https://github.com/MoustaphaDev)! - - Refactor types to support props auto-completion for the `Image` and `Picture` components. + + - Pass previously missing `alt` prop to the `getPicture` function + +- [#5871](https://github.com/withastro/astro/pull/5871) [`1bd42c6b2`](https://github.com/withastro/astro/commit/1bd42c6b2a072210411cffb42dcc80170b9a618b) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix the integration failing to work properly on Node 18+ + +- [#5888](https://github.com/withastro/astro/pull/5888) [`35b26f377`](https://github.com/withastro/astro/commit/35b26f377f9f379207fb4b5c16877bad1661ac6b) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix crash on Netlify Functions due to `import.meta.url` + +- Updated dependencies [[`16dc36a87`](https://github.com/withastro/astro/commit/16dc36a870df47a4151a8ed2d91d0bd1bb812458), [`05caf445d`](https://github.com/withastro/astro/commit/05caf445d4d2728f1010aeb2179a9e756c2fd17d), [`a342a486c`](https://github.com/withastro/astro/commit/a342a486c2831461e24e6c2f1ca8a9d3e15477b6), [`ce5c5dbd4`](https://github.com/withastro/astro/commit/ce5c5dbd46afbe738b03600758bf5c35113de522), [`be901dc98`](https://github.com/withastro/astro/commit/be901dc98c4a7f6b5536540aa8f7ba5108e939a0), [`e818cc046`](https://github.com/withastro/astro/commit/e818cc0466a942919ea3c41585e231c8c80cb3d0), [`8c100a6fe`](https://github.com/withastro/astro/commit/8c100a6fe6cc652c3799d1622e12c2c969f30510), [`64b8082e7`](https://github.com/withastro/astro/commit/64b8082e776b832f1433ed288e6f7888adb626d0), [`899214298`](https://github.com/withastro/astro/commit/899214298cee5f0c975c7245e623c649e1842d73), [`3a00ecb3e`](https://github.com/withastro/astro/commit/3a00ecb3eb4bc44be758c064f2bde6e247e8a593), [`1ca81c16b`](https://github.com/withastro/astro/commit/1ca81c16b8b66236e092e6eb6ec3f73f5668421c), [`b66d7195c`](https://github.com/withastro/astro/commit/b66d7195c17a55ea0931bc3744888bd4f5f01ce6)]: + - astro@2.0.0-beta.3 + ## 1.0.0-beta.2 ### Major Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index e2bdf0167..8d067f84b 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.12.1", + "version": "0.12.2-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -65,7 +65,7 @@ }, "peerDependencies": { "sharp": ">=0.31.0", - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "peerDependenciesMeta": { "sharp": { diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index bc0b68bca..4293d9773 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/mdx +## 0.15.0-beta.0 + +### Minor Changes + +- [#5891](https://github.com/withastro/astro/pull/5891) [`05caf445d`](https://github.com/withastro/astro/commit/05caf445d4d2728f1010aeb2179a9e756c2fd17d) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Remove deprecated Markdown APIs from Astro v0.X. This includes `getHeaders()`, the `.astro` property for layouts, and the `rawContent()` and `compiledContent()` error messages for MDX. + ## 1.0.0-beta.2 ### Major Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 49339368c..89b11064e 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/mdx", "description": "Use MDX within Astro", - "version": "0.14.0", + "version": "0.15.0-beta.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md index d6a35393a..16cf83a80 100644 --- a/packages/integrations/netlify/CHANGELOG.md +++ b/packages/integrations/netlify/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/netlify +## 2.0.0-beta.3 + +### Patch Changes + +- [#5885](https://github.com/withastro/astro/pull/5885) [`8f1ae06e5`](https://github.com/withastro/astro/commit/8f1ae06e58f37c7d9e3b9076268b6e91546bdc07) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fix issue with prerendered pages when using `edge-functions` adapter + +- Updated dependencies [[`16dc36a87`](https://github.com/withastro/astro/commit/16dc36a870df47a4151a8ed2d91d0bd1bb812458), [`05caf445d`](https://github.com/withastro/astro/commit/05caf445d4d2728f1010aeb2179a9e756c2fd17d), [`a342a486c`](https://github.com/withastro/astro/commit/a342a486c2831461e24e6c2f1ca8a9d3e15477b6), [`ce5c5dbd4`](https://github.com/withastro/astro/commit/ce5c5dbd46afbe738b03600758bf5c35113de522), [`be901dc98`](https://github.com/withastro/astro/commit/be901dc98c4a7f6b5536540aa8f7ba5108e939a0), [`e818cc046`](https://github.com/withastro/astro/commit/e818cc0466a942919ea3c41585e231c8c80cb3d0), [`8c100a6fe`](https://github.com/withastro/astro/commit/8c100a6fe6cc652c3799d1622e12c2c969f30510), [`64b8082e7`](https://github.com/withastro/astro/commit/64b8082e776b832f1433ed288e6f7888adb626d0), [`899214298`](https://github.com/withastro/astro/commit/899214298cee5f0c975c7245e623c649e1842d73), [`3a00ecb3e`](https://github.com/withastro/astro/commit/3a00ecb3eb4bc44be758c064f2bde6e247e8a593), [`1ca81c16b`](https://github.com/withastro/astro/commit/1ca81c16b8b66236e092e6eb6ec3f73f5668421c), [`b66d7195c`](https://github.com/withastro/astro/commit/b66d7195c17a55ea0931bc3744888bd4f5f01ce6)]: + - astro@2.0.0-beta.3 + ## 2.0.0-beta.2 ### Major Changes diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json index cb26755cb..ebe752789 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.0.0-beta.2", + "version": "2.0.0-beta.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", @@ -38,7 +38,7 @@ "esbuild": "^0.15.18" }, "peerDependencies": { - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "devDependencies": { "@netlify/edge-handler-types": "^0.34.1", diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 6f9ad130d..a4e6bc1fc 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -34,7 +34,7 @@ "send": "^0.18.0" }, "peerDependencies": { - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "devDependencies": { "@types/send": "^0.17.1", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index a282ff4ee..e32933165 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,28 @@ # @astrojs/svelte +## 2.0.0-beta.2 + +### Major Changes + +- [#5901](https://github.com/withastro/astro/pull/5901) [`a342a486c`](https://github.com/withastro/astro/commit/a342a486c2831461e24e6c2f1ca8a9d3e15477b6) Thanks [@bluwy](https://github.com/bluwy)! - The fallback Svelte preprocessor will only be applied if a custom `preprocess` option is not passed to the `svelte()` integration option, or in the `svelte.config.js` file. + + To support IDE autocompletion, or if you're migrating from `@astrojs/svelte` v1, you can create a `svelte.config.js` file with: + + ```js + import { vitePreprocess } from '@astrojs/svelte'; + + export default { + preprocess: vitePreprocess(), + }; + ``` + + This file will also be generated by `astro add svelte` by default. + +### Patch Changes + +- Updated dependencies [[`16dc36a87`](https://github.com/withastro/astro/commit/16dc36a870df47a4151a8ed2d91d0bd1bb812458), [`05caf445d`](https://github.com/withastro/astro/commit/05caf445d4d2728f1010aeb2179a9e756c2fd17d), [`a342a486c`](https://github.com/withastro/astro/commit/a342a486c2831461e24e6c2f1ca8a9d3e15477b6), [`ce5c5dbd4`](https://github.com/withastro/astro/commit/ce5c5dbd46afbe738b03600758bf5c35113de522), [`be901dc98`](https://github.com/withastro/astro/commit/be901dc98c4a7f6b5536540aa8f7ba5108e939a0), [`e818cc046`](https://github.com/withastro/astro/commit/e818cc0466a942919ea3c41585e231c8c80cb3d0), [`8c100a6fe`](https://github.com/withastro/astro/commit/8c100a6fe6cc652c3799d1622e12c2c969f30510), [`64b8082e7`](https://github.com/withastro/astro/commit/64b8082e776b832f1433ed288e6f7888adb626d0), [`899214298`](https://github.com/withastro/astro/commit/899214298cee5f0c975c7245e623c649e1842d73), [`3a00ecb3e`](https://github.com/withastro/astro/commit/3a00ecb3eb4bc44be758c064f2bde6e247e8a593), [`1ca81c16b`](https://github.com/withastro/astro/commit/1ca81c16b8b66236e092e6eb6ec3f73f5668421c), [`b66d7195c`](https://github.com/withastro/astro/commit/b66d7195c17a55ea0931bc3744888bd4f5f01ce6)]: + - astro@2.0.0-beta.3 + ## 2.0.0-beta.1 ### Major Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index cde7315ec..dde73f607 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "2.0.0-beta.1", + "version": "2.0.0-beta.2", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", @@ -44,7 +44,7 @@ }, "peerDependencies": { "svelte": "^3.54.0", - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "engines": { "node": ">=16.12.0" diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index d4c4fb4e0..a3bc9bbbf 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -39,7 +39,7 @@ }, "peerDependencies": { "tailwindcss": "^3.0.24", - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "pnpm": { "peerDependencyRules": { diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 2f5e42dff..11074539b 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -50,7 +50,7 @@ "set-cookie-parser": "^2.5.1" }, "peerDependencies": { - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.2", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index a1e4b2bb8..af2230d0e 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -51,7 +51,7 @@ }, "peerDependencies": { "vue": "^3.2.30", - "astro": "workspace:^2.0.0-beta.2" + "astro": "workspace:^2.0.0-beta.3" }, "engines": { "node": ">=16.12.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 514995d6c..7575f4441 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,16 +63,16 @@ importers: examples/basics: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: astro: link:../../packages/astro examples/blog: specifiers: - '@astrojs/mdx': ^1.0.0-beta.2 + '@astrojs/mdx': ^0.15.0-beta.0 '@astrojs/rss': ^2.0.0 '@astrojs/sitemap': ^1.0.0 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/rss': link:../../packages/astro-rss @@ -81,14 +81,14 @@ importers: examples/component: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 devDependencies: astro: link:../../packages/astro examples/deno: specifiers: '@astrojs/deno': ^4.0.0-beta.2 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: astro: link:../../packages/astro devDependencies: @@ -104,7 +104,7 @@ importers: '@types/node': ^18.0.0 '@types/react': ^17.0.45 '@types/react-dom': ^18.0.0 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 html-escaper: ^3.0.3 preact: ^10.7.3 react: ^18.1.0 @@ -130,7 +130,7 @@ importers: '@astrojs/alpinejs': ^0.1.2 '@types/alpinejs': ^3.7.0 alpinejs: ^3.10.2 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: '@astrojs/alpinejs': link:../../packages/integrations/alpinejs '@types/alpinejs': 3.7.1 @@ -141,7 +141,7 @@ importers: specifiers: '@astrojs/lit': ^1.0.2-beta.0 '@webcomponents/template-shadowroot': ^0.1.0 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 lit: ^2.2.5 dependencies: '@astrojs/lit': link:../../packages/integrations/lit @@ -154,9 +154,9 @@ importers: '@astrojs/preact': ^2.0.0-beta.0 '@astrojs/react': ^2.0.0-beta.0 '@astrojs/solid-js': ^2.0.0-beta.0 - '@astrojs/svelte': ^2.0.0-beta.1 + '@astrojs/svelte': ^2.0.0-beta.2 '@astrojs/vue': ^2.0.0-beta.1 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 preact: ^10.7.3 react: ^18.1.0 react-dom: ^18.1.0 @@ -181,7 +181,7 @@ importers: specifiers: '@astrojs/preact': ^2.0.0-beta.0 '@preact/signals': ^1.1.0 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 preact: ^10.7.3 dependencies: '@astrojs/preact': link:../../packages/integrations/preact @@ -194,7 +194,7 @@ importers: '@astrojs/react': ^2.0.0-beta.0 '@types/react': ^18.0.10 '@types/react-dom': ^18.0.5 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 react: ^18.1.0 react-dom: ^18.1.0 dependencies: @@ -208,7 +208,7 @@ importers: examples/framework-solid: specifiers: '@astrojs/solid-js': ^2.0.0-beta.0 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 solid-js: ^1.4.3 dependencies: '@astrojs/solid-js': link:../../packages/integrations/solid @@ -217,8 +217,8 @@ importers: examples/framework-svelte: specifiers: - '@astrojs/svelte': ^2.0.0-beta.1 - astro: ^2.0.0-beta.2 + '@astrojs/svelte': ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 svelte: ^3.48.0 dependencies: '@astrojs/svelte': link:../../packages/integrations/svelte @@ -228,7 +228,7 @@ importers: examples/framework-vue: specifiers: '@astrojs/vue': ^2.0.0-beta.1 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 vue: ^3.2.37 dependencies: '@astrojs/vue': link:../../packages/integrations/vue @@ -238,40 +238,40 @@ importers: examples/hackernews: specifiers: '@astrojs/node': ^5.0.0-beta.1 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: '@astrojs/node': link:../../packages/integrations/node astro: link:../../packages/astro examples/integration: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 devDependencies: astro: link:../../packages/astro examples/minimal: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: astro: link:../../packages/astro examples/non-html-pages: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: astro: link:../../packages/astro examples/portfolio: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: astro: link:../../packages/astro examples/ssr: specifiers: '@astrojs/node': ^5.0.0-beta.1 - '@astrojs/svelte': ^2.0.0-beta.1 - astro: ^2.0.0-beta.2 + '@astrojs/svelte': ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 concurrently: ^7.2.1 svelte: ^3.48.0 unocss: ^0.15.6 @@ -285,20 +285,10 @@ importers: unocss: 0.15.6 vite-imagetools: 4.0.14 - examples/with-content: - specifiers: - '@astrojs/mdx': ^1.0.0-beta.2 - '@astrojs/sitemap': ^1.0.0 - astro: ^2.0.0-beta.2 - dependencies: - '@astrojs/mdx': link:../../packages/integrations/mdx - '@astrojs/sitemap': link:../../packages/integrations/sitemap - astro: link:../../packages/astro - examples/with-markdown-plugins: specifiers: '@astrojs/markdown-remark': ^2.0.0-beta.2 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 hast-util-select: 5.0.1 rehype-autolink-headings: ^6.1.1 rehype-slug: ^5.0.1 @@ -315,15 +305,15 @@ importers: examples/with-markdown-shiki: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 dependencies: astro: link:../../packages/astro examples/with-mdx: specifiers: - '@astrojs/mdx': ^1.0.0-beta.2 + '@astrojs/mdx': ^0.15.0-beta.0 '@astrojs/preact': ^2.0.0-beta.0 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 preact: ^10.6.5 dependencies: '@astrojs/mdx': link:../../packages/integrations/mdx @@ -335,7 +325,7 @@ importers: specifiers: '@astrojs/preact': ^2.0.0-beta.0 '@nanostores/preact': ^0.1.3 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 nanostores: ^0.5.12 preact: ^10.7.3 dependencies: @@ -347,10 +337,10 @@ importers: examples/with-tailwindcss: specifiers: - '@astrojs/mdx': ^1.0.0-beta.2 + '@astrojs/mdx': ^0.15.0-beta.0 '@astrojs/tailwind': ^3.0.0-beta.1 '@types/canvas-confetti': ^1.4.3 - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 autoprefixer: ^10.4.7 canvas-confetti: ^1.5.1 postcss: ^8.4.14 @@ -367,7 +357,7 @@ importers: examples/with-vite-plugin-pwa: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 vite-plugin-pwa: 0.11.11 workbox-window: ^6.5.3 dependencies: @@ -377,7 +367,7 @@ importers: examples/with-vitest: specifiers: - astro: ^2.0.0-beta.2 + astro: ^2.0.0-beta.3 vitest: ^0.20.3 dependencies: astro: link:../../packages/astro