summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/afraid-peas-smash.md5
-rw-r--r--.changeset/curvy-readers-invent.md5
-rw-r--r--.changeset/famous-gorillas-confess.md5
-rw-r--r--.changeset/green-buses-add.md5
-rw-r--r--.changeset/heavy-yaks-brake.md5
-rw-r--r--.changeset/light-buttons-compare.md5
-rw-r--r--.changeset/old-clouds-act.md5
-rw-r--r--.changeset/pink-years-warn.md5
-rw-r--r--.changeset/rich-terms-sit.md5
-rw-r--r--.changeset/seven-feet-juggle.md5
-rw-r--r--.changeset/strong-cobras-own.md5
-rw-r--r--.changeset/strong-scissors-sip.md5
-rw-r--r--.changeset/sweet-zoos-move.md5
-rw-r--r--.changeset/tame-pianos-approve.md5
-rw-r--r--.changeset/tiny-plums-crash.md40
-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/minimal/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/with-markdoc/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.md26
-rw-r--r--packages/astro/package.json2
-rw-r--r--packages/integrations/mdx/CHANGELOG.md8
-rw-r--r--packages/integrations/mdx/package.json2
-rw-r--r--packages/underscore-redirects/CHANGELOG.md41
-rw-r--r--packages/underscore-redirects/package.json2
-rw-r--r--pnpm-lock.yaml52
45 files changed, 130 insertions, 165 deletions
diff --git a/.changeset/afraid-peas-smash.md b/.changeset/afraid-peas-smash.md
deleted file mode 100644
index 72cf6c1dc..000000000
--- a/.changeset/afraid-peas-smash.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a bug where Astro attempted to decode a request URL multiple times, resulting in an unexpected behaviour when decoding the character `%`
diff --git a/.changeset/curvy-readers-invent.md b/.changeset/curvy-readers-invent.md
deleted file mode 100644
index c19d97944..000000000
--- a/.changeset/curvy-readers-invent.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Improves the config error for invalid combinations of `context` and `access` properties under `env.schema`
diff --git a/.changeset/famous-gorillas-confess.md b/.changeset/famous-gorillas-confess.md
deleted file mode 100644
index 7e1252868..000000000
--- a/.changeset/famous-gorillas-confess.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes an issue where `Astro.locals` coming from an adapter weren't available in the `404.astro`, when using the `astro dev` command,
diff --git a/.changeset/green-buses-add.md b/.changeset/green-buses-add.md
deleted file mode 100644
index 472f84935..000000000
--- a/.changeset/green-buses-add.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Ensures image styles are not imported unless experimental responsive images are enabled
diff --git a/.changeset/heavy-yaks-brake.md b/.changeset/heavy-yaks-brake.md
deleted file mode 100644
index 50f2a1f88..000000000
--- a/.changeset/heavy-yaks-brake.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/underscore-redirects': minor
----
-
-Updates how the output is determined in `createRedirectsFromAstroRoutes`. Since `v0.5.0`, the output would use the `buildOutput` property and `config.output` as a fallback. It no longer uses this fallback.
diff --git a/.changeset/light-buttons-compare.md b/.changeset/light-buttons-compare.md
deleted file mode 100644
index 2797486dd..000000000
--- a/.changeset/light-buttons-compare.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Improves remote image cache efficiency by separating image data and metadata into a binary and sidecar JSON file.
diff --git a/.changeset/old-clouds-act.md b/.changeset/old-clouds-act.md
deleted file mode 100644
index d8d6e4d8b..000000000
--- a/.changeset/old-clouds-act.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/mdx': patch
----
-
-Fixes a bug that caused Image component to be imported on MDX pages that did not include images
diff --git a/.changeset/pink-years-warn.md b/.changeset/pink-years-warn.md
deleted file mode 100644
index aa2c6ccd9..000000000
--- a/.changeset/pink-years-warn.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Processes markdown with empty body as remark and rehype plugins may add additional content or frontmatter
diff --git a/.changeset/rich-terms-sit.md b/.changeset/rich-terms-sit.md
deleted file mode 100644
index 40258bf95..000000000
--- a/.changeset/rich-terms-sit.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a bug where the logged output path does not match the actual output path when using `build.format: 'preserve'`
diff --git a/.changeset/seven-feet-juggle.md b/.changeset/seven-feet-juggle.md
deleted file mode 100644
index df23ed777..000000000
--- a/.changeset/seven-feet-juggle.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Allows configuring Astro modules TypeScript compilation with the `vite.esbuild` config
diff --git a/.changeset/strong-cobras-own.md b/.changeset/strong-cobras-own.md
deleted file mode 100644
index 5b92cc40a..000000000
--- a/.changeset/strong-cobras-own.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/mdx': patch
----
-
-Makes internal `check()` function a no-op to allow faster component renders and prevent React 19 component warnings
diff --git a/.changeset/strong-scissors-sip.md b/.changeset/strong-scissors-sip.md
deleted file mode 100644
index 7bb1aa985..000000000
--- a/.changeset/strong-scissors-sip.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a bug where content collections would sometimes appear empty when first running astro dev
diff --git a/.changeset/sweet-zoos-move.md b/.changeset/sweet-zoos-move.md
deleted file mode 100644
index 7c027a944..000000000
--- a/.changeset/sweet-zoos-move.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes a bug where users could use `Astro.request.headers` during a rewrite inside prerendered routes. This an invalid behaviour, and now Astro will show a warning if this happens.
diff --git a/.changeset/tame-pianos-approve.md b/.changeset/tame-pianos-approve.md
deleted file mode 100644
index 136c1dae9..000000000
--- a/.changeset/tame-pianos-approve.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes an issue where the use of `Astro.rewrite` would trigger the invalid use of `Astro.request.headers`
diff --git a/.changeset/tiny-plums-crash.md b/.changeset/tiny-plums-crash.md
deleted file mode 100644
index 815a4a354..000000000
--- a/.changeset/tiny-plums-crash.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-'@astrojs/underscore-redirects': minor
----
-
-Updates the input requirements of `createRedirectsFromAstroRoutes`:
-
-- `routeToDynamicTargetMap` keys are `IntegrationResolvedRoute` instead of `IntegrationRouteData` (obtained from the `astro:routes:resolved` hook)
-- There's a new `assets` property, that can be obtained from the `astro:build:done` hook
-
-```js
-function myIntegration() {
- let routes
- let buildOutput
- let config
-
- return {
- name: "my-integration",
- hooks: {
- "astro:routes:resolved": (params) => {
- routes = params.routes
- },
- "astro:config:done": (params) => {
- buildOutput = params.buildOutput
- config = params.config
- },
- "astro:build:done": (params) => {
- const redirects = createRedirectsFromAstroRoutes({
- config,
- buildOutput,
- routeToDynamicTargetMap: new Map(
- routes.map(route => [route, ''])
- ),
- dir: params.dir,
- assets: params.assets
- })
- }
- }
- }
-}
-``` \ No newline at end of file
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 967abed47..86e92001e 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index c107628a0..361d8c4ce 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.3",
+ "@astrojs/mdx": "^4.0.4",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index c1c9647c4..7df86e4fe 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
},
"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 cb65e9514..c8fc2d779 100644
--- a/examples/container-with-vitest/package.json
+++ b/examples/container-with-vitest/package.json
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/react": "^4.1.2",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^3.0.0-beta.3"
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 601893430..09f1cfa78 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -13,6 +13,6 @@
"@astrojs/alpinejs": "^0.4.1",
"@types/alpinejs": "^3.13.10",
"alpinejs": "^3.14.3",
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index 20c1a4e6c..7a8eb53d5 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -17,7 +17,7 @@
"@astrojs/vue": "^5.0.4",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"preact": "^10.24.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index 4e8c40cca..274278896 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^4.0.1",
"@preact/signals": "^2.0.0",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"preact": "^10.24.3"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index dec5febb8..668855cc3 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -13,7 +13,7 @@
"@astrojs/react": "^4.1.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index d8ea6cbd3..8c48e8ea5 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/solid-js": "^5.0.1",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"solid-js": "^1.9.3"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index c057f0c92..537e09a0a 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/svelte": "^7.0.3",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"svelte": "^5.1.16"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 90baf26e3..c23be7bf4 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/vue": "^5.0.4",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"vue": "^3.5.12"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index a46b11676..cb4198769 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/node": "^9.0.0",
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index a244cc68b..dbc0c3707 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index d6db60936..6507f23b6 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 953f09541..e60fef851 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index 898763764..69ab024f7 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@astrojs/node": "^9.0.0",
"@astrojs/svelte": "^7.0.3",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"svelte": "^5.1.16"
}
}
diff --git a/examples/starlog/package.json b/examples/starlog/package.json
index bcda7e06d..7e24e4e3d 100644
--- a/examples/starlog/package.json
+++ b/examples/starlog/package.json
@@ -9,7 +9,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"sass": "^1.80.6",
"sharp": "^0.33.3"
}
diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json
index 2f1cd3212..e88d0e344 100644
--- a/examples/toolbar-app/package.json
+++ b/examples/toolbar-app/package.json
@@ -16,6 +16,6 @@
},
"devDependencies": {
"@types/node": "^18.17.8",
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index b78680856..4d142dfc3 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -11,6 +11,6 @@
},
"dependencies": {
"@astrojs/markdoc": "^0.12.4",
- "astro": "^5.1.3"
+ "astro": "^5.1.4"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index b6db3fafa..2c182551a 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.3",
+ "@astrojs/mdx": "^4.0.4",
"@astrojs/preact": "^4.0.1",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"preact": "^10.24.3"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index 260ad7f44..778c92604 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -12,7 +12,7 @@
"dependencies": {
"@astrojs/preact": "^4.0.1",
"@nanostores/preact": "^0.5.2",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"nanostores": "^0.11.3",
"preact": "^10.24.3"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 3201c8f8b..16ff36acc 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -10,10 +10,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.3",
+ "@astrojs/mdx": "^4.0.4",
"@astrojs/tailwind": "^5.1.4",
"@types/canvas-confetti": "^1.6.4",
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"autoprefixer": "^10.4.20",
"canvas-confetti": "^1.9.3",
"postcss": "^8.4.49",
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index db6125f36..6daff2ea0 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -11,7 +11,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^5.1.3",
+ "astro": "^5.1.4",
"vitest": "^3.0.0-beta.3"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 0fcfffb5c..8880243cc 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,31 @@
# astro
+## 5.1.4
+
+### Patch Changes
+
+- [#12927](https://github.com/withastro/astro/pull/12927) [`ad2a752`](https://github.com/withastro/astro/commit/ad2a752662946e3a80849605f073812b06adf632) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug where Astro attempted to decode a request URL multiple times, resulting in an unexpected behaviour when decoding the character `%`
+
+- [#12912](https://github.com/withastro/astro/pull/12912) [`0c0c66b`](https://github.com/withastro/astro/commit/0c0c66bf0df23ab5a9bd2f147e303d8397d3222e) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Improves the config error for invalid combinations of `context` and `access` properties under `env.schema`
+
+- [#12935](https://github.com/withastro/astro/pull/12935) [`3d47e6b`](https://github.com/withastro/astro/commit/3d47e6baff7a17d3ef09630b0d90362baef41f97) Thanks [@AirBorne04](https://github.com/AirBorne04)! - Fixes an issue where `Astro.locals` coming from an adapter weren't available in the `404.astro`, when using the `astro dev` command,
+
+- [#12925](https://github.com/withastro/astro/pull/12925) [`44841fc`](https://github.com/withastro/astro/commit/44841fc281f8920b32f4b4a94deefeb3ad069cf3) Thanks [@ascorbic](https://github.com/ascorbic)! - Ensures image styles are not imported unless experimental responsive images are enabled
+
+- [#12926](https://github.com/withastro/astro/pull/12926) [`8e64bb7`](https://github.com/withastro/astro/commit/8e64bb727f78f24b26fd1c0b1289ab1ccd611114) Thanks [@oliverlynch](https://github.com/oliverlynch)! - Improves remote image cache efficiency by separating image data and metadata into a binary and sidecar JSON file.
+
+- [#12920](https://github.com/withastro/astro/pull/12920) [`8b9d530`](https://github.com/withastro/astro/commit/8b9d53037879cd7ca7bee4d20b4e6f08e984a7df) Thanks [@bluwy](https://github.com/bluwy)! - Processes markdown with empty body as remark and rehype plugins may add additional content or frontmatter
+
+- [#12918](https://github.com/withastro/astro/pull/12918) [`fd12a26`](https://github.com/withastro/astro/commit/fd12a26ac6012c6b8a26f5a178e1bb46092a1806) Thanks [@lameuler](https://github.com/lameuler)! - Fixes a bug where the logged output path does not match the actual output path when using `build.format: 'preserve'`
+
+- [#12676](https://github.com/withastro/astro/pull/12676) [`2ffc0fc`](https://github.com/withastro/astro/commit/2ffc0fcab78b658a6ee73a8f8b291802093dce5e) Thanks [@koyopro](https://github.com/koyopro)! - Allows configuring Astro modules TypeScript compilation with the `vite.esbuild` config
+
+- [#12938](https://github.com/withastro/astro/pull/12938) [`dbb04f3`](https://github.com/withastro/astro/commit/dbb04f3c04ce868b5c985c848a2c40a3761a6dad) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug where content collections would sometimes appear empty when first running astro dev
+
+- [#12937](https://github.com/withastro/astro/pull/12937) [`30edb6d`](https://github.com/withastro/astro/commit/30edb6d9d0aaf28bea1fec73879f63fe134507d0) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug where users could use `Astro.request.headers` during a rewrite inside prerendered routes. This an invalid behaviour, and now Astro will show a warning if this happens.
+
+- [#12937](https://github.com/withastro/astro/pull/12937) [`30edb6d`](https://github.com/withastro/astro/commit/30edb6d9d0aaf28bea1fec73879f63fe134507d0) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where the use of `Astro.rewrite` would trigger the invalid use of `Astro.request.headers`
+
## 5.1.3
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 466e93cdd..99a66279a 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "5.1.3",
+ "version": "5.1.4",
"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/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md
index c4c1986f9..b5a80c265 100644
--- a/packages/integrations/mdx/CHANGELOG.md
+++ b/packages/integrations/mdx/CHANGELOG.md
@@ -1,5 +1,13 @@
# @astrojs/mdx
+## 4.0.4
+
+### Patch Changes
+
+- [#12921](https://github.com/withastro/astro/pull/12921) [`aeb7e1a`](https://github.com/withastro/astro/commit/aeb7e1ac11ebf87847ed2fac89072aa2b4ac2aae) Thanks [@ascorbic](https://github.com/ascorbic)! - Fixes a bug that caused Image component to be imported on MDX pages that did not include images
+
+- [#12913](https://github.com/withastro/astro/pull/12913) [`9a3b48c`](https://github.com/withastro/astro/commit/9a3b48c5c3e8f597159454f06c5a0ce8e709bc50) Thanks [@bluwy](https://github.com/bluwy)! - Makes internal `check()` function a no-op to allow faster component renders and prevent React 19 component warnings
+
## 4.0.3
### Patch Changes
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json
index 2d49ad2c5..c6503514a 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.3",
+ "version": "4.0.4",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/underscore-redirects/CHANGELOG.md b/packages/underscore-redirects/CHANGELOG.md
index 101586a25..b384c1d80 100644
--- a/packages/underscore-redirects/CHANGELOG.md
+++ b/packages/underscore-redirects/CHANGELOG.md
@@ -1,5 +1,46 @@
# @astrojs/underscore-redirects
+## 0.6.0
+
+### Minor Changes
+
+- [#12924](https://github.com/withastro/astro/pull/12924) [`3caa337`](https://github.com/withastro/astro/commit/3caa337f0ba917ad677fd8438b7045abc5d29e1c) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates how the output is determined in `createRedirectsFromAstroRoutes`. Since `v0.5.0`, the output would use the `buildOutput` property and `config.output` as a fallback. It no longer uses this fallback.
+
+- [#12924](https://github.com/withastro/astro/pull/12924) [`3caa337`](https://github.com/withastro/astro/commit/3caa337f0ba917ad677fd8438b7045abc5d29e1c) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Updates the input requirements of `createRedirectsFromAstroRoutes`:
+
+ - `routeToDynamicTargetMap` keys are `IntegrationResolvedRoute` instead of `IntegrationRouteData` (obtained from the `astro:routes:resolved` hook)
+ - There's a new `assets` property, that can be obtained from the `astro:build:done` hook
+
+ ```js
+ function myIntegration() {
+ let routes;
+ let buildOutput;
+ let config;
+
+ return {
+ name: 'my-integration',
+ hooks: {
+ 'astro:routes:resolved': (params) => {
+ routes = params.routes;
+ },
+ 'astro:config:done': (params) => {
+ buildOutput = params.buildOutput;
+ config = params.config;
+ },
+ 'astro:build:done': (params) => {
+ const redirects = createRedirectsFromAstroRoutes({
+ config,
+ buildOutput,
+ routeToDynamicTargetMap: new Map(routes.map((route) => [route, ''])),
+ dir: params.dir,
+ assets: params.assets,
+ });
+ },
+ },
+ };
+ }
+ ```
+
## 0.5.1
### Patch Changes
diff --git a/packages/underscore-redirects/package.json b/packages/underscore-redirects/package.json
index aae990792..9bcce285c 100644
--- a/packages/underscore-redirects/package.json
+++ b/packages/underscore-redirects/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/underscore-redirects",
"description": "Utilities to generate _redirects files in Astro projects",
- "version": "0.5.1",
+ "version": "0.6.0",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 15f9f2303..6acbc3c63 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -142,13 +142,13 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/blog:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.3
+ specifier: ^4.0.4
version: link:../../packages/integrations/mdx
'@astrojs/rss':
specifier: ^4.0.11
@@ -157,13 +157,13 @@ importers:
specifier: ^3.2.1
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/container-with-vitest:
@@ -172,7 +172,7 @@ importers:
specifier: ^4.1.2
version: link:../../packages/integrations/react
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -203,7 +203,7 @@ importers:
specifier: ^3.14.3
version: 3.14.3
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/framework-multiple:
@@ -230,7 +230,7 @@ importers:
specifier: ^18.3.1
version: 18.3.1
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@@ -260,7 +260,7 @@ importers:
specifier: ^2.0.0
version: 2.0.0(preact@10.25.1)
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@@ -278,7 +278,7 @@ importers:
specifier: ^18.3.1
version: 18.3.1
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -293,7 +293,7 @@ importers:
specifier: ^5.0.1
version: link:../../packages/integrations/solid
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
solid-js:
specifier: ^1.9.3
@@ -305,7 +305,7 @@ importers:
specifier: ^7.0.3
version: link:../../packages/integrations/svelte
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
svelte:
specifier: ^5.1.16
@@ -317,7 +317,7 @@ importers:
specifier: ^5.0.4
version: link:../../packages/integrations/vue
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
vue:
specifier: ^3.5.12
@@ -329,25 +329,25 @@ importers:
specifier: ^9.0.0
version: 9.0.0(astro@packages+astro)
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/minimal:
dependencies:
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/ssr:
@@ -359,7 +359,7 @@ importers:
specifier: ^7.0.3
version: link:../../packages/integrations/svelte
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
svelte:
specifier: ^5.1.16
@@ -368,7 +368,7 @@ importers:
examples/starlog:
dependencies:
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
sass:
specifier: ^1.80.6
@@ -383,7 +383,7 @@ importers:
specifier: ^18.17.8
version: 18.19.50
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/with-markdoc:
@@ -392,19 +392,19 @@ importers:
specifier: ^0.12.4
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
examples/with-mdx:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.3
+ specifier: ^4.0.4
version: link:../../packages/integrations/mdx
'@astrojs/preact':
specifier: ^4.0.1
version: link:../../packages/integrations/preact
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
preact:
specifier: ^10.24.3
@@ -419,7 +419,7 @@ importers:
specifier: ^0.5.2
version: 0.5.2(nanostores@0.11.3)(preact@10.25.1)
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
nanostores:
specifier: ^0.11.3
@@ -431,7 +431,7 @@ importers:
examples/with-tailwindcss:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.3
+ specifier: ^4.0.4
version: link:../../packages/integrations/mdx
'@astrojs/tailwind':
specifier: ^5.1.4
@@ -440,7 +440,7 @@ importers:
specifier: ^1.6.4
version: 1.6.4
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
autoprefixer:
specifier: ^10.4.20
@@ -458,7 +458,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^5.1.3
+ specifier: ^5.1.4
version: link:../../packages/astro
vitest:
specifier: ^3.0.0-beta.3