diff --git a/.changeset/blue-jars-hang.md b/.changeset/blue-jars-hang.md deleted file mode 100644 index 2a7fd5b20814e..0000000000000 --- a/.changeset/blue-jars-hang.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'astro': patch ---- - -Enhances the dev server logging when rewrites occur during the lifecycle or rendering. - -The dev server will log the status code **before** and **after** a rewrite: - -```shell -08:16:48 [404] (rewrite) /foo/about 200ms -08:22:13 [200] (rewrite) /about 23ms -``` diff --git a/.changeset/empty-onions-buy.md b/.changeset/empty-onions-buy.md deleted file mode 100644 index 4f0c21be442b6..0000000000000 --- a/.changeset/empty-onions-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"astro": patch ---- - -Fixes typo in documenting the `slot="fallback"` attribute for Server Islands experimental feature. diff --git a/.changeset/spotty-camels-joke.md b/.changeset/spotty-camels-joke.md deleted file mode 100644 index a924e12ccf285..0000000000000 --- a/.changeset/spotty-camels-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Adds the missing export for accessing the `getFallback()` function of the client site router. diff --git a/examples/basics/package.json b/examples/basics/package.json index ea8f956b7be42..0ce97377a2c76 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index d8c119068aaba..f71948fb7641a 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -14,6 +14,6 @@ "@astrojs/mdx": "^3.1.3", "@astrojs/rss": "^4.0.7", "@astrojs/sitemap": "^3.1.6", - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/component/package.json b/examples/component/package.json index 23d4c59b2a219..b34f38ef0e323 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.12.1" + "astro": "^4.12.2" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index fe0c401cbf877..dde01df833741 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.12.1", + "astro": "^4.12.2", "@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 7cebaf136e7c9..8d414f065f98d 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.12.1" + "astro": "^4.12.2" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index ee0ade5c874ba..dfe93d735b2c4 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.12.1", + "astro": "^4.12.2", "lit": "^3.1.4" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index d123c13fc4ef8..e400d02edea7a 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -18,7 +18,7 @@ "@astrojs/vue": "^4.5.0", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.12.1", + "astro": "^4.12.2", "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 0f1caa4e9e1c2..c9f40b7151925 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.12.1", + "astro": "^4.12.2", "preact": "^10.22.1" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 16a15eacf0877..4b6b6932e3999 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.12.1", + "astro": "^4.12.2", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 9417042477960..f54d59c592aad 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.12.1", + "astro": "^4.12.2", "solid-js": "^1.8.18" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 23001704b75a9..f4d5515524eea 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.7.0", - "astro": "^4.12.1", + "astro": "^4.12.2", "svelte": "^4.2.18" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 6f660508ba191..7c6ff7faeb77d 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.12.1", + "astro": "^4.12.2", "vue": "^3.4.31" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index fe508935c4e51..88aed2a5eb209 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.3.2", - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 594f078485533..b28114d8e8814 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.12.1" + "astro": "^4.12.2" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 46c669da6b6da..2d1a2ae2eb660 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.3.2", - "astro": "^4.12.1", + "astro": "^4.12.2", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 3f1cf16169787..b93c749572e9d 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 47f26e24bac32..26a6edc9e5e2a 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index a295e2acaf333..79f953dac004d 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index 39808d879b33e..1bcf1b631d342 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -17,7 +17,7 @@ "@tailwindcss/forms": "^0.5.7", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", - "astro": "^4.12.1", + "astro": "^4.12.2", "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 52538b491c798..bd0ba7ad6d95e 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^8.3.2", "@astrojs/svelte": "^5.7.0", - "astro": "^4.12.1", + "astro": "^4.12.2", "svelte": "^4.2.18" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 6ca418fdcd1c2..c405f6f19dd11 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.12.1", + "astro": "^4.12.2", "sass": "^1.77.8", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index 6e201cfb8453f..0574fee731cf0 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index ecc8f1bd15124..343c96a27c233 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.12.1" + "astro": "^4.12.2" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 535f65f0b55b7..89237c07485f2 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.11.3", - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index ffa5857795fb3..5c2d77fc24233 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^5.2.0", - "astro": "^4.12.1", + "astro": "^4.12.2", "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 a6c542e754464..132fa97705198 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.12.1" + "astro": "^4.12.2" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 83f447e5b7c11..704b9c3bf9335 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/mdx": "^3.1.3", "@astrojs/preact": "^3.5.1", - "astro": "^4.12.1", + "astro": "^4.12.2", "preact": "^10.22.1" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 76d94b5758bb7..27128223a18bb 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.12.1", + "astro": "^4.12.2", "nanostores": "^0.10.3", "preact": "^10.22.1" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 1456a9436f382..92343338084ea 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^3.1.3", "@astrojs/tailwind": "^5.1.0", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.12.1", + "astro": "^4.12.2", "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 5c3d85b9bd024..39a7d4670c993 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.12.1", + "astro": "^4.12.2", "vitest": "^2.0.3" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 84d77c4adc9cc..71a2f5ea4f95c 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,22 @@ # astro +## 4.12.2 + +### Patch Changes + +- [#11505](https://github.com/withastro/astro/pull/11505) [`8ff7658`](https://github.com/withastro/astro/commit/8ff7658001c2c7bedf6adcddf7a9341196f2d376) Thanks [@ematipico](https://github.com/ematipico)! - Enhances the dev server logging when rewrites occur during the lifecycle or rendering. + + The dev server will log the status code **before** and **after** a rewrite: + + ```shell + 08:16:48 [404] (rewrite) /foo/about 200ms + 08:22:13 [200] (rewrite) /about 23ms + ``` + +- [#11506](https://github.com/withastro/astro/pull/11506) [`026e8ba`](https://github.com/withastro/astro/commit/026e8baf3323e99f96530999fd32a0a9b305854d) Thanks [@sarah11918](https://github.com/sarah11918)! - Fixes typo in documenting the `slot="fallback"` attribute for Server Islands experimental feature. + +- [#11501](https://github.com/withastro/astro/pull/11501) [`4db78ae`](https://github.com/withastro/astro/commit/4db78ae046a39628dfe8d68e776706559d4f8ba7) Thanks [@martrapp](https://github.com/martrapp)! - Adds the missing export for accessing the `getFallback()` function of the client site router. + ## 4.12.1 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 4793c2b2d9b99..bf0d7a67f2bbc 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.12.1", + "version": "4.12.2", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 050446c69f90b..d57e6a9748d15 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -128,7 +128,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/blog: @@ -143,13 +143,13 @@ importers: specifier: ^3.1.6 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 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.12.1 + specifier: ^4.12.2 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.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/framework-lit: @@ -201,7 +201,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro lit: specifier: ^3.1.4 @@ -231,7 +231,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.12.1 + specifier: ^4.12.2 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.12.1 + specifier: ^4.12.2 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.12.1 + specifier: ^4.12.2 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.12.1 + specifier: ^4.12.2 version: link:../../packages/astro solid-js: specifier: ^1.8.18 @@ -306,7 +306,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.12.1 + specifier: ^4.12.2 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.12.1 + specifier: ^4.12.2 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.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/middleware: @@ -345,7 +345,7 @@ importers: specifier: ^8.3.2 version: link:../../packages/integrations/node astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -358,19 +358,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/server-islands: @@ -397,7 +397,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro postcss: specifier: ^8.4.38 @@ -421,7 +421,7 @@ importers: specifier: ^5.7.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro svelte: specifier: ^4.2.18 @@ -430,7 +430,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro sass: specifier: ^1.77.8 @@ -442,7 +442,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/view-transitions: @@ -454,7 +454,7 @@ importers: specifier: ^5.1.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/with-markdoc: @@ -463,7 +463,7 @@ importers: specifier: ^0.11.3 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/with-markdown-plugins: @@ -472,7 +472,7 @@ importers: specifier: ^5.2.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -493,7 +493,7 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro examples/with-mdx: @@ -505,7 +505,7 @@ importers: specifier: ^3.5.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.12.1 + specifier: ^4.12.2 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.12.1 + specifier: ^4.12.2 version: link:../../packages/astro nanostores: specifier: ^0.10.3 @@ -541,7 +541,7 @@ importers: specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro autoprefixer: specifier: ^10.4.19 @@ -559,7 +559,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.12.1 + specifier: ^4.12.2 version: link:../../packages/astro vitest: specifier: ^2.0.3