Skip to content

build(deps): update dependency @astrojs/starlight to ^0.43.0 - #14

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/astrojs-starlight-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/astrojs-starlight-0.x

Conversation

@renovate

@renovate renovate Bot commented May 25, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@astrojs/starlight (source) ^0.38.3 → ^0.43.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

withastro/starlight (@​astrojs/starlight)

v0.43.1

Compare Source

Patch Changes
  • #​4396 46a5020 Thanks @​trueberryless! - Fixes a regression where the icon of the <Aside> component was rendered smaller than the icon of Markdown asides.

v0.43.0

Compare Source

Minor Changes
  • #​4190 3f2336b Thanks @​delucis! - ⚠️ BREAKING CHANGE: Adds support for any Astro scopedStyleStrategy configuration.

    Previously, Starlight forced the "where" strategy, resulting in CSS selectors like :where(.astro-HASH). Starlight now respects the strategy set in astro.config.mjs and will default to Astro’s default "attribute" strategy, resulting in attribute selectors like [data-astro-cid-HASH].

    The new default can change some styling behaviour, so we recommend checking for visual changes in your site when updating. In particular, note the following:

    • Attribute selectors have a higher specificity than :where() selectors. Check to ensure styles still apply and no CSS changes are needed to ensure the relative specificity of declarations remains the same.

    • Astro’s "attribute" strategy does not automatically pass along a parent component’s scope when passing a class down to a child component. If you have components that depended on this, you will need to update the child component to spread the parent’s data attribute where you are reusing the class name, for example:

      ---
      // Parent.astro
      ---
      
      <Child class="special-case" />
      
      <style>
        .special-case {
          --accent-color: red;
        }
      </style>
      ---
      // Child.astro
      -const { class: className } = Astro.props;
      +const { class: className, ...attributes } = Astro.props;
      ---
      
      -<div class={className}>
      +<div class={className} {...attributes}>
        <!-- ... -->
      </div>

      See “Passing a class to a child component” in the Astro docs for more details.

    Alternatively, if you wish to continue using the previous scoping strategy in your site, set it explicitly in your Astro configuration file:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    
    export default defineConfig({
    + scopedStyleStrategy: "where",
      // ...
    });
  • #​3674 993ac27 Thanks @​controversial! - Adds support for Pagefind’s excludeSelectors and includeCharacters configuration to customize how search indexes are built

  • #​4219 35abe4f Thanks @​delucis! - Refactors Starlight’s theme select menu to reduce its JavaScript use

    ⚠️ Potentially breaking change: If your project or theme plugin overrides the ThemeSelect component, check that it still works after updating. The global API previously used by theme select components has been removed and calling StarlightThemeProvider.updatePickers() will no longer work.

    See ThemeProvider.astro, ThemeSelect.astro, and LanguageSelect.astro on GitHub for the full source code of the updated components.

  • #​4385 c130349 Thanks @​delucis! - Updates dependency i18next to v27

    ⚠️ Potentially breaking change: If you use Starlight’s translation APIs directly, see i18next’s migration guide for details. We don’t expect any changes to impact Starlight users, but let us know if they do.

Patch Changes
  • #​4390 f8b072a Thanks @​Toyenzo! - Errors if an aside is passed an icon name that matches Object.prototype properties, such as constructor or toString

v0.42.11

Compare Source

Patch Changes
  • #​4332 ad19424 Thanks @​RaphaelFakhri! - Fixes the twitter:site meta tag including a trailing slash when the configured X or Twitter social link ends with /

v0.42.10

Compare Source

Patch Changes
  • #​4354 56b8587 Thanks @​jasikpark! - Improves the color contrast of the search input placeholder text

  • #​4337 c5d0a7f Thanks @​moonmeister! - Fixes search not loading when the search script runs after the page has finished loading, for example when a Content Security Policy requires scripts to be added dynamically

  • #​4352 3edab29 Thanks @​delucis! - Fixes the Astro trailingSlash and build.format options not being applied correctly to sidebar links that include a query string or hash

v0.42.9

Compare Source

