diff options
60 files changed, 284 insertions, 296 deletions
diff --git a/.changeset/calm-socks-shake.md b/.changeset/calm-socks-shake.md deleted file mode 100644 index 79f462d29..000000000 --- a/.changeset/calm-socks-shake.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@astrojs/markdown-remark": minor -"astro": minor ---- - -Allows remark plugins to pass options specifying how images in `.md` files will be optimized diff --git a/.changeset/cool-foxes-talk.md b/.changeset/cool-foxes-talk.md deleted file mode 100644 index 4513661a8..000000000 --- a/.changeset/cool-foxes-talk.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -"astro": minor ---- - -Adds new helper functions for adapter developers. - -- `Astro.clientAddress` can now be passed directly to the `app.render()` method. -```ts -const response = await app.render(request, { clientAddress: "012.123.23.3" }) -``` - -- Helper functions for converting Node.js HTTP request and response objects to web-compatible `Request` and `Response` objects are now provided as static methods on the `NodeApp` class. -```ts -http.createServer((nodeReq, nodeRes) => { - const request: Request = NodeApp.createRequest(nodeReq) - const response = await app.render(request) - await NodeApp.writeResponse(response, nodeRes) -}) -``` - -- Cookies added via `Astro.cookies.set()` can now be automatically added to the `Response` object by passing the `addCookieHeader` option to `app.render()`. -```diff --const response = await app.render(request) --const setCookieHeaders: Array<string> = Array.from(app.setCookieHeaders(webResponse)); - --if (setCookieHeaders.length) { -- for (const setCookieHeader of setCookieHeaders) { -- headers.append('set-cookie', setCookieHeader); -- } --} -+const response = await app.render(request, { addCookieHeader: true }) -``` diff --git a/.changeset/curly-seals-count.md b/.changeset/curly-seals-count.md deleted file mode 100644 index f88178b8c..000000000 --- a/.changeset/curly-seals-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/sitemap": patch ---- - -Fixes generated URLs when using a `base` with a SSR adapter diff --git a/.changeset/curvy-seas-explain.md b/.changeset/curvy-seas-explain.md deleted file mode 100644 index debdb45a9..000000000 --- a/.changeset/curvy-seas-explain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/mdx": patch ---- - -Removes redundant HMR handling code diff --git a/.changeset/cyan-grapes-suffer.md b/.changeset/cyan-grapes-suffer.md deleted file mode 100644 index 84833c42b..000000000 --- a/.changeset/cyan-grapes-suffer.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -"astro": minor ---- - - -Adds a new `i18n.routing` config option `redirectToDefaultLocale` to disable automatic redirects of the root URL (`/`) to the default locale when `prefixDefaultLocale: true` is set. - -In projects where every route, including the default locale, is prefixed with `/[locale]/` path, this property allows you to control whether or not `src/pages/index.astro` should automatically redirect your site visitors from `/` to `/[defaultLocale]`. - -You can now opt out of this automatic redirection by setting `redirectToDefaultLocale: false`: - -```js -// astro.config.mjs -export default defineConfig({ - i18n:{ - defaultLocale: "en", - locales: ["en", "fr"], - routing: { - prefixDefaultLocale: true, - redirectToDefaultLocale: false - } - } -}) -``` diff --git a/.changeset/early-cups-poke.md b/.changeset/early-cups-poke.md deleted file mode 100644 index d4f816dce..000000000 --- a/.changeset/early-cups-poke.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@astrojs/vercel": major ---- - -**Breaking**: Minimum required Astro version is now 4.2.0. -Reorganizes internals to be more maintainable. ---- diff --git a/.changeset/green-rivers-speak.md b/.changeset/green-rivers-speak.md deleted file mode 100644 index 777486878..000000000 --- a/.changeset/green-rivers-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Refactors Vite config to avoid Vite 5.1 warnings diff --git a/.changeset/itchy-clouds-invite.md b/.changeset/itchy-clouds-invite.md deleted file mode 100644 index 67dc73f08..000000000 --- a/.changeset/itchy-clouds-invite.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"astro": minor ---- - -Removes the requirement for non-content files and assets inside content collections to be prefixed with an underscore. For files with extensions like `.astro` or `.css`, you can now remove underscores without seeing a warning in the terminal. - -```diff -src/content/blog/ -post.mdx -- _styles.css -- _Component.astro -+ styles.css -+ Component.astro -``` - -Continue to use underscores in your content collections to exclude individual content files, such as drafts, from the build output. diff --git a/.changeset/orange-trainers-learn.md b/.changeset/orange-trainers-learn.md deleted file mode 100644 index 8b6e059bd..000000000 --- a/.changeset/orange-trainers-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": minor ---- - -Improves the a11y-missing-content rule and error message for audit feature of dev-overlay. This also fixes an error where this check was falsely reporting accessibility errors. diff --git a/.changeset/polite-dogs-join.md b/.changeset/polite-dogs-join.md deleted file mode 100644 index 3bb0128d6..000000000 --- a/.changeset/polite-dogs-join.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/markdoc": patch ---- - -Removes unnecessary `shikiji` dependency diff --git a/.changeset/short-keys-bow.md b/.changeset/short-keys-bow.md deleted file mode 100644 index bead5326c..000000000 --- a/.changeset/short-keys-bow.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"astro": patch ---- - -Updates [Astro's routing priority rules](https://docs.astro.build/en/core-concepts/routing/#route-priority-order) to prioritize the most specifically-defined routes. - -Now, routes with **more defined path segments** will take precedence over less specific routes. - -For example, `/blog/posts/[pid].astro` (3 path segments) takes precedence over `/blog/[...slug].astro` (2 path segments). This means that: - -- `/pages/blog/posts/[id].astro` will build routes of the form `/blog/posts/1` and `/blog/posts/a` -- `/pages/blog/[...slug].astro` will build routes of a variety of forms, including `blog/1` and `/blog/posts/1/a`, but will not build either of the previous routes. - -For a complete list of Astro's routing priority rules, please see the [routing guide](https://docs.astro.build/en/core-concepts/routing/#route-priority-order). This should not be a breaking change, but you may wish to inspect your built routes to ensure that your project is unaffected. - - diff --git a/.changeset/six-scissors-worry.md b/.changeset/six-scissors-worry.md deleted file mode 100644 index ebba0da66..000000000 --- a/.changeset/six-scissors-worry.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@astrojs/markdown-remark": minor -"astro": minor ---- - -Adds a new `markdown.shikiConfig.transformers` config option. You can use this option to transform the Shikiji hast (AST format of the generated HTML) to customize the final HTML. Also updates Shikiji to the latest stable version. - -See [Shikiji's documentation](https://shikiji.netlify.app/guide/transformers) for more details about creating your own custom transformers, and [a list of common transformers](https://shikiji.netlify.app/packages/transformers) you can add directly to your project. diff --git a/.changeset/sixty-dogs-sneeze.md b/.changeset/sixty-dogs-sneeze.md deleted file mode 100644 index 13f892328..000000000 --- a/.changeset/sixty-dogs-sneeze.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -"astro": minor ---- - -Adds an experimental flag `clientPrerender` to prerender your prefetched pages on the client with the [Speculation Rules API](https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API). - -```js -// astro.config.mjs -{ - prefetch: { - prefetchAll: true, - defaultStrategy: 'viewport', - }, - experimental: { - clientPrerender: true, - }, -} -``` - -Enabling this feature overrides the default `prefetch` behavior globally to prerender links on the client according to your `prefetch` configuration. Instead of appending a `<link>` tag to the head of the document or fetching the page with JavaScript, a `<script>` tag will be appended with the corresponding speculation rules. - -Client side prerendering requires browser support. If the Speculation Rules API is not supported, `prefetch` will fallback to the supported strategy. - -See the [Prefetch Guide](https://docs.astro.build/en/guides/prefetch/) for more `prefetch` options and usage.
\ No newline at end of file diff --git a/.changeset/smooth-cobras-help.md b/.changeset/smooth-cobras-help.md deleted file mode 100644 index 80e368124..000000000 --- a/.changeset/smooth-cobras-help.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -'astro': minor ---- - -Adds an experimental flag `globalRoutePriority` to prioritize redirects and injected routes equally alongside file-based project routes, following the same [route priority order rules](https://docs.astro.build/en/core-concepts/routing/#route-priority-order) for all routes. - -```js -// astro.config.mjs -export default defineConfig({ - experimental: { - globalRoutePriority: true, - }, -}) -``` - -Enabling this feature ensures that all routes in your project follow the same, predictable route priority order rules. In particular, this avoids an issue where redirects or injected routes (e.g. from an integration) would always take precedence over local route definitions, making it impossible to override some routes locally. - -The following table shows which route builds certain page URLs when file-based routes, injected routes, and redirects are combined as shown below: - -- File-based route: `/blog/post/[pid]` -- File-based route: `/[page]` -- Injected route: `/blog/[...slug]` -- Redirect: `/blog/tags/[tag]` -> `/[tag]` -- Redirect: `/posts` -> `/blog` - -URLs are handled by the following routes: - -| Page | Current Behavior | Global Routing Priority Behavior | -|--------------------|----------------------------------|-------------------------------------| -| `/blog/tags/astro` | Injected route `/blog/[...slug]` | Redirect to `/tags/[tag]` | -| `/blog/post/0` | Injected route `/blog/[...slug]` | File-based route `/blog/post/[pid]` | -| `/posts` | File-based route `/[page]` | Redirect to `/blog` | - -In the event of route collisions, where two routes of equal route priority attempt to build the same URL, Astro will log a warning identifying the conflicting routes. diff --git a/.changeset/tame-squids-film.md b/.changeset/tame-squids-film.md deleted file mode 100644 index d5d295621..000000000 --- a/.changeset/tame-squids-film.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/node': major ---- - -If host is unset in standalone mode, the server host will now fallback to `localhost` instead of `127.0.0.1`. When `localhost` is used, the operating system can decide to use either `::1` (ipv6) or `127.0.0.1` (ipv4) itself. This aligns with how the Astro dev and preview server works by default. - -If you relied on `127.0.0.1` (ipv4) before, you can set the `HOST` environment variable to `127.0.0.1` to explicitly use ipv4. For example, `HOST=127.0.0.1 node ./dist/server/entry.mjs`. diff --git a/.changeset/tidy-planets-whisper.md b/.changeset/tidy-planets-whisper.md deleted file mode 100644 index 885fb1577..000000000 --- a/.changeset/tidy-planets-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Simplifies HMR handling, improves circular dependency invalidation, and fixes Astro styles invalidation diff --git a/.changeset/unlucky-stingrays-clean.md b/.changeset/unlucky-stingrays-clean.md deleted file mode 100644 index c13fd500f..000000000 --- a/.changeset/unlucky-stingrays-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/node": patch ---- - -Fixes an issue where the preview server appeared to be ready to serve requests before binding to a port. diff --git a/.changeset/weak-apes-add.md b/.changeset/weak-apes-add.md deleted file mode 100644 index b8723453e..000000000 --- a/.changeset/weak-apes-add.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@astrojs/node": major ---- - -**Breaking**: Minimum required Astro version is now 4.2.0. -Reorganizes internals to be more maintainable. diff --git a/examples/basics/package.json b/examples/basics/package.json index 941e0b408..4396a8c5e 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.1.3" + "astro": "^4.2.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index ae9bc24d2..9e34110bc 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.0.4", + "@astrojs/mdx": "^2.0.5", "@astrojs/rss": "^4.0.2", - "@astrojs/sitemap": "^3.0.4", - "astro": "^4.1.3" + "@astrojs/sitemap": "^3.0.5", + "astro": "^4.2.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index c2c8433f0..e46b14f1a 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.1.3" + "astro": "^4.2.0" }, "peerDependencies": { "astro": "^3.0.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index d56c68cc3..d9ea812a2 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.3.2", "@types/alpinejs": "^3.13.5", "alpinejs": "^3.13.3", - "astro": "^4.1.3" + "astro": "^4.2.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 0c9816a02..75dfbf86d 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.1.3", + "astro": "^4.2.0", "lit": "^2.8.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index b54c64408..df1693cad 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -16,7 +16,7 @@ "@astrojs/solid-js": "^4.0.1", "@astrojs/svelte": "^5.0.3", "@astrojs/vue": "^4.0.8", - "astro": "^4.1.3", + "astro": "^4.2.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 b76ac00e3..2f0cd2402 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.1.0", "@preact/signals": "^1.2.1", - "astro": "^4.1.3", + "astro": "^4.2.0", "preact": "^10.19.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 7101154de..d5bef8771 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.0.9", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", - "astro": "^4.1.3", + "astro": "^4.2.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 6cdf8aaf4..1c675eb89 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.0.1", - "astro": "^4.1.3", + "astro": "^4.2.0", "solid-js": "^1.8.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 3056dd566..95d33eeb4 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.0.3", - "astro": "^4.1.3", + "astro": "^4.2.0", "svelte": "^4.2.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index e98d28c01..a6bf53e60 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.0.8", - "astro": "^4.1.3", + "astro": "^4.2.0", "vue": "^3.3.8" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index ec897abe8..85e3d3a4e 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^7.0.4", - "astro": "^4.1.3" + "@astrojs/node": "^8.0.0", + "astro": "^4.2.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index b17f23479..a3cb5a1c2 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.1.3" + "astro": "^4.2.0" }, "peerDependencies": { "astro": "^3.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 498a0c4e0..ceba29d50 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -12,8 +12,8 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^7.0.4", - "astro": "^4.1.3", + "@astrojs/node": "^8.0.0", + "astro": "^4.2.0", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 5345a28cc..3b4bd48ae 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.1.3" + "astro": "^4.2.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 2f821a795..cebb677f9 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.1.3" + "astro": "^4.2.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index deb724694..17b2adb49 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.1.3" + "astro": "^4.2.0" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 397de9f18..f0bae9b7d 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,9 +12,9 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^7.0.4", + "@astrojs/node": "^8.0.0", "@astrojs/svelte": "^5.0.3", - "astro": "^4.1.3", + "astro": "^4.2.0", "svelte": "^4.2.5" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 4977e65a4..d55016e30 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.1.3", + "astro": "^4.2.0", "sass": "^1.69.5", "sharp": "^0.32.6" } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index d18269f14..cfe9fc710 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^5.1.0", - "@astrojs/node": "^7.0.4", - "astro": "^4.1.3" + "@astrojs/node": "^8.0.0", + "astro": "^4.2.0" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index c36ec5d00..f43178c5a 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.8.2", - "astro": "^4.1.3" + "@astrojs/markdoc": "^0.8.3", + "astro": "^4.2.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index bbcf10a1f..e7af1d922 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": "^4.0.1", - "astro": "^4.1.3", + "@astrojs/markdown-remark": "^4.1.0", + "astro": "^4.2.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 8005d9204..fbaf776f5 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.1.3" + "astro": "^4.2.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 9a6b8c273..ee41060d3 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.0.4", + "@astrojs/mdx": "^2.0.5", "@astrojs/preact": "^3.1.0", - "astro": "^4.1.3", + "astro": "^4.2.0", "preact": "^10.19.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 52be8a171..e32f8276d 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.1.0", "@nanostores/preact": "^0.5.0", - "astro": "^4.1.3", + "astro": "^4.2.0", "nanostores": "^0.9.5", "preact": "^10.19.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 138dfc1b8..7a8b64cd1 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^2.0.4", + "@astrojs/mdx": "^2.0.5", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.3", - "astro": "^4.1.3", + "astro": "^4.2.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 a800e538b..5166450c1 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.1.3", + "astro": "^4.2.0", "vitest": "^0.34.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 1847bd231..629cd5232 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,154 @@ # astro +## 4.2.0 + +### Minor Changes + +- [#9566](https://github.com/withastro/astro/pull/9566) [`165cfc154be477337037185c32b308616d1ed6fa`](https://github.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa) Thanks [@OliverSpeir](https://github.com/OliverSpeir)! - Allows remark plugins to pass options specifying how images in `.md` files will be optimized + +- [#9661](https://github.com/withastro/astro/pull/9661) [`d6edc7540864cf5d294d7b881eb886a3804f6d05`](https://github.com/withastro/astro/commit/d6edc7540864cf5d294d7b881eb886a3804f6d05) Thanks [@ematipico](https://github.com/ematipico)! - Adds new helper functions for adapter developers. + + - `Astro.clientAddress` can now be passed directly to the `app.render()` method. + + ```ts + const response = await app.render(request, { clientAddress: '012.123.23.3' }); + ``` + + - Helper functions for converting Node.js HTTP request and response objects to web-compatible `Request` and `Response` objects are now provided as static methods on the `NodeApp` class. + + ```ts + http.createServer((nodeReq, nodeRes) => { + const request: Request = NodeApp.createRequest(nodeReq); + const response = await app.render(request); + await NodeApp.writeResponse(response, nodeRes); + }); + ``` + + - Cookies added via `Astro.cookies.set()` can now be automatically added to the `Response` object by passing the `addCookieHeader` option to `app.render()`. + + ```diff + -const response = await app.render(request) + -const setCookieHeaders: Array<string> = Array.from(app.setCookieHeaders(webResponse)); + + -if (setCookieHeaders.length) { + - for (const setCookieHeader of setCookieHeaders) { + - headers.append('set-cookie', setCookieHeader); + - } + -} + +const response = await app.render(request, { addCookieHeader: true }) + ``` + +- [#9638](https://github.com/withastro/astro/pull/9638) [`f1a61268061b8834f39a9b38bca043ae41caed04`](https://github.com/withastro/astro/commit/f1a61268061b8834f39a9b38bca043ae41caed04) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new `i18n.routing` config option `redirectToDefaultLocale` to disable automatic redirects of the root URL (`/`) to the default locale when `prefixDefaultLocale: true` is set. + + In projects where every route, including the default locale, is prefixed with `/[locale]/` path, this property allows you to control whether or not `src/pages/index.astro` should automatically redirect your site visitors from `/` to `/[defaultLocale]`. + + You can now opt out of this automatic redirection by setting `redirectToDefaultLocale: false`: + + ```js + // astro.config.mjs + export default defineConfig({ + i18n: { + defaultLocale: 'en', + locales: ['en', 'fr'], + routing: { + prefixDefaultLocale: true, + redirectToDefaultLocale: false, + }, + }, + }); + ``` + +- [#9671](https://github.com/withastro/astro/pull/9671) [`8521ff77fbf7e867701cc30d18253856914dbd1b`](https://github.com/withastro/astro/commit/8521ff77fbf7e867701cc30d18253856914dbd1b) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Removes the requirement for non-content files and assets inside content collections to be prefixed with an underscore. For files with extensions like `.astro` or `.css`, you can now remove underscores without seeing a warning in the terminal. + + ```diff + src/content/blog/ + post.mdx + - _styles.css + - _Component.astro + + styles.css + + Component.astro + ``` + + Continue to use underscores in your content collections to exclude individual content files, such as drafts, from the build output. + +- [#9567](https://github.com/withastro/astro/pull/9567) [`3a4d5ec8001ebf95c917fdc0d186d29650533d93`](https://github.com/withastro/astro/commit/3a4d5ec8001ebf95c917fdc0d186d29650533d93) Thanks [@OliverSpeir](https://github.com/OliverSpeir)! - Improves the a11y-missing-content rule and error message for audit feature of dev-overlay. This also fixes an error where this check was falsely reporting accessibility errors. + +- [#9643](https://github.com/withastro/astro/pull/9643) [`e9a72d9a91a3741566866bcaab11172cb0dc7d31`](https://github.com/withastro/astro/commit/e9a72d9a91a3741566866bcaab11172cb0dc7d31) Thanks [@blackmann](https://github.com/blackmann)! - Adds a new `markdown.shikiConfig.transformers` config option. You can use this option to transform the Shikiji hast (AST format of the generated HTML) to customize the final HTML. Also updates Shikiji to the latest stable version. + + See [Shikiji's documentation](https://shikiji.netlify.app/guide/transformers) for more details about creating your own custom transformers, and [a list of common transformers](https://shikiji.netlify.app/packages/transformers) you can add directly to your project. + +- [#9644](https://github.com/withastro/astro/pull/9644) [`a5f1682347e602330246129d4666a9227374c832`](https://github.com/withastro/astro/commit/a5f1682347e602330246129d4666a9227374c832) Thanks [@rossrobino](https://github.com/rossrobino)! - Adds an experimental flag `clientPrerender` to prerender your prefetched pages on the client with the [Speculation Rules API](https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API). + + ```js + // astro.config.mjs + { + prefetch: { + prefetchAll: true, + defaultStrategy: 'viewport', + }, + experimental: { + clientPrerender: true, + }, + } + ``` + + Enabling this feature overrides the default `prefetch` behavior globally to prerender links on the client according to your `prefetch` configuration. Instead of appending a `<link>` tag to the head of the document or fetching the page with JavaScript, a `<script>` tag will be appended with the corresponding speculation rules. + + Client side prerendering requires browser support. If the Speculation Rules API is not supported, `prefetch` will fallback to the supported strategy. + + See the [Prefetch Guide](https://docs.astro.build/en/guides/prefetch/) for more `prefetch` options and usage. + +- [#9439](https://github.com/withastro/astro/pull/9439) [`fd17f4a40b83d14350dce691aeb79d87e8fcaf40`](https://github.com/withastro/astro/commit/fd17f4a40b83d14350dce691aeb79d87e8fcaf40) Thanks [@Fryuni](https://github.com/Fryuni)! - Adds an experimental flag `globalRoutePriority` to prioritize redirects and injected routes equally alongside file-based project routes, following the same [route priority order rules](https://docs.astro.build/en/core-concepts/routing/#route-priority-order) for all routes. + + ```js + // astro.config.mjs + export default defineConfig({ + experimental: { + globalRoutePriority: true, + }, + }); + ``` + + Enabling this feature ensures that all routes in your project follow the same, predictable route priority order rules. In particular, this avoids an issue where redirects or injected routes (e.g. from an integration) would always take precedence over local route definitions, making it impossible to override some routes locally. + + The following table shows which route builds certain page URLs when file-based routes, injected routes, and redirects are combined as shown below: + + - File-based route: `/blog/post/[pid]` + - File-based route: `/[page]` + - Injected route: `/blog/[...slug]` + - Redirect: `/blog/tags/[tag]` -> `/[tag]` + - Redirect: `/posts` -> `/blog` + + URLs are handled by the following routes: + + | Page | Current Behavior | Global Routing Priority Behavior | + | ------------------ | -------------------------------- | ----------------------------------- | + | `/blog/tags/astro` | Injected route `/blog/[...slug]` | Redirect to `/tags/[tag]` | + | `/blog/post/0` | Injected route `/blog/[...slug]` | File-based route `/blog/post/[pid]` | + | `/posts` | File-based route `/[page]` | Redirect to `/blog` | + + In the event of route collisions, where two routes of equal route priority attempt to build the same URL, Astro will log a warning identifying the conflicting routes. + +### Patch Changes + +- [#9719](https://github.com/withastro/astro/pull/9719) [`7e1db8b4ce2da9e044ea0393e533c6db2561ac90`](https://github.com/withastro/astro/commit/7e1db8b4ce2da9e044ea0393e533c6db2561ac90) Thanks [@bluwy](https://github.com/bluwy)! - Refactors Vite config to avoid Vite 5.1 warnings + +- [#9439](https://github.com/withastro/astro/pull/9439) [`fd17f4a40b83d14350dce691aeb79d87e8fcaf40`](https://github.com/withastro/astro/commit/fd17f4a40b83d14350dce691aeb79d87e8fcaf40) Thanks [@Fryuni](https://github.com/Fryuni)! - Updates [Astro's routing priority rules](https://docs.astro.build/en/core-concepts/routing/#route-priority-order) to prioritize the most specifically-defined routes. + + Now, routes with **more defined path segments** will take precedence over less specific routes. + + For example, `/blog/posts/[pid].astro` (3 path segments) takes precedence over `/blog/[...slug].astro` (2 path segments). This means that: + + - `/pages/blog/posts/[id].astro` will build routes of the form `/blog/posts/1` and `/blog/posts/a` + - `/pages/blog/[...slug].astro` will build routes of a variety of forms, including `blog/1` and `/blog/posts/1/a`, but will not build either of the previous routes. + + For a complete list of Astro's routing priority rules, please see the [routing guide](https://docs.astro.build/en/core-concepts/routing/#route-priority-order). This should not be a breaking change, but you may wish to inspect your built routes to ensure that your project is unaffected. + +- [#9706](https://github.com/withastro/astro/pull/9706) [`1539e04a8e5865027b3a8718c6f142885e7c8d88`](https://github.com/withastro/astro/commit/1539e04a8e5865027b3a8718c6f142885e7c8d88) Thanks [@bluwy](https://github.com/bluwy)! - Simplifies HMR handling, improves circular dependency invalidation, and fixes Astro styles invalidation + +- Updated dependencies [[`165cfc154be477337037185c32b308616d1ed6fa`](https://github.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa), [`e9a72d9a91a3741566866bcaab11172cb0dc7d31`](https://github.com/withastro/astro/commit/e9a72d9a91a3741566866bcaab11172cb0dc7d31)]: + - @astrojs/markdown-remark@4.1.0 + ## 4.1.3 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index e1743f8f6..b5b289fc8 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.1.3", + "version": "4.2.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/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index d6226c5d1..c4b877e20 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/markdoc +## 0.8.3 + +### Patch Changes + +- [#9643](https://github.com/withastro/astro/pull/9643) [`e9a72d9a91a3741566866bcaab11172cb0dc7d31`](https://github.com/withastro/astro/commit/e9a72d9a91a3741566866bcaab11172cb0dc7d31) Thanks [@blackmann](https://github.com/blackmann)! - Removes unnecessary `shikiji` dependency + ## 0.8.2 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 0c6a997f0..d22aad19c 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.8.2", + "version": "0.8.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index c431d0d8a..f33c85ea8 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,14 @@ # @astrojs/mdx +## 2.0.5 + +### Patch Changes + +- [#9706](https://github.com/withastro/astro/pull/9706) [`1539e04a8e5865027b3a8718c6f142885e7c8d88`](https://github.com/withastro/astro/commit/1539e04a8e5865027b3a8718c6f142885e7c8d88) Thanks [@bluwy](https://github.com/bluwy)! - Removes redundant HMR handling code + +- Updated dependencies [[`165cfc154be477337037185c32b308616d1ed6fa`](https://github.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa), [`e9a72d9a91a3741566866bcaab11172cb0dc7d31`](https://github.com/withastro/astro/commit/e9a72d9a91a3741566866bcaab11172cb0dc7d31)]: + - @astrojs/markdown-remark@4.1.0 + ## 2.0.4 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 8eb5244f7..e36d05e2d 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.0.4", + "version": "2.0.5", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md index 671048924..20fc634bf 100644 --- a/packages/integrations/node/CHANGELOG.md +++ b/packages/integrations/node/CHANGELOG.md @@ -1,5 +1,20 @@ # @astrojs/node +## 8.0.0 + +### Major Changes + +- [#9661](https://github.com/withastro/astro/pull/9661) [`d6edc7540864cf5d294d7b881eb886a3804f6d05`](https://github.com/withastro/astro/commit/d6edc7540864cf5d294d7b881eb886a3804f6d05) Thanks [@ematipico](https://github.com/ematipico)! - If host is unset in standalone mode, the server host will now fallback to `localhost` instead of `127.0.0.1`. When `localhost` is used, the operating system can decide to use either `::1` (ipv6) or `127.0.0.1` (ipv4) itself. This aligns with how the Astro dev and preview server works by default. + + If you relied on `127.0.0.1` (ipv4) before, you can set the `HOST` environment variable to `127.0.0.1` to explicitly use ipv4. For example, `HOST=127.0.0.1 node ./dist/server/entry.mjs`. + +- [#9661](https://github.com/withastro/astro/pull/9661) [`d6edc7540864cf5d294d7b881eb886a3804f6d05`](https://github.com/withastro/astro/commit/d6edc7540864cf5d294d7b881eb886a3804f6d05) Thanks [@ematipico](https://github.com/ematipico)! - **Breaking**: Minimum required Astro version is now 4.2.0. + Reorganizes internals to be more maintainable. + +### Patch Changes + +- [#9661](https://github.com/withastro/astro/pull/9661) [`d6edc7540864cf5d294d7b881eb886a3804f6d05`](https://github.com/withastro/astro/commit/d6edc7540864cf5d294d7b881eb886a3804f6d05) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where the preview server appeared to be ready to serve requests before binding to a port. + ## 7.0.4 ### Patch Changes diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index 347eba0d6..d23d1f339 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": "7.0.4", + "version": "8.0.0", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/sitemap/CHANGELOG.md b/packages/integrations/sitemap/CHANGELOG.md index 557f8edef..a6ee0c46c 100644 --- a/packages/integrations/sitemap/CHANGELOG.md +++ b/packages/integrations/sitemap/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/sitemap +## 3.0.5 + +### Patch Changes + +- [#9704](https://github.com/withastro/astro/pull/9704) [`b325fada567892b63ecae87c1ff845c8514457ba`](https://github.com/withastro/astro/commit/b325fada567892b63ecae87c1ff845c8514457ba) Thanks [@andremralves](https://github.com/andremralves)! - Fixes generated URLs when using a `base` with a SSR adapter + ## 3.0.4 ### Patch Changes diff --git a/packages/integrations/sitemap/package.json b/packages/integrations/sitemap/package.json index 6d9f27508..c50359c73 100644 --- a/packages/integrations/sitemap/package.json +++ b/packages/integrations/sitemap/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/sitemap", "description": "Generate a sitemap for your Astro site", - "version": "3.0.4", + "version": "3.0.5", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md index f5d8e8f9f..879b771d1 100644 --- a/packages/integrations/vercel/CHANGELOG.md +++ b/packages/integrations/vercel/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/vercel +## 7.0.0 + +### Major Changes + +- [#9661](https://github.com/withastro/astro/pull/9661) [`d6edc7540864cf5d294d7b881eb886a3804f6d05`](https://github.com/withastro/astro/commit/d6edc7540864cf5d294d7b881eb886a3804f6d05) Thanks [@ematipico](https://github.com/ematipico)! - **Breaking**: Minimum required Astro version is now 4.2.0. + Reorganizes internals to be more maintainable. + *** + ## 6.1.4 ### Patch Changes diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index 1a8554783..e52eb6c39 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": "6.1.4", + "version": "7.0.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 6a53750b4..72023ae3c 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/markdown-remark +## 4.1.0 + +### Minor Changes + +- [#9566](https://github.com/withastro/astro/pull/9566) [`165cfc154be477337037185c32b308616d1ed6fa`](https://github.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa) Thanks [@OliverSpeir](https://github.com/OliverSpeir)! - Allows remark plugins to pass options specifying how images in `.md` files will be optimized + +- [#9643](https://github.com/withastro/astro/pull/9643) [`e9a72d9a91a3741566866bcaab11172cb0dc7d31`](https://github.com/withastro/astro/commit/e9a72d9a91a3741566866bcaab11172cb0dc7d31) Thanks [@blackmann](https://github.com/blackmann)! - Adds a new `markdown.shikiConfig.transformers` config option. You can use this option to transform the Shikiji hast (AST format of the generated HTML) to customize the final HTML. Also updates Shikiji to the latest stable version. + + See [Shikiji's documentation](https://shikiji.netlify.app/guide/transformers) for more details about creating your own custom transformers, and [a list of common transformers](https://shikiji.netlify.app/packages/transformers) you can add directly to your project. + ## 4.0.1 ### Patch Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 8594fcb2f..66ba1ddda 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "4.0.1", + "version": "4.1.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d806241e5..8b4be1d96 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,28 +125,28 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^2.0.4 + specifier: ^2.0.5 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.2 version: link:../../packages/astro-rss '@astrojs/sitemap': - specifier: ^3.0.4 + specifier: ^3.0.5 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/framework-alpine: @@ -161,7 +161,7 @@ importers: specifier: ^3.13.3 version: 3.13.3 astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/framework-lit: @@ -173,7 +173,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro lit: specifier: ^2.8.0 @@ -197,7 +197,7 @@ importers: specifier: ^4.0.8 version: link:../../packages/integrations/vue astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -227,7 +227,7 @@ importers: specifier: ^1.2.1 version: 1.2.1(preact@10.19.3) astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -245,7 +245,7 @@ importers: specifier: ^18.2.15 version: 18.2.18 astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro react: specifier: ^18.2.0 @@ -260,7 +260,7 @@ importers: specifier: ^4.0.1 version: link:../../packages/integrations/solid astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro solid-js: specifier: ^1.8.5 @@ -272,7 +272,7 @@ importers: specifier: ^5.0.3 version: link:../../packages/integrations/svelte astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -284,7 +284,7 @@ importers: specifier: ^4.0.8 version: link:../../packages/integrations/vue astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro vue: specifier: ^3.3.8 @@ -293,25 +293,25 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^7.0.4 + specifier: ^8.0.0 version: link:../../packages/integrations/node astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/middleware: dependencies: '@astrojs/node': - specifier: ^7.0.4 + specifier: ^8.0.0 version: link:../../packages/integrations/node astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -324,31 +324,31 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/ssr: dependencies: '@astrojs/node': - specifier: ^7.0.4 + specifier: ^8.0.0 version: link:../../packages/integrations/node '@astrojs/svelte': specifier: ^5.0.3 version: link:../../packages/integrations/svelte astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -357,7 +357,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro sass: specifier: ^1.69.5 @@ -369,31 +369,31 @@ importers: examples/view-transitions: devDependencies: '@astrojs/node': - specifier: ^7.0.4 + specifier: ^8.0.0 version: link:../../packages/integrations/node '@astrojs/tailwind': specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.8.2 + specifier: ^0.8.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/with-markdown-plugins: dependencies: '@astrojs/markdown-remark': - specifier: ^4.0.1 + specifier: ^4.1.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -414,19 +414,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^2.0.4 + specifier: ^2.0.5 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^3.1.0 version: link:../../packages/integrations/preact astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -441,7 +441,7 @@ importers: specifier: ^0.5.0 version: 0.5.0(nanostores@0.9.5)(preact@10.19.3) astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro nanostores: specifier: ^0.9.5 @@ -453,7 +453,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^2.0.4 + specifier: ^2.0.5 version: link:../../packages/integrations/mdx '@astrojs/tailwind': specifier: ^5.1.0 @@ -462,7 +462,7 @@ importers: specifier: ^1.6.3 version: 1.6.4 astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro autoprefixer: specifier: ^10.4.15 @@ -480,7 +480,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.1.3 + specifier: ^4.2.0 version: link:../../packages/astro vitest: specifier: ^0.34.2 |