summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/calm-beans-jam.md5
-rw-r--r--.changeset/chatty-spies-jog.md5
-rw-r--r--.changeset/few-candles-warn.md5
-rw-r--r--.changeset/forty-scissors-jog.md5
-rw-r--r--.changeset/giant-lies-taste.md5
-rw-r--r--.changeset/loud-socks-doubt.md5
-rw-r--r--.changeset/nasty-poems-juggle.md18
-rw-r--r--.changeset/new-mails-prove.md5
-rw-r--r--.changeset/plenty-socks-talk.md5
-rw-r--r--.changeset/proud-singers-call.md5
-rw-r--r--.changeset/slow-roses-call.md23
-rw-r--r--.changeset/small-vans-own.md29
-rw-r--r--.changeset/swift-cows-walk.md5
-rw-r--r--.changeset/wise-cameras-trade.md5
-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.json4
-rw-r--r--examples/framework-preact/package.json4
-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/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.json2
-rw-r--r--examples/with-markdown-shiki/package.json2
-rw-r--r--examples/with-mdx/package.json4
-rw-r--r--examples/with-nanostores/package.json4
-rw-r--r--examples/with-tailwindcss/package.json2
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro/CHANGELOG.md83
-rw-r--r--packages/astro/package.json2
-rw-r--r--packages/integrations/markdoc/CHANGELOG.md6
-rw-r--r--packages/integrations/markdoc/package.json2
-rw-r--r--packages/integrations/preact/CHANGELOG.md6
-rw-r--r--packages/integrations/preact/package.json2
-rw-r--r--pnpm-lock.yaml68
50 files changed, 166 insertions, 196 deletions
diff --git a/.changeset/calm-beans-jam.md b/.changeset/calm-beans-jam.md
deleted file mode 100644
index 2fb50132e..000000000
--- a/.changeset/calm-beans-jam.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes false positive audit warnings on elements with the role "tabpanel".
diff --git a/.changeset/chatty-spies-jog.md b/.changeset/chatty-spies-jog.md
deleted file mode 100644
index e95591d91..000000000
--- a/.changeset/chatty-spies-jog.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Avoids targeting all files in the `src/` directory for eager optimization by Vite. After this change, only JSX, Vue, Svelte, and Astro components get scanned for early optimization.
diff --git a/.changeset/few-candles-warn.md b/.changeset/few-candles-warn.md
deleted file mode 100644
index 7dd25881e..000000000
--- a/.changeset/few-candles-warn.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/preact': patch
----
-
-Swap out `preact-ssr-prepass` for `renderToStringAsync` from `preact-render-to-string`
diff --git a/.changeset/forty-scissors-jog.md b/.changeset/forty-scissors-jog.md
deleted file mode 100644
index 3637b0802..000000000
--- a/.changeset/forty-scissors-jog.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/markdoc': patch
----
-
-Adds support for markdown-it's typographer option
diff --git a/.changeset/giant-lies-taste.md b/.changeset/giant-lies-taste.md
deleted file mode 100644
index 64476edf8..000000000
--- a/.changeset/giant-lies-taste.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes prerendering not removing unused dynamic imported chunks
diff --git a/.changeset/loud-socks-doubt.md b/.changeset/loud-socks-doubt.md
deleted file mode 100644
index 4af3b4607..000000000
--- a/.changeset/loud-socks-doubt.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a case where Astro's config `experimental.env.schema` keys did not allow numbers. Numbers are still not allowed as the first character to be able to generate valid JavaScript identifiers
diff --git a/.changeset/nasty-poems-juggle.md b/.changeset/nasty-poems-juggle.md
deleted file mode 100644
index 74e1b176d..000000000
--- a/.changeset/nasty-poems-juggle.md
+++ /dev/null
@@ -1,18 +0,0 @@
----
-'astro': patch
----
-
-Expands the `isInputError()` utility from `astro:actions` to accept errors of any type. This should now allow type narrowing from a try / catch block.
-
-```ts
-// example.ts
-import { actions, isInputError } from 'astro:actions';
-
-try {
- await actions.like(new FormData());
-} catch (error) {
- if (isInputError(error)) {
- console.log(error.fields);
- }
-}
-```
diff --git a/.changeset/new-mails-prove.md b/.changeset/new-mails-prove.md
deleted file mode 100644
index 06c5a3652..000000000
--- a/.changeset/new-mails-prove.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string
diff --git a/.changeset/plenty-socks-talk.md b/.changeset/plenty-socks-talk.md
deleted file mode 100644
index 2749228dd..000000000
--- a/.changeset/plenty-socks-talk.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Exposes utility types from `astro:actions` for the `defineAction` handler (`ActionHandler`) and the `ActionError` code (`ActionErrorCode`).
diff --git a/.changeset/proud-singers-call.md b/.changeset/proud-singers-call.md
deleted file mode 100644
index 8b882fb95..000000000
--- a/.changeset/proud-singers-call.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes `astro dev --open` unexpected behavior that spawns a new tab every time a config file is saved
diff --git a/.changeset/slow-roses-call.md b/.changeset/slow-roses-call.md
deleted file mode 100644
index 9217f96fe..000000000
--- a/.changeset/slow-roses-call.md
+++ /dev/null
@@ -1,23 +0,0 @@
----
-'astro': patch
----
-
-Adds a new property `experimental.env.validateSecrets` to allow validating private variables on the server.
-
-By default, this is set to `false` and only public variables are checked on start. If enabled, secrets will also be checked on start (dev/build modes). This is useful for example in some CIs to make sure all your secrets are correctly set before deploying.
-
-```js
-// astro.config.mjs
-import { defineConfig, envField } from "astro/config"
-
-export default defineConfig({
- experimental: {
- env: {
- schema: {
- // ...
- },
- validateSecrets: true
- }
- }
-})
-```
diff --git a/.changeset/small-vans-own.md b/.changeset/small-vans-own.md
deleted file mode 100644
index 06352e256..000000000
--- a/.changeset/small-vans-own.md
+++ /dev/null
@@ -1,29 +0,0 @@
----
-'astro': patch
----
-
-Expose new `ActionReturnType` utility from `astro:actions`. This infers the return type of an action by passing `typeof actions.name` as a type argument. This example defines a `like` action that returns `likes` as an object:
-
-```ts
-// actions/index.ts
-import { defineAction } from 'astro:actions';
-
-export const server = {
- like: defineAction({
- handler: () => {
- /* ... */
- return { likes: 42 }
- }
- })
-}
-```
-
-In your client code, you can infer this handler return value with `ActionReturnType`:
-
-```ts
-// client.ts
-import { actions, ActionReturnType } from 'astro:actions';
-
-type LikesResult = ActionReturnType<typeof actions.like>;
-// -> { likes: number }
-```
diff --git a/.changeset/swift-cows-walk.md b/.changeset/swift-cows-walk.md
deleted file mode 100644
index 212d0417e..000000000
--- a/.changeset/swift-cows-walk.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"astro": patch
----
-
-Fixes `astro:actions` autocompletion for the `defineAction` `accept` property
diff --git a/.changeset/wise-cameras-trade.md b/.changeset/wise-cameras-trade.md
deleted file mode 100644
index f2c000630..000000000
--- a/.changeset/wise-cameras-trade.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Improves `astro:env` invalid variables errors
diff --git a/examples/basics/package.json b/examples/basics/package.json
index ed7f452c2..d922caebf 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 29d33e4f9..6954ca7e0 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -14,6 +14,6 @@
"@astrojs/mdx": "^3.1.2",
"@astrojs/rss": "^4.0.7",
"@astrojs/sitemap": "^3.1.6",
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index dadb92b7b..1d40ec2f1 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json
index 370b9462d..c8aec215f 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.11.5",
+ "astro": "^4.11.6",
"@astrojs/react": "^3.6.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 60d3bd559..22d788d86 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": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json
index 701d46f23..9d4baa253 100644
--- a/examples/framework-lit/package.json
+++ b/examples/framework-lit/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/lit": "^4.3.0",
"@webcomponents/template-shadowroot": "^0.2.1",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"lit": "^3.1.4"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index ef70525d9..941b71491 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -11,14 +11,14 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.5.0",
+ "@astrojs/preact": "^3.5.1",
"@astrojs/react": "^3.6.0",
"@astrojs/solid-js": "^4.4.0",
"@astrojs/svelte": "^5.6.0",
"@astrojs/vue": "^4.5.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"preact": "^10.22.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 9e6f86023..77a95ac08 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.5.0",
+ "@astrojs/preact": "^3.5.1",
"@preact/signals": "^1.3.0",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"preact": "^10.22.1"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 20484e8dd..b9d218524 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -14,7 +14,7 @@
"@astrojs/react": "^3.6.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index 945aa9987..42a886518 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^4.4.0",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"solid-js": "^1.8.18"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index 60658a81a..adb56ccb1 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/svelte": "^5.6.0",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"svelte": "^4.2.18"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 2225addab..863201355 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/vue": "^4.5.0",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"vue": "^3.4.31"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index fa6298bc5..f81f208c3 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -12,6 +12,6 @@
},
"dependencies": {
"@astrojs/node": "^8.3.2",
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index cf3d457f7..3c80d79c2 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/middleware/package.json b/examples/middleware/package.json
index 4daf9ed74..51b813736 100644
--- a/examples/middleware/package.json
+++ b/examples/middleware/package.json
@@ -13,7 +13,7 @@
},
"dependencies": {
"@astrojs/node": "^8.3.2",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"html-minifier": "^4.0.0"
},
"devDependencies": {
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index c42909816..120306263 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json
index 988bec080..7485ab419 100644
--- a/examples/non-html-pages/package.json
+++ b/examples/non-html-pages/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 93454dcae..9f446ac74 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index c59ebd382..18bda7153 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -14,7 +14,7 @@
"dependencies": {
"@astrojs/node": "^8.3.2",
"@astrojs/svelte": "^5.6.0",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"svelte": "^4.2.18"
}
}
diff --git a/examples/starlog/package.json b/examples/starlog/package.json
index f83fbcdac..dd06787c1 100644
--- a/examples/starlog/package.json
+++ b/examples/starlog/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"sass": "^1.77.8",
"sharp": "^0.33.3"
}
diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json
index bb93e381a..c34863aae 100644
--- a/examples/toolbar-app/package.json
+++ b/examples/toolbar-app/package.json
@@ -15,6 +15,6 @@
"./app": "./dist/app.js"
},
"devDependencies": {
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json
index c0847ef49..1b1cb9936 100644
--- a/examples/view-transitions/package.json
+++ b/examples/view-transitions/package.json
@@ -12,6 +12,6 @@
"devDependencies": {
"@astrojs/tailwind": "^5.1.0",
"@astrojs/node": "^8.3.2",
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index cf908daad..f74158cb5 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/markdoc": "^0.11.1",
- "astro": "^4.11.5"
+ "@astrojs/markdoc": "^0.11.2",
+ "astro": "^4.11.6"
}
}
diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json
index dc53eb70d..cacf0fdb5 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.1",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"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 2c681672d..89da7396b 100644
--- a/examples/with-markdown-shiki/package.json
+++ b/examples/with-markdown-shiki/package.json
@@ -11,6 +11,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^4.11.5"
+ "astro": "^4.11.6"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index d3a50340b..b517d7d1d 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -12,8 +12,8 @@
},
"dependencies": {
"@astrojs/mdx": "^3.1.2",
- "@astrojs/preact": "^3.5.0",
- "astro": "^4.11.5",
+ "@astrojs/preact": "^3.5.1",
+ "astro": "^4.11.6",
"preact": "^10.22.1"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index c5d22c730..a1903af8b 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^3.5.0",
+ "@astrojs/preact": "^3.5.1",
"@nanostores/preact": "^0.5.1",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"nanostores": "^0.10.3",
"preact": "^10.22.1"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 22b7c8fbb..9a8a0cea6 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -14,7 +14,7 @@
"@astrojs/mdx": "^3.1.2",
"@astrojs/tailwind": "^5.1.0",
"@types/canvas-confetti": "^1.6.4",
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"autoprefixer": "^10.4.19",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.39",
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index 00bb09ed9..60f1a0a9e 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -12,7 +12,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^4.11.5",
+ "astro": "^4.11.6",
"vitest": "^2.0.3"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 935f0bcf3..b7c6c6df7 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,88 @@
# astro
+## 4.11.6
+
+### Patch Changes
+
+- [#11459](https://github.com/withastro/astro/pull/11459) [`bc2e74d`](https://github.com/withastro/astro/commit/bc2e74de384776caa252fd47dbeda895c0488c11) Thanks [@mingjunlu](https://github.com/mingjunlu)! - Fixes false positive audit warnings on elements with the role "tabpanel".
+
+- [#11472](https://github.com/withastro/astro/pull/11472) [`cb4e6d0`](https://github.com/withastro/astro/commit/cb4e6d09deb7507058115a3fd2a567019a501e4d) Thanks [@delucis](https://github.com/delucis)! - Avoids targeting all files in the `src/` directory for eager optimization by Vite. After this change, only JSX, Vue, Svelte, and Astro components get scanned for early optimization.
+
+- [#11387](https://github.com/withastro/astro/pull/11387) [`b498461`](https://github.com/withastro/astro/commit/b498461e277bffb0abe21b59a94b1e56a8c69d47) Thanks [@bluwy](https://github.com/bluwy)! - Fixes prerendering not removing unused dynamic imported chunks
+
+- [#11437](https://github.com/withastro/astro/pull/11437) [`6ccb30e`](https://github.com/withastro/astro/commit/6ccb30e610eed34c2cc2c275485a8ac45c9b6b9e) Thanks [@NuroDev](https://github.com/NuroDev)! - Fixes a case where Astro's config `experimental.env.schema` keys did not allow numbers. Numbers are still not allowed as the first character to be able to generate valid JavaScript identifiers
+
+- [#11439](https://github.com/withastro/astro/pull/11439) [`08baf56`](https://github.com/withastro/astro/commit/08baf56f328ce4b6814a7f90089c0b3398d8bbfe) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Expands the `isInputError()` utility from `astro:actions` to accept errors of any type. This should now allow type narrowing from a try / catch block.
+
+ ```ts
+ // example.ts
+ import { actions, isInputError } from 'astro:actions';
+
+ try {
+ await actions.like(new FormData());
+ } catch (error) {
+ if (isInputError(error)) {
+ console.log(error.fields);
+ }
+ }
+ ```
+
+- [#11452](https://github.com/withastro/astro/pull/11452) [`0e66849`](https://github.com/withastro/astro/commit/0e6684983b9b24660a8fef83fe401ec1d567378a) Thanks [@FugiTech](https://github.com/FugiTech)! - Fixes an issue where using .nullish() in a formdata Astro action would always parse as a string
+
+- [#11438](https://github.com/withastro/astro/pull/11438) [`619f07d`](https://github.com/withastro/astro/commit/619f07db701ebab2d2f2598dd2dcf93ba1e5719c) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Exposes utility types from `astro:actions` for the `defineAction` handler (`ActionHandler`) and the `ActionError` code (`ActionErrorCode`).
+
+- [#11456](https://github.com/withastro/astro/pull/11456) [`17e048d`](https://github.com/withastro/astro/commit/17e048de0e79d76b933d128676be2388954b419e) Thanks [@RickyC0626](https://github.com/RickyC0626)! - Fixes `astro dev --open` unexpected behavior that spawns a new tab every time a config file is saved
+
+- [#11337](https://github.com/withastro/astro/pull/11337) [`0a4b31f`](https://github.com/withastro/astro/commit/0a4b31ffeb41ad1dfb3141384e22787763fcae3d) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Adds a new property `experimental.env.validateSecrets` to allow validating private variables on the server.
+
+ By default, this is set to `false` and only public variables are checked on start. If enabled, secrets will also be checked on start (dev/build modes). This is useful for example in some CIs to make sure all your secrets are correctly set before deploying.
+
+ ```js
+ // astro.config.mjs
+ import { defineConfig, envField } from 'astro/config';
+
+ export default defineConfig({
+ experimental: {
+ env: {
+ schema: {
+ // ...
+ },
+ validateSecrets: true,
+ },
+ },
+ });
+ ```
+
+- [#11443](https://github.com/withastro/astro/pull/11443) [`ea4bc04`](https://github.com/withastro/astro/commit/ea4bc04e9489c456e2b4b5dbd67d5e4cf3f89f97) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Expose new `ActionReturnType` utility from `astro:actions`. This infers the return type of an action by passing `typeof actions.name` as a type argument. This example defines a `like` action that returns `likes` as an object:
+
+ ```ts
+ // actions/index.ts
+ import { defineAction } from 'astro:actions';
+
+ export const server = {
+ like: defineAction({
+ handler: () => {
+ /* ... */
+ return { likes: 42 };
+ },
+ }),
+ };
+ ```
+
+ In your client code, you can infer this handler return value with `ActionReturnType`:
+
+ ```ts
+ // client.ts
+ import { actions, ActionReturnType } from 'astro:actions';
+
+ type LikesResult = ActionReturnType<typeof actions.like>;
+ // -> { likes: number }
+ ```
+
+- [#11436](https://github.com/withastro/astro/pull/11436) [`7dca68f`](https://github.com/withastro/astro/commit/7dca68ff2e0f089a3fd090650ee05b1942792fed) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Fixes `astro:actions` autocompletion for the `defineAction` `accept` property
+
+- [#11455](https://github.com/withastro/astro/pull/11455) [`645e128`](https://github.com/withastro/astro/commit/645e128537f1f20da6703afc115d06371d7da5dd) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Improves `astro:env` invalid variables errors
+
## 4.11.5
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 5f2e9ecb6..50718c9d5 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "4.11.5",
+ "version": "4.11.6",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md
index 8548d7faa..db4667b09 100644
--- a/packages/integrations/markdoc/CHANGELOG.md
+++ b/packages/integrations/markdoc/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/markdoc
+## 0.11.2
+
+### Patch Changes
+
+- [#11450](https://github.com/withastro/astro/pull/11450) [`eb303e1`](https://github.com/withastro/astro/commit/eb303e1ad5dade7787c0d9bbb520c21292cf3950) Thanks [@schpet](https://github.com/schpet)! - Adds support for markdown-it's typographer option
+
## 0.11.1
### Patch Changes
diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json
index 50103da19..994f92983 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.1",
+ "version": "0.11.2",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md
index 9f02be58d..e714d2471 100644
--- a/packages/integrations/preact/CHANGELOG.md
+++ b/packages/integrations/preact/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/preact
+## 3.5.1
+
+### Patch Changes
+
+- [#11464](https://github.com/withastro/astro/pull/11464) [`2cdb685`](https://github.com/withastro/astro/commit/2cdb685ce757fc9932b67b8a52b465296dbaedcd) Thanks [@rschristian](https://github.com/rschristian)! - Swap out `preact-ssr-prepass` for `renderToStringAsync` from `preact-render-to-string`
+
## 3.5.0
### Minor Changes
diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json
index a267e59f7..9ab0a4649 100644
--- a/packages/integrations/preact/package.json
+++ b/packages/integrations/preact/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/preact",
"description": "Use Preact components within Astro",
- "version": "3.5.0",
+ "version": "3.5.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 061a60598..910378be0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -128,7 +128,7 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/blog:
@@ -143,13 +143,13 @@ importers:
specifier: ^3.1.6
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/container-with-vitest:
@@ -158,7 +158,7 @@ importers:
specifier: ^3.6.0
version: link:../../packages/integrations/react
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -189,7 +189,7 @@ importers:
specifier: ^3.14.1
version: 3.14.1
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/framework-lit:
@@ -201,7 +201,7 @@ importers:
specifier: ^0.2.1
version: 0.2.1
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
lit:
specifier: ^3.1.4
@@ -210,7 +210,7 @@ importers:
examples/framework-multiple:
dependencies:
'@astrojs/preact':
- specifier: ^3.5.0
+ specifier: ^3.5.1
version: link:../../packages/integrations/preact
'@astrojs/react':
specifier: ^3.6.0
@@ -231,7 +231,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
preact:
specifier: ^10.22.1
@@ -255,13 +255,13 @@ importers:
examples/framework-preact:
dependencies:
'@astrojs/preact':
- specifier: ^3.5.0
+ specifier: ^3.5.1
version: link:../../packages/integrations/preact
'@preact/signals':
specifier: ^1.3.0
version: 1.3.0(preact@10.22.1)
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
preact:
specifier: ^10.22.1
@@ -279,7 +279,7 @@ importers:
specifier: ^18.3.0
version: 18.3.0
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -294,7 +294,7 @@ importers:
specifier: ^4.4.0
version: link:../../packages/integrations/solid
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
solid-js:
specifier: ^1.8.18
@@ -306,7 +306,7 @@ importers:
specifier: ^5.6.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
svelte:
specifier: ^4.2.18
@@ -318,7 +318,7 @@ importers:
specifier: ^4.5.0
version: link:../../packages/integrations/vue
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
vue:
specifier: ^3.4.31
@@ -330,13 +330,13 @@ importers:
specifier: ^8.3.2
version: link:../../packages/integrations/node
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/middleware:
@@ -345,7 +345,7 @@ importers:
specifier: ^8.3.2
version: link:../../packages/integrations/node
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
html-minifier:
specifier: ^4.0.0
@@ -358,19 +358,19 @@ importers:
examples/minimal:
dependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/non-html-pages:
dependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/ssr:
@@ -382,7 +382,7 @@ importers:
specifier: ^5.6.0
version: link:../../packages/integrations/svelte
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
svelte:
specifier: ^4.2.18
@@ -391,7 +391,7 @@ importers:
examples/starlog:
dependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
sass:
specifier: ^1.77.8
@@ -403,7 +403,7 @@ importers:
examples/toolbar-app:
devDependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/view-transitions:
@@ -415,16 +415,16 @@ importers:
specifier: ^5.1.0
version: link:../../packages/integrations/tailwind
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/with-markdoc:
dependencies:
'@astrojs/markdoc':
- specifier: ^0.11.1
+ specifier: ^0.11.2
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/with-markdown-plugins:
@@ -433,7 +433,7 @@ importers:
specifier: ^5.1.1
version: link:../../packages/markdown/remark
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
hast-util-select:
specifier: ^6.0.2
@@ -454,7 +454,7 @@ importers:
examples/with-markdown-shiki:
dependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
examples/with-mdx:
@@ -463,10 +463,10 @@ importers:
specifier: ^3.1.2
version: link:../../packages/integrations/mdx
'@astrojs/preact':
- specifier: ^3.5.0
+ specifier: ^3.5.1
version: link:../../packages/integrations/preact
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
preact:
specifier: ^10.22.1
@@ -475,13 +475,13 @@ importers:
examples/with-nanostores:
dependencies:
'@astrojs/preact':
- specifier: ^3.5.0
+ specifier: ^3.5.1
version: link:../../packages/integrations/preact
'@nanostores/preact':
specifier: ^0.5.1
version: 0.5.1(nanostores@0.10.3)(preact@10.22.1)
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
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.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.19
@@ -520,7 +520,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^4.11.5
+ specifier: ^4.11.6
version: link:../../packages/astro
vitest:
specifier: ^2.0.3