From 6786f8232e715d77514b9afe8d386642cf230ae4 Mon Sep 17 00:00:00 2001 From: Houston (Bot) Date: Fri, 6 Oct 2023 09:58:57 -0700 Subject: [ci] release (#816) Co-authored-by: github-actions[bot] --- .changeset/cyan-dingos-argue.md | 5 --- .changeset/dull-mails-fold.md | 5 --- .changeset/fuzzy-foxes-confess.md | 5 --- .changeset/good-ways-jump.md | 5 --- .changeset/happy-tips-burn.md | 11 ------ .changeset/modern-timers-switch.md | 21 ----------- .changeset/plenty-donkeys-lay.md | 21 ----------- .changeset/smart-panthers-hang.md | 5 --- examples/basics/package.json | 2 +- examples/tailwind/package.json | 2 +- packages/starlight/CHANGELOG.md | 77 +++++++++++++++++++++++++++++++++----- packages/starlight/package.json | 2 +- pnpm-lock.yaml | 4 +- 13 files changed, 73 insertions(+), 92 deletions(-) delete mode 100644 .changeset/cyan-dingos-argue.md delete mode 100644 .changeset/dull-mails-fold.md delete mode 100644 .changeset/fuzzy-foxes-confess.md delete mode 100644 .changeset/good-ways-jump.md delete mode 100644 .changeset/happy-tips-burn.md delete mode 100644 .changeset/modern-timers-switch.md delete mode 100644 .changeset/plenty-donkeys-lay.md delete mode 100644 .changeset/smart-panthers-hang.md diff --git a/.changeset/cyan-dingos-argue.md b/.changeset/cyan-dingos-argue.md deleted file mode 100644 index ae0d7964..00000000 --- a/.changeset/cyan-dingos-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Add Facebook and email icons diff --git a/.changeset/dull-mails-fold.md b/.changeset/dull-mails-fold.md deleted file mode 100644 index 63c6a0c1..00000000 --- a/.changeset/dull-mails-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Use `` instead of `

` in sidebar group headings diff --git a/.changeset/fuzzy-foxes-confess.md b/.changeset/fuzzy-foxes-confess.md deleted file mode 100644 index 6dbec2dc..00000000 --- a/.changeset/fuzzy-foxes-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Support adding HTML attributes to sidebar links from config and frontmatter diff --git a/.changeset/good-ways-jump.md b/.changeset/good-ways-jump.md deleted file mode 100644 index 93d67f8c..00000000 --- a/.changeset/good-ways-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": patch ---- - -Add Vietnamese translations for Starlight UI diff --git a/.changeset/happy-tips-burn.md b/.changeset/happy-tips-burn.md deleted file mode 100644 index 6cffe4d9..00000000 --- a/.changeset/happy-tips-burn.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Add the `@astrojs/sitemap` and `@astrojs/mdx` integrations only if they are not detected in the Astro configuration. - -⚠️ **BREAKING CHANGE** The minimum supported version of Astro is now v3.2.0. Make sure you update Astro at the same time as updating Starlight: - -```sh -npm install astro@latest -``` diff --git a/.changeset/modern-timers-switch.md b/.changeset/modern-timers-switch.md deleted file mode 100644 index 6bc1fa1e..00000000 --- a/.changeset/modern-timers-switch.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Add `titleDelimiter` configuration option and include site title in page `` tags - -⚠️ **BREAKING CHANGE** — Previously, every page’s `<title>` only included its individual frontmatter title. -Now, `<title>` tags include the page title, a delimiter character (`|` by default), and the site title. -For example, in the Startlight docs, `<title>Configuration Reference` is now `Configuration Reference | Starlight`. - -If you have a page where you need to override this new behaviour, set a custom title using the `head` frontmatter property: - - -```md ---- -title: My Page -head: - - tag: title - content: Custom Title ---- -``` \ No newline at end of file diff --git a/.changeset/plenty-donkeys-lay.md b/.changeset/plenty-donkeys-lay.md deleted file mode 100644 index cb041fbd..00000000 --- a/.changeset/plenty-donkeys-lay.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Add support for overriding Starlight’s built-in components - -⚠️ **BREAKING CHANGE** — The page footer is now included on pages with `template: splash` in their frontmatter. Previously, this was not the case. If you are using `template: splash` and want to continue to hide footer elements, disable them in your frontmatter: - -```md ---- -title: Landing page -template: splash -# Disable unwanted footer elements as needed -editUrl: false -lastUpdated: false -prev: false -next: false ---- -``` - -⚠️ **BREAKING CHANGE** — This change involved refactoring the structure of some of Starlight’s built-in components slightly. If you were previously overriding these using other techniques, you may need to adjust your code. \ No newline at end of file diff --git a/.changeset/smart-panthers-hang.md b/.changeset/smart-panthers-hang.md deleted file mode 100644 index 53ba50b6..00000000 --- a/.changeset/smart-panthers-hang.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Prevent text from overflowing in several cases diff --git a/examples/basics/package.json b/examples/basics/package.json index 5c5f4b73..f4a6c2ad 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.10.4", + "@astrojs/starlight": "^0.11.0", "astro": "^3.2.3", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index 5a88a21d..2901d01f 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.10.4", + "@astrojs/starlight": "^0.11.0", "@astrojs/starlight-tailwind": "^2.0.0", "@astrojs/tailwind": "^5.0.0", "astro": "^3.2.3", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index da0e25c2..6bde28e1 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,64 @@ # @astrojs/starlight +## 0.11.0 + +### Minor Changes + +- [#774](https://github.com/withastro/starlight/pull/774) [`903a579`](https://github.com/withastro/starlight/commit/903a57942ceb99b68672c3fa54622b39cc5d76f8) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Support adding HTML attributes to sidebar links from config and frontmatter + +- [#796](https://github.com/withastro/starlight/pull/796) [`372ec96`](https://github.com/withastro/starlight/commit/372ec96d31d0c1a9aa8bc1605de2b424bf9bd5af) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Add the `@astrojs/sitemap` and `@astrojs/mdx` integrations only if they are not detected in the Astro configuration. + + ⚠️ **BREAKING CHANGE** The minimum supported version of Astro is now v3.2.0. Make sure you update Astro at the same time as updating Starlight: + + ```sh + npm install astro@latest + ``` + +- [#447](https://github.com/withastro/starlight/pull/447) [`b45719b`](https://github.com/withastro/starlight/commit/b45719b581353f8d8f0ce0a9b5c89132e902377b) Thanks [@andremralves](https://github.com/andremralves)! - Add `titleDelimiter` configuration option and include site title in page `` tags + + ⚠️ **BREAKING CHANGE** — Previously, every page’s `<title>` only included its individual frontmatter title. + Now, `<title>` tags include the page title, a delimiter character (`|` by default), and the site title. + For example, in the Startlight docs, `<title>Configuration Reference` is now `Configuration Reference | Starlight`. + + If you have a page where you need to override this new behaviour, set a custom title using the `head` frontmatter property: + + ```md + --- + title: My Page + head: + - tag: title + content: Custom Title + --- + ``` + +- [#709](https://github.com/withastro/starlight/pull/709) [`140e729`](https://github.com/withastro/starlight/commit/140e729a8bf12f805ae0b7e2b5ad959cf68d8e22) Thanks [@delucis](https://github.com/delucis)! - Add support for overriding Starlight’s built-in components + + ⚠️ **BREAKING CHANGE** — The page footer is now included on pages with `template: splash` in their frontmatter. Previously, this was not the case. If you are using `template: splash` and want to continue to hide footer elements, disable them in your frontmatter: + + ```md + --- + title: Landing page + template: splash + # Disable unwanted footer elements as needed + editUrl: false + lastUpdated: false + prev: false + next: false + --- + ``` + + ⚠️ **BREAKING CHANGE** — This change involved refactoring the structure of some of Starlight’s built-in components slightly. If you were previously overriding these using other techniques, you may need to adjust your code. + +### Patch Changes + +- [#815](https://github.com/withastro/starlight/pull/815) [`b7b23a2`](https://github.com/withastro/starlight/commit/b7b23a2c90a25fe8ea08338379b83d19c74d9037) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Add Facebook and email icons + +- [#810](https://github.com/withastro/starlight/pull/810) [`dbe977b`](https://github.com/withastro/starlight/commit/dbe977b6ce3efcffefab850eca08bef316b41e53) Thanks [@hasham-qaiser](https://github.com/hasham-qaiser)! - Use `` instead of `

` in sidebar group headings + +- [#807](https://github.com/withastro/starlight/pull/807) [`7c73dd1`](https://github.com/withastro/starlight/commit/7c73dd146ee294f9092346a0b0041990cc648a13) Thanks [@torn4dom4n](https://github.com/torn4dom4n)! - Add Vietnamese translations for Starlight UI + +- [#756](https://github.com/withastro/starlight/pull/756) [`f55a8f0`](https://github.com/withastro/starlight/commit/f55a8f014a7addc46e971dd6b7148f4545acd16c) Thanks [@julien-deramond](https://github.com/julien-deramond)! - Prevent text from overflowing in several cases + ## 0.10.4 ### Patch Changes @@ -167,16 +226,16 @@ ```css :root { - --sl-hue-accent: 234; - --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); - --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); - --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); + --sl-hue-accent: 234; + --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); + --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); + --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); } :root[data-theme='light'] { - --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); - --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); - --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); + --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); + --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); + --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); } ``` @@ -555,8 +614,8 @@ ```json { - "search.label": "Suchen", - "search.shortcutLabel": "(Drücke / zum Suchen)" + "search.label": "Suchen", + "search.shortcutLabel": "(Drücke / zum Suchen)" } ``` diff --git a/packages/starlight/package.json b/packages/starlight/package.json index f301e36f..15f101df 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.10.4", + "version": "0.11.0", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c4e42215..1e7122f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -103,7 +103,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.10.4 + specifier: ^0.11.0 version: link:../../packages/starlight astro: specifier: ^3.2.3 @@ -115,7 +115,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.10.4 + specifier: ^0.11.0 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^2.0.0 -- cgit