diff --git a/.changeset/angry-ducks-kneel.md b/.changeset/angry-ducks-kneel.md deleted file mode 100644 index dd4b46c08c1f5..0000000000000 --- 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 1784e2031ec03..0000000000000 --- 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/ninety-dolls-reply.md b/.changeset/ninety-dolls-reply.md deleted file mode 100644 index ae7990b56569e..0000000000000 --- 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 3a4c896aa007a..0000000000000 --- 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 3dcc9d260b7a0..0000000000000 --- 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 9dad2acaf676c..0000000000000 --- 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 2233b8e00b195..0000000000000 --- 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 9fd933b596fb2..0000000000000 --- 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 8ff9e19314704..0000000000000 --- 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 7b84fa3d8b6cb..9094dc3e07d01 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 366bd55765520..e0eecd06dba16 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 0896e2626e955..ebbba8ccee2c9 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 0ef2ba7a769fb..57144a075f51d 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 8ec2b1217e75b..8de1079a603a1 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 5a87a490b8ffb..4f3eef3ca5118 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 21f27160183f3..71f543491c1c3 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 9c89525fc4909..3e89e9b40630b 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 2dd1e62110117..4d83318b3303f 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 721dda5c4f897..5d3ed0cd96dd6 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 f9c6448a01df2..a4bdc1566b362 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 8411c9d37fd7a..04cdc459ede04 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 50ddf619ebb56..34fd574d4cc82 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 424f36fd6d3e1..00849d01541fc 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 29cc0c5763bf7..ce2a5ea57e280 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 70d918ac41fc3..a87487eb49e19 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 d51b7fde3d92c..42eeb8439ffb1 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 579dbad574264..c78a51b7cb845 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 e36a883d20103..32835a17b16ae 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 fafdcaacaa347..efa83df1335fa 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 49c08189db032..93f776317a566 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 a635bf7b0c2a1..02cbdf8d55f24 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 a1cc6d5966a1e..79ad9421b6d62 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 4d883ab77f11b..b42a76ef2534c 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 dfa6ba5aca4b0..8870481b35b94 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 774f622deae28..323a9ef22460c 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 0a7fc9f2e23a3..8bf1ba4484512 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 1440ab4cbf026..118020bcba5d2 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 8973f5bc8882a..f37d3e3991883 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 4b0efac403fcd..73f66c67df365 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 042a36c5516e6..be7c24e33f2e9 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 d65b71c6dc330..509f31ee38590 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 2222030ad29d7..60640982e42c7 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,5 +1,76 @@ # 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 + +- [#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 0c92715060caf..2a8f592cc4045 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 59f6ab93f947c..2238bc056ed34 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 c5833a3c622b0..f7aaa96a155ec 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 9ad0076553668..0929ce6e0d9e1 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 9cb18f37c240b..d6164a5a1232e 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 0d4f55c42108f..5867b3eeb9b6e 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 bdfd920932fb6..61a16232a80e2 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 e03f094b28387..4179807dfcefd 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 5500c9438873a..b70014db166e3 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 73bab0b25280f..1563450b49af6 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 cf3482b960a76..ed41000ce97e4 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 94dc5e61a6e16..5cb1df3b98586 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