summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2025-02-27 05:26:41 -0800
committerGravatar GitHub <noreply@github.com> 2025-02-27 13:26:41 +0000
commit9aa5ac10197f08e316a1c4223cfc1fbd5913b3b7 (patch)
treea8952a67d2f612f4ec6cfaead91f4303c7cfb297
parent53508aa7ecdb73780e178eed896748caaa6aae61 (diff)
downloadastro@5.4.0.tar.gz
astro@5.4.0.tar.zst
astro@5.4.0.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/bright-eels-cross.md23
-rw-r--r--.changeset/clever-rice-compete.md23
-rw-r--r--.changeset/flat-ladybugs-argue.md13
-rw-r--r--.changeset/grumpy-sloths-fail.md30
-rw-r--r--.changeset/late-mails-beam.md5
-rw-r--r--.changeset/purple-jokes-pay.md5
-rw-r--r--.changeset/quiet-birds-joke.md7
-rw-r--r--.changeset/shy-bats-exist.md11
-rw-r--r--.changeset/slimy-cougars-worry.md7
-rw-r--r--.changeset/stale-oranges-call.md5
-rw-r--r--.changeset/tiny-cows-march.md11
-rw-r--r--.changeset/tiny-gifts-drum.md27
-rw-r--r--.changeset/warm-planes-swim.md11
-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.json4
-rw-r--r--examples/framework-alpine/package.json2
-rw-r--r--examples/framework-multiple/package.json10
-rw-r--r--examples/framework-preact/package.json4
-rw-r--r--examples/framework-react/package.json4
-rw-r--r--examples/framework-solid/package.json4
-rw-r--r--examples/framework-svelte/package.json4
-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/minimal/package.json2
-rw-r--r--examples/portfolio/package.json2
-rw-r--r--examples/ssr/package.json6
-rw-r--r--examples/starlog/package.json2
-rw-r--r--examples/toolbar-app/package.json2
-rw-r--r--examples/with-markdoc/package.json4
-rw-r--r--examples/with-mdx/package.json6
-rw-r--r--examples/with-nanostores/package.json4
-rw-r--r--examples/with-tailwindcss/package.json4
-rw-r--r--examples/with-vitest/package.json2
-rw-r--r--packages/astro/CHANGELOG.md95
-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/cloudflare/CHANGELOG.md10
-rw-r--r--packages/integrations/cloudflare/package.json2
-rw-r--r--packages/integrations/markdoc/CHANGELOG.md10
-rw-r--r--packages/integrations/markdoc/package.json2
-rw-r--r--packages/integrations/mdx/CHANGELOG.md17
-rw-r--r--packages/integrations/mdx/package.json2
-rw-r--r--packages/integrations/netlify/CHANGELOG.md10
-rw-r--r--packages/integrations/netlify/package.json2
-rw-r--r--packages/integrations/node/CHANGELOG.md7
-rw-r--r--packages/integrations/node/package.json2
-rw-r--r--packages/integrations/preact/CHANGELOG.md6
-rw-r--r--packages/integrations/preact/package.json2
-rw-r--r--packages/integrations/react/CHANGELOG.md6
-rw-r--r--packages/integrations/react/package.json2
-rw-r--r--packages/integrations/solid/CHANGELOG.md6
-rw-r--r--packages/integrations/solid/package.json2
-rw-r--r--packages/integrations/svelte/CHANGELOG.md6
-rw-r--r--packages/integrations/svelte/package.json2
-rw-r--r--packages/integrations/vercel/CHANGELOG.md35
-rw-r--r--packages/integrations/vercel/package.json2
-rw-r--r--packages/internal-helpers/CHANGELOG.md8
-rw-r--r--packages/internal-helpers/package.json2
-rw-r--r--packages/markdown/remark/CHANGELOG.md17
-rw-r--r--packages/markdown/remark/package.json2
-rw-r--r--pnpm-lock.yaml82
65 files changed, 338 insertions, 274 deletions
diff --git a/.changeset/bright-eels-cross.md b/.changeset/bright-eels-cross.md
deleted file mode 100644
index 638a5d7c1..000000000
--- a/.changeset/bright-eels-cross.md
+++ /dev/null
@@ -1,23 +0,0 @@
----
-'astro': minor
----
-
-Exposes extra APIs for scripting and testing.
-
-### Config helpers
-
-Two new helper functions exported from `astro/config`:
-
-- `mergeConfig()` allows users to merge partially defined Astro configurations on top of a base config while following the merge rules of `updateConfig()` available for integrations.
-- `validateConfig()` allows users to validate that a given value is a valid Astro configuration and fills in default values as necessary.
-
-These helpers are particularly useful for integration authors and for developers writing scripts that need to manipulate Astro configurations programmatically.
-
-### Programmatic build
-
-The `build` API now receives a second optional `BuildOptions` argument where users can specify:
-
-- `devOutput` (default `false`): output a development-based build similar to code transformed in `astro dev`.
-- `teardownCompiler` (default `true`): teardown the compiler WASM instance after build.
-
-These options provide more control when running Astro builds programmatically, especially for testing scenarios or custom build pipelines.
diff --git a/.changeset/clever-rice-compete.md b/.changeset/clever-rice-compete.md
deleted file mode 100644
index 59897964d..000000000
--- a/.changeset/clever-rice-compete.md
+++ /dev/null
@@ -1,23 +0,0 @@
----
-'astro': patch
----
-
-Adds experimental responsive image support in Markdown
-
-Previously, the `experimental.responsiveImages` feature could only provide responsive images when using the `<Image />` and `<Picture />` components.
-
-Now, images written with the `![]()` Markdown syntax in Markdown and MDX files will generate responsive images by default when using this experimental feature.
-
-To try this experimental feature, set `experimental.responsiveImages` to true in your `astro.config.mjs` file:
-
-```js
-{
- experimental: {
- responsiveImages: true,
- },
-}
-```
-
-Learn more about using this feature in the [experimental responsive images feature reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/).
-
-For a complete overview, and to give feedback on this experimental API, see the [Responsive Images RFC](https://github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md). \ No newline at end of file
diff --git a/.changeset/flat-ladybugs-argue.md b/.changeset/flat-ladybugs-argue.md
deleted file mode 100644
index 66238cf68..000000000
--- a/.changeset/flat-ladybugs-argue.md
+++ /dev/null
@@ -1,13 +0,0 @@
----
-'astro': patch
-'@astrojs/cloudflare': patch
-'@astrojs/svelte': patch
-'@astrojs/solid-js': patch
-'@astrojs/react': patch
-'@astrojs/preact': patch
-'@astrojs/markdoc': patch
-'@astrojs/netlify': patch
-'@astrojs/vercel': patch
----
-
-Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
diff --git a/.changeset/grumpy-sloths-fail.md b/.changeset/grumpy-sloths-fail.md
deleted file mode 100644
index 1a5e9b272..000000000
--- a/.changeset/grumpy-sloths-fail.md
+++ /dev/null
@@ -1,30 +0,0 @@
----
-'astro': minor
----
-
-Adds a new configuration option `server.allowedHosts` and CLI option `--allowed-hosts`.
-
-Now you can specify the hostnames that the dev and preview servers are allowed to respond to. This is useful for allowing additional subdomains, or running the dev server in a web container.
-
-`allowedHosts` checks the Host header on HTTP requests from browsers and if it doesn't match, it will reject the request to prevent CSRF and XSS attacks.
-
-```shell
-astro dev --allowed-hosts=foo.bar.example.com,bar.example.com
-```
-
-```shell
-astro preview --allowed-hosts=foo.bar.example.com,bar.example.com
-```
-
-```js
-// astro.config.mjs
-import {defineConfig} from "astro/config";
-
-export default defineConfig({
- server: {
- allowedHosts: ['foo.bar.example.com', 'bar.example.com']
- }
-})
-```
-
-This feature is the same as [Vite's `server.allowHosts` configuration](https://vite.dev/config/server-options.html#server-allowedhosts).
diff --git a/.changeset/late-mails-beam.md b/.changeset/late-mails-beam.md
deleted file mode 100644
index 985899636..000000000
--- a/.changeset/late-mails-beam.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/db': patch
----
-
-Expose `ilike` function from `drizzle-orm`
diff --git a/.changeset/purple-jokes-pay.md b/.changeset/purple-jokes-pay.md
deleted file mode 100644
index ddb641371..000000000
--- a/.changeset/purple-jokes-pay.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes an issue where a form field named "attributes" shadows the form.attributes property.
diff --git a/.changeset/quiet-birds-joke.md b/.changeset/quiet-birds-joke.md
deleted file mode 100644
index 37b175850..000000000
--- a/.changeset/quiet-birds-joke.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astrojs/internal-helpers': minor
----
-
-Adds remote URL filtering utilities
-
-This adds logic to filter remote URLs so that it can be used by both `astro` and `@astrojs/markdown-remark`.
diff --git a/.changeset/shy-bats-exist.md b/.changeset/shy-bats-exist.md
deleted file mode 100644
index 25ac954ef..000000000
--- a/.changeset/shy-bats-exist.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'astro': minor
----
-
-Adds the ability to process and optimize remote images in Markdown files
-
-Previously, Astro only allowed local images to be optimized when included using `![]()` syntax in plain Markdown files. Astro's image service could only display remote images without any processing.
-
-Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager.
-
-No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the HTML `<img>` tag instead. Note that images located in your `public/` folder are still never processed.
diff --git a/.changeset/slimy-cougars-worry.md b/.changeset/slimy-cougars-worry.md
deleted file mode 100644
index 3182f83b7..000000000
--- a/.changeset/slimy-cougars-worry.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'astro': patch
----
-
-Fixes incorrect config update when calling `updateConfig` from `astro:build:setup` hook.
-
-The function previously called a custom update config function made for merging an Astro config. Now it calls the appropriate `mergeConfig()` utility exported by Vite that updates functional options correctly.
diff --git a/.changeset/stale-oranges-call.md b/.changeset/stale-oranges-call.md
deleted file mode 100644
index dd21fc492..000000000
--- a/.changeset/stale-oranges-call.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'astro': patch
----
-
-Fixes an issue where the dev server was applying second decoding of the URL of the incoming request, causing issues for certain URLs.
diff --git a/.changeset/tiny-cows-march.md b/.changeset/tiny-cows-march.md
deleted file mode 100644
index 95682c85b..000000000
--- a/.changeset/tiny-cows-march.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'@astrojs/mdx': minor
----
-
-Adds the ability to process and optimize remote images in Markdown syntax in MDX files.
-
-Previously, Astro only allowed local images to be optimized when included using `![]()` syntax. Astro's image service could only display remote images without any processing.
-
-Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager.
-
-No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the JSX `<img/>` tag instead. Note that images located in your `public/` folder are still never processed.
diff --git a/.changeset/tiny-gifts-drum.md b/.changeset/tiny-gifts-drum.md
deleted file mode 100644
index ca943476b..000000000
--- a/.changeset/tiny-gifts-drum.md
+++ /dev/null
@@ -1,27 +0,0 @@
----
-'@astrojs/vercel': minor
----
-
-Adds support for regular expressions in ISR exclude list
-
-Previously, excluding a page from ISR required explicitly listing it in `isr.exclude`. As websites grew larger, maintaining this list became increasingly difficult, especially for multiple API routes and pages that needed server-side rendering.
-
-To address this, ISR exclusions now support regular expressions, allowing for more flexible and scalable configurations.
-
-```js
-// astro.config.mjs
-import vercel from '@astrojs/vercel/serverless';
-
-export default defineConfig({
- output: 'server',
- adapter: vercel({
- isr: {
- exclude: [
- '/preview', // Excludes a specific route (e.g., pages/preview.astro)
- '/auth/[page]', // Excludes a dynamic route (e.g., pages/auth/[page].astro)
- /^\/api\/.+/, // Excludes all routes starting with /api/
- ]
- }
- })
-});
-```
diff --git a/.changeset/warm-planes-swim.md b/.changeset/warm-planes-swim.md
deleted file mode 100644
index f710f1a6e..000000000
--- a/.changeset/warm-planes-swim.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-'@astrojs/markdown-remark': minor
----
-
-Adds remote image optimization in Markdown
-
-Previously, an internal remark plugin only looked for images in `![]()` syntax that referred to a relative file path. This meant that only local images stored in `src/` were passed through to an internal rehype plugin that would transform them for later processing by Astro's image service.
-
-Now, the plugins recognize and transform both local and remote images using this syntax. Only [authorized remote images specified in your config](https://docs.astro.build/en/guides/images/#authorizing-remote-images) are transformed; remote images from other sources will not be processed.
-
-While not configurable at this time, this process outputs two separate metadata fields (`localImagePaths` and `remoteImagePaths`) which allow for the possibility of controlling the behavior of each type of image separately in the future.
diff --git a/examples/basics/package.json b/examples/basics/package.json
index e8e25f82b..752fc89fe 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.3.1"
+ "astro": "^5.4.0"
}
}
diff --git a/examples/blog/package.json b/examples/blog/package.json
index 24354aa6f..113285ceb 100644
--- a/examples/blog/package.json
+++ b/examples/blog/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.8",
+ "@astrojs/mdx": "^4.1.0",
"@astrojs/rss": "^4.0.11",
"@astrojs/sitemap": "^3.2.1",
- "astro": "^5.3.1"
+ "astro": "^5.4.0"
}
}
diff --git a/examples/component/package.json b/examples/component/package.json
index f962d0dd3..8c74ec789 100644
--- a/examples/component/package.json
+++ b/examples/component/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^5.3.1"
+ "astro": "^5.4.0"
},
"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 1df03f11b..f4459eace 100644
--- a/examples/container-with-vitest/package.json
+++ b/examples/container-with-vitest/package.json
@@ -11,8 +11,8 @@
"test": "vitest run"
},
"dependencies": {
- "@astrojs/react": "^4.2.0",
- "astro": "^5.3.1",
+ "@astrojs/react": "^4.2.1",
+ "astro": "^5.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^3.0.5"
diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json
index 82415dad5..9584ed7e3 100644
--- a/examples/framework-alpine/package.json
+++ b/examples/framework-alpine/package.json
@@ -13,6 +13,6 @@
"@astrojs/alpinejs": "^0.4.3",
"@types/alpinejs": "^3.13.11",
"alpinejs": "^3.14.8",
- "astro": "^5.3.1"
+ "astro": "^5.4.0"
}
}
diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json
index f429275bf..b6183e4a2 100644
--- a/examples/framework-multiple/package.json
+++ b/examples/framework-multiple/package.json
@@ -10,14 +10,14 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^4.0.4",
- "@astrojs/react": "^4.2.0",
- "@astrojs/solid-js": "^5.0.4",
- "@astrojs/svelte": "^7.0.4",
+ "@astrojs/preact": "^4.0.5",
+ "@astrojs/react": "^4.2.1",
+ "@astrojs/solid-js": "^5.0.5",
+ "@astrojs/svelte": "^7.0.5",
"@astrojs/vue": "^5.0.7",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
- "astro": "^5.3.1",
+ "astro": "^5.4.0",
"preact": "^10.25.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json
index b76a1c2d5..90bb9cb3a 100644
--- a/examples/framework-preact/package.json
+++ b/examples/framework-preact/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^4.0.4",
+ "@astrojs/preact": "^4.0.5",
"@preact/signals": "^2.0.1",
- "astro": "^5.3.1",
+ "astro": "^5.4.0",
"preact": "^10.25.4"
}
}
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index e34457936..206103aa8 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -10,10 +10,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/react": "^4.2.0",
+ "@astrojs/react": "^4.2.1",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
- "astro": "^5.3.1",
+ "astro": "^5.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json
index fcdb79b83..1a4859564 100644
--- a/examples/framework-solid/package.json
+++ b/examples/framework-solid/package.json
@@ -10,8 +10,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/solid-js": "^5.0.4",
- "astro": "^5.3.1",
+ "@astrojs/solid-js": "^5.0.5",
+ "astro": "^5.4.0",
"solid-js": "^1.9.4"
}
}
diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json
index a9646a800..8a4af93bb 100644
--- a/examples/framework-svelte/package.json
+++ b/examples/framework-svelte/package.json
@@ -10,8 +10,8 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/svelte": "^7.0.4",
- "astro": "^5.3.1",
+ "@astrojs/svelte": "^7.0.5",
+ "astro": "^5.4.0",
"svelte": "^5.19.7"
}
}
diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json
index 9643a3426..55857b64a 100644
--- a/examples/framework-vue/package.json
+++ b/examples/framework-vue/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"@astrojs/vue": "^5.0.7",
- "astro": "^5.3.1",
+ "astro": "^5.4.0",
"vue": "^3.5.13"
}
}
diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json
index ac564e17c..72c17f974 100644
--- a/examples/hackernews/package.json
+++ b/examples/hackernews/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/node": "^9.1.1",
- "astro": "^5.3.1"
+ "@astrojs/node": "^9.1.2",
+ "astro": "^5.4.0"
}
}
diff --git a/examples/integration/package.json b/examples/integration/package.json
index 0b147de02..ef0d16ea0 100644
--- a/examples/integration/package.json
+++ b/examples/integration/package.json
@@ -15,7 +15,7 @@
],
"scripts": {},
"devDependencies": {
- "astro": "^5.3.1"
+ "astro": "^5.4.0"
},
"peerDependencies": {
"astro": "^4.0.0"
diff --git a/examples/minimal/package.json b/examples/minimal/package.json
index ee25b518e..a2b0f6c4b 100644
--- a/examples/minimal/package.json
+++ b/examples/minimal/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.3.1"
+ "astro": "^5.4.0"
}
}
diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json
index 794692032..98549a7a9 100644
--- a/examples/portfolio/package.json
+++ b/examples/portfolio/package.json
@@ -10,6 +10,6 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.3.1"
+ "astro": "^5.4.0"
}
}
diff --git a/examples/ssr/package.json b/examples/ssr/package.json
index f18ac814b..ca1d3bbb7 100644
--- a/examples/ssr/package.json
+++ b/examples/ssr/package.json
@@ -11,9 +11,9 @@
"server": "node dist/server/entry.mjs"
},
"dependencies": {
- "@astrojs/node": "^9.1.1",
- "@astrojs/svelte": "^7.0.4",
- "astro": "^5.3.1",
+ "@astrojs/node": "^9.1.2",
+ "@astrojs/svelte": "^7.0.5",
+ "astro": "^5.4.0",
"svelte": "^5.19.7"
}
}
diff --git a/examples/starlog/package.json b/examples/starlog/package.json
index addd00814..7e400dcba 100644
--- a/examples/starlog/package.json
+++ b/examples/starlog/package.json
@@ -9,7 +9,7 @@
"astro": "astro"
},
"dependencies": {
- "astro": "^5.3.1",
+ "astro": "^5.4.0",
"sass": "^1.83.4",
"sharp": "^0.33.3"
}
diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json
index 463af0292..2fd217572 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.3.1"
+ "astro": "^5.4.0"
}
}
diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json
index b0e190fad..cae3e738c 100644
--- a/examples/with-markdoc/package.json
+++ b/examples/with-markdoc/package.json
@@ -10,7 +10,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/markdoc": "^0.12.9",
- "astro": "^5.3.1"
+ "@astrojs/markdoc": "^0.12.10",
+ "astro": "^5.4.0"
}
}
diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json
index ce69e6d5c..3a2a4d9b6 100644
--- a/examples/with-mdx/package.json
+++ b/examples/with-mdx/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.8",
- "@astrojs/preact": "^4.0.4",
- "astro": "^5.3.1",
+ "@astrojs/mdx": "^4.1.0",
+ "@astrojs/preact": "^4.0.5",
+ "astro": "^5.4.0",
"preact": "^10.25.4"
}
}
diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json
index c4ab506bf..f341ee0c3 100644
--- a/examples/with-nanostores/package.json
+++ b/examples/with-nanostores/package.json
@@ -10,9 +10,9 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/preact": "^4.0.4",
+ "@astrojs/preact": "^4.0.5",
"@nanostores/preact": "^0.5.2",
- "astro": "^5.3.1",
+ "astro": "^5.4.0",
"nanostores": "^0.11.3",
"preact": "^10.25.4"
}
diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json
index 978532602..22689a326 100644
--- a/examples/with-tailwindcss/package.json
+++ b/examples/with-tailwindcss/package.json
@@ -10,10 +10,10 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/mdx": "^4.0.8",
+ "@astrojs/mdx": "^4.1.0",
"@tailwindcss/vite": "^4.0.3",
"@types/canvas-confetti": "^1.9.0",
- "astro": "^5.3.1",
+ "astro": "^5.4.0",
"canvas-confetti": "^1.9.3",
"tailwindcss": "^4.0.3"
}
diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json
index e586f5469..4c6d1a8df 100644
--- a/examples/with-vitest/package.json
+++ b/examples/with-vitest/package.json
@@ -11,7 +11,7 @@
"test": "vitest"
},
"dependencies": {
- "astro": "^5.3.1",
+ "astro": "^5.4.0",
"vitest": "^3.0.5"
}
}
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 01e1e7fde..6ec18fc1e 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,100 @@
# astro
+## 5.4.0
+
+### Minor Changes
+
+- [#12052](https://github.com/withastro/astro/pull/12052) [`5be12b2`](https://github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@Fryuni](https://github.com/Fryuni)! - Exposes extra APIs for scripting and testing.
+
+ ### Config helpers
+
+ Two new helper functions exported from `astro/config`:
+
+ - `mergeConfig()` allows users to merge partially defined Astro configurations on top of a base config while following the merge rules of `updateConfig()` available for integrations.
+ - `validateConfig()` allows users to validate that a given value is a valid Astro configuration and fills in default values as necessary.
+
+ These helpers are particularly useful for integration authors and for developers writing scripts that need to manipulate Astro configurations programmatically.
+
+ ### Programmatic build
+
+ The `build` API now receives a second optional `BuildOptions` argument where users can specify:
+
+ - `devOutput` (default `false`): output a development-based build similar to code transformed in `astro dev`.
+ - `teardownCompiler` (default `true`): teardown the compiler WASM instance after build.
+
+ These options provide more control when running Astro builds programmatically, especially for testing scenarios or custom build pipelines.
+
+- [#13278](https://github.com/withastro/astro/pull/13278) [`4a43c4b`](https://github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new configuration option `server.allowedHosts` and CLI option `--allowed-hosts`.
+
+ Now you can specify the hostnames that the dev and preview servers are allowed to respond to. This is useful for allowing additional subdomains, or running the dev server in a web container.
+
+ `allowedHosts` checks the Host header on HTTP requests from browsers and if it doesn't match, it will reject the request to prevent CSRF and XSS attacks.
+
+ ```shell
+ astro dev --allowed-hosts=foo.bar.example.com,bar.example.com
+ ```
+
+ ```shell
+ astro preview --allowed-hosts=foo.bar.example.com,bar.example.com
+ ```
+
+ ```js
+ // astro.config.mjs
+ import { defineConfig } from 'astro/config';
+
+ export default defineConfig({
+ server: {
+ allowedHosts: ['foo.bar.example.com', 'bar.example.com'],
+ },
+ });
+ ```
+
+ This feature is the same as [Vite's `server.allowHosts` configuration](https://vite.dev/config/server-options.html#server-allowedhosts).
+
+- [#13254](https://github.com/withastro/astro/pull/13254) [`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@p0lyw0lf](https://github.com/p0lyw0lf)! - Adds the ability to process and optimize remote images in Markdown files
+
+ Previously, Astro only allowed local images to be optimized when included using `![]()` syntax in plain Markdown files. Astro's image service could only display remote images without any processing.
+
+ Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager.
+
+ No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the HTML `<img>` tag instead. Note that images located in your `public/` folder are still never processed.
+
+### Patch Changes
+
+- [#13256](https://github.com/withastro/astro/pull/13256) [`509fa67`](https://github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc) Thanks [@p0lyw0lf](https://github.com/p0lyw0lf)! - Adds experimental responsive image support in Markdown
+
+ Previously, the `experimental.responsiveImages` feature could only provide responsive images when using the `<Image />` and `<Picture />` components.
+
+ Now, images written with the `![]()` Markdown syntax in Markdown and MDX files will generate responsive images by default when using this experimental feature.
+
+ To try this experimental feature, set `experimental.responsiveImages` to true in your `astro.config.mjs` file:
+
+ ```js
+ {
+ experimental: {
+ responsiveImages: true,
+ },
+ }
+ ```
+
+ Learn more about using this feature in the [experimental responsive images feature reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/).
+
+ For a complete overview, and to give feedback on this experimental API, see the [Responsive Images RFC](https://github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md).
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
+- [#13313](https://github.com/withastro/astro/pull/13313) [`9e7c71d`](https://github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c) Thanks [@martrapp](https://github.com/martrapp)! - Fixes an issue where a form field named "attributes" shadows the form.attributes property.
+
+- [#12052](https://github.com/withastro/astro/pull/12052) [`5be12b2`](https://github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@Fryuni](https://github.com/Fryuni)! - Fixes incorrect config update when calling `updateConfig` from `astro:build:setup` hook.
+
+ The function previously called a custom update config function made for merging an Astro config. Now it calls the appropriate `mergeConfig()` utility exported by Vite that updates functional options correctly.
+
+- [#13303](https://github.com/withastro/astro/pull/13303) [`5f72a58`](https://github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where the dev server was applying second decoding of the URL of the incoming request, causing issues for certain URLs.
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b), [`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/internal-helpers@0.6.0
+ - @astrojs/markdown-remark@6.2.0
+
## 5.3.1
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index e41c0a703..c30b76a44 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "5.3.1",
+ "version": "5.4.0",
"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 25d58907c..dd0101008 100644
--- a/packages/db/CHANGELOG.md
+++ b/packages/db/CHANGELOG.md
@@ -1,5 +1,14 @@
# @astrojs/db
+## 0.14.7
+
+### Patch Changes
+
+- [#13314](https://github.com/withastro/astro/pull/13314) [`797a948`](https://github.com/withastro/astro/commit/797a9480b23303329dd618633194cbfb3dccb459) Thanks [@jlebras](https://github.com/jlebras)! - Expose `ilike` function from `drizzle-orm`
+
+- Updated dependencies []:
+ - @astrojs/studio@0.1.4
+
## 0.14.6
### Patch Changes
diff --git a/packages/db/package.json b/packages/db/package.json
index 33695ec5e..85a414293 100644
--- a/packages/db/package.json
+++ b/packages/db/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/db",
- "version": "0.14.6",
+ "version": "0.14.7",
"description": "Add libSQL and Astro Studio support to your Astro site",
"license": "MIT",
"repository": {
diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md
index 7c217d6f1..3960f55b6 100644
--- a/packages/integrations/cloudflare/CHANGELOG.md
+++ b/packages/integrations/cloudflare/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/cloudflare
+## 12.2.3
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/internal-helpers@0.6.0
+ - @astrojs/underscore-redirects@0.6.0
+
## 12.2.2
### Patch Changes
diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json
index a336d195d..e3695034f 100644
--- a/packages/integrations/cloudflare/package.json
+++ b/packages/integrations/cloudflare/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/cloudflare",
"description": "Deploy your site to Cloudflare Workers/Pages",
- "version": "12.2.2",
+ "version": "12.2.3",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md
index 4685ff5eb..ebfb47f97 100644
--- a/packages/integrations/markdoc/CHANGELOG.md
+++ b/packages/integrations/markdoc/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/markdoc
+## 0.12.10
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b), [`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/internal-helpers@0.6.0
+ - @astrojs/markdown-remark@6.2.0
+
## 0.12.9
### Patch Changes
diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json
index 3505bab00..bcca070cf 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.12.9",
+ "version": "0.12.10",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md
index 840864ac3..ab539eb5f 100644
--- a/packages/integrations/mdx/CHANGELOG.md
+++ b/packages/integrations/mdx/CHANGELOG.md
@@ -1,5 +1,22 @@
# @astrojs/mdx
+## 4.1.0
+
+### Minor Changes
+
+- [#13254](https://github.com/withastro/astro/pull/13254) [`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@p0lyw0lf](https://github.com/p0lyw0lf)! - Adds the ability to process and optimize remote images in Markdown syntax in MDX files.
+
+ Previously, Astro only allowed local images to be optimized when included using `![]()` syntax. Astro's image service could only display remote images without any processing.
+
+ Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager.
+
+ No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the JSX `<img/>` tag instead. Note that images located in your `public/` folder are still never processed.
+
+### Patch Changes
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/markdown-remark@6.2.0
+
## 4.0.8
### Patch Changes
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json
index 73ea24f2d..b004dcc21 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.8",
+ "version": "4.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md
index e66f678a8..37d0d1fe5 100644
--- a/packages/integrations/netlify/CHANGELOG.md
+++ b/packages/integrations/netlify/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/netlify
+## 6.2.2
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/internal-helpers@0.6.0
+ - @astrojs/underscore-redirects@0.6.0
+
## 6.2.1
### Patch Changes
diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json
index e0b2ca7ac..c76de5389 100644
--- a/packages/integrations/netlify/package.json
+++ b/packages/integrations/netlify/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/netlify",
"description": "Deploy your site to Netlify",
- "version": "6.2.1",
+ "version": "6.2.2",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md
index 9ab01c0de..d04804d42 100644
--- a/packages/integrations/node/CHANGELOG.md
+++ b/packages/integrations/node/CHANGELOG.md
@@ -1,5 +1,12 @@
# @astrojs/node
+## 9.1.2
+
+### Patch Changes
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/internal-helpers@0.6.0
+
## 9.1.1
### Patch Changes
diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json
index cb145377d..5a0d630f1 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": "9.1.1",
+ "version": "9.1.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 90728cbd4..b0141b2c4 100644
--- a/packages/integrations/preact/CHANGELOG.md
+++ b/packages/integrations/preact/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/preact
+## 4.0.5
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
## 4.0.4
### Patch Changes
diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json
index 1eae0ab51..1b54bb4b6 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": "4.0.4",
+ "version": "4.0.5",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md
index 71e09c120..0681749d8 100644
--- a/packages/integrations/react/CHANGELOG.md
+++ b/packages/integrations/react/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/react
+## 4.2.1
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
## 4.2.0
### Minor Changes
diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json
index 62804823e..8044c1cbe 100644
--- a/packages/integrations/react/package.json
+++ b/packages/integrations/react/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/react",
"description": "Use React components within Astro",
- "version": "4.2.0",
+ "version": "4.2.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md
index 8ff4dd69e..e8f175fd0 100644
--- a/packages/integrations/solid/CHANGELOG.md
+++ b/packages/integrations/solid/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/solid-js
+## 5.0.5
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
## 5.0.4
### Patch Changes
diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json
index 378d07536..dc950b036 100644
--- a/packages/integrations/solid/package.json
+++ b/packages/integrations/solid/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/solid-js",
- "version": "5.0.4",
+ "version": "5.0.5",
"description": "Use Solid components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md
index 9eb3c0cb4..d91a16cdf 100644
--- a/packages/integrations/svelte/CHANGELOG.md
+++ b/packages/integrations/svelte/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/svelte
+## 7.0.5
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
## 7.0.4
### Patch Changes
diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json
index ef7d79ef5..9711f1f67 100644
--- a/packages/integrations/svelte/package.json
+++ b/packages/integrations/svelte/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/svelte",
- "version": "7.0.4",
+ "version": "7.0.5",
"description": "Use Svelte components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md
index 57fd93bc6..ff47e0ca6 100644
--- a/packages/integrations/vercel/CHANGELOG.md
+++ b/packages/integrations/vercel/CHANGELOG.md
@@ -1,5 +1,40 @@
# @astrojs/vercel
+## 8.1.0
+
+### Minor Changes
+
+- [#13211](https://github.com/withastro/astro/pull/13211) [`7ea0aba`](https://github.com/withastro/astro/commit/7ea0aba053a70cc572c59cef2adc7cd07becfcd2) Thanks [@slawekkolodziej](https://github.com/slawekkolodziej)! - Adds support for regular expressions in ISR exclude list
+
+ Previously, excluding a page from ISR required explicitly listing it in `isr.exclude`. As websites grew larger, maintaining this list became increasingly difficult, especially for multiple API routes and pages that needed server-side rendering.
+
+ To address this, ISR exclusions now support regular expressions, allowing for more flexible and scalable configurations.
+
+ ```js
+ // astro.config.mjs
+ import vercel from '@astrojs/vercel/serverless';
+
+ export default defineConfig({
+ output: 'server',
+ adapter: vercel({
+ isr: {
+ exclude: [
+ '/preview', // Excludes a specific route (e.g., pages/preview.astro)
+ '/auth/[page]', // Excludes a dynamic route (e.g., pages/auth/[page].astro)
+ /^\/api\/.+/, // Excludes all routes starting with /api/
+ ],
+ },
+ }),
+ });
+ ```
+
+### Patch Changes
+
+- [#13323](https://github.com/withastro/astro/pull/13323) [`80926fa`](https://github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@ematipico](https://github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`.
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/internal-helpers@0.6.0
+
## 8.0.8
### Patch Changes
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index 3aba865a5..9e4291dd7 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": "8.0.8",
+ "version": "8.1.0",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/packages/internal-helpers/CHANGELOG.md b/packages/internal-helpers/CHANGELOG.md
index c42740dda..10c9c588f 100644
--- a/packages/internal-helpers/CHANGELOG.md
+++ b/packages/internal-helpers/CHANGELOG.md
@@ -1,5 +1,13 @@
# @astrojs/internal-helpers
+## 0.6.0
+
+### Minor Changes
+
+- [#13254](https://github.com/withastro/astro/pull/13254) [`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@p0lyw0lf](https://github.com/p0lyw0lf)! - Adds remote URL filtering utilities
+
+ This adds logic to filter remote URLs so that it can be used by both `astro` and `@astrojs/markdown-remark`.
+
## 0.5.1
### Patch Changes
diff --git a/packages/internal-helpers/package.json b/packages/internal-helpers/package.json
index aa58997cd..98a3d6816 100644
--- a/packages/internal-helpers/package.json
+++ b/packages/internal-helpers/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/internal-helpers",
"description": "Internal helpers used by core Astro packages.",
- "version": "0.5.1",
+ "version": "0.6.0",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md
index e63889311..71d14f628 100644
--- a/packages/markdown/remark/CHANGELOG.md
+++ b/packages/markdown/remark/CHANGELOG.md
@@ -1,5 +1,22 @@
# @astrojs/markdown-remark
+## 6.2.0
+
+### Minor Changes
+
+- [#13254](https://github.com/withastro/astro/pull/13254) [`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@p0lyw0lf](https://github.com/p0lyw0lf)! - Adds remote image optimization in Markdown
+
+ Previously, an internal remark plugin only looked for images in `![]()` syntax that referred to a relative file path. This meant that only local images stored in `src/` were passed through to an internal rehype plugin that would transform them for later processing by Astro's image service.
+
+ Now, the plugins recognize and transform both local and remote images using this syntax. Only [authorized remote images specified in your config](https://docs.astro.build/en/guides/images/#authorizing-remote-images) are transformed; remote images from other sources will not be processed.
+
+ While not configurable at this time, this process outputs two separate metadata fields (`localImagePaths` and `remoteImagePaths`) which allow for the possibility of controlling the behavior of each type of image separately in the future.
+
+### Patch Changes
+
+- Updated dependencies [[`1e11f5e`](https://github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
+ - @astrojs/internal-helpers@0.6.0
+
## 6.1.0
### Minor Changes
diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json
index 5ad883a73..4e8ee2f83 100644
--- a/packages/markdown/remark/package.json
+++ b/packages/markdown/remark/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/markdown-remark",
- "version": "6.1.0",
+ "version": "6.2.0",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 35746a5fa..17be65061 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -142,13 +142,13 @@ importers:
examples/basics:
dependencies:
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/blog:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.8
+ specifier: ^4.1.0
version: link:../../packages/integrations/mdx
'@astrojs/rss':
specifier: ^4.0.11
@@ -157,22 +157,22 @@ importers:
specifier: ^3.2.1
version: link:../../packages/integrations/sitemap
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/component:
devDependencies:
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/container-with-vitest:
dependencies:
'@astrojs/react':
- specifier: ^4.2.0
+ specifier: ^4.2.1
version: link:../../packages/integrations/react
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -203,22 +203,22 @@ importers:
specifier: ^3.14.8
version: 3.14.8
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/framework-multiple:
dependencies:
'@astrojs/preact':
- specifier: ^4.0.4
+ specifier: ^4.0.5
version: link:../../packages/integrations/preact
'@astrojs/react':
- specifier: ^4.2.0
+ specifier: ^4.2.1
version: link:../../packages/integrations/react
'@astrojs/solid-js':
- specifier: ^5.0.4
+ specifier: ^5.0.5
version: link:../../packages/integrations/solid
'@astrojs/svelte':
- specifier: ^7.0.4
+ specifier: ^7.0.5
version: link:../../packages/integrations/svelte
'@astrojs/vue':
specifier: ^5.0.7
@@ -230,7 +230,7 @@ importers:
specifier: ^18.3.5
version: 18.3.5(@types/react@18.3.18)
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
preact:
specifier: ^10.25.4
@@ -254,13 +254,13 @@ importers:
examples/framework-preact:
dependencies:
'@astrojs/preact':
- specifier: ^4.0.4
+ specifier: ^4.0.5
version: link:../../packages/integrations/preact
'@preact/signals':
specifier: ^2.0.1
version: 2.0.1(preact@10.25.4)
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
preact:
specifier: ^10.25.4
@@ -269,7 +269,7 @@ importers:
examples/framework-react:
dependencies:
'@astrojs/react':
- specifier: ^4.2.0
+ specifier: ^4.2.1
version: link:../../packages/integrations/react
'@types/react':
specifier: ^18.3.18
@@ -278,7 +278,7 @@ importers:
specifier: ^18.3.5
version: 18.3.5(@types/react@18.3.18)
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
react:
specifier: ^18.3.1
@@ -290,10 +290,10 @@ importers:
examples/framework-solid:
dependencies:
'@astrojs/solid-js':
- specifier: ^5.0.4
+ specifier: ^5.0.5
version: link:../../packages/integrations/solid
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
solid-js:
specifier: ^1.9.4
@@ -302,10 +302,10 @@ importers:
examples/framework-svelte:
dependencies:
'@astrojs/svelte':
- specifier: ^7.0.4
+ specifier: ^7.0.5
version: link:../../packages/integrations/svelte
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
svelte:
specifier: ^5.19.7
@@ -317,7 +317,7 @@ importers:
specifier: ^5.0.7
version: link:../../packages/integrations/vue
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
vue:
specifier: ^3.5.13
@@ -326,40 +326,40 @@ importers:
examples/hackernews:
dependencies:
'@astrojs/node':
- specifier: ^9.1.1
+ specifier: ^9.1.2
version: link:../../packages/integrations/node
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/integration:
devDependencies:
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/minimal:
dependencies:
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/portfolio:
dependencies:
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/ssr:
dependencies:
'@astrojs/node':
- specifier: ^9.1.1
+ specifier: ^9.1.2
version: link:../../packages/integrations/node
'@astrojs/svelte':
- specifier: ^7.0.4
+ specifier: ^7.0.5
version: link:../../packages/integrations/svelte
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
svelte:
specifier: ^5.19.7
@@ -368,7 +368,7 @@ importers:
examples/starlog:
dependencies:
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
sass:
specifier: ^1.83.4
@@ -383,28 +383,28 @@ importers:
specifier: ^18.17.8
version: 18.19.50
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/with-markdoc:
dependencies:
'@astrojs/markdoc':
- specifier: ^0.12.9
+ specifier: ^0.12.10
version: link:../../packages/integrations/markdoc
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
examples/with-mdx:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.8
+ specifier: ^4.1.0
version: link:../../packages/integrations/mdx
'@astrojs/preact':
- specifier: ^4.0.4
+ specifier: ^4.0.5
version: link:../../packages/integrations/preact
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
preact:
specifier: ^10.25.4
@@ -413,13 +413,13 @@ importers:
examples/with-nanostores:
dependencies:
'@astrojs/preact':
- specifier: ^4.0.4
+ specifier: ^4.0.5
version: link:../../packages/integrations/preact
'@nanostores/preact':
specifier: ^0.5.2
version: 0.5.2(nanostores@0.11.3)(preact@10.25.4)
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
nanostores:
specifier: ^0.11.3
@@ -431,7 +431,7 @@ importers:
examples/with-tailwindcss:
dependencies:
'@astrojs/mdx':
- specifier: ^4.0.8
+ specifier: ^4.1.0
version: link:../../packages/integrations/mdx
'@tailwindcss/vite':
specifier: ^4.0.3
@@ -440,7 +440,7 @@ importers:
specifier: ^1.9.0
version: 1.9.0
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
canvas-confetti:
specifier: ^1.9.3
@@ -452,7 +452,7 @@ importers:
examples/with-vitest:
dependencies:
astro:
- specifier: ^5.3.1
+ specifier: ^5.4.0
version: link:../../packages/astro
vitest:
specifier: ^3.0.5