Patch Changes
  • #​4218 effea21 Thanks @​delucis! - Reduces install size by ~400 KB by switching the YAML parser used internally for projects using Astro 7.3.6 or later

  • #​4316 8679b1c Thanks @​clean99! - Fixes localized routes and language switcher links for pages in directories named like Object.prototype properties, such as constructor.

  • #​4341 e1ac1b4 Thanks @​delucis! - Prevents tables overflowing and clipping when printing a page

v0.42.8

Compare Source

Patch Changes
  • #​4309 3490c80 Thanks @​athulsreekumar! - Fixes autogenerated sidebar groups omitting directories whose names match Object.prototype properties, such as constructor or toString

  • #​4290 bf93823 Thanks @​RaphaelFakhri! - Fixes missing last-updated dates in production builds for pages whose file path contains special characters

  • #​4295 af9557e Thanks @​delucis! - Fixes a formatting issue in some error messages impacting projects with Zod ≥4.5 installed

  • #​4299 a103f38 Thanks @​clean99! - Fixes empty sidebars when autogenerating entries from the docs root directory using directory: ''

v0.42.7

Compare Source

Patch Changes
  • #​4264 94e0985 Thanks @​chrispezza! - Fixes a layout shift where the table of contents could be painted at the start of the content area and then jump to the end when a page's HTML arrived in several chunks

  • #​4285 6f22edd Thanks @​tunetheweb! - Improves hero image loading by adding fetchpriority="high" hint for browsers

v0.42.6

Compare Source

Patch Changes
  • #​4252 40a2584 Thanks @​olafur-andri! - Adds Icelandic language support

  • #​4229 e4a3d82 Thanks @​HiDeoo! - Fixes a potential issue with icons being cut off in Firefox when pinch-zooming.

  • #​4226 fb562dd Thanks @​HiDeoo! - Fixes an issue where pages not importing components from @astrojs/starlight/components included styles of Starlight components used on other pages.

  • #​4250 531af7d Thanks @​HiDeoo! - Fixes Failed to resolve dependency warnings logged when running the development server in projects using the Cloudflare adapter.

  • #​4229 e4a3d82 Thanks @​HiDeoo! - Fixes the codePen and node icons slightly extending beyond their bounding box.

v0.42.5

Compare Source

Patch Changes

v0.42.4

Compare Source

Patch Changes

v0.42.3

Compare Source

Patch Changes

v0.42.2

Compare Source

Patch Changes

v0.42.1

Compare Source

Patch Changes
  • #​4332 ad19424 Thanks @​RaphaelFakhri! - Fixes the twitter:site meta tag including a trailing slash when the configured X or Twitter social link ends with /

v0.42.0

Compare Source

