Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 5.15.9 to 5.16.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.16.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/13880">#13880</a> <a href="https://github.com/withastro/astro/commit/1a2ed01c92fe93843046396a2c854514747f4df8"><code>1a2ed01</code></a> Thanks <a href="https://github.com/azat-io"><code>@azat-io</code></a>! - Adds experimental SVGO optimization support for SVG assets</p>
<p>Astro now supports automatic SVG optimization using SVGO during build time. This experimental feature helps reduce SVG file sizes while maintaining visual quality, improving your site's performance.</p>
<p>To enable SVG optimization with default settings, add the following to your <code>astro.config.mjs</code>:</p>
<pre lang="js"><code>import { defineConfig } from 'astro/config';
<p>export default defineConfig({
experimental: {
svgo: true,
},
});
</code></pre></p>
<p>To customize optimization, pass a <a href="https://svgo.dev/docs/plugins/">SVGO configuration object</a>:</p>
<pre lang="js"><code>export default defineConfig({
experimental: {
svgo: {
plugins: [
'preset-default',
{
name: 'removeViewBox',
active: false,
},
],
},
},
});
</code></pre>
<p>For more information on enabling and using this feature in your project, see the <a href="https://docs.astro.build/en/reference/experimental-flags/svg-optimization/">experimental SVG optimization docs</a>.</p>
</li>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/14810">#14810</a> <a href="https://github.com/withastro/astro/commit/2e845fe56de45c710d282ed36f92978612810b79"><code>2e845fe</code></a> Thanks <a href="https://github.com/ascorbic"><code>@ascorbic</code></a>! - Adds a hint for code agents to use the <code>--yes</code> flag to skip prompts when running <code>astro add</code></p>
</li>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/14698">#14698</a> <a href="https://github.com/withastro/astro/commit/f42ff9bd5b4c8d3e67247ee6e21f14cd2062c037"><code>f42ff9b</code></a> Thanks <a href="https://github.com/mauriciabad"><code>@mauriciabad</code></a>! - Adds the <code>ActionInputSchema</code> utility type to automatically infer the TypeScript type of an action's input based on its Zod schema</p>
<p>For example, this type can be used to retrieve the input type of a form action:</p>
<pre lang="ts"><code>import { type ActionInputSchema, defineAction } from 'astro:actions';
import { z } from 'astro/zod';
<p>const action = defineAction({
</code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p>
<blockquote>
<h2>5.16.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/13880">#13880</a> <a href="https://github.com/withastro/astro/commit/1a2ed01c92fe93843046396a2c854514747f4df8"><code>1a2ed01</code></a> Thanks <a href="https://github.com/azat-io"><code>@azat-io</code></a>! - Adds experimental SVGO optimization support for SVG assets</p>
<p>Astro now supports automatic SVG optimization using SVGO during build time. This experimental feature helps reduce SVG file sizes while maintaining visual quality, improving your site's performance.</p>
<p>To enable SVG optimization with default settings, add the following to your <code>astro.config.mjs</code>:</p>
<pre lang="js"><code>import { defineConfig } from 'astro/config';
<p>export default defineConfig({
experimental: {
svgo: true,
},
});
</code></pre></p>
<p>To customize optimization, pass a <a href="https://svgo.dev/docs/plugins/">SVGO configuration object</a>:</p>
<pre lang="js"><code>export default defineConfig({
experimental: {
svgo: {
plugins: [
'preset-default',
{
name: 'removeViewBox',
active: false,
},
],
},
},
});
</code></pre>
<p>For more information on enabling and using this feature in your project, see the <a href="https://docs.astro.build/en/reference/experimental-flags/svg-optimization/">experimental SVG optimization docs</a>.</p>
</li>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/14810">#14810</a> <a href="https://github.com/withastro/astro/commit/2e845fe56de45c710d282ed36f92978612810b79"><code>2e845fe</code></a> Thanks <a href="https://github.com/ascorbic"><code>@ascorbic</code></a>! - Adds a hint for code agents to use the <code>--yes</code> flag to skip prompts when running <code>astro add</code></p>
</li>
<li>
<p><a href="https://redirect.github.com/withastro/astro/pull/14698">#14698</a> <a href="https://github.com/withastro/astro/commit/f42ff9bd5b4c8d3e67247ee6e21f14cd2062c037"><code>f42ff9b</code></a> Thanks <a href="https://github.com/mauriciabad"><code>@mauriciabad</code></a>! - Adds the <code>ActionInputSchema</code> utility type to automatically infer the TypeScript type of an action's input based on its Zod schema</p>
<p>For example, this type can be used to retrieve the input type of a form action:</p>
<pre lang="ts"><code>import { type ActionInputSchema, defineAction } from 'astro:actions';
import { z } from 'astro/zod';
<p></code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/withastro/astro/commit/e8786795fc462374d44917dd8eb6effcd6939257"><code>e878679</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14808">#14808</a>)</li>
<li><a href="https://github.com/withastro/astro/commit/78ed8b5b1feb783ba65b92913f27fb8ab166b01d"><code>78ed8b5</code></a> refactor(fonts): match cli structure (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14806">#14806</a>)</li>
<li><a href="https://github.com/withastro/astro/commit/1a2ed01c92fe93843046396a2c854514747f4df8"><code>1a2ed01</code></a> feat: add SVGO optimization support for SVG assets (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13880">#13880</a>)</li>
<li><a href="https://github.com/withastro/astro/commit/30305563dd7fce95cbf4b7f77a3a788483449904"><code>3030556</code></a> [ci] format</li>
<li><a href="https://github.com/withastro/astro/commit/e1dd377398a3dcf6ba0697dc8d4bde6d77a45700"><code>e1dd377</code></a> fix: remove picocolors (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14813">#14813</a>)</li>
<li><a href="https://github.com/withastro/astro/commit/4356485b0f708c7abf93207105ddcb890a466729"><code>4356485</code></a> feat(cli): Add preview shortcuts (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14574">#14574</a>)</li>
<li><a href="https://github.com/withastro/astro/commit/2e845fe56de45c710d282ed36f92978612810b79"><code>2e845fe</code></a> feat: add hint about astro add --yes flag (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14810">#14810</a>)</li>
<li><a href="https://github.com/withastro/astro/commit/f42ff9bd5b4c8d3e67247ee6e21f14cd2062c037"><code>f42ff9b</code></a> feat: Add <code>ActionInputSchema</code> utility type (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14698">#14698</a>)</li>
<li><a href="https://github.com/withastro/astro/commit/c29a785d57f08c5526828379d748f788797d9c39"><code>c29a785</code></a> feat(fonts)!: update default subsets (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14796">#14796</a>)</li>
<li><a href="https://github.com/withastro/astro/commit/ca359f213b8d4fda4db484966f6cb99f1a65caa6"><code>ca359f2</code></a> [ci] format</li>
<li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@5.16.0/packages/astro">compare view</a></li>
</ul>
</details>
<br />
[](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 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)
</details>