Skip to content

[ci] release - #4391

Merged
delucis merged 1 commit into
mainfrom
changeset-release/main
Nov 13, 2026
Merged

delucis merged 1 commit into
mainfrom
changeset-release/main

Conversation

@astrobot-houston

@astrobot-houston astrobot-houston commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

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

@netlify

netlify Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for astro-starlight ready!

Name Link
🔨 Latest commit 0fb9e92
🔍 Latest deploy log https://app.netlify.com/projects/astro-starlight/deploys/6af743db152773aa28dbbb7a
😎 Deploy Preview https://deploy-preview-4391--astro-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (🟢 up 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the 🌟 core Changes to Starlight’s main package label Nov 13, 2026
@astrobot-houston
astrobot-houston force-pushed the changeset-release/main branch 4 times, most recently from c9346b3 to e6e855e Compare November 13, 2026 17:07
@delucis delucis added this to the v0.43 milestone Nov 13, 2026
@delucis
delucis marked this pull request as ready for review November 13, 2026 17:09
@astrobot-houston

Copy link
Copy Markdown
Contributor Author

size-limit report 📦

Path Size
/index.html 5.97 KB (-0.02% 🔽)
/guides/example/index.html 5.46 KB (-0.02% 🔽)
/_astro/*.js 25.51 KB (0%)
/_astro/*.css 14.95 KB (0%)

@delucis
delucis merged commit 01f8863 into main Nov 13, 2026
32 checks passed
@delucis
delucis deleted the changeset-release/main branch November 13, 2026 17:15
HiDeoo added a commit to HiDeoo/starlight that referenced this pull request Nov 16, 2026
* main: (62 commits)
  docs: point the changeset link at the current Changesets docs (withastro#4387)
  i18n(ko-KR): update `configuration`, `overrides` (withastro#4399)
  i18n(ja): update plugins.mdx (withastro#4403)
  i18n(ja): update overrides.md (withastro#4401)
  i18n(ja): update configuration.mdx (withastro#4402)
  i18n(ja): update site-search.mdx (withastro#4400)
  i18n(de): update `resources/plugins` (withastro#4407)
  i18n(de): update `overrides.mdx` (withastro#4406)
  i18n(de): update `configuration.mdx` (withastro#4405)
  i18n(de): update `site-search.mdx` (withastro#4404)
  [ci] release (withastro#4398)
  fix: restore aside component icon size (withastro#4396)
  i18n(es): update project-structure.mdx (withastro#4393)
  [ci] release (withastro#4391)
  Update peter-evans/create-pull-request action to v8.1.3 (withastro#4392)
  Allow passing user options to `pagefind.createIndex` (withastro#3674)
  Refactor `ThemeSelect` to use CSS instead of JS for icon updates (withastro#4219)
  Support any `scopedStyleStrategy` (withastro#4190)
  Update i18next to v27 (withastro#4385)
  Fix asides accepting Object.prototype property names as custom icons (withastro#4390)
  ...
HiDeoo added a commit that referenced this pull request Nov 17, 2026
* main: (187 commits)
  docs: point the changeset link at the current Changesets docs (#4387)
  i18n(ko-KR): update `configuration`, `overrides` (#4399)
  i18n(ja): update plugins.mdx (#4403)
  i18n(ja): update overrides.md (#4401)
  i18n(ja): update configuration.mdx (#4402)
  i18n(ja): update site-search.mdx (#4400)
  i18n(de): update `resources/plugins` (#4407)
  i18n(de): update `overrides.mdx` (#4406)
  i18n(de): update `configuration.mdx` (#4405)
  i18n(de): update `site-search.mdx` (#4404)
  [ci] release (#4398)
  fix: restore aside component icon size (#4396)
  i18n(es): update project-structure.mdx (#4393)
  [ci] release (#4391)
  Update peter-evans/create-pull-request action to v8.1.3 (#4392)
  Allow passing user options to `pagefind.createIndex` (#3674)
  Refactor `ThemeSelect` to use CSS instead of JS for icon updates (#4219)
  Support any `scopedStyleStrategy` (#4190)
  Update i18next to v27 (#4385)
  Fix asides accepting Object.prototype property names as custom icons (#4390)
  ...
HiDeoo added a commit to dylantientcheu/starlight that referenced this pull request Nov 23, 2026
* main: (757 commits)
  i18n(es): Update `overriding-components.mdx` translation (withastro#4414)
  i18n(de): improve site-search and plugins (withastro#4410)
  [ci] format
  i18n(es): update i18n.mdx and plugins.md (withastro#4394)
  chore(deps): update pnpm/setup action to v3.2.0 (withastro#4413)
  chore(deps): update node.js to v24.22.3 (withastro#4408)
  docs: point the changeset link at the current Changesets docs (withastro#4387)
  i18n(ko-KR): update `configuration`, `overrides` (withastro#4399)
  i18n(ja): update plugins.mdx (withastro#4403)
  i18n(ja): update overrides.md (withastro#4401)
  i18n(ja): update configuration.mdx (withastro#4402)
  i18n(ja): update site-search.mdx (withastro#4400)
  i18n(de): update `resources/plugins` (withastro#4407)
  i18n(de): update `overrides.mdx` (withastro#4406)
  i18n(de): update `configuration.mdx` (withastro#4405)
  i18n(de): update `site-search.mdx` (withastro#4404)
  [ci] release (withastro#4398)
  fix: restore aside component icon size (withastro#4396)
  i18n(es): update project-structure.mdx (withastro#4393)
  [ci] release (withastro#4391)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🌟 core Changes to Starlight’s main package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants