Skip to content

Chore(deps): Bump astro from 5.13.7 to 5.14.0 - #642

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/astro-5.14.0
Closed

Chore(deps): Bump astro from 5.13.7 to 5.14.0#642
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/astro-5.14.0

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubSep 25, 2025

Copy link
Copy Markdown
Contributor

Bumps astro from 5.13.7 to 5.14.0.

Release notes

Sourced from astro's releases.

astro@5.14.0

Minor Changes

  • #13520a31edb8 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 =awaitfetch('...'); const data =awaitresponse.json(); console.log(routePattern);
    // [...locale]/[files]/[slug] // Call your custom helper with routePattern to generate the staticpathsreturndata.flatMap((file) =>getLocalizedData(file, routePattern)); } const {locale, files,
    slug} = Astro.params;

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

  • #13651dcfbd8c 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.astroimporttype { SvgComponent } from'astro/types';importHomeIconfrom'./Home.svg';interfaceLink { url:string; text:string; icon:SvgComponent;}const links:Link[] = [ { url: '/', text: 'Home', icon: HomeIcon, },];---
  • #1420616a23e2 Thanks @​Fryuni! - Warn on prerendered routes collision.

    Previously, when two dynamic routes /[foo] and /[bar] returned values on their getStaticPaths that resulted in the same final path, only one of the routes would be rendered while the other would be silently ignored. Now, when this happens, a warning will be displayed explaining which routes collided and on which path.

    Additionally, a new experimental flag failOnPrerenderCollision can be used to fail the build when such a collision occurs.

... (truncated)

Changelog

Sourced from astro's changelog.

5.14.0

Minor Changes

  • #13520a31edb8 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 =awaitfetch('...'); const data =awaitresponse.json(); console.log(routePattern);
    // [...locale]/[files]/[slug] // Call your custom helper with routePattern to generate the staticpathsreturndata.flatMap((file) =>getLocalizedData(file, routePattern)); } const {locale, files,
    slug} = Astro.params;

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

  • #13651dcfbd8c 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.astroimporttype { SvgComponent } from'astro/types';importHomeIconfrom'./Home.svg';interfaceLink { url:string; text:string; icon:SvgComponent;}const links:Link[] = [ { url: '/', text: 'Home', icon: HomeIcon, },];---
  • #1420616a23e2 Thanks @​Fryuni! - Warn on prerendered routes collision.

    Previously, when two dynamic routes /[foo] and /[bar] returned values on their getStaticPaths that resulted in the same final path, only one of the routes would be rendered while the other would be silently ignored. Now, when this happens, a warning will be displayed explaining which routes collided and on which path.

... (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 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)

Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 5.13.7 to 5.14.0.
- [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.0/packages/astro)
---
updated-dependencies:
- dependency-name: astro
dependency-version: 5.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 25, 2025
@vercel
vercelBottemporarily deployed to Preview – web-contact September 25, 2025 15:12 Inactive
@vercel

vercelBot commented Sep 25, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentPreviewCommentsUpdated (UTC)
company-websiteReadyReadyPreviewCommentSep 25, 2025 3:13pm
1 Skipped Deployment
ProjectDeploymentPreviewCommentsUpdated (UTC)
web-contactSkippedSkippedSep 25, 2025 3:13pm

@dependabot@github

dependabotBot commented on behalf of githubSep 26, 2025

Copy link
Copy Markdown
ContributorAuthor

Superseded by #648.

@dependabotdependabotBot closed this Sep 26, 2025
@dependabot
dependabotBot deleted the dependabot/npm_and_yarn/astro-5.14.0 branch September 26, 2025 15:12
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filejavascriptPull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants