Skip to content

chore(deps): Bump the astrojs group with 6 updates#37

Merged
mergify[bot] merged 1 commit intomainfrom
dependabot/npm_and_yarn/astrojs-0fe2532dc7
Oct 14, 2025
Merged

chore(deps): Bump the astrojs group with 6 updates#37
mergify[bot] merged 1 commit intomainfrom
dependabot/npm_and_yarn/astrojs-0fe2532dc7

Conversation

@dependabot
Copy link
Contributor

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

Bumps the astrojs group with 6 updates:

Package From To
@astrojs/markdoc 0.15.4 0.15.7
@astrojs/react 4.3.0 4.4.0
@astrojs/sitemap 3.4.2 3.6.0
@astrojs/svelte 7.1.0 7.2.0
@astrojs/vercel 8.2.3 8.2.8
astro 5.13.2 5.14.1

Updates @astrojs/markdoc from 0.15.4 to 0.15.7

Release notes

Sourced from @​astrojs/markdoc's releases.

@​astrojs/markdoc@​0.15.7

Patch Changes

  • Updated dependencies [1e2499e]:
    • @​astrojs/internal-helpers@​0.7.3
    • @​astrojs/markdown-remark@​6.3.7

@​astrojs/markdoc@​0.15.6

Patch Changes

@​astrojs/markdoc@​0.15.5

Patch Changes

  • Updated dependencies [4d16de7]:
    • @​astrojs/internal-helpers@​0.7.2
    • @​astrojs/markdown-remark@​6.3.6
Changelog

Sourced from @​astrojs/markdoc's changelog.

0.15.7

Patch Changes

  • Updated dependencies [1e2499e]:
    • @​astrojs/internal-helpers@​0.7.3
    • @​astrojs/markdown-remark@​6.3.7

0.15.6

Patch Changes

0.15.5

Patch Changes

  • Updated dependencies [4d16de7]:
    • @​astrojs/internal-helpers@​0.7.2
    • @​astrojs/markdown-remark@​6.3.6
Commits

Updates @astrojs/react from 4.3.0 to 4.4.0

Release notes

Sourced from @​astrojs/react's releases.

@​astrojs/react@​4.4.0

