diff --git a/.changeset/pre.json b/.changeset/pre.json index 34bd34347bf7..b87fb4c01e5f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -65,6 +65,7 @@ "large-zebras-sniff", "long-lions-do", "long-months-rule", + "lovely-pianos-breathe", "many-garlics-lick", "mean-donkeys-switch", "modern-bears-deny", @@ -77,6 +78,7 @@ "polite-roses-fail", "poor-dots-add", "poor-frogs-dream", + "poor-seals-clap", "quick-ads-exercise", "rotten-phones-scream", "selfish-cats-crash", @@ -86,13 +88,18 @@ "slimy-mice-dance", "slimy-queens-hang", "small-ties-sort", + "smooth-panthers-heal", "spotty-garlics-cheat", "strange-sheep-film", + "sweet-timers-smash", + "tame-pumpkins-swim", "ten-students-repair", "ten-walls-tap", + "three-olives-reflect", "twelve-comics-march", "twenty-cobras-push", "unlucky-bobcats-sit", - "violet-goats-grab" + "violet-goats-grab", + "wise-carrots-float" ] } diff --git a/examples/basics/package.json b/examples/basics/package.json index ad9839584e6e..ff1d15e724b2 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 5cf7be6b0a60..16ca3bd40fb5 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^4.0.0-beta.1", + "@astrojs/mdx": "^4.0.0-beta.2", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index c704256c1eb0..d42e8d92c9e4 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" }, "peerDependencies": { "astro": "^4.0.0 || ^5.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 13e6ea5ce07a..a917974b0237 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest run" }, "dependencies": { - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "@astrojs/react": "^3.6.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 371b5a8f2095..c34bdc468d87 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.1", - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 9f014ab17289..ed371aa864d9 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -18,7 +18,7 @@ "@astrojs/vue": "^5.0.0-beta.0", "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "preact": "^10.24.1", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index e56478d24661..2d8bacc93031 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.3", "@preact/signals": "^1.3.0", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "preact": "^10.24.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 84b0ff5fc176..cfbabde90c30 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.2", "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 8b4da409a283..4663c6c35426 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.2", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "solid-js": "^1.9.1" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index e709e95deb42..707f215d4ed3 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^6.0.0-beta.0", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "svelte": "^4.2.19" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 7433a67b812e..78339a31ec93 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^5.0.0-beta.0", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "vue": "^3.5.10" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 79d3014cdb70..2f16c714151d 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^9.0.0-alpha.1", - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 6627384043f9..21c2d13c3a7e 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 025dbd3407dd..f024ab936d96 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^9.0.0-alpha.1", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index dc5d5c3a56a6..956c8e4e1b5a 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index d4c71e7bed02..dc312cb7460e 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index e9b712675680..80b3dae3db34 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index 4a171959b972..d0dc4cd68885 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -17,7 +17,7 @@ "@tailwindcss/forms": "^0.5.9", "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "postcss": "^8.4.47", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 4142f3f9bfed..7b070418a093 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^9.0.0-alpha.1", "@astrojs/svelte": "^6.0.0-beta.0", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "svelte": "^4.2.19" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 41b8dad59abe..83b7c916fd36 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "sass": "^1.79.4", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index b697261a199e..c5a1fa7079cd 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index b1cc57b10963..b11c893156af 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -12,6 +12,6 @@ "devDependencies": { "@astrojs/tailwind": "^5.1.1", "@astrojs/node": "^9.0.0-alpha.1", - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 65a26dd20a43..f57b1bab015c 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.11.5-beta.0", - "astro": "^5.0.0-beta.2" + "@astrojs/markdoc": "^0.11.5-beta.1", + "astro": "^5.0.0-beta.3" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 4ab25fc2c49a..b7dcdb8559a3 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": "^6.0.0-beta.1", - "astro": "^5.0.0-beta.2", + "@astrojs/markdown-remark": "^6.0.0-beta.2", + "astro": "^5.0.0-beta.3", "hast-util-select": "^6.0.2", "rehype-autolink-headings": "^7.1.0", "rehype-slug": "^6.0.0", diff --git a/examples/with-markdown-shiki/package.json b/examples/with-markdown-shiki/package.json index b7bc63660506..23f01df6df93 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.0.0-beta.2" + "astro": "^5.0.0-beta.3" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index a855630c38d3..5a33449cfb0b 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^4.0.0-beta.1", + "@astrojs/mdx": "^4.0.0-beta.2", "@astrojs/preact": "^3.5.3", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "preact": "^10.24.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 6a887114278b..e12d13f09680 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.3", "@nanostores/preact": "^0.5.2", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "nanostores": "^0.11.3", "preact": "^10.24.1" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 5fc16b6973f7..e4608e842b2e 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^4.0.0-beta.1", + "@astrojs/mdx": "^4.0.0-beta.2", "@astrojs/tailwind": "^5.1.1", "@types/canvas-confetti": "^1.6.4", - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.47", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index e9569bf1d06d..c82281a0488a 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.0.0-beta.2", + "astro": "^5.0.0-beta.3", "vitest": "^2.1.1" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 72e4f87b18ff..cc55ccecfe91 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,141 @@ # astro +## 5.0.0-beta.3 + +### Minor Changes + +- [#12047](https://github.com/withastro/astro/pull/12047) [`21b5e80`](https://github.com/withastro/astro/commit/21b5e806c5df37c6b01da63487568a6ed351ba7d) Thanks [@rgodha24](https://github.com/rgodha24)! - Adds a new optional `parser` property to the built-in `file()` loader for content collections to support additional file types such as `toml` and `csv`. + + The `file()` loader now accepts a second argument that defines a `parser` function. This allows you to specify a custom parser (e.g. `toml.parse` or `csv-parse`) to create a collection from a file's contents. The `file()` loader will automatically detect and parse JSON and YAML files (based on their file extension) with no need for a `parser`. + + This works with any type of custom file formats including `csv` and `toml`. The following example defines a content collection `dogs` using a `.toml` file. + + ```toml + [[dogs]] + id = "..." + age = "..." + + [[dogs]] + id = "..." + age = "..." + ``` + + After importing TOML's parser, you can load the `dogs` collection into your project by passing both a file path and `parser` to the `file()` loader. + + ```typescript + import { defineCollection } from "astro:content" + import { file } from "astro/loaders" + import { parse as parseToml } from "toml" + + const dogs = defineCollection({ + loader: file("src/data/dogs.toml", { parser: (text) => parseToml(text).dogs }), + schema: /* ... */ + }) + + // it also works with CSVs! + import { parse as parseCsv } from "csv-parse/sync"; + + const cats = defineCollection({ + loader: file("src/data/cats.csv", { parser: (text) => parseCsv(text, { columns: true, skipEmptyLines: true })}) + }); + ``` + + The `parser` argument also allows you to load a single collection from a nested JSON document. For example, this JSON file contains multiple collections: + + ```json + { "dogs": [{}], "cats": [{}] } + ``` + + You can seperate these collections by passing a custom `parser` to the `file()` loader like so: + + ```typescript + const dogs = defineCollection({ + loader: file('src/data/pets.json', { parser: (text) => JSON.parse(text).dogs }), + }); + const cats = defineCollection({ + loader: file('src/data/pets.json', { parser: (text) => JSON.parse(text).cats }), + }); + ``` + + And it continues to work with maps of `id` to `data` + + ```yaml + bubbles: + breed: 'Goldfish' + age: 2 + finn: + breed: 'Betta' + age: 1 + ``` + + ```typescript + const fish = defineCollection({ + loader: file('src/data/fish.yaml'), + schema: z.object({ breed: z.string(), age: z.number() }), + }); + ``` + +- [#12071](https://github.com/withastro/astro/pull/12071) [`61d248e`](https://github.com/withastro/astro/commit/61d248e581a3bebf0ec67169813fc8ae4a2182df) Thanks [@Princesseuh](https://github.com/Princesseuh)! - `astro add` no longer automatically sets `output: 'server'`. Since the default value of output now allows for server-rendered pages, it no longer makes sense to default to full server builds when you add an adapter + +- [#11963](https://github.com/withastro/astro/pull/11963) [`0a1036e`](https://github.com/withastro/astro/commit/0a1036eef62f13c9609362874c5b88434d1e9300) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds a new `createCodegenDir()` function to the `astro:config:setup` hook in the Integrations API + + In 4.14, we introduced the `injectTypes` utility on the `astro:config:done` hook. It can create `.d.ts` files and make their types available to user's projects automatically. Under the hood, it creates a file in `/.astro/integrations/`. + + While the `.astro` directory has always been the preferred place to write code generated files, it has also been prone to mistakes. For example, you can write a `.astro/types.d.ts` file, breaking Astro types. Or you can create a file that overrides a file created by another integration. + + In this release, `/.astro/integrations/` can now be retrieved in the `astro:config:setup` hook by calling `createCodegenDir()`. It allows you to have a dedicated folder, avoiding conflicts with another integration or Astro itself. This directory is created by calling this function so it's safe to write files to it directly: + + ```js + import { writeFileSync } from 'node:fs'; + + const integration = { + name: 'my-integration', + hooks: { + 'astro:config:setup': ({ createCodegenDir }) => { + const codegenDir = createCodegenDir(); + writeFileSync(new URL('cache.json', codegenDir), '{}', 'utf-8'); + }, + }, + }; + ``` + +- [#12081](https://github.com/withastro/astro/pull/12081) [`8679954`](https://github.com/withastro/astro/commit/8679954bf647529e0f2134053866fc507e64c5e3) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Removes the experimental `contentCollectionsCache` introduced in `3.5.0`. + + Astro Content Layer API independently solves some of the caching and performance issues with legacy content collections that this strategy attempted to address. This feature has been replaced with continued work on improvements to the content layer. If you were using this experimental feature, you must now remove the flag from your Astro config as it no longer exists: + + ```diff + export default defineConfig({ + experimental: { + - contentCollectionsCache: true + } + }) + ``` + + The `cacheManifest` boolean argument is no longer passed to the `astro:build:done` integration hook: + + ```diff + const integration = { + name: "my-integration", + hooks: { + "astro:build:done": ({ + - cacheManifest, + logger + }) => {} + } + } + ``` + +### Patch Changes + +- [#12073](https://github.com/withastro/astro/pull/12073) [`acf264d`](https://github.com/withastro/astro/commit/acf264d8c003718cda5a0b9ce5fb7ac1cd6641b6) Thanks [@bluwy](https://github.com/bluwy)! - Replaces `ora` with `yocto-spinner` + +- [#12075](https://github.com/withastro/astro/pull/12075) [`a19530e`](https://github.com/withastro/astro/commit/a19530e377b7d7afad58a33b23c0a5df1c376819) Thanks [@bluwy](https://github.com/bluwy)! - Parses frontmatter ourselves + +- [#12070](https://github.com/withastro/astro/pull/12070) [`9693ad4`](https://github.com/withastro/astro/commit/9693ad4ffafb02ed1ea02beb3420ba864724b293) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where the check origin middleware was incorrectly injected when the build output was `"static"` + +- Updated dependencies [[`a19530e`](https://github.com/withastro/astro/commit/a19530e377b7d7afad58a33b23c0a5df1c376819)]: + - @astrojs/markdown-remark@6.0.0-beta.2 + ## 5.0.0-beta.2 ### Patch Changes @@ -228,6 +364,7 @@ ### Patch Changes - [#11974](https://github.com/withastro/astro/pull/11974) [`60211de`](https://github.com/withastro/astro/commit/60211defbfb2992ba17d1369e71c146d8928b09a) Thanks [@ascorbic](https://github.com/ascorbic)! - Exports the `RenderResult` type + ## 4.15.10 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 6f7636bea10e..55c28583975c 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.0.0-beta.2", + "version": "5.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/db/CHANGELOG.md b/packages/db/CHANGELOG.md index 204280e7e1e8..029e663bb07c 100644 --- a/packages/db/CHANGELOG.md +++ b/packages/db/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/db +## 0.14.0-beta.2 + +### Patch Changes + +- [#12073](https://github.com/withastro/astro/pull/12073) [`acf264d`](https://github.com/withastro/astro/commit/acf264d8c003718cda5a0b9ce5fb7ac1cd6641b6) Thanks [@bluwy](https://github.com/bluwy)! - Replaces `ora` with `yocto-spinner` + +- Updated dependencies [[`acf264d`](https://github.com/withastro/astro/commit/acf264d8c003718cda5a0b9ce5fb7ac1cd6641b6)]: + - @astrojs/studio@0.1.2-beta.0 + ## 0.14.0-beta.1 ### Minor Changes diff --git a/packages/db/package.json b/packages/db/package.json index 3e0368fe9f31..19afef1b35ad 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/db", - "version": "0.14.0-beta.1", + "version": "0.14.0-beta.2", "description": "Add libSQL and Astro Studio support to your Astro site", "license": "MIT", "repository": { diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 3e0871034928..6ec83efbc219 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/markdoc +## 0.11.5-beta.1 + +### Patch Changes + +- [#12075](https://github.com/withastro/astro/pull/12075) [`a19530e`](https://github.com/withastro/astro/commit/a19530e377b7d7afad58a33b23c0a5df1c376819) Thanks [@bluwy](https://github.com/bluwy)! - Parses frontmatter ourselves + +- Updated dependencies [[`a19530e`](https://github.com/withastro/astro/commit/a19530e377b7d7afad58a33b23c0a5df1c376819)]: + - @astrojs/markdown-remark@6.0.0-beta.2 + ## 0.11.5-beta.0 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 65aaad79fe2e..4350f2a4f19d 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/markdoc", "description": "Add support for Markdoc in your Astro site", - "version": "0.11.5-beta.0", + "version": "0.11.5-beta.1", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index 7eacad5c3fbb..5a07363e4b3b 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/mdx +## 4.0.0-beta.2 + +### Patch Changes + +- [#12075](https://github.com/withastro/astro/pull/12075) [`a19530e`](https://github.com/withastro/astro/commit/a19530e377b7d7afad58a33b23c0a5df1c376819) Thanks [@bluwy](https://github.com/bluwy)! - Parses frontmatter ourselves + +- Updated dependencies [[`a19530e`](https://github.com/withastro/astro/commit/a19530e377b7d7afad58a33b23c0a5df1c376819)]: + - @astrojs/markdown-remark@6.0.0-beta.2 + ## 4.0.0-beta.1 ### Major Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index d1b5f1f5c812..eb7db09a8c49 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": "4.0.0-beta.1", + "version": "4.0.0-beta.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index ff3e2b39e948..f69ba23bd15f 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdown-remark +## 6.0.0-beta.2 + +### Patch Changes + +- [#12075](https://github.com/withastro/astro/pull/12075) [`a19530e`](https://github.com/withastro/astro/commit/a19530e377b7d7afad58a33b23c0a5df1c376819) Thanks [@bluwy](https://github.com/bluwy)! - Parses frontmatter ourselves + ## 6.0.0-beta.1 ### Major Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 522f56926ec2..79cd2cd9f7da 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "6.0.0-beta.1", + "version": "6.0.0-beta.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/studio/CHANGELOG.md b/packages/studio/CHANGELOG.md index 593bb1704dfa..cbb514628336 100644 --- a/packages/studio/CHANGELOG.md +++ b/packages/studio/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/studio +## 0.1.2-beta.0 + +### Patch Changes + +- [#12073](https://github.com/withastro/astro/pull/12073) [`acf264d`](https://github.com/withastro/astro/commit/acf264d8c003718cda5a0b9ce5fb7ac1cd6641b6) Thanks [@bluwy](https://github.com/bluwy)! - Replaces `ora` with `yocto-spinner` + ## 0.1.1 ### Patch Changes diff --git a/packages/studio/package.json b/packages/studio/package.json index c9f89d2cefb0..a4176eb585c2 100644 --- a/packages/studio/package.json +++ b/packages/studio/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/studio", - "version": "0.1.1", + "version": "0.1.2-beta.0", "description": "Internal package powering integrations between Astro projects and Astro Studio", "license": "MIT", "repository": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 46a64c5cb130..8b0d8392ab04 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -113,13 +113,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^4.0.0-beta.1 + specifier: ^4.0.0-beta.2 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.7 @@ -128,13 +128,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/container-with-vitest: @@ -143,7 +143,7 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -174,7 +174,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/framework-multiple: @@ -201,7 +201,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro preact: specifier: ^10.24.1 @@ -231,7 +231,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.24.1) astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro preact: specifier: ^10.24.1 @@ -249,7 +249,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -264,7 +264,7 @@ importers: specifier: ^4.4.2 version: link:../../packages/integrations/solid astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro solid-js: specifier: ^1.9.1 @@ -276,7 +276,7 @@ importers: specifier: ^6.0.0-beta.0 version: link:../../packages/integrations/svelte astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro svelte: specifier: ^4.2.19 @@ -288,7 +288,7 @@ importers: specifier: ^5.0.0-beta.0 version: link:../../packages/integrations/vue astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro vue: specifier: ^3.5.10 @@ -300,13 +300,13 @@ importers: specifier: ^9.0.0-alpha.1 version: 9.0.0-beta.2(astro@packages+astro) astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/middleware: @@ -315,7 +315,7 @@ importers: specifier: ^9.0.0-alpha.1 version: 9.0.0-beta.2(astro@packages+astro) astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -328,19 +328,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/server-islands: @@ -367,7 +367,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro postcss: specifier: ^8.4.47 @@ -391,7 +391,7 @@ importers: specifier: ^6.0.0-beta.0 version: link:../../packages/integrations/svelte astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro svelte: specifier: ^4.2.19 @@ -400,7 +400,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro sass: specifier: ^1.79.4 @@ -412,7 +412,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/view-transitions: @@ -424,25 +424,25 @@ importers: specifier: ^5.1.1 version: link:../../packages/integrations/tailwind astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.11.5-beta.0 + specifier: ^0.11.5-beta.1 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/with-markdown-plugins: dependencies: '@astrojs/markdown-remark': - specifier: ^6.0.0-beta.1 + specifier: ^6.0.0-beta.2 version: link:../../packages/markdown/remark astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -463,19 +463,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^4.0.0-beta.1 + specifier: ^4.0.0-beta.2 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^3.5.3 version: link:../../packages/integrations/preact astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro preact: specifier: ^10.24.1 @@ -490,7 +490,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.3)(preact@10.24.1) astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro nanostores: specifier: ^0.11.3 @@ -502,7 +502,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^4.0.0-beta.1 + specifier: ^4.0.0-beta.2 version: link:../../packages/integrations/mdx '@astrojs/tailwind': specifier: ^5.1.1 @@ -511,7 +511,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -529,7 +529,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.0.0-beta.2 + specifier: ^5.0.0-beta.3 version: link:../../packages/astro vitest: specifier: ^2.1.1