build(deps): bump astro from 5.14.4 to 5.18.0 #130

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/astro-5.18.0 into main
dependabot[bot] commented 2026-03-01 20:06:49 +01:00 (Migrated from github.com)

Bumps astro from 5.14.4 to 5.18.0.

Release notes

Sourced from astro's releases.

astro@5.18.0

Minor Changes

  • #15589 b7dd447 Thanks @​qzio! - Adds a new security.actionBodySizeLimit option to configure the maximum size of Astro Actions request bodies.

    This lets you increase the default 1 MB limit when your actions need to accept larger payloads. For example, actions that handle file uploads or large JSON payloads can now opt in to a higher limit.

    If you do not set this option, Astro continues to enforce the 1 MB default to help prevent abuse.

    // astro.config.mjs
    export default defineConfig({
      security: {
        actionBodySizeLimit: 10 * 1024 * 1024, // set to 10 MB
      },
    });
    

Patch Changes

  • #15594 efae11c Thanks @​qzio! - Fix X-Forwarded-Proto validation when allowedDomains includes both protocol and hostname fields. The protocol check no longer fails due to hostname mismatch against the hardcoded test URL.

astro@5.17.3

Patch Changes

  • #15564 522f880 Thanks @​matthewp! - Add a default body size limit for server actions to prevent oversized requests from exhausting memory.

  • #15569 e01e98b Thanks @​matthewp! - Respect image allowlists when inferring remote image sizes and reject remote redirects.

astro@5.17.2

Patch Changes

  • c13b536 Thanks @​matthewp! - Improves Host header handling for SSR deployments behind proxies

astro@5.17.1

Patch Changes

  • #15334 d715f1f Thanks @​florian-lefebvre! - BREAKING CHANGE to the experimental Fonts API only

    Removes the getFontBuffer() helper function exported from astro:assets when using the experimental Fonts API

    This experimental feature introduced in v15.6.13 ended up causing significant memory usage during build. This feature has been removed and will be reintroduced after further exploration and testing.

    If you were relying on this function, you can replicate the previous behavior manually:

    • On prerendered routes, read the file using node:fs
    • On server rendered routes, fetch files using URLs from fontData and context.url

astro@5.17.0

Minor Changes

... (truncated)

Changelog

Sourced from astro's changelog.

5.18.0

Minor Changes

  • #15589 b7dd447 Thanks @​qzio! - Adds a new security.actionBodySizeLimit option to configure the maximum size of Astro Actions request bodies.

    This lets you increase the default 1 MB limit when your actions need to accept larger payloads. For example, actions that handle file uploads or large JSON payloads can now opt in to a higher limit.

    If you do not set this option, Astro continues to enforce the 1 MB default to help prevent abuse.

    // astro.config.mjs
    export default defineConfig({
      security: {
        actionBodySizeLimit: 10 * 1024 * 1024, // set to 10 MB
      },
    });
    

Patch Changes

  • #15594 efae11c Thanks @​qzio! - Fix X-Forwarded-Proto validation when allowedDomains includes both protocol and hostname fields. The protocol check no longer fails due to hostname mismatch against the hardcoded test URL.

5.17.3

Patch Changes

  • #15564 522f880 Thanks @​matthewp! - Add a default body size limit for server actions to prevent oversized requests from exhausting memory.

  • #15569 e01e98b Thanks @​matthewp! - Respect image allowlists when inferring remote image sizes and reject remote redirects.

5.17.2

Patch Changes

  • c13b536 Thanks @​matthewp! - Improves Host header handling for SSR deployments behind proxies

5.17.1

