diff options
author | 2024-04-11 04:24:47 -0700 | |
---|---|---|
committer | 2024-04-11 13:24:47 +0200 | |
commit | 66bc1041d4fbef95d624fc9bff0c3f9ced4638c2 (patch) | |
tree | 81dd90a2528c781476d61e8255a569a3b53f9254 | |
parent | 908645d9ddfa58fbbe2b5d160d94b7d531ccf7a6 (diff) | |
download | astro-66bc1041d4fbef95d624fc9bff0c3f9ced4638c2.tar.gz astro-66bc1041d4fbef95d624fc9bff0c3f9ced4638c2.tar.zst astro-66bc1041d4fbef95d624fc9bff0c3f9ced4638c2.zip |
[ci] release (#10739)create-astro@4.8.0astro@4.6.0@astrojs/vue@4.1.0@astrojs/upgrade@0.3.0@astrojs/telemetry@3.1.0@astrojs/svelte@5.4.0@astrojs/solid-js@4.1.0@astrojs/react@3.3.0@astrojs/prism@3.1.0@astrojs/preact@3.2.0@astrojs/mdx@2.3.0@astrojs/markdown-remark@5.1.0@astrojs/markdoc@0.10.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
64 files changed, 345 insertions, 267 deletions
diff --git a/.changeset/calm-mails-check.md b/.changeset/calm-mails-check.md deleted file mode 100644 index 7de709c1b..000000000 --- a/.changeset/calm-mails-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixes an issue where functions could not be used as named slots. diff --git a/.changeset/cold-snakes-train.md b/.changeset/cold-snakes-train.md deleted file mode 100644 index 0bab4f40e..000000000 --- a/.changeset/cold-snakes-train.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -"@astrojs/markdown-remark": minor ---- - -Adds a `data-language` attribute on the rendered `pre` elements to expose the highlighted syntax language. - -For example, the following Markdown code block will expose `data-language="python"`: -``` -\```python -def func(): - print('Hello Astro!') -\``` -``` - -This allows retrieving the language in a rehype plugin from `node.properties.dataLanguage` by accessing the `<pre>` element using `{ tagName: "pre" }`: -```js -// myRehypePre.js -import { visit } from "unist-util-visit"; -export default function myRehypePre() { - return (tree) => { - visit(tree, { tagName: "pre" }, (node) => { - const lang = node.properties.dataLanguage; - [...] - }); - }; -} -``` - -Note: The `<pre>` element is not exposed when using Astro's `<Code />` component which outputs flattened HTML. - - -The `data-language` attribute may also be used in css rules: -```css -pre::before { - content: attr(data-language); -} - -pre[data-language="javascript"] { - font-size: 2rem; -} -``` - diff --git a/.changeset/dry-eels-yell.md b/.changeset/dry-eels-yell.md deleted file mode 100644 index 3b7a20f3a..000000000 --- a/.changeset/dry-eels-yell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": minor ---- - -Adds a new dev toolbar settings option to change the horizontal placement of the dev toolbar on your screen: bottom left, bottom center, or bottom right. diff --git a/.changeset/empty-rules-type.md b/.changeset/empty-rules-type.md deleted file mode 100644 index afd185e98..000000000 --- a/.changeset/empty-rules-type.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@astrojs/markdoc": minor -"@astrojs/preact": minor -"@astrojs/svelte": minor -"@astrojs/react": minor -"@astrojs/solid-js": minor -"@astrojs/mdx": minor -"@astrojs/vue": minor -"create-astro": minor -"@astrojs/prism": minor -"@astrojs/telemetry": minor -"@astrojs/upgrade": minor -"astro": minor ---- - -Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. - -This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). diff --git a/.changeset/fair-jars-behave.md b/.changeset/fair-jars-behave.md deleted file mode 100644 index 700b1b883..000000000 --- a/.changeset/fair-jars-behave.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -"astro": minor ---- - -Adds a new experimental security option to prevent [Cross-Site Request Forgery (CSRF) attacks](https://owasp.org/www-community/attacks/csrf). This feature is available only for pages rendered on demand: - -```js -import { defineConfig } from "astro/config" -export default defineConfig({ - experimental: { - security: { - csrfProtection: { - origin: true - } - } - } -}) -``` - -Enabling this setting performs a check that the "origin" header, automatically passed by all modern browsers, matches the URL sent by each `Request`. - -This experimental "origin" check is executed only for pages rendered on demand, and only for the requests `POST, `PATCH`, `DELETE` and `PUT` with one of the following `content-type` headers: 'application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'. - -It the "origin" header doesn't match the pathname of the request, Astro will return a 403 status code and won't render the page. diff --git a/.changeset/few-mails-kiss.md b/.changeset/few-mails-kiss.md deleted file mode 100644 index 6bf4fed23..000000000 --- a/.changeset/few-mails-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixes a false positive for "Invalid `tabindex` on non-interactive element" rule for roleless elements ( `div` and `span` ). diff --git a/.changeset/late-spoons-knock.md b/.changeset/late-spoons-knock.md deleted file mode 100644 index 0cca6ce61..000000000 --- a/.changeset/late-spoons-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixes an issue where CLI commands could not report the reason for failure before exiting. diff --git a/.changeset/little-hornets-give.md b/.changeset/little-hornets-give.md deleted file mode 100644 index fdbb6492e..000000000 --- a/.changeset/little-hornets-give.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -"astro": minor ---- - -Adds a new i18n routing option `manual` to allow you to write your own i18n middleware: - -```js -import { defineConfig } from "astro/config" -// astro.config.mjs -export default defineConfig({ - i18n: { - locales: ["en", "fr"], - defaultLocale: "fr", - routing: "manual" - } -}) -``` - -Adding `routing: "manual"` to your i18n config disables Astro's own i18n middleware and provides you with helper functions to write your own: `redirectToDefaultLocale`, `notFound`, and `redirectToFallback`: - -```js -// middleware.js -import { redirectToDefaultLocale } from "astro:i18n"; -export const onRequest = defineMiddleware(async (context, next) => { - if (context.url.startsWith("/about")) { - return next() - } else { - return redirectToDefaultLocale(context, 302); - } -}) -``` - -Also adds a `middleware` function that manually creates Astro's i18n middleware. This allows you to extend Astro's i18n routing instead of completely replacing it. Run `middleware` in combination with your own middleware, using the `sequence` utility to determine the order: - -```js title="src/middleware.js" -import {defineMiddleware, sequence} from "astro:middleware"; -import { middleware } from "astro:i18n"; // Astro's own i18n routing config - -export const userMiddleware = defineMiddleware(); - -export const onRequest = sequence( - userMiddleware, - middleware({ - redirectToDefaultLocale: false, - prefixDefaultLocale: true - }) -) -``` diff --git a/.changeset/shaggy-cats-film.md b/.changeset/shaggy-cats-film.md deleted file mode 100644 index 4aaecea6c..000000000 --- a/.changeset/shaggy-cats-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": minor ---- - -Adds the `httpOnly`, `sameSite`, and `secure` options when deleting a cookie diff --git a/.changeset/short-flies-itch.md b/.changeset/short-flies-itch.md deleted file mode 100644 index 929bdec52..000000000 --- a/.changeset/short-flies-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixed errorOverlay theme toggle bug. diff --git a/examples/basics/package.json b/examples/basics/package.json index 40fc8695d..e69673599 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 6a3c24b57..03925559a 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.2.4", + "@astrojs/mdx": "^2.3.0", "@astrojs/rss": "^4.0.5", "@astrojs/sitemap": "^3.1.2", - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 3d946e417..422950059 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.5.18" + "astro": "^4.6.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 4a604ab94..c8d8d8655 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.5", "alpinejs": "^3.13.3", - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 7a95577ae..407d65877 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.0.1", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.5.18", + "astro": "^4.6.0", "lit": "^3.1.2" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 2e5900dad..43ded5197 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -11,14 +11,14 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^3.1.2", - "@astrojs/react": "^3.2.0", - "@astrojs/solid-js": "^4.0.1", - "@astrojs/svelte": "^5.3.0", - "@astrojs/vue": "^4.0.11", + "@astrojs/preact": "^3.2.0", + "@astrojs/react": "^3.3.0", + "@astrojs/solid-js": "^4.1.0", + "@astrojs/svelte": "^5.4.0", + "@astrojs/vue": "^4.1.0", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", - "astro": "^4.5.18", + "astro": "^4.6.0", "preact": "^10.19.2", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 5fcdaa794..870bd442e 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^3.1.2", + "@astrojs/preact": "^3.2.0", "@preact/signals": "^1.2.1", - "astro": "^4.5.18", + "astro": "^4.6.0", "preact": "^10.19.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 726c9f1ba..3ea028b46 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/react": "^3.2.0", + "@astrojs/react": "^3.3.0", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", - "astro": "^4.5.18", + "astro": "^4.6.0", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index d15776f40..0695f05c1 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/solid-js": "^4.0.1", - "astro": "^4.5.18", + "@astrojs/solid-js": "^4.1.0", + "astro": "^4.6.0", "solid-js": "^1.8.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 806691556..bc2f8ce3d 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^5.3.0", - "astro": "^4.5.18", + "@astrojs/svelte": "^5.4.0", + "astro": "^4.6.0", "svelte": "^4.2.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 042b0878f..f6044a907 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/vue": "^4.0.11", - "astro": "^4.5.18", + "@astrojs/vue": "^4.1.0", + "astro": "^4.6.0", "vue": "^3.3.8" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index f243a46a1..3c45703a6 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.2.5", - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index d10058c6c..f9b5103ce 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.5.18" + "astro": "^4.6.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index ff0365f19..d078dcaee 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.2.5", - "astro": "^4.5.18", + "astro": "^4.6.0", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index c6008d010..a0b8dfcb1 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index f9637318d..3b7608d70 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index ef688cad5..9eb3b2b97 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 2833723dd..667ed53e1 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,8 +13,8 @@ }, "dependencies": { "@astrojs/node": "^8.2.5", - "@astrojs/svelte": "^5.3.0", - "astro": "^4.5.18", + "@astrojs/svelte": "^5.4.0", + "astro": "^4.6.0", "svelte": "^4.2.5" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 57bd5fb7b..e9efca280 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.5.18", + "astro": "^4.6.0", "sass": "^1.69.5", "sharp": "^0.32.6" } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index ff75bb8c5..26fe5823c 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.2.5", - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index a14607f9a..193589627 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.9.5", - "astro": "^4.5.18" + "@astrojs/markdoc": "^0.10.0", + "astro": "^4.6.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index d24c98b8b..449c58d70 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdown-remark": "^5.0.0", - "astro": "^4.5.18", + "@astrojs/markdown-remark": "^5.1.0", + "astro": "^4.6.0", "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 6145c14ac..493ec1a85 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.5.18" + "astro": "^4.6.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 878740030..c996b8422 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.2.4", - "@astrojs/preact": "^3.1.2", - "astro": "^4.5.18", + "@astrojs/mdx": "^2.3.0", + "@astrojs/preact": "^3.2.0", + "astro": "^4.6.0", "preact": "^10.19.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 47312f426..7fe2f1dab 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/preact": "^3.1.2", + "@astrojs/preact": "^3.2.0", "@nanostores/preact": "^0.5.0", - "astro": "^4.5.18", + "astro": "^4.6.0", "nanostores": "^0.9.5", "preact": "^10.19.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index d3696d1e5..20020732a 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.2.4", + "@astrojs/mdx": "^2.3.0", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.3", - "astro": "^4.5.18", + "astro": "^4.6.0", "autoprefixer": "^10.4.15", "canvas-confetti": "^1.9.1", "postcss": "^8.4.28", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index fbbbcfd90..b408fa719 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.5.18", + "astro": "^4.6.0", "vitest": "^1.3.1" } } diff --git a/packages/astro-prism/CHANGELOG.md b/packages/astro-prism/CHANGELOG.md index 35f7f5106..9a1b8ba9c 100644 --- a/packages/astro-prism/CHANGELOG.md +++ b/packages/astro-prism/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/prism +## 3.1.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 3.0.0 ### Major Changes diff --git a/packages/astro-prism/package.json b/packages/astro-prism/package.json index 584ebce93..0a10a764e 100644 --- a/packages/astro-prism/package.json +++ b/packages/astro-prism/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/prism", - "version": "3.0.0", + "version": "3.1.0", "description": "Add Prism syntax highlighting support to your Astro site", "author": "withastro", "type": "module", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 4450a20e0..d38f80b01 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,97 @@ # astro +## 4.6.0 + +### Minor Changes + +- [#10591](https://github.com/withastro/astro/pull/10591) [`39988ef8e2c4c4888543c973e06d9b9939e4ac95`](https://github.com/withastro/astro/commit/39988ef8e2c4c4888543c973e06d9b9939e4ac95) Thanks [@mingjunlu](https://github.com/mingjunlu)! - Adds a new dev toolbar settings option to change the horizontal placement of the dev toolbar on your screen: bottom left, bottom center, or bottom right. + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + +- [#10678](https://github.com/withastro/astro/pull/10678) [`2e53b5fff6d292b7acdf8c30a6ecf5e5696846a1`](https://github.com/withastro/astro/commit/2e53b5fff6d292b7acdf8c30a6ecf5e5696846a1) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new experimental security option to prevent [Cross-Site Request Forgery (CSRF) attacks](https://owasp.org/www-community/attacks/csrf). This feature is available only for pages rendered on demand: + + ```js + import { defineConfig } from 'astro/config'; + export default defineConfig({ + experimental: { + security: { + csrfProtection: { + origin: true, + }, + }, + }, + }); + ``` + + Enabling this setting performs a check that the "origin" header, automatically passed by all modern browsers, matches the URL sent by each `Request`. + + This experimental "origin" check is executed only for pages rendered on demand, and only for the requests `POST, `PATCH`, `DELETE`and`PUT`with one of the following`content-type` headers: 'application/x-www-form-urlencoded', 'multipart/form-data', 'text/plain'. + + It the "origin" header doesn't match the pathname of the request, Astro will return a 403 status code and won't render the page. + +- [#10193](https://github.com/withastro/astro/pull/10193) [`440681e7b74511a17b152af0fd6e0e4dc4014025`](https://github.com/withastro/astro/commit/440681e7b74511a17b152af0fd6e0e4dc4014025) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new i18n routing option `manual` to allow you to write your own i18n middleware: + + ```js + import { defineConfig } from 'astro/config'; + // astro.config.mjs + export default defineConfig({ + i18n: { + locales: ['en', 'fr'], + defaultLocale: 'fr', + routing: 'manual', + }, + }); + ``` + + Adding `routing: "manual"` to your i18n config disables Astro's own i18n middleware and provides you with helper functions to write your own: `redirectToDefaultLocale`, `notFound`, and `redirectToFallback`: + + ```js + // middleware.js + import { redirectToDefaultLocale } from 'astro:i18n'; + export const onRequest = defineMiddleware(async (context, next) => { + if (context.url.startsWith('/about')) { + return next(); + } else { + return redirectToDefaultLocale(context, 302); + } + }); + ``` + + Also adds a `middleware` function that manually creates Astro's i18n middleware. This allows you to extend Astro's i18n routing instead of completely replacing it. Run `middleware` in combination with your own middleware, using the `sequence` utility to determine the order: + + ```js title="src/middleware.js" + import { defineMiddleware, sequence } from 'astro:middleware'; + import { middleware } from 'astro:i18n'; // Astro's own i18n routing config + + export const userMiddleware = defineMiddleware(); + + export const onRequest = sequence( + userMiddleware, + middleware({ + redirectToDefaultLocale: false, + prefixDefaultLocale: true, + }) + ); + ``` + +- [#10671](https://github.com/withastro/astro/pull/10671) [`9e14a78cb05667af9821948c630786f74680090d`](https://github.com/withastro/astro/commit/9e14a78cb05667af9821948c630786f74680090d) Thanks [@fshafiee](https://github.com/fshafiee)! - Adds the `httpOnly`, `sameSite`, and `secure` options when deleting a cookie + +### Patch Changes + +- [#10747](https://github.com/withastro/astro/pull/10747) [`994337c99f84304df1147a14504659439a9a7326`](https://github.com/withastro/astro/commit/994337c99f84304df1147a14504659439a9a7326) Thanks [@lilnasy](https://github.com/lilnasy)! - Fixes an issue where functions could not be used as named slots. + +- [#10750](https://github.com/withastro/astro/pull/10750) [`7e825604ddf90c989537e07939a39dc249343897`](https://github.com/withastro/astro/commit/7e825604ddf90c989537e07939a39dc249343897) Thanks [@OliverSpeir](https://github.com/OliverSpeir)! - Fixes a false positive for "Invalid `tabindex` on non-interactive element" rule for roleless elements ( `div` and `span` ). + +- [#10745](https://github.com/withastro/astro/pull/10745) [`d51951ce6278d4b59deed938d65e1cb72b5102df`](https://github.com/withastro/astro/commit/d51951ce6278d4b59deed938d65e1cb72b5102df) Thanks [@lilnasy](https://github.com/lilnasy)! - Fixes an issue where CLI commands could not report the reason for failure before exiting. + +- [#10661](https://github.com/withastro/astro/pull/10661) [`e2cd7f4291912dadd4a654bc7917856c58a72a97`](https://github.com/withastro/astro/commit/e2cd7f4291912dadd4a654bc7917856c58a72a97) Thanks [@liruifengv](https://github.com/liruifengv)! - Fixed errorOverlay theme toggle bug. + +- Updated dependencies [[`ccafa8d230f65c9302421a0ce0a0adc5824bfd55`](https://github.com/withastro/astro/commit/ccafa8d230f65c9302421a0ce0a0adc5824bfd55), [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99)]: + - @astrojs/markdown-remark@5.1.0 + - @astrojs/telemetry@3.1.0 + ## 4.5.18 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index ed449d256..e60cb18a8 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.5.18", + "version": "4.6.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/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 57bb2669e..d5e3320bb 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,13 @@ # create-astro +## 4.8.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 4.7.5 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 4b2fc5872..c6822ccf5 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "4.7.5", + "version": "4.8.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 53b68a9eb..83f7dae2f 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,19 @@ # @astrojs/markdoc +## 0.10.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + +### Patch Changes + +- Updated dependencies [[`ccafa8d230f65c9302421a0ce0a0adc5824bfd55`](https://github.com/withastro/astro/commit/ccafa8d230f65c9302421a0ce0a0adc5824bfd55), [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99)]: + - @astrojs/markdown-remark@5.1.0 + - @astrojs/prism@3.1.0 + ## 0.9.5 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 883d61f30..c928fbb20 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.9.5", + "version": "0.10.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index e5bc40fa8..105babf12 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,18 @@ # @astrojs/mdx +## 2.3.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + +### Patch Changes + +- Updated dependencies [[`ccafa8d230f65c9302421a0ce0a0adc5824bfd55`](https://github.com/withastro/astro/commit/ccafa8d230f65c9302421a0ce0a0adc5824bfd55)]: + - @astrojs/markdown-remark@5.1.0 + ## 2.2.4 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 4fc7d2b9a..ac9e775a6 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": "2.2.4", + "version": "2.3.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md index 0d4f2c207..f9d76a983 100644 --- a/packages/integrations/preact/CHANGELOG.md +++ b/packages/integrations/preact/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/preact +## 3.2.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 3.1.2 ### Patch Changes diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index 9861046d1..31256b838 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.1.2", + "version": "3.2.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/react/CHANGELOG.md b/packages/integrations/react/CHANGELOG.md index 97d33dad7..aa8f833b6 100644 --- a/packages/integrations/react/CHANGELOG.md +++ b/packages/integrations/react/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/react +## 3.3.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 3.2.0 ### Minor Changes diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index b7555bf28..b69eb9449 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": "3.2.0", + "version": "3.3.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/solid/CHANGELOG.md b/packages/integrations/solid/CHANGELOG.md index 560f87beb..201de6445 100644 --- a/packages/integrations/solid/CHANGELOG.md +++ b/packages/integrations/solid/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/solid-js +## 4.1.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 4.0.1 ### Patch Changes diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 819759a7b..95e1bf194 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/solid-js", - "version": "4.0.1", + "version": "4.1.0", "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 a532cc744..1a033face 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/svelte +## 5.4.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 5.3.0 ### Minor Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 0c7c77b50..499a8bf84 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "5.3.0", + "version": "5.4.0", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index 8d050d16a..e4fd2db61 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/vue +## 4.1.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 4.0.11 ### Patch Changes diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 18f48bfff..db48b34b3 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/vue", - "version": "4.0.11", + "version": "4.1.0", "description": "Use Vue components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index d90ae3f8d..916ff1210 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,54 @@ # @astrojs/markdown-remark +## 5.1.0 + +### Minor Changes + +- [#10538](https://github.com/withastro/astro/pull/10538) [`ccafa8d230f65c9302421a0ce0a0adc5824bfd55`](https://github.com/withastro/astro/commit/ccafa8d230f65c9302421a0ce0a0adc5824bfd55) Thanks [@604qgc](https://github.com/604qgc)! - Adds a `data-language` attribute on the rendered `pre` elements to expose the highlighted syntax language. + + For example, the following Markdown code block will expose `data-language="python"`: + + ```` + \```python + def func(): + print('Hello Astro!') + \``` + ```` + + This allows retrieving the language in a rehype plugin from `node.properties.dataLanguage` by accessing the `<pre>` element using `{ tagName: "pre" }`: + + ```js + // myRehypePre.js + import { visit } from "unist-util-visit"; + export default function myRehypePre() { + return (tree) => { + visit(tree, { tagName: "pre" }, (node) => { + const lang = node.properties.dataLanguage; + [...] + }); + }; + } + ``` + + Note: The `<pre>` element is not exposed when using Astro's `<Code />` component which outputs flattened HTML. + + The `data-language` attribute may also be used in css rules: + + ```css + pre::before { + content: attr(data-language); + } + + pre[data-language='javascript'] { + font-size: 2rem; + } + ``` + +### Patch Changes + +- Updated dependencies [[`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99)]: + - @astrojs/prism@3.1.0 + ## 5.0.0 ### Major Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 19df22236..5e2c8975c 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "5.0.0", + "version": "5.1.0", "type": "module", "author": "withastro", "license": "MIT", @@ -34,7 +34,7 @@ "test": "astro-scripts test \"test/**/*.test.js\"" }, "dependencies": { - "@astrojs/prism": "^3.0.0", + "@astrojs/prism": "^3.1.0", "github-slugger": "^2.0.0", "hast-util-from-html": "^2.0.0", "hast-util-to-text": "^4.0.0", diff --git a/packages/telemetry/CHANGELOG.md b/packages/telemetry/CHANGELOG.md index 1d4cdff53..b6c39c3b3 100644 --- a/packages/telemetry/CHANGELOG.md +++ b/packages/telemetry/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/telemetry +## 3.1.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 3.0.4 ### Patch Changes diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index d325fec14..9c4d269bf 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/telemetry", - "version": "3.0.4", + "version": "3.1.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/upgrade/CHANGELOG.md b/packages/upgrade/CHANGELOG.md index 2f68c8428..8689cbe8d 100644 --- a/packages/upgrade/CHANGELOG.md +++ b/packages/upgrade/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/upgrade +## 0.3.0 + +### Minor Changes + +- [#10689](https://github.com/withastro/astro/pull/10689) [`683d51a5eecafbbfbfed3910a3f1fbf0b3531b99`](https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99) Thanks [@ematipico](https://github.com/ematipico)! - Deprecate support for versions of Node.js older than `v18.17.1` for Node.js 18, older than `v20.0.3` for Node.js 20, and the complete Node.js v19 release line. + + This change is in line with Astro's [Node.js support policy](https://docs.astro.build/en/upgrade-astro/#support). + ## 0.2.3 ### Patch Changes diff --git a/packages/upgrade/package.json b/packages/upgrade/package.json index 4869b0b0b..9612dbbfb 100644 --- a/packages/upgrade/package.json +++ b/packages/upgrade/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/upgrade", - "version": "0.2.3", + "version": "0.3.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72bef2899..84b9c8e64 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,13 +134,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^2.2.4 + specifier: ^2.3.0 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.5 @@ -149,13 +149,13 @@ importers: specifier: ^3.1.2 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/framework-alpine: @@ -170,7 +170,7 @@ importers: specifier: ^3.13.3 version: 3.13.8 astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/framework-lit: @@ -182,7 +182,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro lit: specifier: ^3.1.2 @@ -191,19 +191,19 @@ importers: examples/framework-multiple: dependencies: '@astrojs/preact': - specifier: ^3.1.2 + specifier: ^3.2.0 version: link:../../packages/integrations/preact '@astrojs/react': - specifier: ^3.2.0 + specifier: ^3.3.0 version: link:../../packages/integrations/react '@astrojs/solid-js': - specifier: ^4.0.1 + specifier: ^4.1.0 version: link:../../packages/integrations/solid '@astrojs/svelte': - specifier: ^5.3.0 + specifier: ^5.4.0 version: link:../../packages/integrations/svelte '@astrojs/vue': - specifier: ^4.0.11 + specifier: ^4.1.0 version: link:../../packages/integrations/vue '@types/react': specifier: ^18.2.37 @@ -212,7 +212,7 @@ importers: specifier: ^18.2.15 version: 18.2.24 astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -236,13 +236,13 @@ importers: examples/framework-preact: dependencies: '@astrojs/preact': - specifier: ^3.1.2 + specifier: ^3.2.0 version: link:../../packages/integrations/preact '@preact/signals': specifier: ^1.2.1 version: 1.2.1(preact@10.20.1) astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -251,7 +251,7 @@ importers: examples/framework-react: dependencies: '@astrojs/react': - specifier: ^3.2.0 + specifier: ^3.3.0 version: link:../../packages/integrations/react '@types/react': specifier: ^18.2.37 @@ -260,7 +260,7 @@ importers: specifier: ^18.2.15 version: 18.2.24 astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro react: specifier: ^18.2.0 @@ -272,10 +272,10 @@ importers: examples/framework-solid: dependencies: '@astrojs/solid-js': - specifier: ^4.0.1 + specifier: ^4.1.0 version: link:../../packages/integrations/solid astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro solid-js: specifier: ^1.8.5 @@ -284,10 +284,10 @@ importers: examples/framework-svelte: dependencies: '@astrojs/svelte': - specifier: ^5.3.0 + specifier: ^5.4.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -296,10 +296,10 @@ importers: examples/framework-vue: dependencies: '@astrojs/vue': - specifier: ^4.0.11 + specifier: ^4.1.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro vue: specifier: ^3.3.8 @@ -311,13 +311,13 @@ importers: specifier: ^8.2.5 version: link:../../packages/integrations/node astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/middleware: @@ -326,7 +326,7 @@ importers: specifier: ^8.2.5 version: link:../../packages/integrations/node astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -339,19 +339,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/ssr: @@ -360,10 +360,10 @@ importers: specifier: ^8.2.5 version: link:../../packages/integrations/node '@astrojs/svelte': - specifier: ^5.3.0 + specifier: ^5.4.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -372,7 +372,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro sass: specifier: ^1.69.5 @@ -390,25 +390,25 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.9.5 + specifier: ^0.10.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/with-markdown-plugins: dependencies: '@astrojs/markdown-remark': - specifier: ^5.0.0 + specifier: ^5.1.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -429,19 +429,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^2.2.4 + specifier: ^2.3.0 version: link:../../packages/integrations/mdx '@astrojs/preact': - specifier: ^3.1.2 + specifier: ^3.2.0 version: link:../../packages/integrations/preact astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -450,13 +450,13 @@ importers: examples/with-nanostores: dependencies: '@astrojs/preact': - specifier: ^3.1.2 + specifier: ^3.2.0 version: link:../../packages/integrations/preact '@nanostores/preact': specifier: ^0.5.0 version: 0.5.1(nanostores@0.9.5)(preact@10.20.1) astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro nanostores: specifier: ^0.9.5 @@ -468,7 +468,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^2.2.4 + specifier: ^2.3.0 version: link:../../packages/integrations/mdx '@astrojs/tailwind': specifier: ^5.1.0 @@ -477,7 +477,7 @@ importers: specifier: ^1.6.3 version: 1.6.4 astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro autoprefixer: specifier: ^10.4.15 @@ -495,7 +495,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.5.18 + specifier: ^4.6.0 version: link:../../packages/astro vitest: specifier: ^1.3.1 @@ -5333,7 +5333,7 @@ importers: packages/markdown/remark: dependencies: '@astrojs/prism': - specifier: ^3.0.0 + specifier: ^3.1.0 version: link:../../astro-prism github-slugger: specifier: ^2.0.0 |