Skip to content

fix(deps): update dependency @astrojs/starlight to ^0.43.0 - #372

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 Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

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 /

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

@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from a3e702b to 2da0481 Compare November 16, 2026 13:29
@codecov

codecov Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.78%. Comparing base (acd2817) to head (2ef98e8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #372   +/-   ##
=======================================
  Coverage   85.78%   85.78%           
=======================================
  Files         242      242           
  Lines        5155     5155           
  Branches     1131     1131           
=======================================
  Hits         4422     4422           
  Misses        514      514           
  Partials      219      219           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/astrojs-starlight-0.x branch from 2da0481 to 2ef98e8 Compare November 21, 2026 02:35

This branch has not been deployed

No deployments
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