summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2024-06-11 05:15:27 -0700
committerGravatar GitHub <noreply@github.com> 2024-06-11 13:15:27 +0100
commitdd0145d28b1ff849da2825ae7032dfd46a1d4bf7 (patch)
tree3c95acc18c2e1a56ead48165cb9b1cfa0062a0da
parentc5152dbea35011a41253e6bcc3e07cb248aac79e (diff)
downloadastro-dd0145d28b1ff849da2825ae7032dfd46a1d4bf7.tar.gz
astro-dd0145d28b1ff849da2825ae7032dfd46a1d4bf7.tar.zst
astro-dd0145d28b1ff849da2825ae7032dfd46a1d4bf7.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/bright-elephants-yell.md5
-rw-r--r--.changeset/early-melons-thank.md5
-rw-r--r--.changeset/friendly-eagles-arrive.md9
-rw-r--r--.changeset/fuzzy-eggs-kneel.md5
-rw-r--r--.changeset/heavy-eagles-happen.md5
-rw-r--r--.changeset/nasty-frogs-camp.md25
-rw-r--r--.changeset/purple-pianos-greet.md5
-rw-r--r--.changeset/red-rings-tell.md38
-rw-r--r--.changeset/six-files-carry.md5
-rw-r--r--.changeset/tender-apples-lie.md5
-rw-r--r--.changeset/warm-pets-tap.md5
-rw-r--r--.changeset/wet-chefs-develop.md6
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/blog/package.json2
-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-lit/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.json4
-rw-r--r--examples/integration/package.json2
-rw-r--r--examples/middleware/package.json4
-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/ssr/package.json4
-rw-r--r--examples/starlog/package.json2
-rw-r--r--examples/toolbar-app/package.json2
-rw-r--r--examples/view-transitions/package.json4
-rw-r--r--examples/with-markdoc/package.json2
-rw-r--r--examples/with-markdown-plugins/package.json2
-rw-r--r--examples/with-markdown-shiki/package.json2
-rw-r--r--examples/with-mdx/package.json2
-rw-r--r--examples/with-nanostores/package.json2
-rw-r--r--examples/with-tailwindcss/package.json2
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro/CHANGELOG.md75
-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/node/CHANGELOG.md6
-rw-r--r--packages/integrations/node/package.json2
-rw-r--r--packages/integrations/partytown/CHANGELOG.md10
-rw-r--r--packages/integrations/partytown/package.json2
-rw-r--r--packages/integrations/vercel/CHANGELOG.md6
-rw-r--r--packages/integrations/vercel/package.json2
-rw-r--r--pnpm-lock.yaml66
52 files changed, 177 insertions, 189 deletions
diff --git a/.changeset/bright-elephants-yell.md b/.changeset/bright-elephants-yell.md
deleted file mode 100644
index 9b4e71c8a..000000000
--- a/.changeset/bright-elephants-yell.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a regression for `getViteConfig`, where the inline config wasn't merged in the final config.
diff --git a/.changeset/early-melons-thank.md b/.changeset/early-melons-thank.md
deleted file mode 100644
index c12a20de4..000000000
--- a/.changeset/early-melons-thank.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Updates `getCollection()` to always return a cloned array
diff --git a/.changeset/friendly-eagles-arrive.md b/.changeset/friendly-eagles-arrive.md
deleted file mode 100644
index 5e08a914a..000000000
--- a/.changeset/friendly-eagles-arrive.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-"@astrojs/partytown": patch
----
-
-Prevent Partytown from crashing when View Transitions are enabled
-
-When View Transitions are turned on, Partytown executes on every transition.
-It's not meant to be like that, and therefore it breaks the integration completely.
-Starting from now, Partytown will be executed only once.
diff --git a/.changeset/fuzzy-eggs-kneel.md b/.changeset/fuzzy-eggs-kneel.md
deleted file mode 100644
index bfa312846..000000000
--- a/.changeset/fuzzy-eggs-kneel.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase.
diff --git a/.changeset/heavy-eagles-happen.md b/.changeset/heavy-eagles-happen.md
deleted file mode 100644
index e59ea8991..000000000
--- a/.changeset/heavy-eagles-happen.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Improve error message when using `getLocaleByPath` on path that doesn't contain any locales.
diff --git a/.changeset/nasty-frogs-camp.md b/.changeset/nasty-frogs-camp.md
deleted file mode 100644
index 7f4ad97c1..000000000
--- a/.changeset/nasty-frogs-camp.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-'astro': patch
----
-
-Adds support for enums to `astro:env`
-
-You can now call `envField.enum`:
-
-```js
-import { defineConfig, envField } from 'astro/config'
-
-export default defineConfig({
- experimental: {
- env: {
- schema: {
- API_VERSION: envField.enum({
- context: 'server',
- access: 'secret',
- values: ['v1', 'v2'],
- })
- }
- }
- }
-})
-```
diff --git a/.changeset/purple-pianos-greet.md b/.changeset/purple-pianos-greet.md
deleted file mode 100644
index 146c12957..000000000
--- a/.changeset/purple-pianos-greet.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Close the iterator only after rendering is complete
diff --git a/.changeset/red-rings-tell.md b/.changeset/red-rings-tell.md
deleted file mode 100644
index a2bc10917..000000000
--- a/.changeset/red-rings-tell.md
+++ /dev/null
@@ -1,38 +0,0 @@
----
-'astro': patch
----
-
-Adds additional validation options to `astro:env`
-
-`astro:env` schema datatypes `string` and `number` now have new optional validation rules:
-
-```js
-import { defineConfig, envField } from 'astro/config'
-
-export default defineConfig({
- experimental: {
- env: {
- schema: {
- FOO: envField.string({
- // ...
- max: 32,
- min: 3,
- length: 12,
- url: true,
- includes: 'foo',
- startsWith: 'bar',
- endsWith: 'baz'
- }),
- BAR: envField.number({
- // ...
- gt: 2,
- min: 3,
- lt: 10,
- max: 9,
- int: true
- })
- }
- }
- }
-})
-``` \ No newline at end of file
diff --git a/.changeset/six-files-carry.md b/.changeset/six-files-carry.md
deleted file mode 100644
index c8d5ebca4..000000000
--- a/.changeset/six-files-carry.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Let middleware handle the original request URL
diff --git a/.changeset/tender-apples-lie.md b/.changeset/tender-apples-lie.md
deleted file mode 100644
index 3528c6386..000000000
--- a/.changeset/tender-apples-lie.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Fixes an issue where a leading slash created incorrect conflict resolution between pages generated from static routes and catch-all dynamic routes
diff --git a/.changeset/warm-pets-tap.md b/.changeset/warm-pets-tap.md
deleted file mode 100644
index 7c388259b..000000000
--- a/.changeset/warm-pets-tap.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/db': patch
----
-
-Export type `Database` from `@astrojs/db/runtime`
diff --git a/.changeset/wet-chefs-develop.md b/.changeset/wet-chefs-develop.md
deleted file mode 100644
index e2a29702b..000000000
--- a/.changeset/wet-chefs-develop.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-'@astrojs/vercel': minor
-'@astrojs/node': minor
----
-
-Adds support for experimental `astro:env` released in Astro 4.10
diff --git a/examples/basics/package.json b/examples/basics/package.json
index e139ae114..3de898e9a 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 73f7bfbbd..adefd958f 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -14,6 +14,6 @@
"@astrojs/mdx": "^3.1.0",
"@astrojs/rss": "^4.0.6",
"@astrojs/sitemap": "^3.1.5",
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index 4d48d8a54..59603bbaa 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json
index a5621d58c..3227ef773 100644
--- a/examples/container-with-vitest/package.json
+++ b/examples/container-with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest run"
},
"dependencies": {
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"@astrojs/react": "^3.5.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 481ee9646..05bc7d58e 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.0",
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index ee2b47206..c465b84ab 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^4.2.0",
"@webcomponents/template-shadowroot": "^0.2.1",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"lit": "^3.1.4"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index f393e6d8c..7419dd197 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -18,7 +18,7 @@
"@astrojs/vue": "^4.4.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"preact": "^10.22.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index 98b83ce86..a59dbc6eb 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.4.0",
"@preact/signals": "^1.2.3",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"preact": "^10.22.0"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 5cc889459..8756f639f 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -14,7 +14,7 @@
"@astrojs/react": "^3.5.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index 274a72567..de5973085 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^4.3.0",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"solid-js": "^1.8.17"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index 36bfb2dd0..21d1f85d5 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^5.5.0",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"svelte": "^4.2.18"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 522249393..0e40f60ba 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^4.4.0",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"vue": "^3.4.27"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index d4e0c951a..29fd443a1 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/node": "^8.2.6",
- "astro": "^4.10.1"
+ "@astrojs/node": "^8.3.0",
+ "astro": "^4.10.2"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 86d8f2fbd..9a6c59d0d 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/middleware/package.json b/examples/middleware/package.json
index 7f9cf1712..c217ba972 100644
--- a/examples/middleware/package.json
+++ b/examples/middleware/package.json
@@ -12,8 +12,8 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
- "@astrojs/node": "^8.2.6",
- "astro": "^4.10.1",
+ "@astrojs/node": "^8.3.0",
+ "astro": "^4.10.2",
"html-minifier": "^4.0.0"
},
"devDependencies": {
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index 9493ea58c..fd3d6f217 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 91c624edd..910adc06f 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index c1964f479..9211eacac 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index 821cad5e6..c7c4db63b 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -12,9 +12,9 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
- "@astrojs/node": "^8.2.6",
+ "@astrojs/node": "^8.3.0",
"@astrojs/svelte": "^5.5.0",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"svelte": "^4.2.18"
}
}
diff --git a/examples/starlog/package.json b/examples/starlog/package.json
index 44d9981bf..b0dda26e9 100644
--- a/examples/starlog/package.json
+++ b/examples/starlog/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"sass": "^1.77.4",
"sharp": "^0.33.3"
}
diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json
index 67f7279da..d6da3166c 100644
--- a/examples/toolbar-app/package.json
+++ b/examples/toolbar-app/package.json
@@ -15,6 +15,6 @@
"./app": "./dist/app.js"
},
"devDependencies": {
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json
index cde23fe75..48c75f8dd 100644
--- a/examples/view-transitions/package.json
+++ b/examples/view-transitions/package.json
@@ -11,7 +11,7 @@
},
"devDependencies": {
"@astrojs/tailwind": "^5.1.0",
- "@astrojs/node": "^8.2.6",
- "astro": "^4.10.1"
+ "@astrojs/node": "^8.3.0",
+ "astro": "^4.10.2"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index bb1a3c124..28de557fd 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.11.0",
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index a34fc68e0..85fe65e7c 100644
--- a/examples/with-markdown-plugins/package.json
+++ b/examples/with-markdown-plugins/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^5.1.0",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"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 44ea22b91..84a86a667 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.10.1"
+ "astro": "^4.10.2"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index 82fb9c176..2ee456e03 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/mdx": "^3.1.0",
"@astrojs/preact": "^3.4.0",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"preact": "^10.22.0"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 1b0e399ff..99a78eb9f 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/preact": "^3.4.0",
"@nanostores/preact": "^0.5.1",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"nanostores": "^0.10.3",
"preact": "^10.22.0"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index a32b716d7..d3389d98c 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -14,7 +14,7 @@
"@astrojs/mdx": "^3.1.0",
"@astrojs/tailwind": "^5.1.0",
"@types/canvas-confetti": "^1.6.4",
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"autoprefixer": "^10.4.19",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.38",
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index 155182b32..d935109e9 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^4.10.1",
+ "astro": "^4.10.2",
"vitest": "^1.6.0"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 084756b14..9a2772607 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,80 @@
# astro
+## 4.10.2
+
+### Patch Changes
+
+- [#11231](https://github.com/withastro/astro/pull/11231) [`58d7dbb`](https://github.com/withastro/astro/commit/58d7dbb5e0cabea1ac7a35af5b46685fce50d723) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a regression for `getViteConfig`, where the inline config wasn't merged in the final config.
+
+- [#11228](https://github.com/withastro/astro/pull/11228) [`1e293a1`](https://github.com/withastro/astro/commit/1e293a1b819024f16bfe482f272df0678cdd7874) Thanks [@ascorbic](https://github.com/ascorbic)! - Updates `getCollection()` to always return a cloned array
+
+- [#11207](https://github.com/withastro/astro/pull/11207) [`7d9aac3`](https://github.com/withastro/astro/commit/7d9aac376c4b8844917901f7f566f7259d7f66c8) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase.
+
+- [#11189](https://github.com/withastro/astro/pull/11189) [`75a8fe7`](https://github.com/withastro/astro/commit/75a8fe7e72b95f20c36f034de2b51b6a9550e27e) Thanks [@ematipico](https://github.com/ematipico)! - Improve error message when using `getLocaleByPath` on path that doesn't contain any locales.
+
+- [#11195](https://github.com/withastro/astro/pull/11195) [`0a6ab6f`](https://github.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds support for enums to `astro:env`
+
+ You can now call `envField.enum`:
+
+ ```js
+ import { defineConfig, envField } from 'astro/config';
+
+ export default defineConfig({
+ experimental: {
+ env: {
+ schema: {
+ API_VERSION: envField.enum({
+ context: 'server',
+ access: 'secret',
+ values: ['v1', 'v2'],
+ }),
+ },
+ },
+ },
+ });
+ ```
+
+- [#11210](https://github.com/withastro/astro/pull/11210) [`66fc028`](https://github.com/withastro/astro/commit/66fc0283d3f1d1a4f17d7db65ca3521a01fb5bec) Thanks [@matthewp](https://github.com/matthewp)! - Close the iterator only after rendering is complete
+
+- [#11195](https://github.com/withastro/astro/pull/11195) [`0a6ab6f`](https://github.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds additional validation options to `astro:env`
+
+ `astro:env` schema datatypes `string` and `number` now have new optional validation rules:
+
+ ```js
+ import { defineConfig, envField } from 'astro/config';
+
+ export default defineConfig({
+ experimental: {
+ env: {
+ schema: {
+ FOO: envField.string({
+ // ...
+ max: 32,
+ min: 3,
+ length: 12,
+ url: true,
+ includes: 'foo',
+ startsWith: 'bar',
+ endsWith: 'baz',
+ }),
+ BAR: envField.number({
+ // ...
+ gt: 2,
+ min: 3,
+ lt: 10,
+ max: 9,
+ int: true,
+ }),
+ },
+ },
+ },
+ });
+ ```
+
+- [#11211](https://github.com/withastro/astro/pull/11211) [`97724da`](https://github.com/withastro/astro/commit/97724da93ed7b1db19632c0cdb4b3aab1ff84812) Thanks [@matthewp](https://github.com/matthewp)! - Let middleware handle the original request URL
+
+- [#10607](https://github.com/withastro/astro/pull/10607) [`7327c6a`](https://github.com/withastro/astro/commit/7327c6acb197e1f2ea6cf94cfbc5700bc755f982) Thanks [@frankbits](https://github.com/frankbits)! - Fixes an issue where a leading slash created incorrect conflict resolution between pages generated from static routes and catch-all dynamic routes
+
## 4.10.1
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 8a1ef7be0..04381e294 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "4.10.1",
+ "version": "4.10.2",
"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 773f87495..7ee2e00ef 100644
--- a/packages/db/CHANGELOG.md
+++ b/packages/db/CHANGELOG.md
@@ -1,5 +1,14 @@
# @astrojs/db
+## 0.11.5
+
+### Patch Changes
+
+- [#11216](https://github.com/withastro/astro/pull/11216) [`29463df`](https://github.com/withastro/astro/commit/29463dff52f2e74d0d522168afe6faf70ff2fabb) Thanks [@OliverSpeir](https://github.com/OliverSpeir)! - Export type `Database` from `@astrojs/db/runtime`
+
+- Updated dependencies []:
+ - @astrojs/studio@0.1.0
+
## 0.11.4
### Patch Changes
diff --git a/packages/db/package.json b/packages/db/package.json
index 5dbd80c6b..c33777998 100644
--- a/packages/db/package.json
+++ b/packages/db/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/db",
- "version": "0.11.4",
+ "version": "0.11.5",
"description": "Add libSQL and Astro Studio support to your Astro site",
"license": "MIT",
"repository": {
diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md
index a403536fa..67f5c1cd0 100644
--- a/packages/integrations/node/CHANGELOG.md
+++ b/packages/integrations/node/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/node
+## 8.3.0
+
+### Minor Changes
+
+- [#11199](https://github.com/withastro/astro/pull/11199) [`2bdca27`](https://github.com/withastro/astro/commit/2bdca27ff4002efd330667b0b4ca3e00d5b7a2db) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds support for experimental `astro:env` released in Astro 4.10
+
## 8.2.6
### Patch Changes
diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json
index a57be266c..a15619445 100644
--- a/packages/integrations/node/package.json
+++ b/packages/integrations/node/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/node",
"description": "Deploy your site to a Node.js server",
- "version": "8.2.6",
+ "version": "8.3.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/partytown/CHANGELOG.md b/packages/integrations/partytown/CHANGELOG.md
index 1d2e86938..c6802c3c9 100644
--- a/packages/integrations/partytown/CHANGELOG.md
+++ b/packages/integrations/partytown/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/partytown
+## 2.1.1
+
+### Patch Changes
+
+- [#11083](https://github.com/withastro/astro/pull/11083) [`416c4ac`](https://github.com/withastro/astro/commit/416c4ac66d432d4c5abd13a4c7ecd20defb4fc30) Thanks [@V3RON](https://github.com/V3RON)! - Prevent Partytown from crashing when View Transitions are enabled
+
+ When View Transitions are turned on, Partytown executes on every transition.
+ It's not meant to be like that, and therefore it breaks the integration completely.
+ Starting from now, Partytown will be executed only once.
+
## 2.1.0
### Minor Changes
diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json
index 05b8ce834..c90a8a131 100644
--- a/packages/integrations/partytown/package.json
+++ b/packages/integrations/partytown/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/partytown",
"description": "Use Partytown to move scripts into a web worker in your Astro project",
- "version": "2.1.0",
+ "version": "2.1.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md
index 19014c214..1c2d3358d 100644
--- a/packages/integrations/vercel/CHANGELOG.md
+++ b/packages/integrations/vercel/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/vercel
+## 7.7.0
+
+### Minor Changes
+
+- [#11199](https://github.com/withastro/astro/pull/11199) [`2bdca27`](https://github.com/withastro/astro/commit/2bdca27ff4002efd330667b0b4ca3e00d5b7a2db) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds support for experimental `astro:env` released in Astro 4.10
+
## 7.6.0
### Minor Changes
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index 0cc4e5070..e4710a7c1 100644
--- a/packages/integrations/vercel/package.json
+++ b/packages/integrations/vercel/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/vercel",
"description": "Deploy your site to Vercel",
- "version": "7.6.0",
+ "version": "7.7.0",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 43216afce..bb9f43585 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -128,7 +128,7 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/blog:
@@ -143,13 +143,13 @@ importers:
specifier: ^3.1.5
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/container-with-vitest:
@@ -158,7 +158,7 @@ importers:
specifier: ^3.5.0
version: link:../../packages/integrations/react
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -189,7 +189,7 @@ importers:
specifier: ^3.14.0
version: 3.14.0
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/framework-lit:
@@ -201,7 +201,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
lit:
specifier: ^3.1.4
@@ -231,7 +231,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -261,7 +261,7 @@ importers:
specifier: ^1.2.3
version: 1.2.3(preact@10.22.0)
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -279,7 +279,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -294,7 +294,7 @@ importers:
specifier: ^4.3.0
version: link:../../packages/integrations/solid
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
solid-js:
specifier: ^1.8.17
@@ -306,7 +306,7 @@ importers:
specifier: ^5.5.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
svelte:
specifier: ^4.2.18
@@ -318,7 +318,7 @@ importers:
specifier: ^4.4.0
version: link:../../packages/integrations/vue
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
vue:
specifier: ^3.4.27
@@ -327,25 +327,25 @@ importers:
examples/hackernews:
dependencies:
'@astrojs/node':
- specifier: ^8.2.6
+ specifier: ^8.3.0
version: link:../../packages/integrations/node
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/middleware:
dependencies:
'@astrojs/node':
- specifier: ^8.2.6
+ specifier: ^8.3.0
version: link:../../packages/integrations/node
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@@ -358,31 +358,31 @@ importers:
examples/minimal:
dependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/ssr:
dependencies:
'@astrojs/node':
- specifier: ^8.2.6
+ specifier: ^8.3.0
version: link:../../packages/integrations/node
'@astrojs/svelte':
specifier: ^5.5.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
svelte:
specifier: ^4.2.18
@@ -391,7 +391,7 @@ importers:
examples/starlog:
dependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
sass:
specifier: ^1.77.4
@@ -403,19 +403,19 @@ importers:
examples/toolbar-app:
devDependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/view-transitions:
devDependencies:
'@astrojs/node':
- specifier: ^8.2.6
+ specifier: ^8.3.0
version: link:../../packages/integrations/node
'@astrojs/tailwind':
specifier: ^5.1.0
version: link:../../packages/integrations/tailwind
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/with-markdoc:
@@ -424,7 +424,7 @@ importers:
specifier: ^0.11.0
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/with-markdown-plugins:
@@ -433,7 +433,7 @@ importers:
specifier: ^5.1.0
version: link:../../packages/markdown/remark
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
hast-util-select:
specifier: ^6.0.2
@@ -454,7 +454,7 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
examples/with-mdx:
@@ -466,7 +466,7 @@ importers:
specifier: ^3.4.0
version: link:../../packages/integrations/preact
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
preact:
specifier: ^10.22.0
@@ -481,7 +481,7 @@ importers:
specifier: ^0.5.1
version: 0.5.1(nanostores@0.10.3)(preact@10.22.0)
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
nanostores:
specifier: ^0.10.3
@@ -502,7 +502,7 @@ importers:
specifier: ^1.6.4
version: 1.6.4
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.19
@@ -520,7 +520,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^4.10.1
+ specifier: ^4.10.2
version: link:../../packages/astro
vitest:
specifier: ^1.6.0