Patch Changes

  • #15334 d715f1f Thanks @​florian-lefebvre! - BREAKING CHANGE to the experimental Fonts API only

    Removes the getFontBuffer() helper function exported from astro:assets when using the experimental Fonts API

    This experimental feature introduced in v15.6.13 ended up causing significant memory usage during build. This feature has been removed and will be reintroduced after further exploration and testing.

    If you were relying on this function, you can replicate the previous behavior manually:

    • On prerendered routes, read the file using node:fs
    • On server rendered routes, fetch files using URLs from fontData and context.url

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for astro since your current version.


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 [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 5.14.4 to 5.18.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases">astro's releases</a>.</em></p> <blockquote> <h2>astro@5.18.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/15589">#15589</a> <a href="https://github.com/withastro/astro/commit/b7dd447e319a7b435c01ccd69347e5261bd9dc14"><code>b7dd447</code></a> Thanks <a href="https://github.com/qzio"><code>@​qzio</code></a>! - Adds a new <code>security.actionBodySizeLimit</code> option to configure the maximum size of Astro Actions request bodies.</p> <p>This lets you increase the default 1 MB limit when your actions need to accept larger payloads. For example, actions that handle file uploads or large JSON payloads can now opt in to a higher limit.</p> <p>If you do not set this option, Astro continues to enforce the 1 MB default to help prevent abuse.</p> <pre lang="js"><code>// astro.config.mjs export default defineConfig({ security: { actionBodySizeLimit: 10 * 1024 * 1024, // set to 10 MB }, }); </code></pre> </li> </ul> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/15594">#15594</a> <a href="https://github.com/withastro/astro/commit/efae11cef1ebe1f2f54ceb55db0d1ff1938351c6"><code>efae11c</code></a> Thanks <a href="https://github.com/qzio"><code>@​qzio</code></a>! - Fix X-Forwarded-Proto validation when allowedDomains includes both protocol and hostname fields. The protocol check no longer fails due to hostname mismatch against the hardcoded test URL.</li> </ul> <h2>astro@5.17.3</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/15564">#15564</a> <a href="https://github.com/withastro/astro/commit/522f880b07a4ea7d69a19b5507fb53a5ed6c87f8"><code>522f880</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Add a default body size limit for server actions to prevent oversized requests from exhausting memory.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/15569">#15569</a> <a href="https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9"><code>e01e98b</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Respect image allowlists when inferring remote image sizes and reject remote redirects.</p> </li> </ul> <h2>astro@5.17.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/withastro/astro/commit/c13b536197a70d8d4fd0037c5bd3aaa2be0598b9"><code>c13b536</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Improves Host header handling for SSR deployments behind proxies</li> </ul> <h2>astro@5.17.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/15334">#15334</a> <a href="https://github.com/withastro/astro/commit/d715f1f88777a4ce0fb61c8043cccfbac2486ab4"><code>d715f1f</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - <strong>BREAKING CHANGE to the experimental Fonts API only</strong></p> <p>Removes the <code>getFontBuffer()</code> helper function exported from <code>astro:assets</code> when using the experimental Fonts API</p> <p>This experimental feature introduced in v15.6.13 ended up causing significant memory usage during build. This feature has been removed and will be reintroduced after further exploration and testing.</p> <p>If you were relying on this function, you can replicate the previous behavior manually:</p> <ul> <li>On prerendered routes, read the file using <code>node:fs</code></li> <li>On server rendered routes, fetch files using URLs from <code>fontData</code> and <code>context.url</code></li> </ul> </li> </ul> <h2>astro@5.17.0</h2> <h3>Minor Changes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/astro@5.18.0/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> <blockquote> <h2>5.18.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/15589">#15589</a> <a href="https://github.com/withastro/astro/commit/b7dd447e319a7b435c01ccd69347e5261bd9dc14"><code>b7dd447</code></a> Thanks <a href="https://github.com/qzio"><code>@​qzio</code></a>! - Adds a new <code>security.actionBodySizeLimit</code> option to configure the maximum size of Astro Actions request bodies.</p> <p>This lets you increase the default 1 MB limit when your actions need to accept larger payloads. For example, actions that handle file uploads or large JSON payloads can now opt in to a higher limit.</p> <p>If you do not set this option, Astro continues to enforce the 1 MB default to help prevent abuse.</p> <pre lang="js"><code>// astro.config.mjs export default defineConfig({ security: { actionBodySizeLimit: 10 * 1024 * 1024, // set to 10 MB }, }); </code></pre> </li> </ul> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/15594">#15594</a> <a href="https://github.com/withastro/astro/commit/efae11cef1ebe1f2f54ceb55db0d1ff1938351c6"><code>efae11c</code></a> Thanks <a href="https://github.com/qzio"><code>@​qzio</code></a>! - Fix X-Forwarded-Proto validation when allowedDomains includes both protocol and hostname fields. The protocol check no longer fails due to hostname mismatch against the hardcoded test URL.</li> </ul> <h2>5.17.3</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/15564">#15564</a> <a href="https://github.com/withastro/astro/commit/522f880b07a4ea7d69a19b5507fb53a5ed6c87f8"><code>522f880</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Add a default body size limit for server actions to prevent oversized requests from exhausting memory.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/15569">#15569</a> <a href="https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9"><code>e01e98b</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Respect image allowlists when inferring remote image sizes and reject remote redirects.</p> </li> </ul> <h2>5.17.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/withastro/astro/commit/c13b536197a70d8d4fd0037c5bd3aaa2be0598b9"><code>c13b536</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Improves Host header handling for SSR deployments behind proxies</li> </ul> <h2>5.17.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/15334">#15334</a> <a href="https://github.com/withastro/astro/commit/d715f1f88777a4ce0fb61c8043cccfbac2486ab4"><code>d715f1f</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - <strong>BREAKING CHANGE to the experimental Fonts API only</strong></p> <p>Removes the <code>getFontBuffer()</code> helper function exported from <code>astro:assets</code> when using the experimental Fonts API</p> <p>This experimental feature introduced in v15.6.13 ended up causing significant memory usage during build. This feature has been removed and will be reintroduced after further exploration and testing.</p> <p>If you were relying on this function, you can replicate the previous behavior manually:</p> <ul> <li>On prerendered routes, read the file using <code>node:fs</code></li> <li>On server rendered routes, fetch files using URLs from <code>fontData</code> and <code>context.url</code></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/011f06106531419f27ce53d0641a3e6ef9db5108"><code>011f061</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15597">#15597</a>)</li> <li><a href="https://github.com/withastro/astro/commit/efae11cef1ebe1f2f54ceb55db0d1ff1938351c6"><code>efae11c</code></a> fix: X-Forwarded-Proto rejected when allowedDomains includes protocol… (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15594">#15594</a>)</li> <li><a href="https://github.com/withastro/astro/commit/751ccf06fab3f1f8e157873354f91f7282a5a1ca"><code>751ccf0</code></a> Update actionBodySizeLimit changeset and make minor (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15600">#15600</a>)</li> <li><a href="https://github.com/withastro/astro/commit/b7dd447e319a7b435c01ccd69347e5261bd9dc14"><code>b7dd447</code></a> make actionBodySizeLimit configurable (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15589">#15589</a>)</li> <li><a href="https://github.com/withastro/astro/commit/e0f1a2b3e4bc908bd5e148c698efb6f41a42c8ea"><code>e0f1a2b</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15571">#15571</a>)</li> <li><a href="https://github.com/withastro/astro/commit/522f880b07a4ea7d69a19b5507fb53a5ed6c87f8"><code>522f880</code></a> Limit action request body size (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15564">#15564</a>)</li> <li><a href="https://github.com/withastro/astro/commit/436962a639ad7d606ed19c97b42d2466117e3fc4"><code>436962a</code></a> chore: Upgrade Vite and esbuild (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15554">#15554</a>)</li> <li><a href="https://github.com/withastro/astro/commit/e01e98b063e90d274c42130ec2a60cc0966622c9"><code>e01e98b</code></a> Respect remote image allowlists (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15569">#15569</a>)</li> <li><a href="https://github.com/withastro/astro/commit/f2955fbc0ebc14a6d04083287b50a769707b3d64"><code>f2955fb</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/15474">#15474</a>)</li> <li><a href="https://github.com/withastro/astro/commit/c13b536197a70d8d4fd0037c5bd3aaa2be0598b9"><code>c13b536</code></a> Validate Host header against allowedDomains</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@5.18.0/packages/astro">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for astro since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=astro&package-manager=npm_and_yarn&previous-version=5.14.4&new-version=5.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/astro-5.18.0:dependabot/npm_and_yarn/astro-5.18.0
git switch dependabot/npm_and_yarn/astro-5.18.0

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/npm_and_yarn/astro-5.18.0
git switch dependabot/npm_and_yarn/astro-5.18.0
git rebase main
git switch main
git merge --ff-only dependabot/npm_and_yarn/astro-5.18.0
git switch dependabot/npm_and_yarn/astro-5.18.0
git rebase main
git switch main
git merge --no-ff dependabot/npm_and_yarn/astro-5.18.0
git switch main
git merge --squash dependabot/npm_and_yarn/astro-5.18.0
git switch main
git merge --ff-only dependabot/npm_and_yarn/astro-5.18.0
git switch main
git merge dependabot/npm_and_yarn/astro-5.18.0
git push origin main
Sign in to join this conversation.
No description provided.