Minor Changes
  • #​3572 292fb17 Thanks @​HiDeoo! - Distributes package as JavaScript files with dedicated type declaration files instead of TypeScript source files.

  • #​4121 2623ae6 Thanks @​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:

    - 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 and PageFrame.astro on GitHub for the full source code of the updated components.

  • #​3572 292fb17 Thanks @​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 6135f01 Thanks @​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:

    npx @astrojs/upgrade
  • #​4121 2623ae6 Thanks @​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.

    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:

    - [data-mobile-menu-expanded] header {
    + body:has(sl-sidebar-pane:popover-open) header {
      background-color: var(--sl-color-bg);
    }

v0.41.11

Compare Source

Patch Changes
  • #​4167 32a5e29 Thanks @​HiDeoo! - Fixes a layout issue and anchor links appearing for hidden headings, e.g. footnote headings, when markdown.headingLinks is enabled or the <AnchorHeading> component is used.

  • #​4148 cdfafd8 Thanks @​ematipico! - Optimizes sidebar data generation logic to speed up sites with large sidebars

v0.41.10

Compare Source

Patch Changes

v0.41.9

Compare Source

Patch Changes

v0.41.8

Compare Source

Patch Changes

v0.41.7

Compare Source

Patch Changes
  • #​4114 3e486fb Thanks @​delucis! - Fixes processing of code examples in RTL languages when using Astro’s Sätteri Markdown processor

v0.41.6

Compare Source

Patch Changes

v0.41.5

Compare Source

Patch Changes

v0.41.4

Compare Source

Patch Changes

v0.41.3

Compare Source

Patch Changes
  • #​3911 1686ecc Thanks @​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

Compare Source

Patch Changes
  • #​4008 58a3520 Thanks @​FrancoKaddour! - Fixes the table of contents overflowing the right edge of the viewport when a custom --sl-content-width value exceeds available space

  • #​4015 bdbfffc Thanks @​delucis! - Fixes an issue where aside icons were rendered incorrectly in projects where Astro’s MDX integration had optimization disabled

v0.41.1

Compare Source

Patch Changes
  • #​4167 32a5e29 Thanks @​HiDeoo! - Fixes a layout issue and anchor links appearing for hidden headings, e.g. footnote headings, when markdown.headingLinks is enabled or the <AnchorHeading> component is used.

  • #​4148 cdfafd8 Thanks @​ematipico! - Optimizes sidebar data generation logic to speed up sites with large sidebars

v0.41.0

Compare Source

Minor Changes
Upgrade Astro and dependencies

⚠️ BREAKING CHANGE: Astro v6 is no longer supported. Make sure you update Astro and any other official integrations at the same time as updating Starlight:

npx @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.

Patch Changes
  • #​3953 a935d33 Thanks @​HiDeoo! - Fixes Starlight Markdown processing being potentially applied to files that should not be processed.

v0.40.0

Compare Source

Minor Changes
  • #​3923 edf2e6b Thanks @​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 by installing the @astrojs/markdown-satteri package and configuring it in your astro.config.mjs file:

    // astro.config.mjs
    
    import { defineConfig } from 'astro/config';
    import { satteri } from '@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:

    npx @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

v0.39.3

Compare Source

Patch Changes

v0.39.2

Compare Source

Patch Changes

v0.39.1

Compare Source

Patch Changes
  • #​3885 010eed1 Thanks @​ArmandPhilippot! - Fixes the version mentioned in an error message related to autogenerated sidebar groups support.

  • #​3887 b3c6990 Thanks @​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

Compare Source

Minor Changes
  • #​3618 dcf6d09 Thanks @​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:

    {
        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:

    {
      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:

    {
      type: 'link',
      label: 'Example',
      href: '/examples/example/',
      isCurrent: false,
      autogenerate: { directory: 'examples' }
    }
  • #​3618 dcf6d09 Thanks @​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.

    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:

    {
      label: 'Reference',
      collapsed: true,
      items: [
    -   { autogenerate: { directory: 'reference' } },
    +   { autogenerate: { directory: 'reference', collapsed: true } },
      ],
    }
  • #​3845 4d755f5 Thanks @​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.

  • #​3862 ec70630 Thanks @​itrew! - Makes spacing of items in nested lists more consistent

  • #​3872 417a66c Thanks @​tats-u! - Enables the CSS property 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:

    [lang]:where(:lang(zh, ja)) {
      text-autospace: initial;
    }
  • #​3797 9764ebd Thanks @​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:

    .sidebar-pane {
      scrollbar-gutter: auto;
    }
  • #​3858 6672c35 Thanks @​delucis! - Updates i18next, used for Starlight’s localization APIs, from v23 to v26

    There should not be any user-facing changes from this update


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • 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 was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented May 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
rfdf Error Error Nov 13, 2026 11:49pm UTC

Comment thread docs/package.json Outdated
"dependencies": {
"@astrojs/check": "^0.9.8",
"@astrojs/starlight": "^0.38.3",
"@astrojs/starlight": "^0.39.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Breaking change not applied — sidebar will break at runtime

@astrojs/starlight v0.39.0 introduced a breaking change: sidebar groups using autogenerate must now wrap that config in an items array. The docs/astro.config.mjs still uses the old flat autogenerate key directly on the group object, which will cause the Specification sidebar group to malfunction (missing links, build errors, or silently empty sidebar) after this upgrade.

Fix in Cursor Fix in Codex

@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 783e731 to 5091c28 Compare June 8, 2026 06:55
@renovate renovate Bot changed the title build(deps): update dependency @astrojs/starlight to ^0.39.0 build(deps): update dependency @astrojs/starlight to ^0.40.0 Jun 9, 2026
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 5091c28 to 3c61382 Compare June 9, 2026 22:17
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 3c61382 to 204512f Compare June 15, 2026 03:49
@renovate renovate Bot changed the title build(deps): update dependency @astrojs/starlight to ^0.40.0 build(deps): update dependency @astrojs/starlight to ^0.41.0 Jun 23, 2026
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 204512f to c069860 Compare June 23, 2026 22:30
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from c069860 to bd2276f Compare June 25, 2026 15:49
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from bd2276f to 62ca54a Compare July 1, 2026 22:30
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 62ca54a to 97b94e5 Compare July 3, 2026 21:50
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 97b94e5 to d636896 Compare July 6, 2026 13:57
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from d636896 to db136ac Compare July 20, 2026 21:40
@greptile-apps

greptile-apps Bot commented Jul 20, 2026

Copy link
Copy Markdown

PR author is in the excluded authors list.

@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from db136ac to 80fd801 Compare July 22, 2026 14:36
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 80fd801 to 78c042c Compare July 28, 2026 12:40
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from f33cfd2 to d088c6f Compare August 31, 2026 05:08
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from d088c6f to 160a098 Compare September 1, 2026 22:12
@renovate renovate Bot changed the title build(deps): update dependency @astrojs/starlight to ^0.41.0 build(deps): update dependency @astrojs/starlight to ^0.42.0 Sep 2, 2026
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 160a098 to ad36563 Compare September 2, 2026 23:33
cursor Bot pushed a commit that referenced this pull request Sep 4, 2026
Starlight 0.42 needs Astro 7.2.10 or later. Renovate #14 now targets
0.42, so the upgrade family should land there instead of stopping at
0.41.10. No extra config: we do not override the mobile menu or set
the unused tagline option that 0.42 removed.

Co-authored-by: Aarav Gupta <aarav@spikonado.com>
cursor Bot pushed a commit that referenced this pull request Sep 7, 2026
Starlight 0.42 needs Astro 7.2.10 or later. Renovate #14 now targets
0.42, so the upgrade family should land there instead of stopping at
0.41.10. No extra config: we do not override the mobile menu or set
the unused tagline option that 0.42 removed.

Co-authored-by: Aarav Gupta <aarav@spikonado.com>
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from ad36563 to ceda6d1 Compare September 7, 2026 04:32
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from ceda6d1 to 389b593 Compare September 14, 2026 10:46
Amronos added a commit that referenced this pull request Sep 15, 2026
Starlight 0.42 needs Astro 7.2.10 or later. Renovate #14 now targets
0.42, so the upgrade family should land there instead of stopping at
0.41.10. No extra config: we do not override the mobile menu or set
the unused tagline option that 0.42 removed.

Co-authored-by: Aarav Gupta <aarav@spikonado.com>
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 389b593 to b03c76d Compare September 15, 2026 13:12
Amronos added a commit that referenced this pull request Sep 17, 2026
Starlight 0.42 needs Astro 7.2.10 or later. Renovate #14 now targets
0.42, so the upgrade family should land there instead of stopping at
0.41.10. No extra config: we do not override the mobile menu or set
the unused tagline option that 0.42 removed.

Co-authored-by: Aarav Gupta <aarav@spikonado.com>
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from b03c76d to 9f0fec2 Compare September 18, 2026 20:43
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 9f0fec2 to 1a8aaf9 Compare September 23, 2026 01:12
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 1a8aaf9 to 388eeda Compare September 24, 2026 20:31
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 388eeda to 4e33e3b Compare October 1, 2026 17:14
@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 4e33e3b to 65070ca Compare October 5, 2026 17:38

This branch had an error being deployed

1 failed deployment
Preview — 62ab803d Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants