[ci] release (#4172)

This commit is contained in:
Houston (Bot)
2026-09-02 13:13:01 +02:00
committed by GitHub
parent 74cb3f1a40
commit 88ad3c2630
13 changed files with 73 additions and 78 deletions
-6
View File
@@ -1,6 +0,0 @@
---
"@astrojs/starlight": minor
"@astrojs/starlight-docsearch": minor
---
Distributes package as JavaScript files with dedicated type declaration files instead of TypeScript source files.
-23
View File
@@ -1,23 +0,0 @@
---
'@astrojs/starlight': minor
---
Simplifies markup for Starlight’s mobile menu toggle
**⚠️ Potentially breaking change:** If you use a theme plugin, custom styles, or component overrides targeting the `MobileMenuToggle` button or `PageFrame` components, you may need to adjust these for the new markup. The button is no longer wrapped in a `<starlight-menu-button>` custom element and no longer uses the `aria-expanded` attribute. Instead, you can use the `.sl-menu-button` class name to target the button and the `:popover-open` pseudo-class to style the menu open state specifically.
In the following example, custom styles for the menu button are updated for the new approach:
```diff
- starlight-menu-button button {
+ .sl-menu-button {
color: var(--sl-color-text);
}
- starlight-menu-button[aria-expanded='true'] button {
+ .sl-menu-button:has(~ :popover-open) {
color: var(--sl-color-text-accent-high);
}
```
See [`MobileMenuToggle.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/MobileMenuToggle.astro) and [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) on GitHub for the full source code of the updated components.
-7
View File
@@ -1,7 +0,0 @@
---
'@astrojs/starlight': minor
---
Removes the `tagline` configuration option, which was never used.
If your configuration included a `tagline` option, you can safely remove it without any replacement.
-16
View File
@@ -1,16 +0,0 @@
---
'@astrojs/starlight': minor
---
Updates internal `@astrojs/mdx`, `@astrojs/markdown-satteri`, and `satteri` dependencies.
⚠️ **BREAKING CHANGE:** The following minimum versions are now required:
- `astro` v7.2.10 or later
- `@astrojs/markdown-satteri` 0.4.0 or later (if you use it)
- `@astrojs/markdown-remark` 7.3.0 or later (if you use it)
Please update Starlight and Astro together:
```sh
npx @astrojs/upgrade
```
-18
View File
@@ -1,18 +0,0 @@
---
'@astrojs/starlight': minor
---
Refactors Starlight’s mobile menu toggle to work when JavaScript fails or is disabled
⚠️ **BREAKING CHANGE:** This release drops official support for Chromium-based browsers prior to version 116 (released August 2023), Safari-based browsers prior to version 17.0 (released September 2023), and Firefox prior to version 125 (released April 2024). You can find a list of currently supported browsers and their versions using this [browserslist query](https://browsersl.ist/#q=%3E+0.5%25%2C+not+dead%2C+Chrome+%3E%3D+116%2C+Edge+%3E%3D+116%2C+Firefox+%3E%3D+125%2C+Safari+%3E%3D+17.0%2C+iOS+%3E%3D+17.0%2C+not+op_mini+all).
This change also removes the `data-mobile-menu-expanded` attribute, which was previously added to `<body>` while the mobile menu is open. If you have custom code that was depending on this attribute, you will need to update it to use a new selector to check if the mobile menu is open.
In the following example, a custom background colour for the site header while the menu is open is updated for the new approach:
```diff
- [data-mobile-menu-expanded] header {
+ body:has(sl-sidebar-pane:popover-open) header {
background-color: var(--sl-color-bg);
}
```
+1 -1
View File
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.41.11",
"@astrojs/starlight": "^0.42.0",
"astro": "^7.2.10",
"sharp": "^0.35.3"
}
+1 -1
View File
@@ -12,7 +12,7 @@
},
"dependencies": {
"@astrojs/markdoc": "^2.0.8",
"@astrojs/starlight": "^0.41.11",
"@astrojs/starlight": "^0.42.0",
"@astrojs/starlight-markdoc": "^0.7.0",
"astro": "^7.2.10",
"sharp": "^0.35.3"
+1 -1
View File
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.41.11",
"@astrojs/starlight": "^0.42.0",
"@astrojs/starlight-tailwind": "^5.0.0",
"@tailwindcss/vite": "^4.2.4",
"astro": "^7.2.10",
+6
View File
@@ -1,5 +1,11 @@
# @astrojs/starlight-docsearch
## 0.8.0
### Minor Changes
- [#3572](https://github.com/withastro/starlight/pull/3572) [`292fb17`](https://github.com/withastro/starlight/commit/292fb179cbf6e2cd970ced46359c520aa14a80b4) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Distributes package as JavaScript files with dedicated type declaration files instead of TypeScript source files.
## 0.7.0
### Minor Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@astrojs/starlight-docsearch",
"version": "0.7.0",
"version": "0.8.0",
"description": "Algolia DocSearch plugin for the Starlight documentation theme for Astro",
"scripts": {
"build": "tsdown"
+59
View File
@@ -1,5 +1,64 @@
# @astrojs/starlight
## 0.42.0
### Minor Changes
- [#3572](https://github.com/withastro/starlight/pull/3572) [`292fb17`](https://github.com/withastro/starlight/commit/292fb179cbf6e2cd970ced46359c520aa14a80b4) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Distributes package as JavaScript files with dedicated type declaration files instead of TypeScript source files.
- [#4121](https://github.com/withastro/starlight/pull/4121) [`2623ae6`](https://github.com/withastro/starlight/commit/2623ae60af0fdafc71938f96153b0427fcc2b5aa) Thanks [@delucis](https://github.com/delucis)! - Simplifies markup for Starlight’s mobile menu toggle
**⚠️ Potentially breaking change:** If you use a theme plugin, custom styles, or component overrides targeting the `MobileMenuToggle` button or `PageFrame` components, you may need to adjust these for the new markup. The button is no longer wrapped in a `<starlight-menu-button>` custom element and no longer uses the `aria-expanded` attribute. Instead, you can use the `.sl-menu-button` class name to target the button and the `:popover-open` pseudo-class to style the menu open state specifically.
In the following example, custom styles for the menu button are updated for the new approach:
```diff
- starlight-menu-button button {
+ .sl-menu-button {
color: var(--sl-color-text);
}
- starlight-menu-button[aria-expanded='true'] button {
+ .sl-menu-button:has(~ :popover-open) {
color: var(--sl-color-text-accent-high);
}
```
See [`MobileMenuToggle.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/MobileMenuToggle.astro) and [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) on GitHub for the full source code of the updated components.
- [#3572](https://github.com/withastro/starlight/pull/3572) [`292fb17`](https://github.com/withastro/starlight/commit/292fb179cbf6e2cd970ced46359c520aa14a80b4) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Removes the `tagline` configuration option, which was never used.
If your configuration included a `tagline` option, you can safely remove it without any replacement.
- [#4134](https://github.com/withastro/starlight/pull/4134) [`6135f01`](https://github.com/withastro/starlight/commit/6135f015b527453d7083ad01d2dc6c61d72fbefc) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Updates internal `@astrojs/mdx`, `@astrojs/markdown-satteri`, and `satteri` dependencies.
⚠️ **BREAKING CHANGE:** The following minimum versions are now required:
- `astro` v7.2.10 or later
- `@astrojs/markdown-satteri` 0.4.0 or later (if you use it)
- `@astrojs/markdown-remark` 7.3.0 or later (if you use it)
Please update Starlight and Astro together:
```sh
npx @astrojs/upgrade
```
- [#4121](https://github.com/withastro/starlight/pull/4121) [`2623ae6`](https://github.com/withastro/starlight/commit/2623ae60af0fdafc71938f96153b0427fcc2b5aa) Thanks [@delucis](https://github.com/delucis)! - Refactors Starlight’s mobile menu toggle to work when JavaScript fails or is disabled
⚠️ **BREAKING CHANGE:** This release drops official support for Chromium-based browsers prior to version 116 (released August 2023), Safari-based browsers prior to version 17.0 (released September 2023), and Firefox prior to version 125 (released April 2024). You can find a list of currently supported browsers and their versions using this [browserslist query](https://browsersl.ist/#q=%3E+0.5%25%2C+not+dead%2C+Chrome+%3E%3D+116%2C+Edge+%3E%3D+116%2C+Firefox+%3E%3D+125%2C+Safari+%3E%3D+17.0%2C+iOS+%3E%3D+17.0%2C+not+op_mini+all).
This change also removes the `data-mobile-menu-expanded` attribute, which was previously added to `<body>` while the mobile menu is open. If you have custom code that was depending on this attribute, you will need to update it to use a new selector to check if the mobile menu is open.
In the following example, a custom background colour for the site header while the menu is open is updated for the new approach:
```diff
- [data-mobile-menu-expanded] header {
+ body:has(sl-sidebar-pane:popover-open) header {
background-color: var(--sl-color-bg);
}
```
## 0.41.11
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@astrojs/starlight",
"version": "0.41.11",
"version": "0.42.0",
"description": "Build beautiful, high-performance documentation websites with Astro",
"scripts": {
"build": "tsdown",
+3 -3
View File
@@ -100,7 +100,7 @@ importers:
examples/basics:
dependencies:
'@astrojs/starlight':
specifier: ^0.41.11
specifier: ^0.42.0
version: link:../../packages/starlight
astro:
specifier: ^7.2.10
@@ -115,7 +115,7 @@ importers:
specifier: ^2.0.8
version: 2.0.8([email protected](@astrojs/[email protected]([email protected]))(@emnapi/[email protected])(@emnapi/[email protected])(@types/[email protected])([email protected])([email protected]))
'@astrojs/starlight':
specifier: ^0.41.11
specifier: ^0.42.0
version: link:../../packages/starlight
'@astrojs/starlight-markdoc':
specifier: ^0.7.0
@@ -130,7 +130,7 @@ importers:
examples/tailwind:
dependencies:
'@astrojs/starlight':
specifier: ^0.41.11
specifier: ^0.42.0
version: link:../../packages/starlight
'@astrojs/starlight-tailwind':
specifier: ^5.0.0