withastro/starlight (@astrojs/starlight)
### [`v0.25.0`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0250)
[Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.24.5...@astrojs/starlight@0.25.0)
##### Minor Changes
- [#2025](https://togithub.com/withastro/starlight/pull/2025) [`47f32c1`](https://togithub.com/withastro/starlight/commit/47f32c196c5d840a6a45799ddf123d17c77274b0) Thanks [@HiDeoo](https://togithub.com/HiDeoo)! - Removes the `/` search shortcut for [accessibility reasons](https://www.w3.org/WAI/WCAG21/Understanding/character-key-shortcuts.html).
⚠️ **Potentially breaking change:** The `search.shortcutLabel` UI string has been removed. If you were using this string in your custom UI, you will need to update your code.
- [#2064](https://togithub.com/withastro/starlight/pull/2064) [`c5b47cb`](https://togithub.com/withastro/starlight/commit/c5b47cbe1242f0b29b9212db72fe26590ab57d88) Thanks [@SnowDingo](https://togithub.com/SnowDingo)! - Improves styling of Markdown tables to work better in different contexts, including against different background colours like when used in asides.
- [#2031](https://togithub.com/withastro/starlight/pull/2031) [`2bab648`](https://togithub.com/withastro/starlight/commit/2bab648be9ddc6bfe05562650b773f5158a9ed42) Thanks [@delucis](https://togithub.com/delucis)! - Makes sidebar entry parsing stricter in Starlight config
**⚠️ Potentially breaking change:** Previously Starlight would accept a sidebar entry that matched one of its expected shapes, even if it included additional properties. For example, including both `link` and `items` was considered valid, with `items` being ignored. Now, it is an error to include more than one of `link`, `items`, or `autogenerate` in a sidebar entry.
If you see errors after updating, look for sidebar entries in the Starlight configuration in `astro.config.mjs` that include too many keys and remove the one that was previously ignored.
- [#1874](https://togithub.com/withastro/starlight/pull/1874) [`eeba06e`](https://togithub.com/withastro/starlight/commit/eeba06ea7df962e8f0520e145d28b8c17cd32c18) Thanks [@lorenzolewis](https://togithub.com/lorenzolewis)! - Adds a new syntax for specifying sidebar link items for internal links
You can now specify an internal page using only its slug, either as a string, or as an object with a `slug` property:
```js
starlight({
title: 'Docs with easier sidebars',
sidebar: ['getting-started', { slug: 'guides/installation' }],
});
```
Starlight will use the linked page’s frontmatter to configure the sidebar link.
##### Patch Changes
- [#2081](https://togithub.com/withastro/starlight/pull/2081) [`f0181d2`](https://togithub.com/withastro/starlight/commit/f0181d2689248a46ff3eb6fc604bfcd95d4cb1aa) Thanks [@andrii-bodnar](https://togithub.com/andrii-bodnar)! - Updates the Ukrainian UI translations
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.24.5
->0.25.0
Release Notes
withastro/starlight (@astrojs/starlight)
### [`v0.25.0`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0250) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.24.5...@astrojs/starlight@0.25.0) ##### Minor Changes - [#2025](https://togithub.com/withastro/starlight/pull/2025) [`47f32c1`](https://togithub.com/withastro/starlight/commit/47f32c196c5d840a6a45799ddf123d17c77274b0) Thanks [@HiDeoo](https://togithub.com/HiDeoo)! - Removes the `/` search shortcut for [accessibility reasons](https://www.w3.org/WAI/WCAG21/Understanding/character-key-shortcuts.html). ⚠️ **Potentially breaking change:** The `search.shortcutLabel` UI string has been removed. If you were using this string in your custom UI, you will need to update your code. - [#2064](https://togithub.com/withastro/starlight/pull/2064) [`c5b47cb`](https://togithub.com/withastro/starlight/commit/c5b47cbe1242f0b29b9212db72fe26590ab57d88) Thanks [@SnowDingo](https://togithub.com/SnowDingo)! - Improves styling of Markdown tables to work better in different contexts, including against different background colours like when used in asides. - [#2031](https://togithub.com/withastro/starlight/pull/2031) [`2bab648`](https://togithub.com/withastro/starlight/commit/2bab648be9ddc6bfe05562650b773f5158a9ed42) Thanks [@delucis](https://togithub.com/delucis)! - Makes sidebar entry parsing stricter in Starlight config **⚠️ Potentially breaking change:** Previously Starlight would accept a sidebar entry that matched one of its expected shapes, even if it included additional properties. For example, including both `link` and `items` was considered valid, with `items` being ignored. Now, it is an error to include more than one of `link`, `items`, or `autogenerate` in a sidebar entry. If you see errors after updating, look for sidebar entries in the Starlight configuration in `astro.config.mjs` that include too many keys and remove the one that was previously ignored. - [#1874](https://togithub.com/withastro/starlight/pull/1874) [`eeba06e`](https://togithub.com/withastro/starlight/commit/eeba06ea7df962e8f0520e145d28b8c17cd32c18) Thanks [@lorenzolewis](https://togithub.com/lorenzolewis)! - Adds a new syntax for specifying sidebar link items for internal links You can now specify an internal page using only its slug, either as a string, or as an object with a `slug` property: ```js starlight({ title: 'Docs with easier sidebars', sidebar: ['getting-started', { slug: 'guides/installation' }], }); ``` Starlight will use the linked page’s frontmatter to configure the sidebar link. ##### Patch Changes - [#2081](https://togithub.com/withastro/starlight/pull/2081) [`f0181d2`](https://togithub.com/withastro/starlight/commit/f0181d2689248a46ff3eb6fc604bfcd95d4cb1aa) Thanks [@andrii-bodnar](https://togithub.com/andrii-bodnar)! - Updates the Ukrainian UI translationsConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.