diff options
author | Houston (Bot) | 2025-07-16 07:07:36 -0700 |
---|---|---|
committer | GitHub | 2025-07-16 16:07:36 +0200 |
commit | 7447fe57879e488569c44867eb80a14a310fbcd6 (patch) | |
tree | a0587032f60e6abca6b1116a8aa9a70cec6e7f49 | |
parent | e7fe26720b7527c39e3aab42ea9fd0468f92167c (diff) | |
download | IT.starlight-7447fe57879e488569c44867eb80a14a310fbcd6.tar.gz IT.starlight-7447fe57879e488569c44867eb80a14a310fbcd6.tar.bz2 IT.starlight-7447fe57879e488569c44867eb80a14a310fbcd6.zip |
[ci] release (#3308)@astrojs/starlight@0.35.0@astrojs/starlight-markdoc@0.5.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
-rw-r--r-- | .changeset/brave-apples-give.md | 5 | ||||
-rw-r--r-- | .changeset/five-flowers-flash.md | 5 | ||||
-rw-r--r-- | .changeset/loud-guests-pay.md | 7 | ||||
-rw-r--r-- | .changeset/metal-trees-deny.md | 7 | ||||
-rw-r--r-- | .changeset/moody-donkeys-applaud.md | 5 | ||||
-rw-r--r-- | .changeset/smooth-pillows-decide.md | 9 | ||||
-rw-r--r-- | .changeset/twenty-donuts-greet.md | 5 | ||||
-rw-r--r-- | .changeset/unlucky-bananas-accept.md | 11 | ||||
-rw-r--r-- | examples/basics/package.json | 2 | ||||
-rw-r--r-- | examples/markdoc/package.json | 4 | ||||
-rw-r--r-- | examples/tailwind/package.json | 2 | ||||
-rw-r--r-- | packages/markdoc/CHANGELOG.md | 6 | ||||
-rw-r--r-- | packages/markdoc/package.json | 2 | ||||
-rw-r--r-- | packages/starlight/CHANGELOG.md | 34 | ||||
-rw-r--r-- | packages/starlight/package.json | 2 | ||||
-rw-r--r-- | pnpm-lock.yaml | 8 |
16 files changed, 50 insertions, 64 deletions
diff --git a/.changeset/brave-apples-give.md b/.changeset/brave-apples-give.md deleted file mode 100644 index 4963ac42..00000000 --- a/.changeset/brave-apples-give.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight-markdoc': minor ---- - -Adds support for the `icon` attribute in the `aside` tag, allowing the use of any of Starlight’s built-in icons. diff --git a/.changeset/five-flowers-flash.md b/.changeset/five-flowers-flash.md deleted file mode 100644 index 6e5763bb..00000000 --- a/.changeset/five-flowers-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Adds support for using any of Starlight’s built-in icons in asides. diff --git a/.changeset/loud-guests-pay.md b/.changeset/loud-guests-pay.md deleted file mode 100644 index 7f802016..00000000 --- a/.changeset/loud-guests-pay.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Ensures invalid sidebar group configurations using the `attrs` option are properly reported as a type error. - -Previously, invalid sidebar group configurations using the `attrs` option were not reported as a type error but only surfaced at runtime. This change is only a type-level change and does not affect the runtime behavior of Starlight which does not support the `attrs` option for sidebar groups. diff --git a/.changeset/metal-trees-deny.md b/.changeset/metal-trees-deny.md deleted file mode 100644 index 86b2ab20..00000000 --- a/.changeset/metal-trees-deny.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Adds a new `generateId` option to Starlight’s `docsLoader()` - -This enables overriding the default sluggifier used to convert content filenames to URLs. diff --git a/.changeset/moody-donkeys-applaud.md b/.changeset/moody-donkeys-applaud.md deleted file mode 100644 index b76c1ed5..00000000 --- a/.changeset/moody-donkeys-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Prevents Starlight remark and rehype plugins from transforming Markdown and MDX content when using the Astro [`renderMarkdown()`](https://docs.astro.build/en/reference/content-loader-reference/#rendermarkdown) content loader API. diff --git a/.changeset/smooth-pillows-decide.md b/.changeset/smooth-pillows-decide.md deleted file mode 100644 index 7cba5f06..00000000 --- a/.changeset/smooth-pillows-decide.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Excludes banner content from search results - -Previously, content set in [`banner`](https://starlight.astro.build/reference/frontmatter/#banner) in page frontmatter was indexed by Starlight’s default search provider Pagefind. This could cause unexpected search results, especially for sites setting a common banner content on multiple pages. Starlight’s default `Banner` component is now excluded from search indexing. - -This change does not impact `Banner` overrides using custom components. diff --git a/.changeset/twenty-donuts-greet.md b/.changeset/twenty-donuts-greet.md deleted file mode 100644 index 1a816d82..00000000 --- a/.changeset/twenty-donuts-greet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Adds support for custom HTML attributes on autogenerated sidebar links using the [`autogenerate.attrs`](https://starlight.astro.build/guides/sidebar/#custom-html-attributes-for-autogenerated-links) option. diff --git a/.changeset/unlucky-bananas-accept.md b/.changeset/unlucky-bananas-accept.md deleted file mode 100644 index a13dfff5..00000000 --- a/.changeset/unlucky-bananas-accept.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Fixes an issue where some Starlight remark and rehype plugins were transforming Markdown and MDX content in non-Starlight pages. - -⚠️ **BREAKING CHANGE:** - -Previously, some of Starlight’s remark and rehype plugins, most notably the plugin transforming Starlight's custom Markdown syntax for [rendering asides](https://starlight.astro.build/guides/authoring-content/#asides), were applied to all Markdown and MDX content. This included content from [individual Markdown pages](https://docs.astro.build/en/guides/markdown-content/#individual-markdown-pages) and content from [content collections](https://docs.astro.build/en/guides/content-collections/) other than the `docs` collection used by Starlight. - -This change restricts the application of Starlight’s remark and rehype plugins to only Markdown and MDX content loaded using Starlight's [`docsLoader()`](https://starlight.astro.build/reference/configuration/#docsloader). If you were relying on this behavior, please let us know about your use case in the dedicated `#starlight` channel in the [Astro Discord](https://astro.build/chat/) or by [opening an issue](https://github.com/withastro/starlight/issues/new?template=---01-bug-report.yml). diff --git a/examples/basics/package.json b/examples/basics/package.json index d71839ca..75e09e3f 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.34.8", + "@astrojs/starlight": "^0.35.0", "astro": "^5.6.1", "sharp": "^0.34.2" } diff --git a/examples/markdoc/package.json b/examples/markdoc/package.json index 2126ea04..bcd6aaa2 100644 --- a/examples/markdoc/package.json +++ b/examples/markdoc/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@astrojs/markdoc": "^0.13.3", - "@astrojs/starlight": "^0.34.8", - "@astrojs/starlight-markdoc": "^0.4.0", + "@astrojs/starlight": "^0.35.0", + "@astrojs/starlight-markdoc": "^0.5.0", "astro": "^5.6.1", "sharp": "^0.34.2" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index 5cfd4863..f193c562 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.34.8", + "@astrojs/starlight": "^0.35.0", "@astrojs/starlight-tailwind": "^4.0.1", "@tailwindcss/vite": "^4.0.7", "astro": "^5.6.1", diff --git a/packages/markdoc/CHANGELOG.md b/packages/markdoc/CHANGELOG.md index 340e6907..81f7cb6a 100644 --- a/packages/markdoc/CHANGELOG.md +++ b/packages/markdoc/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/starlight-markdoc +## 0.5.0 + +### Minor Changes + +- [#2261](https://github.com/withastro/starlight/pull/2261) [`778b743`](https://github.com/withastro/starlight/commit/778b743cdb832551ed576c745728358d8bbf9d7a) Thanks [@shubham-padia](https://github.com/shubham-padia)! - Adds support for the `icon` attribute in the `aside` tag, allowing the use of any of Starlight’s built-in icons. + ## 0.4.0 ### Minor Changes diff --git a/packages/markdoc/package.json b/packages/markdoc/package.json index e949671f..4b63316b 100644 --- a/packages/markdoc/package.json +++ b/packages/markdoc/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight-markdoc", - "version": "0.4.0", + "version": "0.5.0", "description": "Markdoc preset for the Starlight documentation theme for Astro", "author": "Chris Swithinbank <swithinbank@gmail.com>", "license": "MIT", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index cdca75a9..4ba3395d 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,39 @@ # @astrojs/starlight +## 0.35.0 + +### Minor Changes + +- [#2261](https://github.com/withastro/starlight/pull/2261) [`778b743`](https://github.com/withastro/starlight/commit/778b743cdb832551ed576c745728358d8bbf9d7a) Thanks [@shubham-padia](https://github.com/shubham-padia)! - Adds support for using any of Starlight’s built-in icons in asides. + +- [#3272](https://github.com/withastro/starlight/pull/3272) [`e7fe267`](https://github.com/withastro/starlight/commit/e7fe26720b7527c39e3aab42ea9fd0468f92167c) Thanks [@delucis](https://github.com/delucis)! - Adds a new `generateId` option to Starlight’s `docsLoader()` + + This enables overriding the default sluggifier used to convert content filenames to URLs. + +- [#3276](https://github.com/withastro/starlight/pull/3276) [`3917b20`](https://github.com/withastro/starlight/commit/3917b206da26522f73bbe0c1120de9acae5972c5) Thanks [@delucis](https://github.com/delucis)! - Excludes banner content from search results + + Previously, content set in [`banner`](https://starlight.astro.build/reference/frontmatter/#banner) in page frontmatter was indexed by Starlight’s default search provider Pagefind. This could cause unexpected search results, especially for sites setting a common banner content on multiple pages. Starlight’s default `Banner` component is now excluded from search indexing. + + This change does not impact `Banner` overrides using custom components. + +- [#3266](https://github.com/withastro/starlight/pull/3266) [`1161af0`](https://github.com/withastro/starlight/commit/1161af0c2fe26485da6123f8fd7205c53b0e45e5) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds support for custom HTML attributes on autogenerated sidebar links using the [`autogenerate.attrs`](https://starlight.astro.build/guides/sidebar/#custom-html-attributes-for-autogenerated-links) option. + +- [#3274](https://github.com/withastro/starlight/pull/3274) [`80ccff7`](https://github.com/withastro/starlight/commit/80ccff7c542794e04a4d2abb17227a076fa57c5d) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes an issue where some Starlight remark and rehype plugins were transforming Markdown and MDX content in non-Starlight pages. + + ⚠️ **BREAKING CHANGE:** + + Previously, some of Starlight’s remark and rehype plugins, most notably the plugin transforming Starlight's custom Markdown syntax for [rendering asides](https://starlight.astro.build/guides/authoring-content/#asides), were applied to all Markdown and MDX content. This included content from [individual Markdown pages](https://docs.astro.build/en/guides/markdown-content/#individual-markdown-pages) and content from [content collections](https://docs.astro.build/en/guides/content-collections/) other than the `docs` collection used by Starlight. + + This change restricts the application of Starlight’s remark and rehype plugins to only Markdown and MDX content loaded using Starlight's [`docsLoader()`](https://starlight.astro.build/reference/configuration/#docsloader). If you were relying on this behavior, please let us know about your use case in the dedicated `#starlight` channel in the [Astro Discord](https://astro.build/chat/) or by [opening an issue](https://github.com/withastro/starlight/issues/new?template=---01-bug-report.yml). + +### Patch Changes + +- [#3266](https://github.com/withastro/starlight/pull/3266) [`1161af0`](https://github.com/withastro/starlight/commit/1161af0c2fe26485da6123f8fd7205c53b0e45e5) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Ensures invalid sidebar group configurations using the `attrs` option are properly reported as a type error. + + Previously, invalid sidebar group configurations using the `attrs` option were not reported as a type error but only surfaced at runtime. This change is only a type-level change and does not affect the runtime behavior of Starlight which does not support the `attrs` option for sidebar groups. + +- [#3274](https://github.com/withastro/starlight/pull/3274) [`80ccff7`](https://github.com/withastro/starlight/commit/80ccff7c542794e04a4d2abb17227a076fa57c5d) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Prevents Starlight remark and rehype plugins from transforming Markdown and MDX content when using the Astro [`renderMarkdown()`](https://docs.astro.build/en/reference/content-loader-reference/#rendermarkdown) content loader API. + ## 0.34.8 ### Patch Changes diff --git a/packages/starlight/package.json b/packages/starlight/package.json index b1dc60c5..9fb6e068 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.34.8", + "version": "0.35.0", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac2288e0..8427d3a9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -76,7 +76,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.34.8 + specifier: ^0.35.0 version: link:../../packages/starlight astro: specifier: ^5.6.1 @@ -91,10 +91,10 @@ importers: specifier: ^0.13.3 version: 0.13.4(astro@5.6.2(@types/node@18.16.19)(jiti@2.4.2)(lightningcss@1.29.3)(rollup@4.36.0)(tsx@4.15.2)(typescript@5.6.3)(yaml@2.6.1)) '@astrojs/starlight': - specifier: ^0.34.8 + specifier: ^0.35.0 version: link:../../packages/starlight '@astrojs/starlight-markdoc': - specifier: ^0.4.0 + specifier: ^0.5.0 version: link:../../packages/markdoc astro: specifier: ^5.6.1 @@ -106,7 +106,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.34.8 + specifier: ^0.35.0 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^4.0.1 |