diff --git a/.changeset/pre.json b/.changeset/pre.json index da91f9c8cf05..6168d3b54789 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -39,9 +39,11 @@ "famous-eels-trade", "gentle-cobras-wash", "giant-snails-perform", + "green-impalas-fetch", "grumpy-seas-switch", "khaki-fans-sell", "light-ties-poke", + "mighty-rats-flow", "modern-candles-sip", "odd-rivers-happen", "plenty-candles-help", @@ -57,6 +59,7 @@ "tricky-dragons-explain", "weak-wolves-bow", "wicked-sloths-develop", - "wild-apricots-rescue" + "wild-apricots-rescue", + "wild-boats-wait" ] } diff --git a/examples/basics/package.json b/examples/basics/package.json index eb6a54f5d037..30276e50ca06 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index e57609d87a64..a044be2c1a28 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -14,6 +14,6 @@ "@astrojs/mdx": "^2.0.0-beta.0", "@astrojs/rss": "^4.0.0-beta.0", "@astrojs/sitemap": "^3.0.3", - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/component/package.json b/examples/component/package.json index a69680c6e492..d2131c5657ca 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" }, "peerDependencies": { "astro": "^3.0.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 6604e5712ce0..7028943e71a0 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -14,6 +14,6 @@ "@astrojs/alpinejs": "^0.3.1", "@types/alpinejs": "^3.13.5", "alpinejs": "^3.13.3", - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 3ca13d28d08d..80068161869b 100644 --- a/examples/framework-lit/package.json +++ b/examples/framework-lit/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/lit": "^3.0.3", "@webcomponents/template-shadowroot": "^0.2.1", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "lit": "^2.8.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index b8b21e16882e..74ca78c9d2d2 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -16,7 +16,7 @@ "@astrojs/solid-js": "^3.0.2", "@astrojs/svelte": "^5.0.0-beta.0", "@astrojs/vue": "^4.0.0-beta.0", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "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 e7f873c60456..2319a320c650 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.0.1", "@preact/signals": "^1.2.1", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "preact": "^10.19.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index e04ed362cfb9..9f567abbefb9 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.0.7-beta.0", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 3d4931c5234c..9625b73c7f3e 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^3.0.2", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "solid-js": "^1.8.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 7d2d1611f83c..e933ab49dd0c 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.0.0-beta.0", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "svelte": "^4.2.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 541ce1203942..edb5130e5258 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.0.0-beta.0", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "vue": "^3.3.8" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 967471ad4b4b..fbc7d6fa9642 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^7.0.0-beta.1", - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index de9311748c3d..787a76549817 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" }, "peerDependencies": { "astro": "^3.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 6edecf1a44fa..47a86ea01065 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^7.0.0-beta.1", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "html-minifier": "^4.0.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 932767551ba1..dd53e744819b 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index b9250d1dcdf2..5948a46fb72e 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index a3413392b30e..0c24f084a5f3 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 999956e2160e..8a775575d2e9 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^7.0.0-beta.1", "@astrojs/svelte": "^5.0.0-beta.0", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "svelte": "^4.2.5" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 2fc5d3d54e27..0c129b1ab91c 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -12,6 +12,6 @@ "devDependencies": { "@astrojs/tailwind": "^6.0.0-beta.0", "@astrojs/node": "^7.0.0-beta.1", - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index f736a1cb3dd4..6672a5f0a549 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^1.0.0-beta.0", - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 4e928c546320..ceac724644a8 100644 --- a/examples/with-markdown-plugins/package.json +++ b/examples/with-markdown-plugins/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdown-remark": "^4.0.0-beta.0", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "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 32675804a2d6..80538437b68d 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.2" + "astro": "^4.0.0-beta.3" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 76ec4932e0b1..25caf3ac0ae0 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/mdx": "^2.0.0-beta.0", "@astrojs/preact": "^3.0.1", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "preact": "^10.19.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 3ada3b75c402..f478736f9773 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.0.1", "@nanostores/preact": "^0.5.0", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "nanostores": "^0.9.5", "preact": "^10.19.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index f03a1ac11308..62eb75bc3583 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -14,7 +14,7 @@ "@astrojs/mdx": "^2.0.0-beta.0", "@astrojs/tailwind": "^6.0.0-beta.0", "@types/canvas-confetti": "^1.6.3", - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "autoprefixer": "^10.4.15", "canvas-confetti": "^1.9.1", "postcss": "^8.4.28", diff --git a/examples/with-vite-plugin-pwa/package.json b/examples/with-vite-plugin-pwa/package.json index 454b8d8ff48d..a71e7598552a 100644 --- a/examples/with-vite-plugin-pwa/package.json +++ b/examples/with-vite-plugin-pwa/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "vite-plugin-pwa": "0.17.0", "workbox-window": "^7.0.0" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 41161087ba3c..ab09f7a1f51d 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.0.0-beta.2", + "astro": "^4.0.0-beta.3", "vitest": "^0.34.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 8f9d1a225561..205dd7ca6baa 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,15 @@ # astro +## 4.0.0-beta.3 + +### Patch Changes + +- [#9235](https://github.com/withastro/astro/pull/9235) [`9c2342c32`](https://github.com/withastro/astro/commit/9c2342c327a13d2f7d1eb387b743e81f431b9813) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix SVG icons not showing properly in the extended dropdown menu of the dev overlay + +- [#9230](https://github.com/withastro/astro/pull/9230) [`60cfa49e4`](https://github.com/withastro/astro/commit/60cfa49e445c926288612a6b1a30113ab988011c) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update the look and feel of the dev overlay + +- [#9013](https://github.com/withastro/astro/pull/9013) [`ff8eadb95`](https://github.com/withastro/astro/commit/ff8eadb95d34833baaf3ec7575bf4f293eae97da) Thanks [@bayssmekanique](https://github.com/bayssmekanique)! - Returns the updated config in the integration `astro:config:setup` hook's `updateConfig()` API + ## 4.0.0-beta.2 ### Major Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index b0f95ac83990..ea331f1a5275 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.0.0-beta.2", + "version": "4.0.0-beta.3", "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/runtime/client/dev-overlay/overlay.ts b/packages/astro/src/runtime/client/dev-overlay/overlay.ts index 2a45e740fac3..b6a0095cdfb3 100644 --- a/packages/astro/src/runtime/client/dev-overlay/overlay.ts +++ b/packages/astro/src/runtime/client/dev-overlay/overlay.ts @@ -1,7 +1,5 @@ /* eslint-disable no-console */ -import type { - DevOverlayPlugin as DevOverlayPluginDefinition, -} from '../../../@types/astro.js'; +import type { DevOverlayPlugin as DevOverlayPluginDefinition } from '../../../@types/astro.js'; import { settings } from './settings.js'; import { getIconElement, isDefinedIcon, type Icon } from './ui-library/icons.js'; diff --git a/packages/astro/src/type-utils.ts b/packages/astro/src/type-utils.ts index 98f2c9864fa0..4304438dbfde 100644 --- a/packages/astro/src/type-utils.ts +++ b/packages/astro/src/type-utils.ts @@ -37,6 +37,6 @@ export type DeepPartial = { [P in keyof T]?: T[P] extends (infer U)[] ? DeepPartial[] : T[P] extends object | undefined - ? DeepPartial - : T[P]; + ? DeepPartial + : T[P]; }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0fd4633ea435..45672ff805e6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,7 +125,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/blog: @@ -140,13 +140,13 @@ importers: specifier: ^3.0.3 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/framework-alpine: @@ -161,7 +161,7 @@ importers: specifier: ^3.13.3 version: 3.13.3 astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/framework-lit: @@ -173,7 +173,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro lit: specifier: ^2.8.0 @@ -197,7 +197,7 @@ importers: specifier: ^4.0.0-beta.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 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.2) astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -245,7 +245,7 @@ importers: specifier: ^18.2.15 version: 18.2.15 astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro react: specifier: ^18.2.0 @@ -260,7 +260,7 @@ importers: specifier: ^3.0.2 version: link:../../packages/integrations/solid astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro solid-js: specifier: ^1.8.5 @@ -272,7 +272,7 @@ importers: specifier: ^5.0.0-beta.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -284,7 +284,7 @@ importers: specifier: ^4.0.0-beta.0 version: link:../../packages/integrations/vue astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro vue: specifier: ^3.3.8 @@ -296,13 +296,13 @@ importers: specifier: ^7.0.0-beta.1 version: link:../../packages/integrations/node astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/middleware: @@ -311,7 +311,7 @@ importers: specifier: ^7.0.0-beta.1 version: link:../../packages/integrations/node astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -320,19 +320,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/ssr: @@ -344,7 +344,7 @@ importers: specifier: ^5.0.0-beta.0 version: link:../../packages/integrations/svelte astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro svelte: specifier: ^4.2.5 @@ -359,7 +359,7 @@ importers: specifier: ^6.0.0-beta.0 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/with-markdoc: @@ -368,7 +368,7 @@ importers: specifier: ^1.0.0-beta.0 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/with-markdown-plugins: @@ -377,7 +377,7 @@ importers: specifier: ^4.0.0-beta.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -398,7 +398,7 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro examples/with-mdx: @@ -410,7 +410,7 @@ importers: specifier: ^3.0.1 version: link:../../packages/integrations/preact astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro preact: specifier: ^10.19.2 @@ -425,7 +425,7 @@ importers: specifier: ^0.5.0 version: 0.5.0(nanostores@0.9.5)(preact@10.19.2) astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro nanostores: specifier: ^0.9.5 @@ -446,7 +446,7 @@ importers: specifier: ^1.6.3 version: 1.6.3 astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro autoprefixer: specifier: ^10.4.15 @@ -464,7 +464,7 @@ importers: examples/with-vite-plugin-pwa: dependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro vite-plugin-pwa: specifier: 0.17.0 @@ -476,7 +476,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.0.0-beta.2 + specifier: ^4.0.0-beta.3 version: link:../../packages/astro vitest: specifier: ^0.34.2