diff --git a/.changeset/angry-ducks-kneel.md b/.changeset/angry-ducks-kneel.md deleted file mode 100644 index dd4b46c08c1f..000000000000 --- a/.changeset/angry-ducks-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/tailwind': patch ---- - -Adds keywords to `package.json` to improve categorization in the Astro integrations catalog diff --git a/.changeset/dirty-socks-sip.md b/.changeset/dirty-socks-sip.md deleted file mode 100644 index 1784e2031ec0..000000000000 --- a/.changeset/dirty-socks-sip.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -'@astrojs/markdown-remark': minor -'astro': minor ---- - -Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), but you want your Markdown source to contain an accurate language while also displaying syntax highlighting. - -The following example configures Shiki to highlight `cjs` code blocks using the `javascript` syntax highlighter: - -```js -import { defineConfig } from 'astro/config'; - -export default defineConfig({ - markdown: { - shikiConfig: { - langAlias: { - cjs: 'javascript', - }, - }, - }, -}); -``` - -Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting: - -````md -```cjs -'use strict'; - -function commonJs() { - return 'I am a commonjs file'; -} -``` -```` diff --git a/.changeset/mean-bags-shave.md b/.changeset/mean-bags-shave.md deleted file mode 100644 index 88263fa05ec8..000000000000 --- a/.changeset/mean-bags-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug where `astro.config.mts` and `astro.config.cts` weren't reloading the dev server upon modifications. diff --git a/.changeset/ninety-dolls-reply.md b/.changeset/ninety-dolls-reply.md deleted file mode 100644 index ae7990b56569..000000000000 --- a/.changeset/ninety-dolls-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/rss': patch ---- - -Fixes an error that occurred when the optional `pubDate` property was missing in an item. diff --git a/.changeset/plenty-kings-swim.md b/.changeset/plenty-kings-swim.md deleted file mode 100644 index 3a4c896aa007..000000000000 --- a/.changeset/plenty-kings-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/rss': patch ---- - -Fixes an error where docs incorrectly stated the `title`, `link` and `pubDate` properties of RSS items was required. diff --git a/.changeset/red-bugs-pump.md b/.changeset/red-bugs-pump.md deleted file mode 100644 index 3dcc9d260b7a..000000000000 --- a/.changeset/red-bugs-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'create-astro': patch ---- - -Uses `@bluwy/giget-core` instead of `giget` for smaller installation size when downloading the CLI diff --git a/.changeset/slimy-buses-agree.md b/.changeset/slimy-buses-agree.md deleted file mode 100644 index 9dad2acaf676..000000000000 --- a/.changeset/slimy-buses-agree.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Fixes a bug in the parsing of `x-forwarded-\*` `Request` headers, where multiple values assigned to those headers were not correctly parsed. - -Now, headers like `x-forwarded-proto: https,http` are correctly parsed. diff --git a/.changeset/strong-pugs-stare.md b/.changeset/strong-pugs-stare.md deleted file mode 100644 index 2233b8e00b19..000000000000 --- a/.changeset/strong-pugs-stare.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'astro': patch ---- - -Skips setting statusMessage header for HTTP/2 response - -HTTP/2 doesn't support status message, so setting this was logging a warning. diff --git a/.changeset/stupid-seas-roll.md b/.changeset/stupid-seas-roll.md deleted file mode 100644 index 9fd933b596fb..000000000000 --- a/.changeset/stupid-seas-roll.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'astro': patch ---- - -Fixes an issue where `Astro.currentLocale` wasn't incorrectly computed when the `defaultLocale` belonged to a custom locale path. diff --git a/.changeset/ten-emus-heal.md b/.changeset/ten-emus-heal.md deleted file mode 100644 index 8ff9e1931470..000000000000 --- a/.changeset/ten-emus-heal.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -'astro': minor ---- - -Adds a new `build.concurreny` configuration option to specify the number of pages to build in parallel - -**In most cases, you should not change the default value of `1`.** - -Use this option only when other attempts to reduce the overall rendering time (e.g. batch or cache long running tasks like fetch calls or data access) are not possible or are insufficient. - -Use this option only if the refactors are not possible. If the number is set too high, the page rendering may slow down due to insufficient memory resources and because JS is single-threaded. - -> [!WARNING] -> This feature is stable and is not considered experimental. However, this feature is only intended to address difficult performance issues, and breaking changes may occur in a [minor release](https://docs.astro.build/en/upgrade-astro/#semantic-versioning) to keep this option as performant as possible. - -```js -// astro.config.mjs -import { defineConfig } from 'astro'; - -export default defineConfig({ - build: { - concurrency: 2, - }, -}); -``` diff --git a/examples/basics/package.json b/examples/basics/package.json index 7b84fa3d8b6c..9094dc3e07d0 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/blog/package.json b/examples/blog/package.json index 366bd5576552..e0eecd06dba1 100644 --- a/examples/blog/package.json +++ b/examples/blog/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.7", - "@astrojs/rss": "^4.0.7", + "@astrojs/mdx": "^3.1.8", + "@astrojs/rss": "^4.0.8", "@astrojs/sitemap": "^3.2.0", - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/component/package.json b/examples/component/package.json index 0896e2626e95..ebbba8ccee2c 100644 --- a/examples/component/package.json +++ b/examples/component/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.15.12" + "astro": "^4.16.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/container-with-vitest/package.json b/examples/container-with-vitest/package.json index 0ef2ba7a769f..57144a075f51 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.15.12", + "astro": "^4.16.0", "@astrojs/react": "^3.6.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-alpine/package.json b/examples/framework-alpine/package.json index 8ec2b1217e75..8de1079a603a 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.15.12" + "astro": "^4.16.0" } } diff --git a/examples/framework-lit/package.json b/examples/framework-lit/package.json index 5a87a490b8ff..4f3eef3ca511 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.15.12", + "astro": "^4.16.0", "lit": "^3.2.0" } } diff --git a/examples/framework-multiple/package.json b/examples/framework-multiple/package.json index 21f27160183f..71f543491c1c 100644 --- a/examples/framework-multiple/package.json +++ b/examples/framework-multiple/package.json @@ -18,7 +18,7 @@ "@astrojs/vue": "^4.5.2", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", - "astro": "^4.15.12", + "astro": "^4.16.0", "preact": "^10.24.2", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/framework-preact/package.json b/examples/framework-preact/package.json index 9c89525fc490..3e89e9b40630 100644 --- a/examples/framework-preact/package.json +++ b/examples/framework-preact/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.3", "@preact/signals": "^1.3.0", - "astro": "^4.15.12", + "astro": "^4.16.0", "preact": "^10.24.2" } } diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json index 2dd1e6211011..4d83318b3303 100644 --- a/examples/framework-react/package.json +++ b/examples/framework-react/package.json @@ -14,7 +14,7 @@ "@astrojs/react": "^3.6.2", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", - "astro": "^4.15.12", + "astro": "^4.16.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 721dda5c4f89..5d3ed0cd96dd 100644 --- a/examples/framework-solid/package.json +++ b/examples/framework-solid/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/solid-js": "^4.4.2", - "astro": "^4.15.12", + "astro": "^4.16.0", "solid-js": "^1.9.1" } } diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index f9c6448a01df..a4bdc1566b36 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/svelte": "^5.7.2", - "astro": "^4.15.12", + "astro": "^4.16.0", "svelte": "^4.2.19" } } diff --git a/examples/framework-vue/package.json b/examples/framework-vue/package.json index 8411c9d37fd7..04cdc459ede0 100644 --- a/examples/framework-vue/package.json +++ b/examples/framework-vue/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/vue": "^4.5.2", - "astro": "^4.15.12", + "astro": "^4.16.0", "vue": "^3.5.11" } } diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 50ddf619ebb5..34fd574d4cc8 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -12,6 +12,6 @@ }, "dependencies": { "@astrojs/node": "^8.3.4", - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/integration/package.json b/examples/integration/package.json index 424f36fd6d3e..00849d01541f 100644 --- a/examples/integration/package.json +++ b/examples/integration/package.json @@ -15,7 +15,7 @@ ], "scripts": {}, "devDependencies": { - "astro": "^4.15.12" + "astro": "^4.16.0" }, "peerDependencies": { "astro": "^4.0.0" diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 29cc0c5763bf..ce2a5ea57e28 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -13,7 +13,7 @@ }, "dependencies": { "@astrojs/node": "^8.3.4", - "astro": "^4.15.12", + "astro": "^4.16.0", "html-minifier": "^4.0.0" }, "devDependencies": { diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 70d918ac41fc..a87487eb49e1 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/non-html-pages/package.json b/examples/non-html-pages/package.json index d51b7fde3d92..42eeb8439ffb 100644 --- a/examples/non-html-pages/package.json +++ b/examples/non-html-pages/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/portfolio/package.json b/examples/portfolio/package.json index 579dbad57426..c78a51b7cb84 100644 --- a/examples/portfolio/package.json +++ b/examples/portfolio/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index e36a883d2010..32835a17b16a 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -12,12 +12,12 @@ "devDependencies": { "@astrojs/node": "^8.3.4", "@astrojs/react": "^3.6.2", - "@astrojs/tailwind": "^5.1.1", + "@astrojs/tailwind": "^5.1.2", "@fortawesome/fontawesome-free": "^6.6.0", "@tailwindcss/forms": "^0.5.9", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", - "astro": "^4.15.12", + "astro": "^4.16.0", "postcss": "^8.4.47", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index fafdcaacaa34..efa83df1335f 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -14,7 +14,7 @@ "dependencies": { "@astrojs/node": "^8.3.4", "@astrojs/svelte": "^5.7.2", - "astro": "^4.15.12", + "astro": "^4.16.0", "svelte": "^4.2.19" } } diff --git a/examples/starlog/package.json b/examples/starlog/package.json index 49c08189db03..93f776317a56 100644 --- a/examples/starlog/package.json +++ b/examples/starlog/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.15.12", + "astro": "^4.16.0", "sass": "^1.79.4", "sharp": "^0.33.3" } diff --git a/examples/toolbar-app/package.json b/examples/toolbar-app/package.json index a635bf7b0c2a..02cbdf8d55f2 100644 --- a/examples/toolbar-app/package.json +++ b/examples/toolbar-app/package.json @@ -15,6 +15,6 @@ "./app": "./dist/app.js" }, "devDependencies": { - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index a1cc6d5966a1..79ad9421b6d6 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -10,8 +10,8 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/tailwind": "^5.1.1", + "@astrojs/tailwind": "^5.1.2", "@astrojs/node": "^8.3.4", - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index 4d883ab77f11..b42a76ef2534 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.11.4", - "astro": "^4.15.12" + "@astrojs/markdoc": "^0.11.5", + "astro": "^4.16.0" } } diff --git a/examples/with-markdown-plugins/package.json b/examples/with-markdown-plugins/package.json index dfa6ba5aca4b..8870481b35b9 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.2.0", - "astro": "^4.15.12", + "@astrojs/markdown-remark": "^5.3.0", + "astro": "^4.16.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 774f622deae2..323a9ef22460 100644 --- a/examples/with-markdown-shiki/package.json +++ b/examples/with-markdown-shiki/package.json @@ -11,6 +11,6 @@ "astro": "astro" }, "dependencies": { - "astro": "^4.15.12" + "astro": "^4.16.0" } } diff --git a/examples/with-mdx/package.json b/examples/with-mdx/package.json index 0a7fc9f2e23a..8bf1ba448451 100644 --- a/examples/with-mdx/package.json +++ b/examples/with-mdx/package.json @@ -11,9 +11,9 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.7", + "@astrojs/mdx": "^3.1.8", "@astrojs/preact": "^3.5.3", - "astro": "^4.15.12", + "astro": "^4.16.0", "preact": "^10.24.2" } } diff --git a/examples/with-nanostores/package.json b/examples/with-nanostores/package.json index 1440ab4cbf02..118020bcba5d 100644 --- a/examples/with-nanostores/package.json +++ b/examples/with-nanostores/package.json @@ -13,7 +13,7 @@ "dependencies": { "@astrojs/preact": "^3.5.3", "@nanostores/preact": "^0.5.2", - "astro": "^4.15.12", + "astro": "^4.16.0", "nanostores": "^0.11.3", "preact": "^10.24.2" } diff --git a/examples/with-tailwindcss/package.json b/examples/with-tailwindcss/package.json index 8973f5bc8882..f37d3e399188 100644 --- a/examples/with-tailwindcss/package.json +++ b/examples/with-tailwindcss/package.json @@ -11,10 +11,10 @@ "astro": "astro" }, "dependencies": { - "@astrojs/mdx": "^3.1.7", - "@astrojs/tailwind": "^5.1.1", + "@astrojs/mdx": "^3.1.8", + "@astrojs/tailwind": "^5.1.2", "@types/canvas-confetti": "^1.6.4", - "astro": "^4.15.12", + "astro": "^4.16.0", "autoprefixer": "^10.4.20", "canvas-confetti": "^1.9.3", "postcss": "^8.4.47", diff --git a/examples/with-vitest/package.json b/examples/with-vitest/package.json index 4b0efac403fc..73f66c67df36 100644 --- a/examples/with-vitest/package.json +++ b/examples/with-vitest/package.json @@ -12,7 +12,7 @@ "test": "vitest" }, "dependencies": { - "astro": "^4.15.12", + "astro": "^4.16.0", "vitest": "^2.1.2" } } diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md index 042a36c5516e..be7c24e33f2e 100644 --- a/packages/astro-rss/CHANGELOG.md +++ b/packages/astro-rss/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/rss +## 4.0.8 + +### Patch Changes + +- [#12137](https://github.com/withastro/astro/pull/12137) [`50dd88b`](https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Fixes an error that occurred when the optional `pubDate` property was missing in an item. + +- [#12137](https://github.com/withastro/astro/pull/12137) [`50dd88b`](https://github.com/withastro/astro/commit/50dd88bc6611243e3f1b2df643af6d0b551fe140) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Fixes an error where docs incorrectly stated the `title`, `link` and `pubDate` properties of RSS items was required. + ## 4.0.7 ### Patch Changes diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json index d65b71c6dc33..509f31ee3859 100644 --- a/packages/astro-rss/package.json +++ b/packages/astro-rss/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/rss", "description": "Add RSS feeds to your Astro projects", - "version": "4.0.7", + "version": "4.0.8", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index 2222030ad29d..27aa540410c4 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,78 @@ # astro +## 4.16.0 + +### Minor Changes + +- [#12039](https://github.com/withastro/astro/pull/12039) [`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b) Thanks [@ematipico](https://github.com/ematipico)! - Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), but you want your Markdown source to contain an accurate language while also displaying syntax highlighting. + + The following example configures Shiki to highlight `cjs` code blocks using the `javascript` syntax highlighter: + + ```js + import { defineConfig } from 'astro/config'; + + export default defineConfig({ + markdown: { + shikiConfig: { + langAlias: { + cjs: 'javascript', + }, + }, + }, + }); + ``` + + Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting: + + ````md + ```cjs + 'use strict'; + + function commonJs() { + return 'I am a commonjs file'; + } + ``` + ```` + +- [#11984](https://github.com/withastro/astro/pull/11984) [`3ac2263`](https://github.com/withastro/astro/commit/3ac2263ff6070136bec9cffb863c38bcc31ccdfe) Thanks [@chaegumi](https://github.com/chaegumi)! - Adds a new `build.concurreny` configuration option to specify the number of pages to build in parallel + + **In most cases, you should not change the default value of `1`.** + + Use this option only when other attempts to reduce the overall rendering time (e.g. batch or cache long running tasks like fetch calls or data access) are not possible or are insufficient. + + Use this option only if the refactors are not possible. If the number is set too high, the page rendering may slow down due to insufficient memory resources and because JS is single-threaded. + + > [!WARNING] + > This feature is stable and is not considered experimental. However, this feature is only intended to address difficult performance issues, and breaking changes may occur in a [minor release](https://docs.astro.build/en/upgrade-astro/#semantic-versioning) to keep this option as performant as possible. + + ```js + // astro.config.mjs + import { defineConfig } from 'astro'; + + export default defineConfig({ + build: { + concurrency: 2, + }, + }); + ``` + +### Patch Changes + +- [#12160](https://github.com/withastro/astro/pull/12160) [`c6fd1df`](https://github.com/withastro/astro/commit/c6fd1df695d0f2a24bb49e6954064f92664ccf67) Thanks [@louisescher](https://github.com/louisescher)! - Fixes a bug where `astro.config.mts` and `astro.config.cts` weren't reloading the dev server upon modifications. + +- [#12130](https://github.com/withastro/astro/pull/12130) [`e96bcae`](https://github.com/withastro/astro/commit/e96bcae535ef2f0661f539c1d49690c531df2d4e) Thanks [@thehansys](https://github.com/thehansys)! - Fixes a bug in the parsing of `x-forwarded-\*` `Request` headers, where multiple values assigned to those headers were not correctly parsed. + + Now, headers like `x-forwarded-proto: https,http` are correctly parsed. + +- [#12147](https://github.com/withastro/astro/pull/12147) [`9db755a`](https://github.com/withastro/astro/commit/9db755ab7cfe658ec426387e297bdcd32c4bc8de) Thanks [@ascorbic](https://github.com/ascorbic)! - Skips setting statusMessage header for HTTP/2 response + + HTTP/2 doesn't support status message, so setting this was logging a warning. + +- [#12151](https://github.com/withastro/astro/pull/12151) [`bb6d37f`](https://github.com/withastro/astro/commit/bb6d37f94a283433994f9243189cb4386df0e11a) Thanks [@ematipico](https://github.com/ematipico)! - Fixes an issue where `Astro.currentLocale` wasn't incorrectly computed when the `defaultLocale` belonged to a custom locale path. + +- Updated dependencies [[`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b)]: + - @astrojs/markdown-remark@5.3.0 + ## 4.15.12 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index 0c92715060ca..2a8f592cc404 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "4.15.12", + "version": "4.16.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/create-astro/CHANGELOG.md b/packages/create-astro/CHANGELOG.md index 59f6ab93f947..2238bc056ed3 100644 --- a/packages/create-astro/CHANGELOG.md +++ b/packages/create-astro/CHANGELOG.md @@ -1,5 +1,11 @@ # create-astro +## 4.9.2 + +### Patch Changes + +- [#12143](https://github.com/withastro/astro/pull/12143) [`2385d58`](https://github.com/withastro/astro/commit/2385d58389ee975a53f4089f2a7220d97cf3cdff) Thanks [@bluwy](https://github.com/bluwy)! - Uses `@bluwy/giget-core` instead of `giget` for smaller installation size when downloading the CLI + ## 4.9.1 ### Patch Changes diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index c5833a3c622b..f7aaa96a155e 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -1,6 +1,6 @@ { "name": "create-astro", - "version": "4.9.1", + "version": "4.9.2", "type": "module", "author": "withastro", "license": "MIT", diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index 9ad007655366..0929ce6e0d9e 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/markdoc +## 0.11.5 + +### Patch Changes + +- Updated dependencies [[`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b)]: + - @astrojs/markdown-remark@5.3.0 + ## 0.11.4 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 9cb18f37c240..d6164a5a1232 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.4", + "version": "0.11.5", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md index 0d4f55c42108..5867b3eeb9b6 100644 --- a/packages/integrations/mdx/CHANGELOG.md +++ b/packages/integrations/mdx/CHANGELOG.md @@ -1,5 +1,12 @@ # @astrojs/mdx +## 3.1.8 + +### Patch Changes + +- Updated dependencies [[`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b)]: + - @astrojs/markdown-remark@5.3.0 + ## 3.1.7 ### Patch Changes diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index bdfd920932fb..61a16232a80e 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.7", + "version": "3.1.8", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md index e03f094b2838..4179807dfcef 100644 --- a/packages/integrations/tailwind/CHANGELOG.md +++ b/packages/integrations/tailwind/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/tailwind +## 5.1.2 + +### Patch Changes + +- [#12161](https://github.com/withastro/astro/pull/12161) [`8e500f2`](https://github.com/withastro/astro/commit/8e500f2f9656a98e4a14ef567f9bf072459f62c4) Thanks [@delucis](https://github.com/delucis)! - Adds keywords to `package.json` to improve categorization in the Astro integrations catalog + ## 5.1.1 ### Patch Changes diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 5500c9438873..b70014db166e 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/tailwind", "description": "Use Tailwind CSS to style your Astro site", - "version": "5.1.1", + "version": "5.1.2", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md index 73bab0b25280..1563450b49af 100644 --- a/packages/markdown/remark/CHANGELOG.md +++ b/packages/markdown/remark/CHANGELOG.md @@ -1,5 +1,39 @@ # @astrojs/markdown-remark +## 5.3.0 + +### Minor Changes + +- [#12039](https://github.com/withastro/astro/pull/12039) [`710a1a1`](https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b) Thanks [@ematipico](https://github.com/ematipico)! - Adds a `markdown.shikiConfig.langAlias` option that allows [aliasing a non-supported code language to a known language](https://shiki.style/guide/load-lang#custom-language-aliases). This is useful when the language of your code samples is not [a built-in Shiki language](https://shiki.style/languages), but you want your Markdown source to contain an accurate language while also displaying syntax highlighting. + + The following example configures Shiki to highlight `cjs` code blocks using the `javascript` syntax highlighter: + + ```js + import { defineConfig } from 'astro/config'; + + export default defineConfig({ + markdown: { + shikiConfig: { + langAlias: { + cjs: 'javascript', + }, + }, + }, + }); + ``` + + Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting: + + ````md + ```cjs + 'use strict'; + + function commonJs() { + return 'I am a commonjs file'; + } + ``` + ```` + ## 5.2.0 ### Minor Changes diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index cf3482b960a7..ed41000ce97e 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/markdown-remark", - "version": "5.2.0", + "version": "5.3.0", "type": "module", "author": "withastro", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 94dc5e61a6e1..5cb1df3b9858 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -113,28 +113,28 @@ importers: examples/basics: dependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/blog: dependencies: '@astrojs/mdx': - specifier: ^3.1.7 + specifier: ^3.1.8 version: link:../../packages/integrations/mdx '@astrojs/rss': - specifier: ^4.0.7 + specifier: ^4.0.8 version: link:../../packages/astro-rss '@astrojs/sitemap': specifier: ^3.2.0 version: link:../../packages/integrations/sitemap astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/component: devDependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/container-with-vitest: @@ -143,7 +143,7 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -174,7 +174,7 @@ importers: specifier: ^3.14.1 version: 3.14.1 astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/framework-lit: @@ -186,7 +186,7 @@ importers: specifier: ^0.2.1 version: 0.2.1 astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro lit: specifier: ^3.2.0 @@ -216,7 +216,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro preact: specifier: ^10.24.2 @@ -246,7 +246,7 @@ importers: specifier: ^1.3.0 version: 1.3.0(preact@10.24.2) astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro preact: specifier: ^10.24.2 @@ -264,7 +264,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro react: specifier: ^18.3.1 @@ -279,7 +279,7 @@ importers: specifier: ^4.4.2 version: link:../../packages/integrations/solid astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro solid-js: specifier: ^1.9.1 @@ -291,7 +291,7 @@ importers: specifier: ^5.7.2 version: link:../../packages/integrations/svelte astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro svelte: specifier: ^4.2.19 @@ -303,7 +303,7 @@ importers: specifier: ^4.5.2 version: link:../../packages/integrations/vue astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro vue: specifier: ^3.5.11 @@ -315,13 +315,13 @@ importers: specifier: ^8.3.4 version: 8.3.4(astro@packages+astro) astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/integration: devDependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/middleware: @@ -330,7 +330,7 @@ importers: specifier: ^8.3.4 version: 8.3.4(astro@packages+astro) astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro html-minifier: specifier: ^4.0.0 @@ -343,19 +343,19 @@ importers: examples/minimal: dependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/non-html-pages: dependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/portfolio: dependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/server-islands: @@ -367,7 +367,7 @@ importers: specifier: ^3.6.2 version: link:../../packages/integrations/react '@astrojs/tailwind': - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/integrations/tailwind '@fortawesome/fontawesome-free': specifier: ^6.6.0 @@ -382,7 +382,7 @@ importers: specifier: ^18.3.0 version: 18.3.0 astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro postcss: specifier: ^8.4.47 @@ -406,7 +406,7 @@ importers: specifier: ^5.7.2 version: link:../../packages/integrations/svelte astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro svelte: specifier: ^4.2.19 @@ -415,7 +415,7 @@ importers: examples/starlog: dependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro sass: specifier: ^1.79.4 @@ -427,7 +427,7 @@ importers: examples/toolbar-app: devDependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/view-transitions: @@ -436,28 +436,28 @@ importers: specifier: ^8.3.4 version: 8.3.4(astro@packages+astro) '@astrojs/tailwind': - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/integrations/tailwind astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.11.4 + specifier: ^0.11.5 version: link:../../packages/integrations/markdoc astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/with-markdown-plugins: dependencies: '@astrojs/markdown-remark': - specifier: ^5.2.0 + specifier: ^5.3.0 version: link:../../packages/markdown/remark astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro hast-util-select: specifier: ^6.0.2 @@ -478,19 +478,19 @@ importers: examples/with-markdown-shiki: dependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro examples/with-mdx: dependencies: '@astrojs/mdx': - specifier: ^3.1.7 + specifier: ^3.1.8 version: link:../../packages/integrations/mdx '@astrojs/preact': specifier: ^3.5.3 version: link:../../packages/integrations/preact astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro preact: specifier: ^10.24.2 @@ -505,7 +505,7 @@ importers: specifier: ^0.5.2 version: 0.5.2(nanostores@0.11.3)(preact@10.24.2) astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro nanostores: specifier: ^0.11.3 @@ -517,16 +517,16 @@ importers: examples/with-tailwindcss: dependencies: '@astrojs/mdx': - specifier: ^3.1.7 + specifier: ^3.1.8 version: link:../../packages/integrations/mdx '@astrojs/tailwind': - specifier: ^5.1.1 + specifier: ^5.1.2 version: link:../../packages/integrations/tailwind '@types/canvas-confetti': specifier: ^1.6.4 version: 1.6.4 astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro autoprefixer: specifier: ^10.4.20 @@ -544,7 +544,7 @@ importers: examples/with-vitest: dependencies: astro: - specifier: ^4.15.12 + specifier: ^4.16.0 version: link:../../packages/astro vitest: specifier: ^2.1.2