diff --git a/.changeset/blue-colts-film.md b/.changeset/blue-colts-film.md deleted file mode 100644 index 9df2e9e56031..000000000000 --- a/.changeset/blue-colts-film.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@astrojs/db': minor ---- - -Removes the `AstroDbIntegration` type - -Astro integration hooks can now be extended and as such `@astrojs/db` no longer needs to declare it's own integration type. Using `AstroIntegration` will have the same type. - -If you were using the `AstroDbIntegration` type, apply this change to your integration code: - -```diff -- import { defineDbIntegration, type AstroDbIntegration } from '@astrojs/db/utils'; -+ import { defineDbIntegration } from '@astrojs/db/utils'; -import type { AstroIntegration } from 'astro'; - -- export default (): AstroDbIntegration => { -+ export default (): AstroIntegration => { - return defineDbIntegration({ - name: 'your-integration', - hooks: {}, - }); -} -``` diff --git a/.changeset/chilled-impalas-dance.md b/.changeset/chilled-impalas-dance.md deleted file mode 100644 index 51d6708011fd..000000000000 --- a/.changeset/chilled-impalas-dance.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes an issue where the development server was emitting a 404 status code when the user uses a rewrite that emits a 200 status code. diff --git a/.changeset/chilly-jokes-fold.md b/.changeset/chilly-jokes-fold.md deleted file mode 100644 index 3410cdeb95f9..000000000000 --- a/.changeset/chilly-jokes-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a case where invalid `astro:env` variables at runtime would not throw correctly diff --git a/.changeset/cold-crabs-arrive.md b/.changeset/cold-crabs-arrive.md deleted file mode 100644 index 6bde11b6a818..000000000000 --- a/.changeset/cold-crabs-arrive.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -'@astrojs/markdown-remark': minor -'astro': minor ---- - -Adds support for [Shiki's `defaultColor` option](https://shiki.style/guide/dual-themes#without-default-color). - -This option allows you to override the values of a theme's inline style, adding only CSS variables to give you more flexibility in applying multiple color themes. - -Configure `defaultColor: false` in your Shiki config to apply throughout your site, or pass to Astro's built-in `` component to style an individual code block. - -```js title="astro.config.mjs" -import { defineConfig } from 'astro/config'; -export default defineConfig({ - markdown: { - shikiConfig: { - themes: { - light: 'github-light', - dark: 'github-dark', - }, - defaultColor: false, - }, - }, -}); -``` - -```astro ---- -import { Code } from 'astro:components'; ---- - -``` diff --git a/.changeset/cuddly-days-relate.md b/.changeset/cuddly-days-relate.md deleted file mode 100644 index 359f19b9479b..000000000000 --- a/.changeset/cuddly-days-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Move root inside the manifest and make serialisable diff --git a/.changeset/curvy-otters-jog.md b/.changeset/curvy-otters-jog.md deleted file mode 100644 index 8bfa0a17ced7..000000000000 --- a/.changeset/curvy-otters-jog.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -'astro': minor ---- - -Refactors the type for integration hooks so that integration authors writing custom integration hooks can now allow runtime interactions between their integration and other integrations. - -This internal change should not break existing code for integration authors. - -To declare your own hooks for your integration, extend the `Astro.IntegrationHooks` interface: - -```ts -// your-integration/types.ts -declare global { - namespace Astro { - interface IntegrationHooks { - 'myLib:eventHappened': (your: string, parameters: number) => Promise; - } - } -} -``` - -Call your hooks on all other integrations installed in a project at the appropriate time. For example, you can call your hook on initialization before either the Vite or Astro config have resolved: - -```ts -// your-integration/index.ts -import './types.ts'; - -export default (): AstroIntegration => { - return { - name: 'your-integration', - hooks: { - 'astro:config:setup': async ({ config }) => { - for (const integration of config.integrations) { - await integration.hooks['myLib:eventHappened'].?('your values', 123); - } - }, - } - } -} -``` - -Other integrations can also now declare your hooks: - -```ts -// other-integration/index.ts -import 'your-integration/types.ts'; - -export default (): AstroIntegration => { - return { - name: 'other-integration', - hooks: { - 'myLib:eventHappened': async (your, values) => { - // ... - }, - } - } -} -``` diff --git a/.changeset/five-rocks-vanish.md b/.changeset/five-rocks-vanish.md deleted file mode 100644 index 7113deb2969b..000000000000 --- a/.changeset/five-rocks-vanish.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -'astro': minor ---- - -Experimental Server Islands - -Server Islands allow you to specify components that should run on the server, allowing the rest of the page to be more aggressively cached, or even generated statically. Turn any `.astro` component into a server island by adding the `server:defer` directive and optionally, fallback placeholder content: - -```astro ---- -import Avatar from '../components/Avatar.astro'; -import GenericUser from '../components/GenericUser.astro'; ---- - -
-

Page Title

-
- - - -
-
-``` - -The `server:defer` directive can be used on any Astro component in a project using `hybrid` or `server` mode with an adapter. There are no special APIs needed inside of the island. - -Enable server islands by adding the experimental flag to your Astro config with an appropriate `output` mode and adatper: - -```js -import { defineConfig } from 'astro/config'; -import netlify from '@astrojs/netlify'; - -export default defineConfig({ - output: 'hybrid', - adapter: netlify(), - experimental { - serverIslands: true, - }, -}); -``` - -For more information, see the [server islands documentation](https://docs.astro.build/en/reference/configuration-reference/#experimentalserverislands). diff --git a/.changeset/grumpy-dolphins-jump.md b/.changeset/grumpy-dolphins-jump.md deleted file mode 100644 index 3a900ef8effd..000000000000 --- a/.changeset/grumpy-dolphins-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Adds a `--noSync` parameter to the `astro check` command to skip the type-gen step. This can be useful when running `astro check` inside packages that have Astro components, but are not Astro projects diff --git a/.changeset/large-geese-play.md b/.changeset/large-geese-play.md deleted file mode 100644 index 2cfd9788df9a..000000000000 --- a/.changeset/large-geese-play.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"astro": minor ---- - -Adds a new `inferRemoteSize()` function that can be used to infer the dimensions of a remote image. - -Previously, the ability to infer these values was only available by adding the [`inferSize`] attribute to the `` and `` components or `getImage()`. Now, you can also access this data outside of these components. - -This is useful for when you need to know the dimensions of an image for styling purposes or to calculate different densities for responsive images. - -```astro ---- -import { inferRemoteSize, Image } from 'astro:assets'; - -const imageUrl = 'https://...'; -const { width, height } = await inferRemoteSize(imageUrl); ---- - - -``` diff --git a/.changeset/modern-buses-check.md b/.changeset/modern-buses-check.md deleted file mode 100644 index 3cf7482c1bf1..000000000000 --- a/.changeset/modern-buses-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Refactors how `sync` works and when it's called. Fixes an issue with `astro:env` types in dev not being generated diff --git a/.changeset/nine-carpets-doubt.md b/.changeset/nine-carpets-doubt.md deleted file mode 100644 index 5abe918afe65..000000000000 --- a/.changeset/nine-carpets-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/svelte': minor ---- - -Bumps Svelte 5 peer dependency to `^5.0.0-next.190` and support the latest slots/snippets API diff --git a/.changeset/seven-donuts-happen.md b/.changeset/seven-donuts-happen.md deleted file mode 100644 index cf6b85b5b958..000000000000 --- a/.changeset/seven-donuts-happen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Supports importing Astro components with Vite queries, like `?url`, `?raw`, and `?direct` diff --git a/.changeset/thin-dodos-serve.md b/.changeset/thin-dodos-serve.md deleted file mode 100644 index 72294343da66..000000000000 --- a/.changeset/thin-dodos-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Adds Shiki's [`defaultColor`](https://shiki.style/guide/dual-themes#without-default-color) option to the `` component, giving you more control in applying multiple themes diff --git a/.changeset/tidy-shrimps-grab.md b/.changeset/tidy-shrimps-grab.md deleted file mode 100644 index 55e52375e50a..000000000000 --- a/.changeset/tidy-shrimps-grab.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Fix for Server Islands in Vercel adapter - -Vercel, and probably other adapters only allow pre-defined routes. This makes it so that the `astro:build:done` hook includes the `_server-islands/` route as part of the route data, which is used to configure available routes. diff --git a/.changeset/twenty-maps-glow.md b/.changeset/twenty-maps-glow.md deleted file mode 100644 index 9588a45bc2e4..000000000000 --- a/.changeset/twenty-maps-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': minor ---- - -Adds two new values to the [pagination `page` prop](https://docs.astro.build/en/reference/api-reference/#the-pagination-page-prop): `page.first` and `page.last` for accessing the URLs of the first and last pages. diff --git a/.changeset/warm-lizards-mate.md b/.changeset/warm-lizards-mate.md deleted file mode 100644 index a954475107f3..000000000000 --- a/.changeset/warm-lizards-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes Astro not working on low versions of Node 18 and 20 diff --git a/examples/basics/package.json b/examples/basics/package.json index d922caebfbb8..a083c8e5b8c2 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 6954ca7e03eb..8fd155e6fe7b 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.2", + "@astrojs/mdx": "^3.1.3", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 1d40ec2f1247..0b3ce90f0868 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.11.6" + "astro": "^4.12.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index c8aec215ffff..efb073b916f9 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest run" }, "dependencies": { - "astro": "^4.11.6", + "astro": "^4.12.0", "@astrojs/react": "^3.6.0", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 22d788d8617a..c88e7deb5032 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.4.0", "@types/alpinejs": "^3.13.10", "alpinejs": "^3.14.1", - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 9d4baa253e74..310b6b32a3a7 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^4.3.0", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.11.6", + "astro": "^4.12.0", "lit": "^3.1.4" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 941b71491297..d050929d7ae4 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -14,11 +14,11 @@ "@astrojs/preact": "^3.5.1", "@astrojs/react": "^3.6.0", "@astrojs/solid-js": "^4.4.0", - "@astrojs/svelte": "^5.6.0", + "@astrojs/svelte": "^5.7.0", "@astrojs/vue": "^4.5.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.11.6", + "astro": "^4.12.0", "preact": "^10.22.1", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 77a95ac08f07..549737c9eb6e 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@preact/signals": "^1.3.0", - "astro": "^4.11.6", + "astro": "^4.12.0", "preact": "^10.22.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index b9d21852400a..3f6f7e6d2fef 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.11.6", + "astro": "^4.12.0", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 42a886518188..3f0f4b9a5458 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.0", - "astro": "^4.11.6", + "astro": "^4.12.0", "solid-js": "^1.8.18" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index adb56ccb1e99..0d52a9d52ed8 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/svelte": "^5.6.0", - "astro": "^4.11.6", + "@astrojs/svelte": "^5.7.0", + "astro": "^4.12.0", "svelte": "^4.2.18" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 8632013551d7..8e1291d81b8e 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.5.0", - "astro": "^4.11.6", + "astro": "^4.12.0", "vue": "^3.4.31" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index f81f208c38fc..b09c9435c545 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.3.2", - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 3c80d79c2c3e..78a028d1222d 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.11.6" + "astro": "^4.12.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 51b813736a5a..e145eb4ec323 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.3.2", - "astro": "^4.11.6", + "astro": "^4.12.0", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 120306263178..e75d321302bc 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 7485ab41914f..2d1b564ecfed 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 9f446ac7473e..834929afe592 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index b80361b5e65b..da15fc473bbc 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -10,14 +10,14 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/node": "^8.2.6", + "@astrojs/node": "^8.3.2", "@astrojs/react": "^3.6.0", "@astrojs/tailwind": "^5.1.0", "@fortawesome/fontawesome-free": "^6.5.2", "@tailwindcss/forms": "^0.5.7", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "workspace:*", + "astro": "^4.12.0", "postcss": "^8.4.38", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 18bda715305e..e727d10f1443 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,8 +13,8 @@ }, "dependencies": { "@astrojs/node": "^8.3.2", - "@astrojs/svelte": "^5.6.0", - "astro": "^4.11.6", + "@astrojs/svelte": "^5.7.0", + "astro": "^4.12.0", "svelte": "^4.2.18" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index dd06787c1a78..56967e250931 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.11.6", + "astro": "^4.12.0", "sass": "^1.77.8", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index c34863aae384..815335533800 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 1b1cb9936f16..2be987b6af0b 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -12,6 +12,6 @@ "devDependencies": { "@astrojs/tailwind": "^5.1.0", "@astrojs/node": "^8.3.2", - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index f74158cb5c0c..1a0b4f397ffa 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.11.2", - "astro": "^4.11.6" + "@astrojs/markdoc": "^0.11.3", + "astro": "^4.12.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index cacf0fdb559b..70867cda425e 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.1.1", - "astro": "^4.11.6", + "@astrojs/markdown-remark": "^5.2.0", + "astro": "^4.12.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 89da7396b270..3728bac79792 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.11.6" + "astro": "^4.12.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index b517d7d1d51d..3433b8aaf7c1 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.2", + "@astrojs/mdx": "^3.1.3", "@astrojs/preact": "^3.5.1", - "astro": "^4.11.6", + "astro": "^4.12.0", "preact": "^10.22.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index a1903af8b5a2..8b1120d1b071 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.1", "@nanostores/preact": "^0.5.1", - "astro": "^4.11.6", + "astro": "^4.12.0", "nanostores": "^0.10.3", "preact": "^10.22.1" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 9a8a0cea622a..30069c78e27d 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.2", + "@astrojs/mdx": "^3.1.3", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.11.6", + "astro": "^4.12.0", "autoprefixer": "^10.4.19", "canvas-confetti": "^1.9.3", "postcss": "^8.4.39", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 60f1a0a9ee83..644cb4ec1379 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.11.6", + "astro": "^4.12.0", "vitest": "^2.0.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index b7c6c6df77b9..ee31eb66fd41 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,176 @@ # astro +## 4.12.0 + +### Minor Changes + +- [#11341](https://github.com/withastro/astro/pull/11341) [`49b5145`](https://github.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704) Thanks [@madcampos](https://github.com/madcampos)! - Adds support for [Shiki's `defaultColor` option](https://shiki.style/guide/dual-themes#without-default-color). + + This option allows you to override the values of a theme's inline style, adding only CSS variables to give you more flexibility in applying multiple color themes. + + Configure `defaultColor: false` in your Shiki config to apply throughout your site, or pass to Astro's built-in `` component to style an individual code block. + + ```js title="astro.config.mjs" + import { defineConfig } from 'astro/config'; + export default defineConfig({ + markdown: { + shikiConfig: { + themes: { + light: 'github-light', + dark: 'github-dark', + }, + defaultColor: false, + }, + }, + }); + ``` + + ```astro + --- + import { Code } from 'astro:components'; + --- + + + ``` + +- [#11304](https://github.com/withastro/astro/pull/11304) [`2e70741`](https://github.com/withastro/astro/commit/2e70741362afc1e7d03c8b2a9d8edb8466dfe9c3) Thanks [@Fryuni](https://github.com/Fryuni)! - Refactors the type for integration hooks so that integration authors writing custom integration hooks can now allow runtime interactions between their integration and other integrations. + + This internal change should not break existing code for integration authors. + + To declare your own hooks for your integration, extend the `Astro.IntegrationHooks` interface: + + ```ts + // your-integration/types.ts + declare global { + namespace Astro { + interface IntegrationHooks { + 'myLib:eventHappened': (your: string, parameters: number) => Promise; + } + } + } + ``` + + Call your hooks on all other integrations installed in a project at the appropriate time. For example, you can call your hook on initialization before either the Vite or Astro config have resolved: + + ```ts + // your-integration/index.ts + import './types.ts'; + + export default (): AstroIntegration => { + return { + name: 'your-integration', + hooks: { + 'astro:config:setup': async ({ config }) => { + for (const integration of config.integrations) { + await integration.hooks['myLib:eventHappened'].?('your values', 123); + } + }, + } + } + } + ``` + + Other integrations can also now declare your hooks: + + ```ts + // other-integration/index.ts + import 'your-integration/types.ts'; + + export default (): AstroIntegration => { + return { + name: 'other-integration', + hooks: { + 'myLib:eventHappened': async (your, values) => { + // ... + }, + }, + }; + }; + ``` + +- [#11305](https://github.com/withastro/astro/pull/11305) [`d495df5`](https://github.com/withastro/astro/commit/d495df5361e16ebdf83dea6e2de004f438e698c4) Thanks [@matthewp](https://github.com/matthewp)! - Experimental Server Islands + + Server Islands allow you to specify components that should run on the server, allowing the rest of the page to be more aggressively cached, or even generated statically. Turn any `.astro` component into a server island by adding the `server:defer` directive and optionally, fallback placeholder content: + + ```astro + --- + import Avatar from '../components/Avatar.astro'; + import GenericUser from '../components/GenericUser.astro'; + --- + +
+

Page Title

+
+ + + +
+
+ ``` + + The `server:defer` directive can be used on any Astro component in a project using `hybrid` or `server` mode with an adapter. There are no special APIs needed inside of the island. + + Enable server islands by adding the experimental flag to your Astro config with an appropriate `output` mode and adatper: + + ```js + import { defineConfig } from 'astro/config'; + import netlify from '@astrojs/netlify'; + + export default defineConfig({ + output: 'hybrid', + adapter: netlify(), + experimental { + serverIslands: true, + }, + }); + ``` + + For more information, see the [server islands documentation](https://docs.astro.build/en/reference/configuration-reference/#experimentalserverislands). + +- [#11482](https://github.com/withastro/astro/pull/11482) [`7c9ed71`](https://github.com/withastro/astro/commit/7c9ed71bf1e13a0c825ba67946b6307d06f77233) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a `--noSync` parameter to the `astro check` command to skip the type-gen step. This can be useful when running `astro check` inside packages that have Astro components, but are not Astro projects + +- [#11098](https://github.com/withastro/astro/pull/11098) [`36e30a3`](https://github.com/withastro/astro/commit/36e30a33092c32c2de1deac316f49660247902b0) Thanks [@itsmatteomanf](https://github.com/itsmatteomanf)! - Adds a new `inferRemoteSize()` function that can be used to infer the dimensions of a remote image. + + Previously, the ability to infer these values was only available by adding the [`inferSize`] attribute to the `` and `` components or `getImage()`. Now, you can also access this data outside of these components. + + This is useful for when you need to know the dimensions of an image for styling purposes or to calculate different densities for responsive images. + + ```astro + --- + import { inferRemoteSize, Image } from 'astro:assets'; + + const imageUrl = 'https://...'; + const { width, height } = await inferRemoteSize(imageUrl); + --- + + + ``` + +- [#11391](https://github.com/withastro/astro/pull/11391) [`6f9b527`](https://github.com/withastro/astro/commit/6f9b52710567f3bec7939a98eb8c76f5ea0b2f91) Thanks [@ARipeAppleByYoursTruly](https://github.com/ARipeAppleByYoursTruly)! - Adds Shiki's [`defaultColor`](https://shiki.style/guide/dual-themes#without-default-color) option to the `` component, giving you more control in applying multiple themes + +- [#11176](https://github.com/withastro/astro/pull/11176) [`a751458`](https://github.com/withastro/astro/commit/a75145871b7bb9277584066e1f625df2aaabebce) Thanks [@tsawada](https://github.com/tsawada)! - Adds two new values to the [pagination `page` prop](https://docs.astro.build/en/reference/api-reference/#the-pagination-page-prop): `page.first` and `page.last` for accessing the URLs of the first and last pages. + +### Patch Changes + +- [#11477](https://github.com/withastro/astro/pull/11477) [`7e9c4a1`](https://github.com/withastro/astro/commit/7e9c4a134c6ea7c8b92ea00038c0845b58c02bc5) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where the development server was emitting a 404 status code when the user uses a rewrite that emits a 200 status code. + +- [#11479](https://github.com/withastro/astro/pull/11479) [`ca969d5`](https://github.com/withastro/astro/commit/ca969d538a6a8d64573f426b8a87ebd7e434bd71) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes a case where invalid `astro:env` variables at runtime would not throw correctly + +- [#11489](https://github.com/withastro/astro/pull/11489) [`061f1f4`](https://github.com/withastro/astro/commit/061f1f4d0cb306efd0c768645439111aec765c76) Thanks [@ematipico](https://github.com/ematipico)! - Move root inside the manifest and make serialisable + +- [#11415](https://github.com/withastro/astro/pull/11415) [`e9334d0`](https://github.com/withastro/astro/commit/e9334d05ca88ed6df1becc1512c673e20414bf47) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Refactors how `sync` works and when it's called. Fixes an issue with `astro:env` types in dev not being generated + +- [#11478](https://github.com/withastro/astro/pull/11478) [`3161b67`](https://github.com/withastro/astro/commit/3161b6789c57a3bb740ed117205dc55997eb74ea) Thanks [@bluwy](https://github.com/bluwy)! - Supports importing Astro components with Vite queries, like `?url`, `?raw`, and `?direct` + +- [#11491](https://github.com/withastro/astro/pull/11491) [`fe3afeb`](https://github.com/withastro/astro/commit/fe3afebd652289ec1b65eed983e804dbb37ed092) Thanks [@matthewp](https://github.com/matthewp)! - Fix for Server Islands in Vercel adapter + + Vercel, and probably other adapters only allow pre-defined routes. This makes it so that the `astro:build:done` hook includes the `_server-islands/` route as part of the route data, which is used to configure available routes. + +- [#11483](https://github.com/withastro/astro/pull/11483) [`34f9c25`](https://github.com/withastro/astro/commit/34f9c25740f8eaae0d5e2a2b685b83556d23e63e) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixes Astro not working on low versions of Node 18 and 20 + +- Updated dependencies [[`49b5145`](https://github.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704)]: + - @astrojs/markdown-remark@5.2.0 + ## 4.11.6 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 6a52a33aae0d..f492ce30946b 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.11.6", + "version": "4.12.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/astro/src/core/build/index.ts b/packages/astro/src/core/build/index.ts index 23e7b7835470..0d5fa91a0490 100644 --- a/packages/astro/src/core/build/index.ts +++ b/packages/astro/src/core/build/index.ts @@ -27,12 +27,12 @@ import type { Logger } from '../logger/core.js'; import { levels, timerMessage } from '../logger/core.js'; import { apply as applyPolyfill } from '../polyfill.js'; import { createRouteManifest } from '../routing/index.js'; +import { getServerIslandRouteData } from '../server-islands/endpoint.js'; import { ensureProcessNodeEnv, isServerLikeOutput } from '../util.js'; import { collectPagesData } from './page-data.js'; import { staticBuild, viteBuild } from './static-build.js'; import type { StaticBuildOptions } from './types.js'; import { getTimeStat } from './util.js'; -import { getServerIslandRouteData } from '../server-islands/endpoint.js'; export interface BuildOptions { /** @@ -217,9 +217,11 @@ class AstroBuilder { pages: pageNames, routes: Object.values(allPages) .flat() - .map((pageData) => pageData.route).concat( - this.settings.config.experimental.serverIslands ? - [ getServerIslandRouteData(this.settings.config) ] : [] + .map((pageData) => pageData.route) + .concat( + this.settings.config.experimental.serverIslands + ? [getServerIslandRouteData(this.settings.config)] + : [] ), logging: this.logger, cacheManifest: internals.cacheManifestUsed, diff --git a/packages/astro/src/core/routing/manifest/pattern.ts b/packages/astro/src/core/routing/manifest/pattern.ts index 320d02e20431..ee0cfaf65518 100644 --- a/packages/astro/src/core/routing/manifest/pattern.ts +++ b/packages/astro/src/core/routing/manifest/pattern.ts @@ -1,7 +1,4 @@ -import type { - AstroConfig, - RoutePart, -} from '../../../@types/astro.js'; +import type { AstroConfig, RoutePart } from '../../../@types/astro.js'; export function getPattern( segments: RoutePart[][], diff --git a/packages/astro/src/core/server-islands/endpoint.ts b/packages/astro/src/core/server-islands/endpoint.ts index 1e01d0828415..638e22882952 100644 --- a/packages/astro/src/core/server-islands/endpoint.ts +++ b/packages/astro/src/core/server-islands/endpoint.ts @@ -38,8 +38,6 @@ export function getServerIslandRouteData(config: ConfigFields) { return route; } - - export function ensureServerIslandRoute(config: ConfigFields, routeManifest: ManifestData) { if (routeManifest.routes.some((route) => route.route === '/_server-islands/[name]')) { return; diff --git a/packages/astro/src/vite-plugin-astro-server/plugin.ts b/packages/astro/src/vite-plugin-astro-server/plugin.ts index 56cba80ecd36..2d072b71fc02 100644 --- a/packages/astro/src/vite-plugin-astro-server/plugin.ts +++ b/packages/astro/src/vite-plugin-astro-server/plugin.ts @@ -35,7 +35,8 @@ export default function createVitePluginAstroServer({ configureServer(viteServer) { const loader = createViteLoader(viteServer); const manifest = createDevelopmentManifest(settings); - let manifestData: ManifestData = injectDefaultRoutes(manifest, + let manifestData: ManifestData = injectDefaultRoutes( + manifest, createRouteManifest({ settings, fsMod }, logger) ); const pipeline = DevPipeline.create(manifestData, { loader, logger, manifest, settings }); diff --git a/packages/db/CHANGELOG.md b/packages/db/CHANGELOG.md index 926d28ce478d..eb7978eadc16 100644 --- a/packages/db/CHANGELOG.md +++ b/packages/db/CHANGELOG.md @@ -1,5 +1,34 @@ # @astrojs/db +## 0.12.0 + +### Minor Changes + +- [#11304](https://github.com/withastro/astro/pull/11304) [`2e70741`](https://github.com/withastro/astro/commit/2e70741362afc1e7d03c8b2a9d8edb8466dfe9c3) Thanks [@Fryuni](https://github.com/Fryuni)! - Removes the `AstroDbIntegration` type + + Astro integration hooks can now be extended and as such `@astrojs/db` no longer needs to declare it's own integration type. Using `AstroIntegration` will have the same type. + + If you were using the `AstroDbIntegration` type, apply this change to your integration code: + + ```diff + - import { defineDbIntegration, type AstroDbIntegration } from '@astrojs/db/utils'; + + import { defineDbIntegration } from '@astrojs/db/utils'; + import type { AstroIntegration } from 'astro'; + + - export default (): AstroDbIntegration => { + + export default (): AstroIntegration => { + return defineDbIntegration({ + name: 'your-integration', + hooks: {}, + }); + } + ``` + +### Patch Changes + +- Updated dependencies []: + - @astrojs/studio@0.1.1 + ## 0.11.7 ### Patch Changes diff --git a/packages/db/package.json b/packages/db/package.json index c4508b0f72c5..3f767e37ca30 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/db", - "version": "0.11.7", + "version": "0.12.0", "description": "Add libSQL and Astro Studio support to your Astro site", "license": "MIT", "repository": { diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index db4667b09e31..0884b81baa2c 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/markdoc +## 0.11.3 + +### Patch Changes + +- Updated dependencies [[`49b5145`](https://github.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704)]: + - @astrojs/markdown-remark@5.2.0 + ## 0.11.2 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 994f92983250..df71e31b674c 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/markdoc", "description": "Add support for Markdoc in your Astro site", - "version": "0.11.2", + "version": "0.11.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 403dc862ce22..ff85f84858e4 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/mdx +## 3.1.3 + +### Patch Changes + +- Updated dependencies [[`49b5145`](https://github.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704)]: + - @astrojs/markdown-remark@5.2.0 + ## 3.1.2 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 0ef90280c389..3ed3131a22ae 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": "3.1.2", + "version": "3.1.3", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md index 408dc3a09bf5..44c3295eb477 100644 --- a/packages/integrations/svelte/CHANGELOG.md +++ b/packages/integrations/svelte/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/svelte +## 5.7.0 + +### Minor Changes + +- [#11490](https://github.com/withastro/astro/pull/11490) [`6ad02b5`](https://github.com/withastro/astro/commit/6ad02b590279ea845398c6cc4edb0681f8049db6) Thanks [@bluwy](https://github.com/bluwy)! - Bumps Svelte 5 peer dependency to `^5.0.0-next.190` and support the latest slots/snippets API + ## 5.6.0 ### Minor Changes diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 521daae536e3..097f1935eba4 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/svelte", - "version": "5.6.0", + "version": "5.7.0", "description": "Use Svelte components within Astro", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/integrations/vercel/test/server-islands.test.js b/packages/integrations/vercel/test/server-islands.test.js index 060492584874..0306bb8b28cc 100644 --- a/packages/integrations/vercel/test/server-islands.test.js +++ b/packages/integrations/vercel/test/server-islands.test.js @@ -14,15 +14,13 @@ describe('Server Islands', () => { }); it('server islands route is in the config', async () => { - const config = JSON.parse( - await fixture.readFile('../.vercel/output/config.json') - ); + const config = JSON.parse(await fixture.readFile('../.vercel/output/config.json')); let found = null; - for(let route of config.routes) { - if(route.src?.includes('_server-islands')) { - found = route; - break; - } + for (let route of config.routes) { + if (route.src?.includes('_server-islands')) { + found = route; + break; + } } assert.notEqual(found, null, 'Default server islands route included'); }); diff --git a/packages/integrations/web-vitals/CHANGELOG.md b/packages/integrations/web-vitals/CHANGELOG.md index 38b9bc1f63af..3d5628824219 100644 --- a/packages/integrations/web-vitals/CHANGELOG.md +++ b/packages/integrations/web-vitals/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/web-vitals +## 1.0.0 + +### Patch Changes + +- Updated dependencies [[`2e70741`](https://github.com/withastro/astro/commit/2e70741362afc1e7d03c8b2a9d8edb8466dfe9c3)]: + - @astrojs/db@0.12.0 + ## 0.2.1 ### Patch Changes diff --git a/packages/integrations/web-vitals/package.json b/packages/integrations/web-vitals/package.json index b8b646c2858b..0a64ab7207a6 100644 --- a/packages/integrations/web-vitals/package.json +++ b/packages/integrations/web-vitals/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/web-vitals", "description": "Track your website’s performance with Astro DB", - "version": "0.2.1", + "version": "1.0.0", "type": "module", "author": "withastro", "license": "MIT", @@ -35,7 +35,7 @@ "web-vitals": "^4.2.1" }, "peerDependencies": { - "@astrojs/db": "^0.11.0" + "@astrojs/db": "^0.12.0" }, "devDependencies": { "@astrojs/db": "workspace:*", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 4cb58a3479b4..73bab0b25280 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,38 @@ # @astrojs/markdown-remark +## 5.2.0 + +### Minor Changes + +- [#11341](https://github.com/withastro/astro/pull/11341) [`49b5145`](https://github.com/withastro/astro/commit/49b5145158a603b9bb951bf914a6a9780c218704) Thanks [@madcampos](https://github.com/madcampos)! - Adds support for [Shiki's `defaultColor` option](https://shiki.style/guide/dual-themes#without-default-color). + + This option allows you to override the values of a theme's inline style, adding only CSS variables to give you more flexibility in applying multiple color themes. + + Configure `defaultColor: false` in your Shiki config to apply throughout your site, or pass to Astro's built-in `` component to style an individual code block. + + ```js title="astro.config.mjs" + import { defineConfig } from 'astro/config'; + export default defineConfig({ + markdown: { + shikiConfig: { + themes: { + light: 'github-light', + dark: 'github-dark', + }, + defaultColor: false, + }, + }, + }); + ``` + + ```astro + --- + import { Code } from 'astro:components'; + --- + + + ``` + ## 5.1.1 ### Patch Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index fe68eaca44e7..b4f942298fc4 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "5.1.1", + "version": "5.2.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 33056a56eb3f..6edaf1943eee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,13 +128,13 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^3.1.2 + specifier: ^3.1.3 version: link:../../packages/integrations/mdx '@astrojs/rss': specifier: ^4.0.7 @@ -143,13 +143,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/container-with-vitest: @@ -158,7 +158,7 @@ importers: specifier: ^3.6.0 version: link:../../packages/integrations/react astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -189,7 +189,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/framework-lit: @@ -201,7 +201,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro lit: specifier: ^3.1.4 @@ -219,7 +219,7 @@ importers: specifier: ^4.4.0 version: link:../../packages/integrations/solid '@astrojs/svelte': - specifier: ^5.6.0 + specifier: ^5.7.0 version: link:../../packages/integrations/svelte '@astrojs/vue': specifier: ^4.5.0 @@ -231,7 +231,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro preact: specifier: ^10.22.1 @@ -261,7 +261,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.22.1) astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro preact: specifier: ^10.22.1 @@ -279,7 +279,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -294,7 +294,7 @@ importers: specifier: ^4.4.0 version: link:../../packages/integrations/solid astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro solid-js: specifier: ^1.8.18 @@ -303,10 +303,10 @@ importers: examples/framework-svelte: dependencies: '@astrojs/svelte': - specifier: ^5.6.0 + specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -318,7 +318,7 @@ importers: specifier: ^4.5.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro vue: specifier: ^3.4.31 @@ -330,13 +330,13 @@ importers: specifier: ^8.3.2 version: link:../../packages/integrations/node astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/middleware: @@ -345,7 +345,7 @@ importers: specifier: ^8.3.2 version: link:../../packages/integrations/node astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -358,25 +358,25 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/server-islands: devDependencies: '@astrojs/node': - specifier: ^8.2.6 + specifier: ^8.3.2 version: link:../../packages/integrations/node '@astrojs/react': specifier: ^3.6.0 @@ -397,7 +397,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: workspace:* + specifier: ^4.12.0 version: link:../../packages/astro postcss: specifier: ^8.4.38 @@ -418,10 +418,10 @@ importers: specifier: ^8.3.2 version: link:../../packages/integrations/node '@astrojs/svelte': - specifier: ^5.6.0 + specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -430,7 +430,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro sass: specifier: ^1.77.8 @@ -442,7 +442,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/view-transitions: @@ -454,25 +454,25 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.11.2 + specifier: ^0.11.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/with-markdown-plugins: dependencies: '@astrojs/markdown-remark': - specifier: ^5.1.1 + specifier: ^5.2.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -493,19 +493,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^3.1.2 + specifier: ^3.1.3 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^3.5.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro preact: specifier: ^10.22.1 @@ -520,7 +520,7 @@ importers: specifier: ^0.5.1 version: 0.5.1(nanostores@0.10.3)(preact@10.22.1) astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro nanostores: specifier: ^0.10.3 @@ -532,7 +532,7 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^3.1.2 + specifier: ^3.1.3 version: link:../../packages/integrations/mdx '@astrojs/tailwind': specifier: ^5.1.0 @@ -541,7 +541,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro autoprefixer: specifier: ^10.4.19 @@ -559,7 +559,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.11.6 + specifier: ^4.12.0 version: link:../../packages/astro vitest: specifier: ^2.0.3