Minor Changes

  • #14386 f75f446 Thanks @​yanthomasdev! - Stabilizes the formerly experimental getActionState() and withState() functions introduced in @astrojs/react v3.4.0 used to integrate Astro Actions with React 19's useActionState() hook.

    This example calls a like action that accepts a postId and returns the number of likes. Pass this action to the withState() function to apply progressive enhancement info, and apply to useActionState() to track the result:

    import { actions } from 'astro:actions';
    import { withState } from '@astrojs/react/actions';
    import { useActionState } from 'react';
    

    export function Like({ postId }: { postId: string }) { const [state, action, pending] = useActionState( withState(actions.like), 0, // initial likes );

    return ( <form action={action}> <input type="hidden" name="postId" value={postId} /> <button disabled={pending}>{state} ❤️</button> </form> ); }

    You can also access the state stored by useActionState() from your action handler. Call getActionState() with the API context, and optionally apply a type to the result:

    import { defineAction } from 'astro:actions';
    import { z } from 'astro:schema';
    import { getActionState } from '@astrojs/react/actions';
    

    export const server = { like: defineAction({ input: z.object({ postId: z.string(), }), handler: async ({ postId }, ctx) => { const currentLikes = getActionState<number>(ctx); // write to database return currentLikes + 1; }, }), };

    If you were previously using this experimental feature, you will need to update your code to use the new stable exports:

    // src/components/Form.jsx
    import { actions } from 'astro:actions';
    -import { experimental_withState } from '@astrojs/react/actions';

... (truncated)

Changelog

Sourced from @​astrojs/react's changelog.

4.4.0

Minor Changes

  • #14386 f75f446 Thanks @​yanthomasdev! - Stabilizes the formerly experimental getActionState() and withState() functions introduced in @astrojs/react v3.4.0 used to integrate Astro Actions with React 19's useActionState() hook.

    This example calls a like action that accepts a postId and returns the number of likes. Pass this action to the withState() function to apply progressive enhancement info, and apply to useActionState() to track the result:

    import { actions } from 'astro:actions';
    import { withState } from '@astrojs/react/actions';
    import { useActionState } from 'react';
    

    export function Like({ postId }: { postId: string }) { const [state, action, pending] = useActionState( withState(actions.like), 0, // initial likes );

    return ( <form action={action}> <input type="hidden" name="postId" value={postId} /> <button disabled={pending}>{state} ❤️</button> </form> ); }

    You can also access the state stored by useActionState() from your action handler. Call getActionState() with the API context, and optionally apply a type to the result:

    import { defineAction } from 'astro:actions';
    import { z } from 'astro:schema';
    import { getActionState } from '@astrojs/react/actions';
    

    export const server = { like: defineAction({ input: z.object({ postId: z.string(), }), handler: async ({ postId }, ctx) => { const currentLikes = getActionState<number>(ctx); // write to database return currentLikes + 1; }, }), };

    If you were previously using this experimental feature, you will need to update your code to use the new stable exports:

... (truncated)

Commits

Updates @astrojs/sitemap from 3.4.2 to 3.6.0

Release notes

Sourced from @​astrojs/sitemap's releases.

@​astrojs/sitemap@​3.6.0

Minor Changes

  • #14285 bedc31b Thanks @​jdcolombo! - Adds a new configuration option namespaces for more control over XML namespaces used in sitemap generation

    Excluding unused namespaces can help create cleaner, more focused sitemaps that are faster for search engines to parse and use less bandwidth. If your site doesn't have news content, videos, or multiple languages, you can exclude those namespaces to reduce XML bloat.

    The namespaces option allows you to configure news, xhtml, image, and video namespaces independently. All namespaces are enabled by default for backward compatibility and no change to existing projects is necessary. But now, you can choose to streamline your XML and avoid unnecessary code.

    For example, to exclude the video namespace from your sitemap, set video: false in your configuration:

    // astro.config.mjs
    import { sitemap } from '@astrojs/sitemap';
    

    export default { integrations: [ sitemap({ namespaces: { video: false, // other namespaces remain enabled by default } }) ] };

    The generated XML will not include the xmlns:video namespace:

    <?xml version="1.0" encoding="UTF-8"?>
    <urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
      xmlns:xhtml="http://www.w3.org/1999/xhtml"
      xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
    >
      <!-- ... -->
    </urlset>
    

@​astrojs/sitemap@​3.5.1

Patch Changes

  • #14233 896886c Thanks @​gouravkhunger! - Fixes the issue with the option lastmod where if it is defined it applies correctly to <url> entries in each sitemap-${i}.xml file but not the <sitemap> entries in the root sitemap-index.xml file.

@​astrojs/sitemap@​3.5.0

Minor Changes

  • #13682 5824b32 Thanks @​gouravkhunger! - Adds a customSitemaps option to include extra sitemaps in the sitemap-index.xml file generated by Astro.

    This is useful for multi-framework setups on the same domain as your Astro site (example.com), such as a blog at example.com/blog whose sitemap is generated by another framework.

    The following example shows configuring your Astro site to include sitemaps for an externally-generated blog and help center along with the generated sitemap entries in sitemap-index.xml:

... (truncated)

Changelog

Sourced from @​astrojs/sitemap's changelog.

3.6.0

Minor Changes

  • #14285 bedc31b Thanks @​jdcolombo! - Adds a new configuration option namespaces for more control over XML namespaces used in sitemap generation

    Excluding unused namespaces can help create cleaner, more focused sitemaps that are faster for search engines to parse and use less bandwidth. If your site doesn't have news content, videos, or multiple languages, you can exclude those namespaces to reduce XML bloat.

    The namespaces option allows you to configure news, xhtml, image, and video namespaces independently. All namespaces are enabled by default for backward compatibility and no change to existing projects is necessary. But now, you can choose to streamline your XML and avoid unnecessary code.

    For example, to exclude the video namespace from your sitemap, set video: false in your configuration:

    // astro.config.mjs
    import { sitemap } from '@astrojs/sitemap';
    

    export default { integrations: [ sitemap({ namespaces: { video: false, // other namespaces remain enabled by default } }) ] };

    The generated XML will not include the xmlns:video namespace:

    <?xml version="1.0" encoding="UTF-8"?>
    <urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"
      xmlns:xhtml="http://www.w3.org/1999/xhtml"
      xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
    >
      <!-- ... -->
    </urlset>
    

3.5.1

Patch Changes

  • #14233 896886c Thanks @​gouravkhunger! - Fixes the issue with the option lastmod where if it is defined it applies correctly to <url> entries in each sitemap-${i}.xml file but not the <sitemap> entries in the root sitemap-index.xml file.

3.5.0

... (truncated)

Commits

Updates @astrojs/svelte from 7.1.0 to 7.2.0

Release notes

Sourced from @​astrojs/svelte's releases.

@​astrojs/svelte@​7.2.0

Minor Changes

  • #14430 78011ba Thanks @​ascorbic! - Adds support for async server rendering

    Svelte 5.36 added experimental support for async rendering. This allows you to use await in your components in several new places. This worked out of the box with client-rendered components, but server-rendered components needed some extra help. This update adds support for async server rendering in Svelte components used in Astro.

    To use async rendering, you must enable it in your Svelte config:

    // svelte.config.js
    export default {
      compilerOptions: {
        experimental: {
          async: true,
        },
      },
    };

    Then you can use await in your components:

    <script>
      let data = await fetch('/api/data').then(res => res.json());
    </script>
    <h1>{data.title}</h1>

    See the Svelte docs for more information on using await in Svelte components, including inside $derived blocks and directly in markup.

Patch Changes

  • #14433 9cc8f21 Thanks @​ascorbic! - Fixes a bug that prevented Svelte 5.39.1+ components rendering when multiple frameworks were present

@​astrojs/svelte@​7.1.1

Patch Changes

Changelog

Sourced from @​astrojs/svelte's changelog.

7.2.0

Minor Changes

  • #14430 78011ba Thanks @​ascorbic! - Adds support for async server rendering

    Svelte 5.36 added experimental support for async rendering. This allows you to use await in your components in several new places. This worked out of the box with client-rendered components, but server-rendered components needed some extra help. This update adds support for async server rendering in Svelte components used in Astro.

    To use async rendering, you must enable it in your Svelte config:

    // svelte.config.js
    export default {
      compilerOptions: {
        experimental: {
          async: true,
        },
      },
    };

    Then you can use await in your components:

    <script>
      let data = await fetch('/api/data').then(res => res.json());
    </script>
    <h1>{data.title}</h1>

    See the Svelte docs for more information on using await in Svelte components, including inside $derived blocks and directly in markup.

Patch Changes

  • #14433 9cc8f21 Thanks @​ascorbic! - Fixes a bug that prevented Svelte 5.39.1+ components rendering when multiple frameworks were present

7.1.1

Patch Changes

Commits

Updates @astrojs/vercel from 8.2.3 to 8.2.8

Release notes

Sourced from @​astrojs/vercel's releases.

@​astrojs/vercel@​8.2.8

Patch Changes

  • Updated dependencies [1e2499e]:
    • @​astrojs/internal-helpers@​0.7.3

@​astrojs/vercel@​8.2.7

Patch Changes

  • #14039 da4182d Thanks @​ematipico! - Fixes a bug where experimentalStaticHeaders did not work as expected.

  • #14289 ed493a6 Thanks @​ascorbic! - Fixes a bug that caused invalid image sizes to be generated when the requested widths were larger than the source image

@​astrojs/vercel@​8.2.6

Patch Changes

  • Updated dependencies [4d16de7]:
    • @​astrojs/internal-helpers@​0.7.2

@​astrojs/vercel@​8.2.5

Patch Changes

  • Updated dependencies [0567fb7]:
    • @​astrojs/internal-helpers@​0.7.1

@​astrojs/vercel@​8.2.4

Patch Changes

  • Updated dependencies [f4e8889]:
    • @​astrojs/internal-helpers@​0.7.0
Changelog

Sourced from @​astrojs/vercel's changelog.

8.2.8

Patch Changes

  • Updated dependencies [1e2499e]:
    • @​astrojs/internal-helpers@​0.7.3

8.2.7

Patch Changes

  • #14039 da4182d Thanks @​ematipico! - Fixes a bug where experimentalStaticHeaders did not work as expected.

  • #14289 ed493a6 Thanks @​ascorbic! - Fixes a bug that caused invalid image sizes to be generated when the requested widths were larger than the source image

8.2.6

Patch Changes

  • Updated dependencies [4d16de7]:
    • @​astrojs/internal-helpers@​0.7.2

8.2.5

Patch Changes

  • Updated dependencies [0567fb7]:
    • @​astrojs/internal-helpers@​0.7.1

8.2.4

Patch Changes

  • Updated dependencies [f4e8889]:
    • @​astrojs/internal-helpers@​0.7.0
Commits

Updates astro from 5.13.2 to 5.14.1

Release notes

Sourced from astro's releases.

astro@5.14.1

Patch Changes

astro@5.14.0

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;
      icon: SvgComponent;
    }
    const links: Link[] = [
      {
        url: '/',
        text: 'Home',
        icon: HomeIcon,
      },
    ];
    ---

... (truncated)

Changelog

Sourced from astro's changelog.

5.14.1

Patch Changes

5.14.0

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;
      icon: SvgComponent;

... (truncated)

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 7, 2025
@mergify mergify bot requested a review from kamontat October 14, 2025 08:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/astrojs-0fe2532dc7 branch from a09c573 to a40d267 Compare October 14, 2025 08:08
Bumps the astrojs group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@astrojs/markdoc](https://github.com/withastro/astro/tree/HEAD/packages/integrations/markdoc) | `0.15.4` | `0.15.7` |
| [@astrojs/react](https://github.com/withastro/astro/tree/HEAD/packages/integrations/react) | `4.3.0` | `4.4.0` |
| [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap) | `3.4.2` | `3.6.0` |
| [@astrojs/svelte](https://github.com/withastro/astro/tree/HEAD/packages/integrations/svelte) | `7.1.0` | `7.2.0` |
| [@astrojs/vercel](https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel) | `8.2.3` | `8.2.8` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `5.13.2` | `5.14.1` |


Updates `@astrojs/markdoc` from 0.15.4 to 0.15.7
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/markdoc/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/markdoc@0.15.7/packages/integrations/markdoc)

Updates `@astrojs/react` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/react/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/react@4.4.0/packages/integrations/react)

Updates `@astrojs/sitemap` from 3.4.2 to 3.6.0
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/sitemap@3.6.0/packages/integrations/sitemap)

Updates `@astrojs/svelte` from 7.1.0 to 7.2.0
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/svelte/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/svelte@7.2.0/packages/integrations/svelte)

Updates `@astrojs/vercel` from 8.2.3 to 8.2.8
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/vercel/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/vercel@8.2.8/packages/integrations/vercel)

Updates `astro` from 5.13.2 to 5.14.1
- [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/astro@5.14.1/packages/astro)

---
updated-dependencies:
- dependency-name: "@astrojs/markdoc"
  dependency-version: 0.15.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: astrojs
- dependency-name: "@astrojs/react"
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: astrojs
- dependency-name: "@astrojs/sitemap"
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: astrojs
- dependency-name: "@astrojs/svelte"
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: astrojs
- dependency-name: "@astrojs/vercel"
  dependency-version: 8.2.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: astrojs
- dependency-name: astro
  dependency-version: 5.14.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: astrojs
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/astrojs-0fe2532dc7 branch from a40d267 to 7fce081 Compare October 14, 2025 08:11
@mergify mergify bot added queued and removed status/conflict labels Oct 14, 2025
@mergify mergify bot merged commit aee4402 into main Oct 14, 2025
5 checks passed
@mergify mergify bot deleted the dependabot/npm_and_yarn/astrojs-0fe2532dc7 branch October 14, 2025 08:14
@mergify mergify bot removed the queued label Oct 14, 2025
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