diff --git a/.changeset/pre.json b/.changeset/pre.json index 6f386be808..e497b1a1e9 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -51,8 +51,10 @@ "little-beers-sit", "mighty-rats-flow", "modern-candles-sip", + "nervous-beans-peel", "ninety-weeks-juggle", "odd-rivers-happen", + "orange-candles-sip", "plenty-candles-help", "rude-hairs-whisper", "sharp-starfishes-compete", @@ -60,6 +62,8 @@ "short-deers-whisper", "slimy-jeans-peel", "slow-hornets-try", + "smart-cats-camp", + "smooth-gifts-train", "sour-games-burn", "spicy-starfishes-shake", "tasty-dryers-bathe", diff --git a/examples/basics/package.json b/examples/basics/package.json index 7abdfe6a12..b5fe674fed 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 39563bd0c1..33bf98a67e 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.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/component/package.json b/examples/component/package.json index 9b40573f38..68496c5ea7 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.0.0-beta.4" + "astro": "^4.0.0-beta.5" }, "peerDependencies": { "astro": "^3.0.0" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 4315749272..6fee6eb8ec 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.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 9003183a9d..f218bbdba3 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.4", + "astro": "^4.0.0-beta.5", "lit": "^2.8.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 5cb403a878..a8a9d72e35 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.4", + "astro": "^4.0.0-beta.5", "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 5d7d53870f..43f2060156 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.4", + "astro": "^4.0.0-beta.5", "preact": "^10.19.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 42a380a470..4c3c068f79 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.4", + "astro": "^4.0.0-beta.5", "react": "^18.2.0", "react-dom": "^18.2.0" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index c7b542dd14..91329d369c 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.4", + "astro": "^4.0.0-beta.5", "solid-js": "^1.8.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index a7df437f65..b22038e925 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.4", + "astro": "^4.0.0-beta.5", "svelte": "^4.2.5" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 1f1b3c8dfb..ecca723cb1 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.4", + "astro": "^4.0.0-beta.5", "vue": "^3.3.8" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index dcc31e68d8..c0e3deaab9 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.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 56d3da0601..d1560aeb3c 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.0.0-beta.4" + "astro": "^4.0.0-beta.5" }, "peerDependencies": { "astro": "^3.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 48f890b431..c74801bf55 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.4", + "astro": "^4.0.0-beta.5", "html-minifier": "^4.0.0" } } diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 816dcad775..34730a1368 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index 7b0fd18d48..2abd40a5c7 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.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index c80d64b0b4..f0406c8765 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.0.0-beta.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index a2e206bf14..430cddf21d 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.4", + "astro": "^4.0.0-beta.5", "svelte": "^4.2.5" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 7408bec60c..1625901bc8 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.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index f2fe1301be..a405e11479 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/markdoc": "^1.0.0-beta.1", - "astro": "^4.0.0-beta.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index 5155dee67f..379d44bd26 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.4", + "astro": "^4.0.0-beta.5", "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 2314737748..aceb6cd29d 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.4" + "astro": "^4.0.0-beta.5" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index f6a9fed87b..52fe9a7f47 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.4", + "astro": "^4.0.0-beta.5", "preact": "^10.19.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 46fa70d149..d2e40a139b 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.4", + "astro": "^4.0.0-beta.5", "nanostores": "^0.9.5", "preact": "^10.19.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 9cdd530459..7160d9c5f1 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.4", + "astro": "^4.0.0-beta.5", "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 4936a58948..ad5db2e849 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.4", + "astro": "^4.0.0-beta.5", "vitest": "^0.34.2" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 4b4c03b984..775058e543 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,23 @@ # astro +## 4.0.0-beta.5 + +### Minor Changes + +- [#9279](https://github.com/withastro/astro/pull/9279) [`6a9669b81`](https://github.com/withastro/astro/commit/6a9669b810ddfcae6c537165a438190ea1e7a4bc) Thanks [@martrapp](https://github.com/martrapp)! - Improves consistency between navigations with and without ``. See [#9279](https://github.com/withastro/astro/pull/9279) for more details. + +### Patch Changes + +- [#9170](https://github.com/withastro/astro/pull/9170) [`8a228fce0`](https://github.com/withastro/astro/commit/8a228fce0114daeea2100e50ddc5cf2ea0a03b5d) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Adds new accessibility audits to the Dev Toolbar's built-in Audits app. + + The audits Astro performs are non-exhaustive and only capable of detecting a handful of common accessibility issues. Please take care to perform a thorough, **manual** audit of your site to ensure compliance with the [Web Content Accessibility Guidelines (WCAG) international standard](https://www.w3.org/WAI/standards-guidelines/wcag/) _before_ publishing your site. + + 🧡 Huge thanks to the [Svelte](https://github.com/sveltejs/svelte) team for providing the basis of these accessibility audits! + +- [#9274](https://github.com/withastro/astro/pull/9274) [`feaba2c7f`](https://github.com/withastro/astro/commit/feaba2c7fc0a48d3af7dd98e6b750ec1e8274e33) Thanks [@TheOtterlord](https://github.com/TheOtterlord)! - Fix routing prefixes when `prefixDefaultLocale` is `true` + +- [#9273](https://github.com/withastro/astro/pull/9273) [`9887f2412`](https://github.com/withastro/astro/commit/9887f241241f800e2907afe7079db070f3bfcfab) Thanks [@alexanderniebuhr](https://github.com/alexanderniebuhr)! - Exports type for Dev Toolbar App under correct name + ## 4.0.0-beta.4 ### Major Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 7641ce2b5c..f58b2c838c 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.0.0-beta.4", + "version": "4.0.0-beta.5", "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 9634d1de7e..0d989cfebf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,7 +125,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.0.0-beta.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.0.0-beta.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.0.0-beta.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -320,19 +320,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.0.0-beta.4 + specifier: ^4.0.0-beta.5 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.0.0-beta.4 + specifier: ^4.0.0-beta.5 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.0.0-beta.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 version: link:../../packages/astro examples/with-markdoc: @@ -368,7 +368,7 @@ importers: specifier: ^1.0.0-beta.1 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.0.0-beta.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 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.4 + specifier: ^4.0.0-beta.5 version: link:../../packages/astro autoprefixer: specifier: ^10.4.15 @@ -464,7 +464,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.0.0-beta.4 + specifier: ^4.0.0-beta.5 version: link:../../packages/astro vitest: specifier: ^0.34.2