diff options
30 files changed, 68 insertions, 77 deletions
diff --git a/.changeset/cruel-pants-lead.md b/.changeset/cruel-pants-lead.md deleted file mode 100644 index 931fd1beb..000000000 --- a/.changeset/cruel-pants-lead.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Improves handling of font URLs not ending with a file extension when using the experimental fonts API diff --git a/.changeset/four-carpets-wear.md b/.changeset/four-carpets-wear.md deleted file mode 100644 index 7e322a469..000000000 --- a/.changeset/four-carpets-wear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Allows the ClientRouter to open new tabs or windows when submitting forms by clicking while holding the Cmd, Ctrl, or Shift key. diff --git a/.changeset/mean-lands-pull.md b/.changeset/mean-lands-pull.md deleted file mode 100644 index 8e6e47d76..000000000 --- a/.changeset/mean-lands-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a case where font sources with relative protocol URLs would fail when using the experimental fonts API diff --git a/.changeset/tricky-papayas-stand.md b/.changeset/tricky-papayas-stand.md deleted file mode 100644 index 93568f4c7..000000000 --- a/.changeset/tricky-papayas-stand.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'astro': patch ---- - -Allows inferring `weight` and `style` when using the local provider of the experimental fonts API - -If you want Astro to infer those properties directly from your local font files, leave them undefined: - -```js -{ - // No weight specified: infer - style: 'normal' // Do not infer -} -``` diff --git a/examples/basics/package.json b/examples/basics/package.json index ebf27c938..bdf180184 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.7.11" + "astro": "^5.7.12" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index bd6e803d5..e0758bc99 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -13,6 +13,6 @@ "@astrojs/mdx": "^4.2.6", "@astrojs/rss": "^4.0.11", "@astrojs/sitemap": "^3.3.1", - "astro": "^5.7.11" + "astro": "^5.7.12" } } diff --git a/examples/component/package.json b/examples/component/package.json index 8a099daa6..c0c9f3230 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.7.11" + "astro": "^5.7.12" }, "peerDependencies": { "astro": "^4.0.0 || ^5.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 7257430c6..5a8343835 100644 --- a/examples/container-with-vitest/package.json +++ b/examples/container-with-vitest/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/react": "^4.2.7", - "astro": "^5.7.11", + "astro": "^5.7.12", "react": "^18.3.1", "react-dom": "^18.3.1", "vitest": "^3.1.1" diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index c0330b48a..dd64cad94 100644 --- a/examples/framework-alpine/package.json +++ b/examples/framework-alpine/package.json @@ -13,6 +13,6 @@ "@astrojs/alpinejs": "^0.4.8", "@types/alpinejs": "^3.13.11", "alpinejs": "^3.14.9", - "astro": "^5.7.11" + "astro": "^5.7.12" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 6343f7419..7890e2351 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -17,7 +17,7 @@ "@astrojs/vue": "^5.0.13", "@types/react": "^18.3.20", "@types/react-dom": "^18.3.6", - "astro": "^5.7.11", + "astro": "^5.7.12", "preact": "^10.26.5", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index ba279db3e..53a18271c 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.11", "@preact/signals": "^2.0.3", - "astro": "^5.7.11", + "astro": "^5.7.12", "preact": "^10.26.5" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 0bf1054a1..da43afa50 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -13,7 +13,7 @@ "@astrojs/react": "^4.2.7", "@types/react": "^18.3.20", "@types/react-dom": "^18.3.6", - "astro": "^5.7.11", + "astro": "^5.7.12", "react": "^18.3.1", "react-dom": "^18.3.1" } diff --git a/examples/framework-solid/package.json b/examples/framework-solid/package.json index 49c7e9572..d3c0c7adb 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/solid-js": "^5.0.10", - "astro": "^5.7.11", + "astro": "^5.7.12", "solid-js": "^1.9.5" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 2667c9f59..f2892001e 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/svelte": "^7.0.13", - "astro": "^5.7.11", + "astro": "^5.7.12", "svelte": "^5.25.7" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index ec0376b58..8061b054d 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@astrojs/vue": "^5.0.13", - "astro": "^5.7.11", + "astro": "^5.7.12", "vue": "^3.5.13" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 966fbc9d5..4ebec5290 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/node": "^9.2.1", - "astro": "^5.7.11" + "astro": "^5.7.12" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 63757cc1b..d16b56aeb 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^5.7.11" + "astro": "^5.7.12" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/minimal/package.json b/examples/minimal/package.json index ad59a3989..75d459e4e 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.7.11" + "astro": "^5.7.12" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 8c79f6cfb..87eae3339 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -10,6 +10,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.7.11" + "astro": "^5.7.12" } } diff --git a/examples/ssr/package.json b/examples/ssr/package.json index f426ce13b..abdc1422d 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/node": "^9.2.1", "@astrojs/svelte": "^7.0.13", - "astro": "^5.7.11", + "astro": "^5.7.12", "svelte": "^5.25.7" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 2126e87cd..76fdd9e36 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -9,7 +9,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^5.7.11", + "astro": "^5.7.12", "sass": "^1.86.3", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index ede2af17c..d75819e47 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -16,6 +16,6 @@ }, "devDependencies": { "@types/node": "^18.17.8", - "astro": "^5.7.11" + "astro": "^5.7.12" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 3fd391cbe..1da211bbd 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,6 +11,6 @@ }, "dependencies": { "@astrojs/markdoc": "^0.14.2", - "astro": "^5.7.11" + "astro": "^5.7.12" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 12ed8bb2c..3934109c5 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/mdx": "^4.2.6", "@astrojs/preact": "^4.0.11", - "astro": "^5.7.11", + "astro": "^5.7.12", "preact": "^10.26.5" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index abe49fe11..86b7b89d3 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -12,7 +12,7 @@ "dependencies": { "@astrojs/preact": "^4.0.11", "@nanostores/preact": "^0.5.2", - "astro": "^5.7.11", + "astro": "^5.7.12", "nanostores": "^0.11.4", "preact": "^10.26.5" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 86763c91c..e7935e8db 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.2.6", "@tailwindcss/vite": "^4.1.3", "@types/canvas-confetti": "^1.9.0", - "astro": "^5.7.11", + "astro": "^5.7.12", "canvas-confetti": "^1.9.3", "tailwindcss": "^4.1.3" } diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index afc9cc23a..3dbd4b6d6 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -11,7 +11,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^5.7.11", + "astro": "^5.7.12", "vitest": "^3.1.1" } } diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index f72973944..085ee791f 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,26 @@ # astro +## 5.7.12 + +### Patch Changes + +- [#13752](https://github.com/withastro/astro/pull/13752) [`a079c21`](https://github.com/withastro/astro/commit/a079c21629ecf95b7539d9afdf90831266d00daf) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Improves handling of font URLs not ending with a file extension when using the experimental fonts API + +- [#13750](https://github.com/withastro/astro/pull/13750) [`7d3127d`](https://github.com/withastro/astro/commit/7d3127db9191556d2ead8a1ea35acb972ee67ec3) Thanks [@martrapp](https://github.com/martrapp)! - Allows the ClientRouter to open new tabs or windows when submitting forms by clicking while holding the Cmd, Ctrl, or Shift key. + +- [#13765](https://github.com/withastro/astro/pull/13765) [`d874fe0`](https://github.com/withastro/astro/commit/d874fe08f903a44cd8017313accbc02bcf9cb7d9) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes a case where font sources with relative protocol URLs would fail when using the experimental fonts API + +- [#13640](https://github.com/withastro/astro/pull/13640) [`5e582e7`](https://github.com/withastro/astro/commit/5e582e7b4d56425d622c97ad933b1da0e7434155) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Allows inferring `weight` and `style` when using the local provider of the experimental fonts API + + If you want Astro to infer those properties directly from your local font files, leave them undefined: + + ```js + { + // No weight specified: infer + style: 'normal'; // Do not infer + } + ``` + ## 5.7.11 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 284c0f019..e9a6ef155 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "5.7.11", + "version": "5.7.12", "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 501dbfa4e..9dac6921b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -145,7 +145,7 @@ importers: examples/basics: dependencies: astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/blog: @@ -160,13 +160,13 @@ importers: specifier: ^3.3.1 version: link:../../packages/integrations/sitemap astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/container-with-vitest: @@ -175,7 +175,7 @@ importers: specifier: ^4.2.7 version: link:../../packages/integrations/react astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -206,7 +206,7 @@ importers: specifier: ^3.14.9 version: 3.14.9 astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/framework-multiple: @@ -233,7 +233,7 @@ importers: specifier: ^18.3.6 version: 18.3.7(@types/react@18.3.21) astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro preact: specifier: ^10.26.5 @@ -263,7 +263,7 @@ importers: specifier: ^2.0.3 version: 2.0.4(preact@10.26.6) astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro preact: specifier: ^10.26.5 @@ -281,7 +281,7 @@ importers: specifier: ^18.3.6 version: 18.3.7(@types/react@18.3.21) astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -296,7 +296,7 @@ importers: specifier: ^5.0.10 version: link:../../packages/integrations/solid astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro solid-js: specifier: ^1.9.5 @@ -308,7 +308,7 @@ importers: specifier: ^7.0.13 version: link:../../packages/integrations/svelte astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro svelte: specifier: ^5.25.7 @@ -320,7 +320,7 @@ importers: specifier: ^5.0.13 version: link:../../packages/integrations/vue astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro vue: specifier: ^3.5.13 @@ -332,25 +332,25 @@ importers: specifier: ^9.2.1 version: link:../../packages/integrations/node astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/minimal: dependencies: astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/ssr: @@ -362,7 +362,7 @@ importers: specifier: ^7.0.13 version: link:../../packages/integrations/svelte astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro svelte: specifier: ^5.25.7 @@ -371,7 +371,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro sass: specifier: ^1.86.3 @@ -386,7 +386,7 @@ importers: specifier: ^18.17.8 version: 18.19.50 astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/with-markdoc: @@ -395,7 +395,7 @@ importers: specifier: ^0.14.2 version: link:../../packages/integrations/markdoc astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro examples/with-mdx: @@ -407,7 +407,7 @@ importers: specifier: ^4.0.11 version: link:../../packages/integrations/preact astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro preact: specifier: ^10.26.5 @@ -422,7 +422,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.4)(preact@10.26.6) astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro nanostores: specifier: ^0.11.4 @@ -443,7 +443,7 @@ importers: specifier: ^1.9.0 version: 1.9.0 astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro canvas-confetti: specifier: ^1.9.3 @@ -455,7 +455,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^5.7.11 + specifier: ^5.7.12 version: link:../../packages/astro vitest: specifier: ^3.1.1 @@ -10512,7 +10512,6 @@ packages: libsql@0.5.4: resolution: {integrity: sha512-GEFeWca4SDAQFxjHWJBE6GK52LEtSskiujbG3rqmmeTO9t4sfSBKIURNLLpKDDF7fb7jmTuuRkDAn9BZGITQNw==} - cpu: [x64, arm64, wasm32] os: [darwin, linux, win32] lightningcss-darwin-arm64@1.29.2: |