Skip to content

Commit 589ad15

Browse files
fix(deps-dev): bump the astro-and-starlight group with 2 updates (#373)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps the astro-and-starlight group with 2 updates: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) and [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro). Updates `@astrojs/starlight` from 0.42.3 to 0.42.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/starlight/releases">@​astrojs/starlight's releases</a>.</em></p> <blockquote> <h2><code>@​astrojs/starlight</code><a href="https://github.com/0"><code>@​0</code></a>.42.6</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4252">#4252</a> <a href="https://github.com/withastro/starlight/commit/40a258492af4b2ee45159aa4a7ddb30c346acc0b"><code>40a2584</code></a> Thanks <a href="https://github.com/olafur-andri"><code>@​olafur-andri</code></a>! - Adds Icelandic language support</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4229">#4229</a> <a href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes a potential issue with icons being cut off in Firefox when pinch-zooming.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4226">#4226</a> <a href="https://github.com/withastro/starlight/commit/fb562dddae97add7f5997c1f7fffd4f60c9f147c"><code>fb562dd</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes an issue where pages not importing components from <code>@astrojs/starlight/components</code> included styles of Starlight components used on other pages.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4250">#4250</a> <a href="https://github.com/withastro/starlight/commit/531af7deb7dd164e5b97a49223a82b146e575fdc"><code>531af7d</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes <code>Failed to resolve dependency</code> warnings logged when running the development server in projects using the Cloudflare adapter.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4229">#4229</a> <a href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes the <code>codePen</code> and <code>node</code> icons slightly extending beyond their bounding box.</p> </li> </ul> <h2><code>@​astrojs/starlight</code><a href="https://github.com/0"><code>@​0</code></a>.42.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/starlight/pull/4227">#4227</a> <a href="https://github.com/withastro/starlight/commit/5ba7a70ad491ed8b5fc7033558dcc5428112cf97"><code>5ba7a70</code></a> Thanks <a href="https://github.com/I90rche"><code>@​I90rche</code></a>! - Adds Macedonian language support</li> </ul> <h2><code>@​astrojs/starlight</code><a href="https://github.com/0"><code>@​0</code></a>.42.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4149">#4149</a> <a href="https://github.com/withastro/starlight/commit/fa10e87376f49f76a693e8d2b292aef65b959e37"><code>fa10e87</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Optimizes rendering of large nested sidebars</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4215">#4215</a> <a href="https://github.com/withastro/starlight/commit/f791de65e6e14e9011586004d79f78fcef3a427e"><code>f791de6</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Adds a new <code>seti:coffee</code> icon for CoffeeScript files in the <code>&lt;FileTree&gt;</code> component.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4215">#4215</a> <a href="https://github.com/withastro/starlight/commit/f791de65e6e14e9011586004d79f78fcef3a427e"><code>f791de6</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes <code>&lt;FileTree&gt;</code> icons for <code>.ejs</code> and <code>npm-debug.log</code> files displaying the default file icon.</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md">@​astrojs/starlight's changelog</a>.</em></p> <blockquote> <h2>0.42.6</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4252">#4252</a> <a href="https://github.com/withastro/starlight/commit/40a258492af4b2ee45159aa4a7ddb30c346acc0b"><code>40a2584</code></a> Thanks <a href="https://github.com/olafur-andri"><code>@​olafur-andri</code></a>! - Adds Icelandic language support</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4229">#4229</a> <a href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes a potential issue with icons being cut off in Firefox when pinch-zooming.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4226">#4226</a> <a href="https://github.com/withastro/starlight/commit/fb562dddae97add7f5997c1f7fffd4f60c9f147c"><code>fb562dd</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes an issue where pages not importing components from <code>@astrojs/starlight/components</code> included styles of Starlight components used on other pages.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4250">#4250</a> <a href="https://github.com/withastro/starlight/commit/531af7deb7dd164e5b97a49223a82b146e575fdc"><code>531af7d</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes <code>Failed to resolve dependency</code> warnings logged when running the development server in projects using the Cloudflare adapter.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4229">#4229</a> <a href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes the <code>codePen</code> and <code>node</code> icons slightly extending beyond their bounding box.</p> </li> </ul> <h2>0.42.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/starlight/pull/4227">#4227</a> <a href="https://github.com/withastro/starlight/commit/5ba7a70ad491ed8b5fc7033558dcc5428112cf97"><code>5ba7a70</code></a> Thanks <a href="https://github.com/I90rche"><code>@​I90rche</code></a>! - Adds Macedonian language support</li> </ul> <h2>0.42.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4149">#4149</a> <a href="https://github.com/withastro/starlight/commit/fa10e87376f49f76a693e8d2b292aef65b959e37"><code>fa10e87</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Optimizes rendering of large nested sidebars</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4215">#4215</a> <a href="https://github.com/withastro/starlight/commit/f791de65e6e14e9011586004d79f78fcef3a427e"><code>f791de6</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Adds a new <code>seti:coffee</code> icon for CoffeeScript files in the <code>&lt;FileTree&gt;</code> component.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/4215">#4215</a> <a href="https://github.com/withastro/starlight/commit/f791de65e6e14e9011586004d79f78fcef3a427e"><code>f791de6</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@​HiDeoo</code></a>! - Fixes <code>&lt;FileTree&gt;</code> icons for <code>.ejs</code> and <code>npm-debug.log</code> files displaying the default file icon.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/starlight/commit/afe57bbbc254b957b969d581d0f861925035bdcf"><code>afe57bb</code></a> [ci] release (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4235">#4235</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/40a258492af4b2ee45159aa4a7ddb30c346acc0b"><code>40a2584</code></a> i18n(is): Add Icelandic UI translations (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4252">#4252</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/531af7deb7dd164e5b97a49223a82b146e575fdc"><code>531af7d</code></a> Fix dependency resolution warnings with the Cloudflare adapter (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4250">#4250</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/e4a3d82262d62677665cf2dd5ad9a1ba3ae2aa6a"><code>e4a3d82</code></a> Fix icons cut off when pinch-zooming in Firefox (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4229">#4229</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/fb562dddae97add7f5997c1f7fffd4f60c9f147c"><code>fb562dd</code></a> Fix components barrel file import in <code>\&lt;Footer&gt;</code> (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4226">#4226</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/b8b654ccf618d876552f8d72d3fbe75f996aaf43"><code>b8b654c</code></a> [ci] release (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4233">#4233</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/5ba7a70ad491ed8b5fc7033558dcc5428112cf97"><code>5ba7a70</code></a> i18n(mk): Add Macedonian UI translations (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4227">#4227</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/3ec633b8c50d3e1a6d67cae7dc4c50f80101ea41"><code>3ec633b</code></a> [ci] release (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4217">#4217</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/f791de65e6e14e9011586004d79f78fcef3a427e"><code>f791de6</code></a> Fix file icons generator (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4215">#4215</a>)</li> <li><a href="https://github.com/withastro/starlight/commit/fa10e87376f49f76a693e8d2b292aef65b959e37"><code>fa10e87</code></a> perf: avoid repeated sidebar subtree scans (<a href="https://github.com/withastro/starlight/tree/HEAD/packages/starlight/issues/4149">#4149</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/starlight/commits/@astrojs/starlight@0.42.6/packages/starlight">compare view</a></li> </ul> </details> <br /> Updates `astro` from 7.3.4 to 7.4.1 <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@7.4.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18425">#18425</a> <a href="https://github.com/withastro/astro/commit/6fdc36ed97316d932d2e143b85739f0af37ab329"><code>6fdc36e</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Preserves the last modified date of cached optimized images and incrementally restored build output when copying them into the build output on all platforms</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18419">#18419</a> <a href="https://github.com/withastro/astro/commit/395d19525986a276bf81af7bd365e7a35dc20ef3"><code>395d195</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes a typo in the error message shown when a font <code>cssVariable</code> is invalid</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18401">#18401</a> <a href="https://github.com/withastro/astro/commit/484822fbba652745c4f2da5ef434a350203578e2"><code>484822f</code></a> Thanks <a href="https://github.com/danielmlr"><code>@​danielmlr</code></a>! - Fixes a bug where projects whose path contains an apostrophe (<code>'</code>) failed to load sessions, middleware, a cache provider, or a <code>src/fetch.ts</code> handler</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18407">#18407</a> <a href="https://github.com/withastro/astro/commit/a6e00beae6c134d0c1b5248eb02fbf119b7d64e9"><code>a6e00be</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes a <code>TSCONFIG_ERROR</code> during <code>astro build</code> when a parent directory contains a <code>tsconfig.json</code> that cannot be resolved, such as one extending <code>astro/tsconfigs/strict</code> without installed dependencies</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18427">#18427</a> <a href="https://github.com/withastro/astro/commit/908f1672a9fe6c40e6b73bfb0307f0d1f3ac2057"><code>908f167</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes an <code>Unterminated string</code> build error when application code imports from <code>astro/config</code> (for example, <code>fontProviders</code> in a shared fonts module)</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18428">#18428</a> <a href="https://github.com/withastro/astro/commit/40e7d54c7f969b402f011d32ccd87123835d0aa1"><code>40e7d54</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes missing styles in production builds for conditionally rendered framework components (e.g. Svelte components inside <code>{#if}</code> blocks) imported by a hydrated island</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18424">#18424</a> <a href="https://github.com/withastro/astro/commit/617ff59820b4a5777eb5d3765c09d29082b11acc"><code>617ff59</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes style-only HMR in <code>.astro</code> components falling back to a full page reload when a PostCSS plugin (such as <code>@unocss/postcss</code>) lists the component as a dependency of its own style</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18274">#18274</a> <a href="https://github.com/withastro/astro/commit/70834bbea43695c563358ea055d32ecb5e0a78dd"><code>70834bb</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Fixes increasing memory usage when editing the Astro configuration while the dev server is running</p> </li> </ul> <h2>astro@7.4.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/17894">#17894</a> <a href="https://github.com/withastro/astro/commit/b7a1bd99ac7c68cf36078058f15f1bd1fab4cbe8"><code>b7a1bd9</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Adds a new <code>--timings</code> flag to <code>astro build</code> to help you find what slows down your builds</p> <p>When a build takes longer than expected, it can be hard to tell whether the cause is an integration, a Markdown processor plugin, image processing, or even syntax highlighting. Add the <code>--timings</code> flag to your build command to print a summary once the build finishes:</p> <pre lang="sh"><code>astro build --timings </code></pre> <p>This is helpful to decide what to optimize first, or to compare build times before and after a change to your project.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/17830">#17830</a> <a href="https://github.com/withastro/astro/commit/a937b0d3ec236c8dd1c62a7a4da7c65b2fdbb7c1"><code>a937b0d</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Adds a new optional <code>getFontProperties()</code> callback to font providers</p> <p>Font providers can now expose the weights, styles, subsets and formats a font family actually has. Astro uses it when resolving your font configuration to warn about values a provider cannot serve, for example a weight a font family does not offer.</p> <p>All built-in providers implement it. If you maintain a custom font provider, implementing this callback is optional for now but it will be required in Astro 8:</p> <pre lang="ts"><code>import type { FontProvider } from 'astro'; <p>const provider: FontProvider = { name: 'my-provider', resolveFont: ({ familyName }) =&gt; { // ... }, getFontProperties: ({ familyName }) =&gt; ({ weights: ['400', '700'], styles: ['normal', 'italic'], subsets: ['latin'], </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>7.4.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18425">#18425</a> <a href="https://github.com/withastro/astro/commit/6fdc36ed97316d932d2e143b85739f0af37ab329"><code>6fdc36e</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Preserves the last modified date of cached optimized images and incrementally restored build output when copying them into the build output on all platforms</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18419">#18419</a> <a href="https://github.com/withastro/astro/commit/395d19525986a276bf81af7bd365e7a35dc20ef3"><code>395d195</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes a typo in the error message shown when a font <code>cssVariable</code> is invalid</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18401">#18401</a> <a href="https://github.com/withastro/astro/commit/484822fbba652745c4f2da5ef434a350203578e2"><code>484822f</code></a> Thanks <a href="https://github.com/danielmlr"><code>@​danielmlr</code></a>! - Fixes a bug where projects whose path contains an apostrophe (<code>'</code>) failed to load sessions, middleware, a cache provider, or a <code>src/fetch.ts</code> handler</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18407">#18407</a> <a href="https://github.com/withastro/astro/commit/a6e00beae6c134d0c1b5248eb02fbf119b7d64e9"><code>a6e00be</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes a <code>TSCONFIG_ERROR</code> during <code>astro build</code> when a parent directory contains a <code>tsconfig.json</code> that cannot be resolved, such as one extending <code>astro/tsconfigs/strict</code> without installed dependencies</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18427">#18427</a> <a href="https://github.com/withastro/astro/commit/908f1672a9fe6c40e6b73bfb0307f0d1f3ac2057"><code>908f167</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes an <code>Unterminated string</code> build error when application code imports from <code>astro/config</code> (for example, <code>fontProviders</code> in a shared fonts module)</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18428">#18428</a> <a href="https://github.com/withastro/astro/commit/40e7d54c7f969b402f011d32ccd87123835d0aa1"><code>40e7d54</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes missing styles in production builds for conditionally rendered framework components (e.g. Svelte components inside <code>{#if}</code> blocks) imported by a hydrated island</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18424">#18424</a> <a href="https://github.com/withastro/astro/commit/617ff59820b4a5777eb5d3765c09d29082b11acc"><code>617ff59</code></a> Thanks <a href="https://github.com/apps/astro-factory"><code>@​astro-factory</code></a>! - Fixes style-only HMR in <code>.astro</code> components falling back to a full page reload when a PostCSS plugin (such as <code>@unocss/postcss</code>) lists the component as a dependency of its own style</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/18274">#18274</a> <a href="https://github.com/withastro/astro/commit/70834bbea43695c563358ea055d32ecb5e0a78dd"><code>70834bb</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Fixes increasing memory usage when editing the Astro configuration while the dev server is running</p> </li> </ul> <h2>7.4.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/17894">#17894</a> <a href="https://github.com/withastro/astro/commit/b7a1bd99ac7c68cf36078058f15f1bd1fab4cbe8"><code>b7a1bd9</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Adds a new <code>--timings</code> flag to <code>astro build</code> to help you find what slows down your builds</p> <p>When a build takes longer than expected, it can be hard to tell whether the cause is an integration, a Markdown processor plugin, image processing, or even syntax highlighting. Add the <code>--timings</code> flag to your build command to print a summary once the build finishes:</p> <pre lang="sh"><code>astro build --timings </code></pre> <p>This is helpful to decide what to optimize first, or to compare build times before and after a change to your project.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/17830">#17830</a> <a href="https://github.com/withastro/astro/commit/a937b0d3ec236c8dd1c62a7a4da7c65b2fdbb7c1"><code>a937b0d</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Adds a new optional <code>getFontProperties()</code> callback to font providers</p> <p>Font providers can now expose the weights, styles, subsets and formats a font family actually has. Astro uses it when resolving your font configuration to warn about values a provider cannot serve, for example a weight a font family does not offer.</p> <p>All built-in providers implement it. If you maintain a custom font provider, implementing this callback is optional for now but it will be required in Astro 8:</p> <pre lang="ts"><code>import type { FontProvider } from 'astro'; <p>const provider: FontProvider = { name: 'my-provider', resolveFont: ({ familyName }) =&gt; { // ... }, getFontProperties: ({ familyName }) =&gt; ({ weights: ['400', '700'], </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/e990df87fb74b71a94b50fbc83a26a189391e300"><code>e990df8</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18405">#18405</a>)</li> <li><a href="https://github.com/withastro/astro/commit/70834bbea43695c563358ea055d32ecb5e0a78dd"><code>70834bb</code></a> fix(astro): reduce memory retained across dev server restarts (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18274">#18274</a>)</li> <li><a href="https://github.com/withastro/astro/commit/40e7d54c7f969b402f011d32ccd87123835d0aa1"><code>40e7d54</code></a> fix(css): defer client CSS deletion so conditionally rendered component style...</li> <li><a href="https://github.com/withastro/astro/commit/908f1672a9fe6c40e6b73bfb0307f0d1f3ac2057"><code>908f167</code></a> fix(server-islands): only replace island map placeholders in the manifest chu...</li> <li><a href="https://github.com/withastro/astro/commit/6fdc36ed97316d932d2e143b85739f0af37ab329"><code>6fdc36e</code></a> fix(build): preserve last modified time when copying cached files to output (...</li> <li><a href="https://github.com/withastro/astro/commit/617ff59820b4a5777eb5d3765c09d29082b11acc"><code>617ff59</code></a> Fix style-only HMR full reload when a PostCSS plugin lists the component as i...</li> <li><a href="https://github.com/withastro/astro/commit/395d19525986a276bf81af7bd365e7a35dc20ef3"><code>395d195</code></a> fix(astro): correct &quot;indent&quot; typo to &quot;ident&quot; in fonts cssVariable error messa...</li> <li><a href="https://github.com/withastro/astro/commit/a6e00beae6c134d0c1b5248eb02fbf119b7d64e9"><code>a6e00be</code></a> fix(env): skip tsconfig loading in import.meta.env define replacement (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18407">#18407</a>)</li> <li><a href="https://github.com/withastro/astro/commit/484822fbba652745c4f2da5ef434a350203578e2"><code>484822f</code></a> Fix virtual module imports when the project path contains an apostrophe (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18401">#18401</a>)</li> <li><a href="https://github.com/withastro/astro/commit/c2c43a99f4d50676456c137ff88359579f78bf5c"><code>c2c43a9</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/18354">#18354</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@7.4.1/packages/astro">compare view</a></li> </ul> </details> <br /> 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 <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 </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 28740f1 commit 589ad15

2 files changed

Lines changed: 989 additions & 1265 deletions

File tree

0 commit comments

Comments
 (0)