Skip to content

Commit 994ffe9

Browse files
chore(deps): update astro (#1914)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@astrojs/starlight](https://starlight.astro.build) ([source](https://redirect.github.com/withastro/starlight/tree/HEAD/packages/starlight)) | [`^0.38.1` → `^0.41.0`](https://renovatebot.com/diffs/npm/@astrojs%2fstarlight/0.38.5/0.41.3) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fstarlight/0.41.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fstarlight/0.38.5/0.41.3?slim=true) | | [starlight-links-validator](https://redirect.github.com/HiDeoo/starlight-links-validator) ([source](https://redirect.github.com/HiDeoo/starlight-links-validator/tree/HEAD/packages/starlight-links-validator)) | [`=0.24.0` → `=0.25.2`](https://renovatebot.com/diffs/npm/starlight-links-validator/0.24.0/0.25.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/starlight-links-validator/0.25.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/starlight-links-validator/0.24.0/0.25.2?slim=true) | --- ### Release Notes <details> <summary>withastro/starlight (@&#8203;astrojs/starlight)</summary> ### [`v0.41.3`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0413) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.41.2...@astrojs/starlight@0.41.3) ##### Patch Changes - [#&#8203;3911](https://redirect.github.com/withastro/starlight/pull/3911) [`1686ecc`](https://redirect.github.com/withastro/starlight/commit/1686ecce3fd2da2aa9973faba2dc585abebb93a3) Thanks [@&#8203;timothyjordan](https://redirect.github.com/timothyjordan)! - Keeps keyboard focus inside the mobile menu while it is open, preventing focus moving to hidden interactive elements in page content. ### [`v0.41.2`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0412) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.41.1...@astrojs/starlight@0.41.2) ##### Patch Changes - [#&#8203;4008](https://redirect.github.com/withastro/starlight/pull/4008) [`58a3520`](https://redirect.github.com/withastro/starlight/commit/58a352097016ffbd98716688e4f2dfb97e5a6f44) Thanks [@&#8203;FrancoKaddour](https://redirect.github.com/FrancoKaddour)! - Fixes the table of contents overflowing the right edge of the viewport when a custom `--sl-content-width` value exceeds available space - [#&#8203;4015](https://redirect.github.com/withastro/starlight/pull/4015) [`bdbfffc`](https://redirect.github.com/withastro/starlight/commit/bdbfffc044dbf119e5085c3e67722494ae3c85c6) Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Fixes an issue where aside icons were rendered incorrectly in projects where Astro’s MDX integration had optimization disabled ### [`v0.41.1`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0411) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.41.0...@astrojs/starlight@0.41.1) ##### Patch Changes - [#&#8203;3967](https://redirect.github.com/withastro/starlight/pull/3967) [`72e63dc`](https://redirect.github.com/withastro/starlight/commit/72e63dc694d27a8cfef025b7dee7aad5879f5ce4) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Adds 2 new icons: `link` and `link-alt`. - [#&#8203;3988](https://redirect.github.com/withastro/starlight/pull/3988) [`ac55cfa`](https://redirect.github.com/withastro/starlight/commit/ac55cfab41c869a605fbc5a1b4d4b8e718718141) Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Fixes a dependency resolution issue introduced in Starlight v0.41 - [#&#8203;3967](https://redirect.github.com/withastro/starlight/pull/3967) [`72e63dc`](https://redirect.github.com/withastro/starlight/commit/72e63dc694d27a8cfef025b7dee7aad5879f5ce4) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Optimizes the icons of Markdown asides. ### [`v0.41.0`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0410) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.40.0...@astrojs/starlight@0.41.0) ##### Minor Changes - [#&#8203;3951](https://redirect.github.com/withastro/starlight/pull/3951) [`1202dd4`](https://redirect.github.com/withastro/starlight/commit/1202dd4c3efd517bdfe213eaf84262e439485e45) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Adds support for Astro v7, drops support for Astro v6. ##### Upgrade Astro and dependencies ⚠️ **BREAKING CHANGE:** Astro v6 is no longer supported. Make sure you [update Astro](https://docs.astro.build/en/guides/upgrade-to/v7/) and any other official integrations at the same time as updating Starlight: ```sh npx @&#8203;astrojs/upgrade ``` *Community Starlight plugins and Astro integrations may also need to be manually updated to work with Astro v7. If you encounter any issues, please reach out to the plugin or integration author to see if it is a known issue or if an updated version is being worked on.* ⚠️ **BREAKING CHANGE:** This release drops official support for Chromium-based browsers prior to version 111 (released 07 March 2023) and Safari-based browsers prior to version 16.4 (released 27 March 2023). 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+111%2C+Edge+%3E%3D+111%2C+Firefox+%3E%3D+121%2C+Safari+%3E%3D+16.4%2C+iOS+%3E%3D+16.4%2C+not+op_mini+all). ##### Patch Changes - [#&#8203;3953](https://redirect.github.com/withastro/starlight/pull/3953) [`a935d33`](https://redirect.github.com/withastro/starlight/commit/a935d334c193fb452f72453ea1bf38807d415077) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes Starlight Markdown processing being potentially applied to files that should not be processed. ### [`v0.40.0`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0400) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.39.3...@astrojs/starlight@0.40.0) ##### Minor Changes - [#&#8203;3923](https://redirect.github.com/withastro/starlight/pull/3923) [`edf2e6b`](https://redirect.github.com/withastro/starlight/commit/edf2e6bf46b2a0809eb4d5877eb817b224b50af4) Thanks [@&#8203;Princesseuh](https://redirect.github.com/Princesseuh)! - Adds support for Astro 6.4 and the new Sätteri Markdown processor. It is now possible to opt into using [Astro's 6.4 Sätteri Markdown processor](https://astro.build/blog/astro-640/#faster-markdown-builds-with-s%C3%A4tteri) by installing the `@astrojs/markdown-satteri` package and configuring it in your `astro.config.mjs` file: ```js // astro.config.mjs import { defineConfig } from 'astro/config'; import { satteri } from '@&#8203;astrojs/markdown-satteri'; export default defineConfig({ markdown: { processor: satteri(), }, }); ``` ⚠️ **BREAKING CHANGE:** The minimum supported version of Astro is now v6.4.5. Please update Starlight and Astro together: ```sh npx @&#8203;astrojs/upgrade ``` *Community Starlight plugins and Astro integrations may also need to be manually updated to work with Sätteri. If you encounter any issues, please reach out to the plugin or integration author to see if it is a known issue or if an updated version is being worked on.* ##### Patch Changes - [#&#8203;3923](https://redirect.github.com/withastro/starlight/pull/3923) [`edf2e6b`](https://redirect.github.com/withastro/starlight/commit/edf2e6bf46b2a0809eb4d5877eb817b224b50af4) Thanks [@&#8203;Princesseuh](https://redirect.github.com/Princesseuh)! - Updates Expressive Code to version 0.43.1. ### [`v0.39.3`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0393) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.39.2...@astrojs/starlight@0.39.3) ##### Patch Changes - [#&#8203;3910](https://redirect.github.com/withastro/starlight/pull/3910) [`dddf405`](https://redirect.github.com/withastro/starlight/commit/dddf40510a304d4ff1f137b12c07f0dafdd9c198) Thanks [@&#8203;andreialba](https://redirect.github.com/andreialba)! - Improves Romanian UI translations - [#&#8203;3924](https://redirect.github.com/withastro/starlight/pull/3924) [`02f2ce1`](https://redirect.github.com/withastro/starlight/commit/02f2ce1ea2c2d814fdd2ecdd609d35109479d8cd) Thanks [@&#8203;BouRock](https://redirect.github.com/BouRock)! - Improves Turkish UI translations - [#&#8203;3928](https://redirect.github.com/withastro/starlight/pull/3928) [`11a7ed2`](https://redirect.github.com/withastro/starlight/commit/11a7ed2d6ce14f131b3678f3fc13e1b16a273312) Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Updates Pagefind to v1.5 and adds support for Pagefind’s new [`diacriticSimilarity`](https://pagefind.app/docs/ranking/#configuring-diacritic-similarity) and [`metaWeights`](https://pagefind.app/docs/ranking/#configuring-metadata-weights) advanced ranking options - [#&#8203;3927](https://redirect.github.com/withastro/starlight/pull/3927) [`e944870`](https://redirect.github.com/withastro/starlight/commit/e94487041f5e22b5dc89ed8247c2bb0c737f891f) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Refactors internal file path handling for Starlight content collections. ### [`v0.39.2`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0392) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.39.1...@astrojs/starlight@0.39.2) ##### Patch Changes - [#&#8203;3890](https://redirect.github.com/withastro/starlight/pull/3890) [`2d05e18`](https://redirect.github.com/withastro/starlight/commit/2d05e1802ac81f1db1220fc7a2c775e0c0bba9bc) Thanks [@&#8203;tats-u](https://redirect.github.com/tats-u)! - Fixes CSS selector for `text-autospace` styles in Chromium browsers ### [`v0.39.1`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0391) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.39.0...@astrojs/starlight@0.39.1) ##### Patch Changes - [#&#8203;3885](https://redirect.github.com/withastro/starlight/pull/3885) [`010eed1`](https://redirect.github.com/withastro/starlight/commit/010eed1d73d88481a116546caa800385f409ce28) Thanks [@&#8203;ArmandPhilippot](https://redirect.github.com/ArmandPhilippot)! - Fixes the version mentioned in an error message related to autogenerated sidebar groups support. - [#&#8203;3887](https://redirect.github.com/withastro/starlight/pull/3887) [`b3c6990`](https://redirect.github.com/withastro/starlight/commit/b3c699042cf0a0f69f6637772275afb4418c6ebf) Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Adds 13 new icons: `clock`, `desktop`, `mobile-android`, `window`, `database`, `server`, `code-branch`, `notes`, `question`, `question-circle`, `analytics`, `padlock`, and `solidjs`. ### [`v0.39.0`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0390) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.38.5...@astrojs/starlight@0.39.0) ##### Minor Changes - [#&#8203;3618](https://redirect.github.com/withastro/starlight/pull/3618) [`dcf6d09`](https://redirect.github.com/withastro/starlight/commit/dcf6d094bbcfa1f83e45742901f4178df07c2156) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - **⚠️ BREAKING CHANGE:** This release changes how autogenerated links work in Starlight’s sidebar configuration. If you have sidebar groups using the `autogenerate` key, you must now wrap that configuration in an `items` array: ```diff { label: 'My group', - autogenerate: { directory: 'some-dir' }, + items: [{ autogenerate: { directory: 'some-dir' } }], } ``` This change unlocks the possibility to mix autogenerated links and other links in a single group, for example: ```js { label: 'Mixed group', items: [ 'example-page', { autogenerate: { directory: 'examples' } }, { label: 'More examples', link: 'https://example.com' }, ], } ``` This release also updates the shape of autogenerated sidebar entries in route data. Autogenerated links and groups in `Astro.locals.starlightRoute.sidebar` now include an `autogenerate` object with the [configured `directory` value](https://starlight.astro.build/guides/sidebar/#autogenerated-groups): ```js { type: 'link', label: 'Example', href: '/examples/example/', isCurrent: false, autogenerate: { directory: 'examples' } } ``` - [#&#8203;3618](https://redirect.github.com/withastro/starlight/pull/3618) [`dcf6d09`](https://redirect.github.com/withastro/starlight/commit/dcf6d094bbcfa1f83e45742901f4178df07c2156) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - **⚠️ BREAKING CHANGE:** This release changes the default collapsed state of autogenerated sidebar subgroups. Autogenerated subgroups no longer inherit the `collapsed` value from their parent group. They are now expanded by default unless explicitly configured with [`autogenerate.collapsed`](https://starlight.astro.build/reference/configuration/#collapsing-groups). If your sidebar configuration relies on a collapsed parent group to also collapse its autogenerated subgroups, update your configuration to set `autogenerate.collapsed` to `true`: ```diff { label: 'Reference', collapsed: true, items: [ - { autogenerate: { directory: 'reference' } }, + { autogenerate: { directory: 'reference', collapsed: true } }, ], } ``` - [#&#8203;3845](https://redirect.github.com/withastro/starlight/pull/3845) [`4d755f5`](https://redirect.github.com/withastro/starlight/commit/4d755f591bbca682d01a70162a10c12ab5187c61) Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Adds a `<link rel="alternate" hreflang="x-default" href="...">` tag pointing to the default locale in multilingual sites. The `x-default` alternate is used as a signal of which language to fall back to if no other is available. Learn more in Google’s [SEO localization docs](https://developers.google.com/search/docs/specialty/international/localized-versions#xdefault). - [#&#8203;3862](https://redirect.github.com/withastro/starlight/pull/3862) [`ec70630`](https://redirect.github.com/withastro/starlight/commit/ec70630cbbe43bb5b026ddabfe7224759c798a4b) Thanks [@&#8203;itrew](https://redirect.github.com/itrew)! - Makes spacing of items in nested lists more consistent - [#&#8203;3872](https://redirect.github.com/withastro/starlight/pull/3872) [`417a66c`](https://redirect.github.com/withastro/starlight/commit/417a66c4acf3a7408fc0cea701aa5f143c540e5c) Thanks [@&#8203;tats-u](https://redirect.github.com/tats-u)! - Enables [the CSS property `text-autospace`](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/text-autospace) in Chinese and Japanese documents. If you would prefer to disable autospacing in Chinese and Japanese pages, you can add the following custom CSS to your site: ```css [lang]:where(:lang(zh, ja)) { text-autospace: initial; } ``` - [#&#8203;3797](https://redirect.github.com/withastro/starlight/pull/3797) [`9764ebd`](https://redirect.github.com/withastro/starlight/commit/9764ebdab8d12983064d11515b6d92355a4d95eb) Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Avoids the risk of layout shift when users expand and collapse sidebar groups This release can introduce additional padding to the site sidebar on certain devices to reserve space for scrollbars. You may wish to inspect your site sidebar visually when upgrading. If you would prefer to keep the previous styling, you can add the following custom CSS to your site: ```css .sidebar-pane { scrollbar-gutter: auto; } ``` - [#&#8203;3858](https://redirect.github.com/withastro/starlight/pull/3858) [`6672c35`](https://redirect.github.com/withastro/starlight/commit/6672c35b914cd53f1641a43a7ea8e7ef08d9cc8f) Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Updates `i18next`, used for Starlight’s localization APIs, from v23 to v26 There should not be any user-facing changes from this update </details> <details> <summary>HiDeoo/starlight-links-validator (starlight-links-validator)</summary> ### [`v0.25.2`](https://redirect.github.com/HiDeoo/starlight-links-validator/blob/HEAD/packages/starlight-links-validator/CHANGELOG.md#0252) [Compare Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/starlight-links-validator@0.25.1...starlight-links-validator@0.25.2) ##### Patch Changes - [#&#8203;171](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/171) [`19b97a0`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/19b97a0ff89b5bd02feec0369579be9116037681) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes link validation issue for frontmatter-only pages when using Sätteri. ### [`v0.25.1`](https://redirect.github.com/HiDeoo/starlight-links-validator/blob/HEAD/packages/starlight-links-validator/CHANGELOG.md#0251) [Compare Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/starlight-links-validator@0.25.0...starlight-links-validator@0.25.1) ##### Patch Changes - [#&#8203;169](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/169) [`0016925`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/001692541e033ce75b9a520bc40ac76a64b66d86) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes a potential type error. ### [`v0.25.0`](https://redirect.github.com/HiDeoo/starlight-links-validator/blob/HEAD/packages/starlight-links-validator/CHANGELOG.md#0250) [Compare Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/starlight-links-validator@0.24.1...starlight-links-validator@0.25.0) ##### Minor Changes - [#&#8203;167](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/167) [`5019546`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/5019546076cd65c19d1601e584ae237ff092c70d) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Adds support for Astro v7, drops support for Astro v6. ⚠️ **BREAKING CHANGE:** The minimum supported version of Starlight is now `0.41.0`. Please follow the [upgrade guide](https://redirect.github.com/withastro/starlight/releases/tag/%40astrojs%2Fstarlight%400.41.0) to update your project. - [#&#8203;167](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/167) [`5019546`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/5019546076cd65c19d1601e584ae237ff092c70d) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Adds support for the Sätteri Markdown processor. ### [`v0.24.1`](https://redirect.github.com/HiDeoo/starlight-links-validator/blob/HEAD/packages/starlight-links-validator/CHANGELOG.md#0241) [Compare Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/starlight-links-validator@0.24.0...starlight-links-validator@0.24.1) ##### Patch Changes - [#&#8203;163](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/163) [`52766c9`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/52766c9fb4ce35be9b72e8f6bb40476a7c6a9d58) Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Prevents a warning when used with Astro 6.4+ </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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 is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/knope-dev/knope). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzMuNiIsInVwZGF0ZWRJblZlciI6IjQzLjI2NS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent f1d28fa commit 994ffe9

4 files changed

Lines changed: 1494 additions & 1478 deletions

File tree

docs/astro.config.mjs

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,20 @@ export default defineConfig({
3434
{ label: "Installation", link: "/installation" },
3535
{
3636
label: "Tutorials",
37-
autogenerate: {
38-
directory: "tutorials",
39-
},
37+
items: [{ autogenerate: { directory: "tutorials" } }],
4038
},
4139
{
4240
label: "Recipes",
43-
autogenerate: {
44-
directory: "recipes",
45-
},
41+
items: [{ autogenerate: { directory: "recipes" } }],
4642
},
4743
{
4844
label: "Reference",
49-
autogenerate: {
50-
directory: "reference",
51-
},
45+
items: [{ autogenerate: { directory: "reference" } }],
5246
collapsed: true,
5347
},
5448
{
5549
label: "FAQ",
56-
autogenerate: {
57-
directory: "faq",
58-
},
50+
items: [{ autogenerate: { directory: "faq" } }],
5951
},
6052
],
6153
}),

0 commit comments

Comments
 (0)