Skip to content

chore(deps): bump @astrojs/starlight from 0.41.4 to 0.42.0 in /website - #269

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/website/astrojs/starlight-0.42.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/website/astrojs/starlight-0.42.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 7, 2026

Copy link
Copy Markdown
Contributor

Bumps @astrojs/starlight from 0.41.4 to 0.42.0.

Release notes

Sourced from @​astrojs/starlight's releases.

@​astrojs/starlight@​0.42.0

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:

  • ... (truncated)

    Changelog

    Sourced from @​astrojs/starlight's changelog.

    0.42.0

    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.

  • ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

    Bumps [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) from 0.41.4 to 0.42.0.
    - [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.42.0/packages/starlight)
    
    ---
    updated-dependencies:
    - dependency-name: "@astrojs/starlight"
      dependency-version: 0.42.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    @dependabot @github

    dependabot Bot commented on behalf of github Sep 7, 2026

    Copy link
    Copy Markdown
    Contributor Author

    Labels

    The following labels could not be found: npm. Please create it before Dependabot can add it to a pull request.

    Please fix the above issues or remove invalid values from dependabot.yml.

    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 10, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 10, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 11, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 11, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 12, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 12, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 14, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 14, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 15, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 15, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 16, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 16, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 17, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 17, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 18, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 18, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 19, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 19, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 20, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 20, 2026
    @github-actions
    github-actions Bot added this pull request to the merge queue Sep 21, 2026
    @github-merge-queue
    github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 21, 2026
    @dependabot @github

    dependabot Bot commented on behalf of github Sep 21, 2026

    Copy link
    Copy Markdown
    Contributor Author

    Superseded by #282.

    @dependabot dependabot Bot closed this Sep 21, 2026
    @dependabot
    dependabot Bot deleted the dependabot/npm_and_yarn/website/astrojs/starlight-0.42.0 branch September 21, 2026 16:45
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    0 participants