Skip to content

build(deps): bump @astrojs/starlight from 0.42.6 to 0.43.1 in /docs - #71

Merged
codeboyzhou merged 1 commit into
mainfrom
dependabot/npm_and_yarn/docs/astrojs/starlight-0.43.1
Nov 29, 2026
Merged

codeboyzhou merged 1 commit into
mainfrom
dependabot/npm_and_yarn/docs/astrojs/starlight-0.43.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @astrojs/starlight from 0.42.6 to 0.43.1.

Release notes

Sourced from @​astrojs/starlight's releases.

@​astrojs/starlight@​0.43.1

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.

@​astrojs/starlight@​0.43.0

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

... (truncated)

Changelog

Sourced from @​astrojs/starlight's changelog.

0.43.1

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.

0.43.0

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:

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 20, 2026
Bumps [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) from 0.42.6 to 0.43.1.
- [Release notes](https://github.com/withastro/starlight/releases)
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.43.1/packages/starlight)

---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
  dependency-version: 0.43.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/docs/astrojs/starlight-0.43.1 branch from 2308176 to 76fdaf9 Compare November 29, 2026 09:49
@codeboyzhou
codeboyzhou merged commit 436d7c7 into main Nov 29, 2026
3 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/docs/astrojs/starlight-0.43.1 branch November 29, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant