Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 11, 2025

Bumps astro and starlight-site-graph. These dependencies needed to be updated together.
Updates astro from 5.13.1 to 5.14.4

Release notes

Sourced from astro's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

  • #14505 28b2a1d Thanks @​matthewp! - Fixes Cannot set property manifest error in test utilities by adding a protected setter for the manifest property

  • #14235 c4d84bb Thanks @​toxeeec! - Fixes a bug where the "tap" prefetch strategy worked only on the first clicked link with view transitions enabled

[email protected]

Patch Changes

[email protected]

Minor Changes

  • #13520 a31edb8 Thanks @​openscript! - Adds a new property routePattern available to GetStaticPathsOptions

    This provides the original, dynamic segment definition in a routing file path (e.g. /[...locale]/[files]/[slug]) from the Astro render context that would not otherwise be available within the scope of getStaticPaths(). This can be useful to calculate the params and props for each page route.

    For example, you can now localize your route segments and return an array of static paths by passing routePattern to a custom getLocalizedData() helper function. The params object will be set with explicit values for each route segment (e.g. locale, files, and slug). Then, these values will be used to generate the routes and can be used in your page template via Astro.params.

    // src/pages/[...locale]/[files]/[slug].astro
    import { getLocalizedData } from "../../../utils/i18n"; export async function getStaticPaths({ routePattern
    }) { const response = await fetch('...'); const data = await response.json(); console.log(routePattern);
    // [...locale]/[files]/[slug] // Call your custom helper with routePattern to generate the static
    paths return data.flatMap((file) => getLocalizedData(file, routePattern)); } const { locale, files,
    slug } = Astro.params;

    For more information about this advanced routing pattern, see Astro's routing reference.

  • #13651 dcfbd8c Thanks @​ADTC! - Adds a new SvgComponent type

    You can now more easily enforce type safety for your .svg assets by directly importing SVGComponent from astro/types:

    ---
    // src/components/Logo.astro
    import type { SvgComponent } from 'astro/types';
    import HomeIcon from './Home.svg';
    interface Link {
      url: string;
      text: string;

... (truncated)

Changelog

Sourced from astro's changelog.

5.14.4

Patch Changes

5.14.3

Patch Changes

  • #14505 28b2a1d Thanks @​matthewp! - Fixes Cannot set property manifest error in test utilities by adding a protected setter for the manifest property

  • #14235 c4d84bb Thanks @​toxeeec! - Fixes a bug where the "tap" prefetch strategy worked only on the first clicked link with view transitions enabled

5.14.2

Patch Changes

  • #14459 916f9c2 Thanks @​florian-lefebvre! - Improves font files URLs in development when using the experimental fonts API by showing the subset if present

  • b8ca69b Thanks @​ascorbic! - Aligns dev image server file base with Vite rules

  • #14469 1c090b0 Thanks @​delucis! - Updates tinyexec dependency

  • #14460 008dc75 Thanks @​florian-lefebvre! - Fixes a case where astro:config/server values typed as URLs would be serialized as strings

  • #13730 7260367 Thanks @​razonyang! - Fixes a bug in i18n, where Astro caused an infinite loop when a locale that doesn't have an index, and Astro falls back to the index of the default locale.

  • 6ee63bf Thanks @​matthewp! - Adds security.allowedDomains configuration to validate X-Forwarded-Host headers in SSR

    The X-Forwarded-Host header will now only be trusted if it matches one of the configured allowed host patterns. This prevents host header injection attacks that can lead to cache poisoning and other security vulnerabilities.

    Configure allowed host patterns to enable X-Forwarded-Host support:

    // astro.config.mjs
    export default defineConfig({
      output: 'server',
      adapter: node(),
      security: {
        allowedDomains: [
          { hostname: 'example.com' },
          { hostname: '*.example.com' },
          { hostname: 'cdn.example.com', port: '443' },
        ],
      },
    });

    The patterns support wildcards (* and **) for flexible hostname matching and can optionally specify protocol and port.

... (truncated)

Commits

Updates starlight-site-graph from 0.2.2 to 0.5.0

Release notes

Sourced from starlight-site-graph's releases.

0.5.0

0.5.0

Features

  • Filter out links in HTML elements based on CSS-like selectors with the ignoreLinksInSelectors setting
    • Supports tags (footer), classes (.some-class) and IDs (#some-id)
    • Replaces the ignoreStarlightLinks setting, which is now deprecated
  • Filter out nodes in the graph based on glob patterns with the nodeInclusionRules setting (thanks @​ulughann!)
    • Supports negation with !, e.g. ["**/*", "!**/drafts/**"] to exclude all pages in the drafts folder
    • By default, all pages are included (["**/*"])

Changes

  • Adapt to use same slugging library as Astro
  • sitemap.json is now minified and only adds fields for necessary data, reducing its size
  • Improve styling of the graph when minimized and full screen
  • Automatically enable the prefetch if not set, which prevents the site from completely failing to build

Fixes

  • Improve compatibility with vanilla Astro, make sure to read the Getting Started guide in the docs (thanks @​C-Loftus!)
  • Fix backlinks component not including all links to the page
  • Prevent a malformed CSS variable or unsupported color space from breaking the graph rendering
  • Fix a bug where the fullscreen graph would incorrectly take up the entire screen in some themes
  • Prioritize stylesheets defined by the user over those provided by this package, to avoid possible @layer conflicts (thanks @​nikdelvin!)

0.4.1

0.4.1

Fixes

  • Fix unicode characters in paths not being correctly encoded in the sitemap, causing the graph and backlinks not to be visible for a page, despite an entry existing in the sitemap. (thanks @​ulughann!)

0.4.0

0.4.0

Changes

  • ⚠️ Breaking change: All classes provided by this package are now prefixed with slsg- to avoid conflicts with other packages.
    • If you have written custom CSS that targets the classes provided by this package, you will need to update them to use the new prefix.

Features

  • Support custom slug frontmatter field in the sitemap and graph components, allowing you to define custom URLs for pages. (thanks @​glennhenry!)
  • Added the pageTitleFallbackStrategy configuration option, which allows you to define what the name of a page should be when the title frontmatter field is not set.
    • linkText (default): Use the most common text of the links pointing to the page.
    • slug: Use the final slug of the page, as defined by the slug frontmatter field or the URL.

Fixes

  • Fix an issue where HTML links in generated content were never getting parsed
  • Prevent links to sections on a page creating invalid sitemap entries

0.3.3

0.3.3

Features

  • Added the overridePageSidebar flag to the plugin configuration, enabling you to completely disable the plugin's sidebar override, which normally adds the <PageGraph> and <PageBacklinks> components to the sidebar.
  • Added the ability to quickly disable either the <PageGraph> or <PageBacklinks> component

... (truncated)

Changelog

Sourced from starlight-site-graph's changelog.

0.5.0 (2025/08/31)

Features

  • Filter out links in HTML elements based on CSS-like selectors with the ignoreLinksInSelectors setting
    • Supports tags (footer), classes (.some-class) and IDs (#some-id)
    • Replaces the ignoreStarlightLinks setting, which is now deprecated
  • Filter out nodes in the graph based on glob patterns with the nodeInclusionRules setting
    • Supports negation with !, e.g. ["**/*", "!**/drafts/**"] to exclude all pages in the drafts folder
    • By default, all pages are included (["**/*"])

Changes

  • Adapt to use same slugging library as Astro
  • sitemap.json is now minified and only adds fields for necessary data, reducing its size
  • Improve styling of the graph when minimized and full screen
  • Automatically enable the prefetch if not set, which prevents the site from completely failing to build

Fixes

  • Improve compatibility with vanilla Astro, make sure to read the Getting Started guide in the docs
  • Fix backlinks component not including all links to the page
  • Prevent a malformed CSS variable or unsupported color space from breaking the graph rendering
  • Fix a bug where the fullscreen graph would incorrectly take up the entire screen in some themes
  • Prioritize stylesheets defined by the user over those provided by this package, to avoid possible @layer conflicts

0.4.1 (2025/07/16)

Fixes

  • Fix unicode characters in paths not being correctly encoded in the sitemap, causing the graph and backlinks not to be visible for a page, despite an entry existing in the sitemap.

0.4.0 (2025/07/02)

Changes

  • ⚠️ Breaking change: All classes provided by this package are now prefixed with slsg- to avoid conflicts with other packages.
    • If you have written custom CSS that targets the classes provided by this package, you will need to update them to use the new prefix.

Features

  • Support custom slug frontmatter field in the sitemap and graph components, allowing you to define custom URLs for pages.
  • Added the pageTitleFallbackStrategy configuration option, which allows you to define what the name of a page should be when the title frontmatter field is not set.
    • linkText (default): Use the most common text of the links pointing to the page.
    • slug: Use the final slug of the page, as defined by the slug frontmatter field or the URL.

Fixes

  • Fix an issue where HTML links in generated content were never getting parsed
  • Prevent links to sections on a page creating invalid sitemap entries

0.3.3 (2025/05/22)

Features

  • Added the overridePageSidebar flag to the plugin configuration, enabling you to completely disable the plugin's sidebar override, which normally adds the <PageGraph> and <PageBacklinks> components to the sidebar.
  • Added the ability to quickly disable either the <PageGraph> or <PageBacklinks> component in the sidebar by setting the graph and/or backlinks flags to false in the plugin configuration.

Fixes

... (truncated)

Commits
  • fed9ce0 chore(release): 0.5.0
  • 2543641 fix: micromatch potentially not being properly included when in dev mode
  • ed86db3 refactor: disable ignoreStarlightLinks functionality
  • 8a2c6bc fix: prioritize user-defined stylesheets over those added by the package (fix...
  • 0f7c4a8 feat: filter nodes from graph based on rules (implements #18)
  • 33a1cb7 feat: improve rendering of a fullscreen graph
  • e1e9746 refactor: separate out variable defaults into separate file to allow for over...
  • a3b7a32 feat: ignore links with ancestor of specific id of tag
  • aefe98f fix: prevent a malformed css variable from causing the graph to not render
  • a2d4334 refactor: minify sitemap.json
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [starlight-site-graph](https://github.com/fevol/starlight-site-graph/tree/HEAD/packages/starlight-site-graph). These dependencies needed to be updated together.

Updates `astro` from 5.13.1 to 5.14.4
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro)

Updates `starlight-site-graph` from 0.2.2 to 0.5.0
- [Release notes](https://github.com/fevol/starlight-site-graph/releases)
- [Changelog](https://github.com/Fevol/starlight-site-graph/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fevol/starlight-site-graph/commits/0.5.0/packages/starlight-site-graph)

---
updated-dependencies:
- dependency-name: astro
  dependency-version: 5.14.4
  dependency-type: direct:production
- dependency-name: starlight-site-graph
  dependency-version: 0.5.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 11, 2025
@edno edno merged commit f9037f9 into main Oct 15, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/multi-041f3ef37e branch October 15, 2025 12:17
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

Development

Successfully merging this pull request may close these issues.

1 participant