summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2024-10-01 06:46:45 -0700
committerGravatar GitHub <noreply@github.com> 2024-10-01 15:46:45 +0200
commitece03449e31d15a9ae55297f2ad7425f1078fe8c (patch)
tree69c2d6c61f17824a90c9b418fd2b3995dc7fc3fd
parent2eb62d07b59b3c1dfd5f6726f1e5813ff13e0b07 (diff)
downloadastro-ece03449e31d15a9ae55297f2ad7425f1078fe8c.tar.gz
astro-ece03449e31d15a9ae55297f2ad7425f1078fe8c.tar.zst
astro-ece03449e31d15a9ae55297f2ad7425f1078fe8c.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/pre.json9
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/blog/package.json4
-rw-r--r--examples/component/package.json2
-rw-r--r--examples/container-with-vitest/package.json2
-rw-r--r--examples/framework-alpine/package.json2
-rw-r--r--examples/framework-multiple/package.json2
-rw-r--r--examples/framework-preact/package.json2
-rw-r--r--examples/framework-react/package.json2
-rw-r--r--examples/framework-solid/package.json2
-rw-r--r--examples/framework-svelte/package.json2
-rw-r--r--examples/framework-vue/package.json2
-rw-r--r--examples/hackernews/package.json2
-rw-r--r--examples/integration/package.json2
-rw-r--r--examples/middleware/package.json2
-rw-r--r--examples/minimal/package.json2
-rw-r--r--examples/non-html-pages/package.json2
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/server-islands/package.json2
-rw-r--r--examples/ssr/package.json2
-rw-r--r--examples/starlog/package.json2
-rw-r--r--examples/toolbar-app/package.json2
-rw-r--r--examples/view-transitions/package.json2
-rw-r--r--examples/with-markdoc/package.json4
-rw-r--r--examples/with-markdown-plugins/package.json4
-rw-r--r--examples/with-markdown-shiki/package.json2
-rw-r--r--examples/with-mdx/package.json4
-rw-r--r--examples/with-nanostores/package.json2
-rw-r--r--examples/with-tailwindcss/package.json4
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro/CHANGELOG.md137
-rw-r--r--packages/astro/package.json2
-rw-r--r--packages/db/CHANGELOG.md9
-rw-r--r--packages/db/package.json2
-rw-r--r--packages/integrations/markdoc/CHANGELOG.md9
-rw-r--r--packages/integrations/markdoc/package.json2
-rw-r--r--packages/integrations/mdx/CHANGELOG.md9
-rw-r--r--packages/integrations/mdx/package.json2
-rw-r--r--packages/markdown/remark/CHANGELOG.md6
-rw-r--r--packages/markdown/remark/package.json2
-rw-r--r--packages/studio/CHANGELOG.md6
-rw-r--r--packages/studio/package.json2
-rw-r--r--pnpm-lock.yaml68
43 files changed, 258 insertions, 75 deletions
diff --git a/.changeset/pre.json b/.changeset/pre.json
index 34bd34347..b87fb4c01 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 ad9839584..ff1d15e72 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 5cf7be6b0..16ca3bd40 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 c704256c1..d42e8d92c 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 13e6ea5ce..a917974b0 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 371b5a8f2..c34bdc468 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 9f014ab17..ed371aa86 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 e56478d24..2d8bacc93 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 84b0ff5fc..cfbabde90 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 8b4da409a..4663c6c35 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 e709e95de..707f215d4 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 7433a67b8..78339a31e 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 79d3014cd..2f16c7141 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 662738404..21c2d13c3 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 025dbd340..f024ab936 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 dc5d5c3a5..956c8e4e1 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 d4c71e7be..dc312cb74 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 e9b712675..80b3dae3d 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 4a171959b..d0dc4cd68 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 4142f3f9b..7b070418a 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 41b8dad59..83b7c916f 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 b697261a1..c5a1fa707 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 b1cc57b10..b11c89315 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 65a26dd20..f57b1bab0 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 4ab25fc2c..b7dcdb855 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 b7bc63660..23f01df6d 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 a855630c3..5a33449cf 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 6a8871142..e12d13f09 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 5fc16b697..e4608e842 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 e9569bf1d..c82281a04 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 72e4f87b1..cc55ccecf 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 `<root>/.astro/integrations/<normalized_integration_name>`.
+
+ 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, `<root>/.astro/integrations/<normalized_integration_name>` 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 6f7636bea..55c285839 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 204280e7e..029e663bb 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 3e0368fe9..19afef1b3 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 3e0871034..6ec83efbc 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 65aaad79f..4350f2a4f 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 7eacad5c3..5a07363e4 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 d1b5f1f5c..eb7db09a8 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 ff3e2b39e..f69ba23bd 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 522f56926..79cd2cd9f 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 593bb1704..cbb514628 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 c9f89d2ce..a4176eb58 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 46a64c5cb..8b0d8392a 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