Skip to content

Commit af9aa86

Browse files
Bump the npm group with 10 updates (#4)
Bumps the npm group with 10 updates: | Package | From | To | | --- | --- | --- | | [@astrojs/lit](https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit) | `4.0.1` | `4.3.0` | | [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) | `2.1.1` | `4.3.0` | | [@astrojs/sitemap](https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap) | `0.1.2` | `3.4.1` | | [@iconify-json/ic](https://github.com/iconify/icon-sets) | `1.1.17` | `1.2.2` | | [@iconify-json/mdi](https://github.com/iconify/icon-sets) | `1.1.64` | `1.2.3` | | [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `4.15.9` | `5.10.1` | | [astro-icon](https://github.com/natemoo-re/astro-icon/tree/HEAD/packages/core) | `1.1.0` | `1.1.5` | | [date-fns](https://github.com/date-fns/date-fns) | `2.30.0` | `4.1.0` | | [lit](https://github.com/lit/lit/tree/HEAD/packages/lit) | `3.1.2` | `3.3.0` | | [prettier-plugin-astro](https://github.com/withastro/prettier-plugin-astro) | `0.0.12` | `0.14.1` | Updates `@astrojs/lit` from 4.0.1 to 4.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@​astrojs/lit</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​astrojs/mdx</code><a href="https://github.com/4"><code>@​4</code></a>.3.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13809">#13809</a> <a href="https://github.com/withastro/astro/commit/3c3b492375bd6a63f1fb6cede3685aff999be3c9"><code>3c3b492</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Increases minimum Node.js version to 18.20.8</p> <p>Node.js 18 has now reached end-of-life and should not be used. For now, Astro will continue to support Node.js 18.20.8, which is the final LTS release of Node.js 18, as well as Node.js 20 and Node.js 22 or later. We will drop support for Node.js 18 in a future release, so we recommend upgrading to Node.js 22 as soon as possible. See Astro's <a href="https://docs.astro.build/en/upgrade-astro/#support">Node.js support policy</a> for more details.</p> <p>:warning: <strong>Important note for users of Cloudflare Pages</strong>: The current build image for Cloudflare Pages uses Node.js 18.17.1 by default, which is no longer supported by Astro. If you are using Cloudflare Pages you should <a href="https://developers.cloudflare.com/pages/configuration/build-image/#override-default-versions">override the default Node.js version</a> to Node.js 22. This does not affect users of Cloudflare Workers, which uses Node.js 22 by default.</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li>Updated dependencies []: <ul> <li><code>@​astrojs/markdown-remark</code><a href="https://github.com/6"><code>@​6</code></a>.3.2</li> </ul> </li> </ul> <h2><code>@​astrojs/react</code><a href="https://github.com/4"><code>@​4</code></a>.3.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13809">#13809</a> <a href="https://github.com/withastro/astro/commit/3c3b492375bd6a63f1fb6cede3685aff999be3c9"><code>3c3b492</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Increases minimum Node.js version to 18.20.8</p> <p>Node.js 18 has now reached end-of-life and should not be used. For now, Astro will continue to support Node.js 18.20.8, which is the final LTS release of Node.js 18, as well as Node.js 20 and Node.js 22 or later. We will drop support for Node.js 18 in a future release, so we recommend upgrading to Node.js 22 as soon as possible. See Astro's <a href="https://docs.astro.build/en/upgrade-astro/#support">Node.js support policy</a> for more details.</p> <p>:warning: <strong>Important note for users of Cloudflare Pages</strong>: The current build image for Cloudflare Pages uses Node.js 18.17.1 by default, which is no longer supported by Astro. If you are using Cloudflare Pages you should <a href="https://developers.cloudflare.com/pages/configuration/build-image/#override-default-versions">override the default Node.js version</a> to Node.js 22. This does not affect users of Cloudflare Workers, which uses Node.js 22 by default.</p> </li> </ul> <h2><code>@​astrojs/react</code><a href="https://github.com/4"><code>@​4</code></a>.2.7</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13731">#13731</a> <a href="https://github.com/withastro/astro/commit/c3e80c25b90c803e2798b752583a8e77cdad3146"><code>c3e80c2</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - update vite to latest version for fixing CVE</li> </ul> <h2><code>@​astrojs/react</code><a href="https://github.com/4"><code>@​4</code></a>.2.6</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13720">#13720</a> <a href="https://github.com/withastro/astro/commit/e1cd1ae52199c927ad5300a2eaed3996c6af5a64"><code>e1cd1ae</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Fixes SSR renderer type</li> </ul> <h2><code>@​astrojs/mdx</code><a href="https://github.com/4"><code>@​4</code></a>.2.6</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13731">#13731</a> <a href="https://github.com/withastro/astro/commit/c3e80c25b90c803e2798b752583a8e77cdad3146"><code>c3e80c2</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - update vite to latest version for fixing CVE</li> </ul> <h2><code>@​astrojs/mdx</code><a href="https://github.com/4"><code>@​4</code></a>.2.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13591">#13591</a> <a href="https://github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8"><code>5dd2d3f</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Removes unused code</li> </ul> <h2><code>@​astrojs/react</code><a href="https://github.com/4"><code>@​4</code></a>.2.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13663">#13663</a> <a href="https://github.com/withastro/astro/commit/a19a185efd75334f2f417b433fcfaa0017fe41ee"><code>a19a185</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Improves type-safety of renderers</li> </ul> <h2><code>@​astrojs/preact</code><a href="https://github.com/4"><code>@​4</code></a>.1.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/@astrojs/lit@4.3.0/packages/integrations/lit/CHANGELOG.md"><code>@​astrojs/lit</code>'s changelog</a>.</em></p> <blockquote> <h2>4.3.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/11234">#11234</a> <a href="https://github.com/withastro/astro/commit/4385bf7a4dc9c65bff53a30c660f7a909fcabfc9"><code>4385bf7</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Adds a new function called <code>addServerRenderer</code> to the Container API. Use this function to manually store renderers inside the instance of your container.</p> <p>This new function should be preferred when using the Container API in environments like on-demand pages:</p> <pre lang="ts"><code>import type { APIRoute } from 'astro'; import { experimental_AstroContainer } from 'astro/container'; import reactRenderer from '@astrojs/react/server.js'; import vueRenderer from '@astrojs/vue/server.js'; import ReactComponent from '../components/button.jsx'; import VueComponent from '../components/button.vue'; <p>// MDX runtime is contained inside the Astro core import mdxRenderer from 'astro/jsx/server.js';</p> <p>// In case you need to import a custom renderer import customRenderer from '../renderers/customRenderer.js';</p> <p>export const GET: APIRoute = async (ctx) =&gt; { const container = await experimental_AstroContainer.create(); container.addServerRenderer({ renderer: reactRenderer }); container.addServerRenderer({ renderer: vueRenderer }); container.addServerRenderer({ renderer: customRenderer }); // You can pass a custom name too container.addServerRenderer({ name: 'customRenderer', renderer: customRenderer, }); const vueComponent = await container.renderToString(VueComponent); return await container.renderToResponse(Component); }; </code></pre></p> </li> </ul> <h2>4.2.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/11144">#11144</a> <a href="https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7"><code>803dd80</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - The integration now exposes a function called <code>getContainerRenderer</code>, that can be used inside the Container APIs to load the relative renderer.</p> <pre lang="js"><code>import { experimental_AstroContainer as AstroContainer } from 'astro/container'; import ReactWrapper from '../src/components/ReactWrapper.astro'; import { loadRenderers } from 'astro:container'; import { getContainerRenderer } from '@astrojs/react'; <p>test('ReactWrapper with react renderer', async () =&gt; { </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/83c565b36c7a5bf8fbc6cc37934109b74ed43ba5"><code>83c565b</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11233">#11233</a>)</li> <li><a href="https://github.com/withastro/astro/commit/68f1d0d13e828d77721010ca840c12dfb383c4e7"><code>68f1d0d</code></a> chore(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11269">#11269</a>)</li> <li><a href="https://github.com/withastro/astro/commit/fd9da98b19c52a0d72bcc8c896c82650e14e6ed4"><code>fd9da98</code></a> feat: refine container APIs for renderers (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11251">#11251</a>)</li> <li><a href="https://github.com/withastro/astro/commit/8725cb2f909853187b85561dd1b153be12994c44"><code>8725cb2</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11222">#11222</a>)</li> <li><a href="https://github.com/withastro/astro/commit/48d53094cdbbcd4363d6c77aac13161c5cde5064"><code>48d5309</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11186">#11186</a>)</li> <li><a href="https://github.com/withastro/astro/commit/803dd8061df02138b4928442bcb76e77dcf6f5e7"><code>803dd80</code></a> feat(container): provide a virtual module to load renderers (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11144">#11144</a>)</li> <li><a href="https://github.com/withastro/astro/commit/587e75f47efa346139b71e5e754e051f72bdac39"><code>587e75f</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11158">#11158</a>)</li> <li><a href="https://github.com/withastro/astro/commit/464b0a108ecd0b77e6e34829381ccd1335d525ce"><code>464b0a1</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11151">#11151</a>)</li> <li><a href="https://github.com/withastro/astro/commit/6a93b5379a6f81b3cdf2afa515927af1c965ae19"><code>6a93b53</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/cf9b2ff7967c4287ab26ec65fc4bb2eed525a235"><code>cf9b2ff</code></a> :bug: removed deprecated items from lit integration (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/lit/issues/11164">#11164</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/@astrojs/lit@4.3.0/packages/integrations/lit">compare view</a></li> </ul> </details> <br /> Updates `@astrojs/mdx` from 2.1.1 to 4.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@​astrojs/mdx</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​astrojs/mdx</code><a href="https://github.com/4"><code>@​4</code></a>.3.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13809">#13809</a> <a href="https://github.com/withastro/astro/commit/3c3b492375bd6a63f1fb6cede3685aff999be3c9"><code>3c3b492</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Increases minimum Node.js version to 18.20.8</p> <p>Node.js 18 has now reached end-of-life and should not be used. For now, Astro will continue to support Node.js 18.20.8, which is the final LTS release of Node.js 18, as well as Node.js 20 and Node.js 22 or later. We will drop support for Node.js 18 in a future release, so we recommend upgrading to Node.js 22 as soon as possible. See Astro's <a href="https://docs.astro.build/en/upgrade-astro/#support">Node.js support policy</a> for more details.</p> <p>:warning: <strong>Important note for users of Cloudflare Pages</strong>: The current build image for Cloudflare Pages uses Node.js 18.17.1 by default, which is no longer supported by Astro. If you are using Cloudflare Pages you should <a href="https://developers.cloudflare.com/pages/configuration/build-image/#override-default-versions">override the default Node.js version</a> to Node.js 22. This does not affect users of Cloudflare Workers, which uses Node.js 22 by default.</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li>Updated dependencies []: <ul> <li><code>@​astrojs/markdown-remark</code><a href="https://github.com/6"><code>@​6</code></a>.3.2</li> </ul> </li> </ul> <h2><code>@​astrojs/mdx</code><a href="https://github.com/4"><code>@​4</code></a>.2.6</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13731">#13731</a> <a href="https://github.com/withastro/astro/commit/c3e80c25b90c803e2798b752583a8e77cdad3146"><code>c3e80c2</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - update vite to latest version for fixing CVE</li> </ul> <h2><code>@​astrojs/mdx</code><a href="https://github.com/4"><code>@​4</code></a>.2.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13591">#13591</a> <a href="https://github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8"><code>5dd2d3f</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Removes unused code</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md"><code>@​astrojs/mdx</code>'s changelog</a>.</em></p> <blockquote> <h2>4.3.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13809">#13809</a> <a href="https://github.com/withastro/astro/commit/3c3b492375bd6a63f1fb6cede3685aff999be3c9"><code>3c3b492</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Increases minimum Node.js version to 18.20.8</p> <p>Node.js 18 has now reached end-of-life and should not be used. For now, Astro will continue to support Node.js 18.20.8, which is the final LTS release of Node.js 18, as well as Node.js 20 and Node.js 22 or later. We will drop support for Node.js 18 in a future release, so we recommend upgrading to Node.js 22 as soon as possible. See Astro's <a href="https://docs.astro.build/en/upgrade-astro/#support">Node.js support policy</a> for more details.</p> <p>:warning: <strong>Important note for users of Cloudflare Pages</strong>: The current build image for Cloudflare Pages uses Node.js 18.17.1 by default, which is no longer supported by Astro. If you are using Cloudflare Pages you should <a href="https://developers.cloudflare.com/pages/configuration/build-image/#override-default-versions">override the default Node.js version</a> to Node.js 22. This does not affect users of Cloudflare Workers, which uses Node.js 22 by default.</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li>Updated dependencies []: <ul> <li><code>@​astrojs/markdown-remark</code><a href="https://github.com/6"><code>@​6</code></a>.3.2</li> </ul> </li> </ul> <h2>4.2.6</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13731">#13731</a> <a href="https://github.com/withastro/astro/commit/c3e80c25b90c803e2798b752583a8e77cdad3146"><code>c3e80c2</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - update vite to latest version for fixing CVE</li> </ul> <h2>4.2.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13591">#13591</a> <a href="https://github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8"><code>5dd2d3f</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Removes unused code</li> </ul> <h2>4.2.4</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13596">#13596</a> <a href="https://github.com/withastro/astro/commit/375251966d1b28a570bff45ff0fe7e7d2fe46f72"><code>3752519</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - update vite to latest version to fix CVE</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13547">#13547</a> <a href="https://github.com/withastro/astro/commit/360cb9199a4314f90825c5639ff4396760e9cfcc"><code>360cb91</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - Updates vite to the latest version</p> </li> </ul> <h2>4.2.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13526">#13526</a> <a href="https://github.com/withastro/astro/commit/ff9d69e3443c80059c54f6296d19f66bb068ead3"><code>ff9d69e</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - update <code>vite</code> to the latest version</li> </ul> <h2>4.2.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13505">#13505</a> <a href="https://github.com/withastro/astro/commit/a98ae5b8f5c33900379012e9e253a755c0a8927e"><code>a98ae5b</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Updates the dependency <code>vite</code> to the latest.</li> </ul> <h2>4.2.1</h2> <h3>Patch Changes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/3632dda0c14d03b6849a2f513fc2467a91bcbc83"><code>3632dda</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13840">#13840</a>)</li> <li><a href="https://github.com/withastro/astro/commit/3c3b492375bd6a63f1fb6cede3685aff999be3c9"><code>3c3b492</code></a> fix: increase minimum Node version to 18.20.8 (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13809">#13809</a>)</li> <li><a href="https://github.com/withastro/astro/commit/bfea0fbd456cb71970afc4ff7a9a026e249acc13"><code>bfea0fb</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13733">#13733</a>)</li> <li><a href="https://github.com/withastro/astro/commit/c3e80c25b90c803e2798b752583a8e77cdad3146"><code>c3e80c2</code></a> fix(vite): update vite to latest version (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13731">#13731</a>)</li> <li><a href="https://github.com/withastro/astro/commit/64898a3e3b4b8c8a03bcd4e3d3f9aace4224e625"><code>64898a3</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13667">#13667</a>)</li> <li><a href="https://github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8"><code>5dd2d3f</code></a> chore: clean dead code (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13591">#13591</a>)</li> <li><a href="https://github.com/withastro/astro/commit/159b5348a956238bdef8bc8cc2aeb8a1af32e2e4"><code>159b534</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13558">#13558</a>)</li> <li><a href="https://github.com/withastro/astro/commit/375251966d1b28a570bff45ff0fe7e7d2fe46f72"><code>3752519</code></a> fix(vite): update <code>vite</code> to latest version to fix CVE (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13596">#13596</a>)</li> <li><a href="https://github.com/withastro/astro/commit/360cb9199a4314f90825c5639ff4396760e9cfcc"><code>360cb91</code></a> fix: update vite to latest version (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13547">#13547</a>)</li> <li><a href="https://github.com/withastro/astro/commit/ddc98eb2add2836aef77541978629dcef6d712d6"><code>ddc98eb</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx/issues/13513">#13513</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/@astrojs/mdx@4.3.0/packages/integrations/mdx">compare view</a></li> </ul> </details> <br /> Updates `@astrojs/sitemap` from 0.1.2 to 3.4.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@​astrojs/sitemap</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​astrojs/sitemap</code><a href="https://github.com/3"><code>@​3</code></a>.4.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13871">#13871</a> <a href="https://github.com/withastro/astro/commit/8a1e8499dbd1ed98e971635e86eb89f910f0ce78"><code>8a1e849</code></a> Thanks <a href="https://github.com/blimmer"><code>@​blimmer</code></a>! - Uncaught errors in the <code>filter</code> method will now bubble, causing the astro build to fail.</li> </ul> <h2><code>@​astrojs/sitemap</code><a href="https://github.com/3"><code>@​3</code></a>.4.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13753">#13753</a> <a href="https://github.com/withastro/astro/commit/90293de03320da51965f05cfa6923cbe5521f519"><code>90293de</code></a> Thanks <a href="https://github.com/mattyoho"><code>@​mattyoho</code></a>! - Customize the filenames of sitemap XML files generated by the <code>@astro/sitemap</code> integration by setting <code>filenameBase</code> in the integration configuration settings. This may be useful when deploying an Astro site at a path on a domain with preexisting sitemap files.</p> <p>Generated sitemap files will appear at <code>/sitemap-0.xml</code> and <code>/sitemap-index.xml</code> by default, which may conflict with preexisting files. Set <code>filenameBase</code> to a custom value to avoid that if so:</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; import sitemap from '@astrojs/sitemap'; <p>export default defineConfig({ site: '<a href="https://example.com">https://example.com</a>', integrations: [ sitemap({ filenameBase: 'astronomy-sitemap', }), ], }); </code></pre></p> <p>This will yield sitemap and index files as <code>https://example.com/astronomy-sitemap-0.xml</code> and <code>https://example.com/astronomy-sitemap-index.xml</code>.</p> </li> </ul> <h2><code>@​astrojs/sitemap</code><a href="https://github.com/3"><code>@​3</code></a>.3.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13591">#13591</a> <a href="https://github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8"><code>5dd2d3f</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Removes unused code</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/CHANGELOG.md"><code>@​astrojs/sitemap</code>'s changelog</a>.</em></p> <blockquote> <h2>3.4.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13871">#13871</a> <a href="https://github.com/withastro/astro/commit/8a1e8499dbd1ed98e971635e86eb89f910f0ce78"><code>8a1e849</code></a> Thanks <a href="https://github.com/blimmer"><code>@​blimmer</code></a>! - Uncaught errors in the <code>filter</code> method will now bubble, causing the astro build to fail.</li> </ul> <h2>3.4.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13753">#13753</a> <a href="https://github.com/withastro/astro/commit/90293de03320da51965f05cfa6923cbe5521f519"><code>90293de</code></a> Thanks <a href="https://github.com/mattyoho"><code>@​mattyoho</code></a>! - Customize the filenames of sitemap XML files generated by the <code>@astro/sitemap</code> integration by setting <code>filenameBase</code> in the integration configuration settings. This may be useful when deploying an Astro site at a path on a domain with preexisting sitemap files.</p> <p>Generated sitemap files will appear at <code>/sitemap-0.xml</code> and <code>/sitemap-index.xml</code> by default, which may conflict with preexisting files. Set <code>filenameBase</code> to a custom value to avoid that if so:</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; import sitemap from '@astrojs/sitemap'; <p>export default defineConfig({ site: '<a href="https://example.com">https://example.com</a>', integrations: [ sitemap({ filenameBase: 'astronomy-sitemap', }), ], }); </code></pre></p> <p>This will yield sitemap and index files as <code>https://example.com/astronomy-sitemap-0.xml</code> and <code>https://example.com/astronomy-sitemap-index.xml</code>.</p> </li> </ul> <h2>3.3.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13591">#13591</a> <a href="https://github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8"><code>5dd2d3f</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Removes unused code</li> </ul> <h2>3.3.0</h2> <h3>Minor Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13448">#13448</a> <a href="https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366"><code>91c9503</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Add support for XSL in sitemap-index.xml</li> </ul> <h2>3.2.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12156">#12156</a> <a href="https://github.com/withastro/astro/commit/07754f5873b05ab4dae31ded7264fe4056c2dfc8"><code>07754f5</code></a> Thanks <a href="https://github.com/mingjunlu"><code>@​mingjunlu</code></a>! - Adds missing <code>xslURL</code> property to <code>SitemapOptions</code> type.</li> </ul> <h2>3.2.0</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/1d628d59f6024c43ccf3fee45652ccd3d9df78e0"><code>1d628d5</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13873">#13873</a>)</li> <li><a href="https://github.com/withastro/astro/commit/d2d04b02773f82103db75076fcdd1f089503770a"><code>d2d04b0</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/8a1e8499dbd1ed98e971635e86eb89f910f0ce78"><code>8a1e849</code></a> fix(sitemap): bubble uncaught error from <code>filter</code> method (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13871">#13871</a>)</li> <li><a href="https://github.com/withastro/astro/commit/2ba4692792954ea612161e3bd8aa4515e2169b57"><code>2ba4692</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13771">#13771</a>)</li> <li><a href="https://github.com/withastro/astro/commit/90293de03320da51965f05cfa6923cbe5521f519"><code>90293de</code></a> Add a config option for filenames generated by the <code>@​astrojs/sitemap</code> integrati...</li> <li><a href="https://github.com/withastro/astro/commit/64898a3e3b4b8c8a03bcd4e3d3f9aace4224e625"><code>64898a3</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13667">#13667</a>)</li> <li><a href="https://github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8"><code>5dd2d3f</code></a> chore: clean dead code (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13591">#13591</a>)</li> <li><a href="https://github.com/withastro/astro/commit/da71558808625f1e5eddf4a8a1cf74148a1444cd"><code>da71558</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13449">#13449</a>)</li> <li><a href="https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366"><code>91c9503</code></a> Revert &quot;[ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13427">#13427</a>)&quot; (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13448">#13448</a>)</li> <li><a href="https://github.com/withastro/astro/commit/c64ae01697e5f3d72f03fb36dfb5d5e994fb1bc9"><code>c64ae01</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap/issues/13427">#13427</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/@astrojs/sitemap@3.4.1/packages/integrations/sitemap">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~matthewp">matthewp</a>, a new releaser for <code>@​astrojs/sitemap</code> since your current version.</p> </details> <br /> Updates `@iconify-json/ic` from 1.1.17 to 1.2.2 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/iconify/icon-sets/commits">compare view</a></li> </ul> </details> <br /> Updates `@iconify-json/mdi` from 1.1.64 to 1.2.3 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/iconify/icon-sets/commits">compare view</a></li> </ul> </details> <br /> Updates `astro` from 4.15.9 to 5.10.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@5.10.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13988">#13988</a> <a href="https://github.com/withastro/astro/commit/609044ca6a6254b1db11bb3fc8e0bb54213eab8e"><code>609044c</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Fixes a bug in live collections that caused it to incorrectly complain about the collection being defined in the wrong file</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13909">#13909</a> <a href="https://github.com/withastro/astro/commit/b258d86d47086d3a17d6d9e6b79ac21f9770f765"><code>b258d86</code></a> Thanks <a href="https://github.com/isVivek99"><code>@​isVivek99</code></a>! - Fixes rendering of special boolean attributes for custom elements</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13983">#13983</a> <a href="https://github.com/withastro/astro/commit/e718375c1714a631eba75f70118653cf93a4326d"><code>e718375</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Fixes a case where the toolbar audit would incorrectly flag images processed by Astro in content collections documents</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13999">#13999</a> <a href="https://github.com/withastro/astro/commit/f077b68f4debe8d716a8610e561b4fe17b1245b3"><code>f077b68</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Adds <code>lastModified</code> field to experimental live collection cache hints</p> <p>Live loaders can now set a <code>lastModified</code> field in the cache hints for entries and collections to indicate when the data was last modified. This is then available in the <code>cacheHint</code> field returned by <code>getCollection</code> and <code>getEntry</code>.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13987">#13987</a> <a href="https://github.com/withastro/astro/commit/08f34b19c8953426ce35093414a27ecd8d405309"><code>08f34b1</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Adds an informative message in dev mode when the CSP feature is enabled.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14005">#14005</a> <a href="https://github.com/withastro/astro/commit/82aad62efd2b817cc9cff46b606fedaa64e0c922"><code>82aad62</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes a bug where inline styles and scripts didn't work when CSP was enabled. Now when adding <code>&lt;styles&gt;</code> elements inside an Astro component, their hashes care correctly computed.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13985">#13985</a> <a href="https://github.com/withastro/astro/commit/0b4c641b22b31d0dea15911c0daba995a48261a9"><code>0b4c641</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - Updates wrong link</p> </li> </ul> <h2>astro@5.10.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13917">#13917</a> <a href="https://github.com/withastro/astro/commit/e615216c55bca5d61b8c5c1b49d62671f0238509"><code>e615216</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Adds a new <code>priority</code> attribute for Astro's image components.</p> <p>This change introduces a new <code>priority</code> option for the <code>&lt;Image /&gt;</code> and <code>&lt;Picture /&gt;</code> components, which automatically sets the <code>loading</code>, <code>decoding</code>, and <code>fetchpriority</code> attributes to their optimal values for above-the-fold images which should be loaded immediately.</p> <p>It is a boolean prop, and you can use the shorthand syntax by simply adding <code>priority</code> as a prop to the <code>&lt;Image /&gt;</code> or <code>&lt;Picture /&gt;</code> component. When set, it will apply the following attributes:</p> <ul> <li><code>loading=&quot;eager&quot;</code></li> <li><code>decoding=&quot;sync&quot;</code></li> <li><code>fetchpriority=&quot;high&quot;</code></li> </ul> <p>The individual attributes can still be set manually if you need to customize your images further.</p> <p>By default, the Astro <a href="https://docs.astro.build/en/guides/images/#display-optimized-images-with-the-image--component"><code>&lt;Image /&gt;</code> component</a> generates <code>&lt;img&gt;</code> tags that lazy-load their content by setting <code>loading=&quot;lazy&quot;</code> and <code>decoding=&quot;async&quot;</code>. This improves performance by deferring the loading of images that are not immediately visible in the viewport, and gives the best scores in performance audits like Lighthouse.</p> <p>The new <code>priority</code> attribute will override those defaults and automatically add the best settings for your high-priority assets.</p> <p>This option was previously available for experimental responsive images, but now it is a standard feature for all images.</p> <h2>Usage</h2> <pre lang="astro"><code>&lt;Image src=&quot;/path/to/image.jpg&quot; alt=&quot;An example image&quot; priority /&gt; </code></pre> <blockquote> <p>[!Note] You should only use the <code>priority</code> option for images that are critical to the initial rendering of the page, and ideally only one image per page. This is often an image identified as the <a href="https://web.dev/articles/lcp">LCP element</a> when running Lighthouse tests. Using it for too many images will lead to performance issues, as it forces the browser to load those images immediately, potentially blocking the rendering of other content.</p> </blockquote> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13917">#13917</a> <a href="https://github.com/withastro/astro/commit/e615216c55bca5d61b8c5c1b49d62671f0238509"><code>e615216</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - The responsive images feature introduced behind a flag in <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md#500">v5.0.0</a> is no longer experimental and is available for general use.</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.10.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13988">#13988</a> <a href="https://github.com/withastro/astro/commit/609044ca6a6254b1db11bb3fc8e0bb54213eab8e"><code>609044c</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Fixes a bug in live collections that caused it to incorrectly complain about the collection being defined in the wrong file</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13909">#13909</a> <a href="https://github.com/withastro/astro/commit/b258d86d47086d3a17d6d9e6b79ac21f9770f765"><code>b258d86</code></a> Thanks <a href="https://github.com/isVivek99"><code>@​isVivek99</code></a>! - Fixes rendering of special boolean attributes for custom elements</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13983">#13983</a> <a href="https://github.com/withastro/astro/commit/e718375c1714a631eba75f70118653cf93a4326d"><code>e718375</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Fixes a case where the toolbar audit would incorrectly flag images processed by Astro in content collections documents</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13999">#13999</a> <a href="https://github.com/withastro/astro/commit/f077b68f4debe8d716a8610e561b4fe17b1245b3"><code>f077b68</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Adds <code>lastModified</code> field to experimental live collection cache hints</p> <p>Live loaders can now set a <code>lastModified</code> field in the cache hints for entries and collections to indicate when the data was last modified. This is then available in the <code>cacheHint</code> field returned by <code>getCollection</code> and <code>getEntry</code>.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13987">#13987</a> <a href="https://github.com/withastro/astro/commit/08f34b19c8953426ce35093414a27ecd8d405309"><code>08f34b1</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Adds an informative message in dev mode when the CSP feature is enabled.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14005">#14005</a> <a href="https://github.com/withastro/astro/commit/82aad62efd2b817cc9cff46b606fedaa64e0c922"><code>82aad62</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes a bug where inline styles and scripts didn't work when CSP was enabled. Now when adding <code>&lt;styles&gt;</code> elements inside an Astro component, their hashes care correctly computed.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13985">#13985</a> <a href="https://github.com/withastro/astro/commit/0b4c641b22b31d0dea15911c0daba995a48261a9"><code>0b4c641</code></a> Thanks <a href="https://github.com/jsparkdev"><code>@​jsparkdev</code></a>! - Updates wrong link</p> </li> </ul> <h2>5.10.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13917">#13917</a> <a href="https://github.com/withastro/astro/commit/e615216c55bca5d61b8c5c1b49d62671f0238509"><code>e615216</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Adds a new <code>priority</code> attribute for Astro's image components.</p> <p>This change introduces a new <code>priority</code> option for the <code>&lt;Image /&gt;</code> and <code>&lt;Picture /&gt;</code> components, which automatically sets the <code>loading</code>, <code>decoding</code>, and <code>fetchpriority</code> attributes to their optimal values for above-the-fold images which should be loaded immediately.</p> <p>It is a boolean prop, and you can use the shorthand syntax by simply adding <code>priority</code> as a prop to the <code>&lt;Image /&gt;</code> or <code>&lt;Picture /&gt;</code> component. When set, it will apply the following attributes:</p> <ul> <li><code>loading=&quot;eager&quot;</code></li> <li><code>decoding=&quot;sync&quot;</code></li> <li><code>fetchpriority=&quot;high&quot;</code></li> </ul> <p>The individual attributes can still be set manually if you need to customize your images further.</p> <p>By default, the Astro <a href="https://docs.astro.build/en/guides/images/#display-optimized-images-with-the-image--component"><code>&lt;Image /&gt;</code> component</a> generates <code>&lt;img&gt;</code> tags that lazy-load their content by setting <code>loading=&quot;lazy&quot;</code> and <code>decoding=&quot;async&quot;</code>. This improves performance by deferring the loading of images that are not immediately visible in the viewport, and gives the best scores in performance audits like Lighthouse.</p> <p>The new <code>priority</code> attribute will override those defaults and automatically add the best settings for your high-priority assets.</p> <p>This option was previously available for experimental responsive images, but now it is a standard feature for all images.</p> <h4>Usage</h4> <pre lang="astro"><code>&lt;Image src=&quot;/path/to/image.jpg&quot; alt=&quot;An example image&quot; priority /&gt; </code></pre> <blockquote> <p>[!Note] You should only use the <code>priority</code> option for images that are critical to the initial rendering of the page, and ideally only one image per page. This is often an image identified as the <a href="https://web.dev/articles/lcp">LCP element</a> when running Lighthouse tests. Using it for too many images will lead to performance issues, as it forces the browser to load those images immediately, potentially blocking the rendering of other content.</p> </blockquote> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/339ee276bb5731f37af0692521d528efba78212b"><code>339ee27</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13981">#13981</a>)</li> <li><a href="https://github.com/withastro/astro/commit/08f34b19c8953426ce35093414a27ecd8d405309"><code>08f34b1</code></a> fix: add info message in dev (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13987">#13987</a>)</li> <li><a href="https://github.com/withastro/astro/commit/578a6d84cc51f623a86785b7e0aa7d57d03a55f0"><code>578a6d8</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/82aad62efd2b817cc9cff46b606fedaa64e0c922"><code>82aad62</code></a> fix(csp): hashes for head elements (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14005">#14005</a>)</li> <li><a href="https://github.com/withastro/astro/commit/f077b68f4debe8d716a8610e561b4fe17b1245b3"><code>f077b68</code></a> feat: add lastModified field to live collection cache hints (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13999">#13999</a>)</li> <li><a href="https://github.com/withastro/astro/commit/609044ca6a6254b1db11bb3fc8e0bb54213eab8e"><code>609044c</code></a> fix: loosen live collection stack parsing (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13988">#13988</a>)</li> <li><a href="https://github.com/withastro/astro/commit/0b4c641b22b31d0dea15911c0daba995a48261a9"><code>0b4c641</code></a> docs: update wrong link (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13985">#13985</a>)</li> <li><a href="https://github.com/withastro/astro/commit/e718375c1714a631eba75f70118653cf93a4326d"><code>e718375</code></a> fix: toolbar image audit in content collections (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13983">#13983</a>)</li> <li><a href="https://github.com/withastro/astro/commit/97c3c8a7221b6e5c3ebde0ad7350875ab8d0768c"><code>97c3c8a</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/b258d86d47086d3a17d6d9e6b79ac21f9770f765"><code>b258d86</code></a> added support to ignore custom elements which have htmlBooleanAt… (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13909">#13909</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@5.10.1/packages/astro">compare view</a></li> </ul> </details> <br /> Updates `astro-icon` from 1.1.0 to 1.1.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/natemoo-re/astro-icon/releases">astro-icon's releases</a>.</em></p> <blockquote> <h2>astro-icon@1.1.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/258">#258</a> <a href="https://github.com/natemoo-re/astro-icon/commit/61d5da607914212b8c7895cbffb049512a289b5a"><code>61d5da607914212b8c7895cbffb049512a289b5a</code></a> Thanks <a href="https://github.com/maxchang3"><code>@​maxchang3</code></a>! - Fix icon reloading logic to only trigger for relevant file changes</li> </ul> <h2>astro-icon@1.1.4</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/250">#250</a> <a href="https://github.com/natemoo-re/astro-icon/commit/41218facd06f51a63d75cccb80c3745c256ec99f"><code>41218facd06f51a63d75cccb80c3745c256ec99f</code></a> Thanks <a href="https://github.com/harukats"><code>@​harukats</code></a>! - Fixes type definitions and hash calculation for aliased icon names</li> </ul> <h2>astro-icon@1.1.2</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/247">#247</a> <a href="https://github.com/natemoo-re/astro-icon/commit/fce07f17fe67116165d5d3dd279519bb7bbed55c"><code>fce07f17fe67116165d5d3dd279519bb7bbed55c</code></a> Thanks <a href="https://github.com/christina-de-martinez"><code>@​christina-de-martinez</code></a>! - Adds a <code>desc</code> prop shorthand which maps to the SVG <code>&lt;desc&gt;</code> tag, similar to <code>title</code>.</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/246">#246</a> <a href="https://github.com/natemoo-re/astro-icon/commit/4c5da3378436c2bee6ccdf4ad9cf0e1f32fb6903"><code>4c5da3378436c2bee6ccdf4ad9cf0e1f32fb6903</code></a> Thanks <a href="https://github.com/stramel"><code>@​stramel</code></a>! - Fixes an issue where <code>viewBox</code> was not correctly passed to <code>&lt;symbol&gt;</code> elements</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/245">#245</a> <a href="https://github.com/natemoo-re/astro-icon/commit/ff3a66a8a357375076022b6f9800561ed845c071"><code>ff3a66a8a357375076022b6f9800561ed845c071</code></a> Thanks <a href="https://github.com/stramel"><code>@​stramel</code></a>! - Fixes handling of duplicate icon entries in the integration configuration</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/243">#243</a> <a href="https://github.com/natemoo-re/astro-icon/commit/a8c0a6c5fe2a01841c258af5fb3abe04839df5eb"><code>a8c0a6c5fe2a01841c258af5fb3abe04839df5eb</code></a> Thanks <a href="https://github.com/stramel"><code>@​stramel</code></a>! - Replaces deprecated <code>xlink:href</code> attribute with standard <code>href</code> attribute</p> </li> </ul> <h2>astro-icon@1.1.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/219">#219</a> <a href="https://github.com/natemoo-re/astro-icon/commit/f18661fc47da152e7555d24b23143f0b481c852b"><code>f18661fc47da152e7555d24b23143f0b481c852b</code></a> Thanks <a href="https://github.com/Harry-Ross"><code>@​Harry-Ross</code></a>! - Added better typings for height, width and size to accept non-number values (i.e. 2 rem)</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/203">#203</a> <a href="https://github.com/natemoo-re/astro-icon/commit/a4ff8736965214e16ce0b72364f43b3a4973f281"><code>a4ff8736965214e16ce0b72364f43b3a4973f281</code></a> Thanks <a href="https://github.com/natemoo-re"><code>@​natemoo-re</code></a>! - Fixes an issue where collections would not be updated when the dev server was automatically restarted</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/230">#230</a> <a href="https://github.com/natemoo-re/astro-icon/commit/7b11f6b0fb8977bfa35305f48ce70e9bc04ea07a"><code>7b11f6b0fb8977bfa35305f48ce70e9bc04ea07a</code></a> Thanks <a href="https://github.com/frankievalentine"><code>@​frankievalentine</code></a>! - Fixes a type definition issue caused by outdated dependency</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/natemoo-re/astro-icon/blob/main/packages/core/CHANGELOG.md">astro-icon's changelog</a>.</em></p> <blockquote> <h2>1.1.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/258">#258</a> <a href="https://github.com/natemoo-re/astro-icon/commit/61d5da607914212b8c7895cbffb049512a289b5a"><code>61d5da607914212b8c7895cbffb049512a289b5a</code></a> Thanks <a href="https://github.com/maxchang3"><code>@​maxchang3</code></a>! - Fix icon reloading logic to only trigger for relevant file changes</li> </ul> <h2>1.1.4</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/250">#250</a> <a href="https://github.com/natemoo-re/astro-icon/commit/41218facd06f51a63d75cccb80c3745c256ec99f"><code>41218facd06f51a63d75cccb80c3745c256ec99f</code></a> Thanks <a href="https://github.com/harukats"><code>@​harukats</code></a>! - Fixes type definitions and hash calculation for aliased icon names</li> </ul> <h2>1.1.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://github.com/natemoo-re/astro-icon/commit/1e6d429829a0e90ea2d43354daddedf026e08e51"><code>1e6d429829a0e90ea2d43354daddedf026e08e51</code></a> Thanks <a href="https://github.com/natemoo-re"><code>@​natemoo-re</code></a>! - Fixes change detection logic for local icons while <code>astro dev</code> is running</li> </ul> <h2>1.1.2</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/247">#247</a> <a href="https://github.com/natemoo-re/astro-icon/commit/fce07f17fe67116165d5d3dd279519bb7bbed55c"><code>fce07f17fe67116165d5d3dd279519bb7bbed55c</code></a> Thanks <a href="https://github.com/christina-de-martinez"><code>@​christina-de-martinez</code></a>! - Adds a <code>desc</code> prop shorthand which maps to the SVG <code>&lt;desc&gt;</code> tag, similar to <code>title</code>.</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/246">#246</a> <a href="https://github.com/natemoo-re/astro-icon/commit/4c5da3378436c2bee6ccdf4ad9cf0e1f32fb6903"><code>4c5da3378436c2bee6ccdf4ad9cf0e1f32fb6903</code></a> Thanks <a href="https://github.com/stramel"><code>@​stramel</code></a>! - Fixes an issue where <code>viewBox</code> was not correctly passed to <code>&lt;symbol&gt;</code> elements</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/245">#245</a> <a href="https://github.com/natemoo-re/astro-icon/commit/ff3a66a8a357375076022b6f9800561ed845c071"><code>ff3a66a8a357375076022b6f9800561ed845c071</code></a> Thanks <a href="https://github.com/stramel"><code>@​stramel</code></a>! - Fixes handling of duplicate icon entries in the integration configuration</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/243">#243</a> <a href="https://github.com/natemoo-re/astro-icon/commit/a8c0a6c5fe2a01841c258af5fb3abe04839df5eb"><code>a8c0a6c5fe2a01841c258af5fb3abe04839df5eb</code></a> Thanks <a href="https://github.com/stramel"><code>@​stramel</code></a>! - Replaces deprecated <code>xlink:href</code> attribute with standard <code>href</code> attribute</p> </li> </ul> <h2>1.1.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/219">#219</a> <a href="https://github.com/natemoo-re/astro-icon/commit/f18661fc47da152e7555d24b23143f0b481c852b"><code>f18661fc47da152e7555d24b23143f0b481c852b</code></a> Thanks <a href="https://github.com/Harry-Ross"><code>@​Harry-Ross</code></a>! - Added better typings for height, width and size to accept non-number values (i.e. 2 rem)</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/203">#203</a> <a href="https://github.com/natemoo-re/astro-icon/commit/a4ff8736965214e16ce0b72364f43b3a4973f281"><code>a4ff8736965214e16ce0b72364f43b3a4973f281</code></a> Thanks <a href="https://github.com/natemoo-re"><code>@​natemoo-re</code></a>! - Fixes an issue where collections would not be updated when the dev server was automatically restarted</p> </li> <li> <p><a href="https://redirect.github.com/natemoo-re/astro-icon/pull/230">#230</a> <a href="https://github.com/natemoo-re/astro-icon/commit/7b11f6b0fb8977bfa35305f48ce70e9bc04ea07a"><code>7b11f6b0fb8977bfa35305f48ce70e9bc04ea07a</code></a> Thanks <a href="https://github.com/frankievalentine"><code>@​frankievalentine</code></a>! - Fixes a type definition issue caused by outdated dependency</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/natemoo-re/astro-icon/commit/685325771b2997b3d38b240f166a7f4d933d3759"><code>6853257</code></a> chore: release (<a href="https://github.com/natemoo-re/astro-icon/tree/HEAD/packages/core/issues/261">#261</a>)</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/9f6c734b56b4044dd73ca07347dbcf84b1abb2d0"><code>9f6c734</code></a> chore(lint): Prettier fix</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/e3e29390b1cd69a00c272b38bea172696707af73"><code>e3e2939</code></a> clean up</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/01480ef594754e30a1bcb3b9ad90884fd3ccc0b2"><code>01480ef</code></a> chore(lint): Prettier fix</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/61d5da607914212b8c7895cbffb049512a289b5a"><code>61d5da6</code></a> Fix icon reloading logic to only trigger for relevant file changes (<a href="https://github.com/natemoo-re/astro-icon/tree/HEAD/packages/core/issues/258">#258</a>)</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/60ea42f4d75c86bce6b91ba39fa5ebbbb3cd6077"><code>60ea42f</code></a> chore: release (<a href="https://github.com/natemoo-re/astro-icon/tree/HEAD/packages/core/issues/253">#253</a>)</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/3529aa21f5c3f57aff33f8b6a8c570862d80d220"><code>3529aa2</code></a> chore: release (<a href="https://github.com/natemoo-re/astro-icon/tree/HEAD/packages/core/issues/252">#252</a>)</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/41218facd06f51a63d75cccb80c3745c256ec99f"><code>41218fa</code></a> fix: include aliases in icon type definitions and hash calculation (<a href="https://github.com/natemoo-re/astro-icon/tree/HEAD/packages/core/issues/250">#250</a>)</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/83204077430a3ff7d1e73c565b1f521e55df84e5"><code>8320407</code></a> chore: format</li> <li><a href="https://github.com/natemoo-re/astro-icon/commit/4690189f19d7a9b9b471847b812e867d7ccc8b31"><code>4690189</code></a> Fixed bug (<a href="https://github.com/natemoo-re/astro-icon/tree/HEAD/packages/core/issues/251">#251</a>)</li> <li>Additional commits viewable in <a href="https://github.com/natemoo-re/astro-icon/commits/astro-icon@1.1.5/packages/core">compare view</a></li> </ul> </details> <br /> Updates `date-fns` from 2.30.0 to 4.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/date-fns/date-fns/releases">date-fns's releases</a>.</em></p> <blockquote> <h2>v4.1.0</h2> <p>This release adds time zone support to format functions (that I somehow missed when working on the feature) and fixes a few bugs.</p> <p>Make sure also upgrade <code>TZDate</code> to v1.0.2 as it <a href="https://github.com/date-fns/tz/blob/main/CHANGELOG.md#v102---2024-09-14">includes a bunch of critical bug fixes</a>.</p> <h3>Fixed</h3> <ul> <li>Fixed internal <code>constructFrom</code> throwing an exception on <code>null</code> arguments. While <code>null</code> isn't allowed, the functions should rather return <code>Invalid Date</code> or <code>NaN</code> in such cases. See <a href="https://redirect.github.com/date-fns/date-fns/issues/3885">#3885</a>.</li> </ul> <h3>Added</h3> <ul> <li>Added missing time zone support to <code>format</code>, <code>formatISO</code>, <code>formatISO9075</code>, <code>formatRelative</code> and <code>formatRFC3339</code>. See <a href="https://redirect.github.com/date-fns/date-fns/issues/3886">#3886</a>.</li> </ul> <h2>v4.0.0</h2> <p>I have great news! First, ten years after its release, date-fns finally gets first-class time zone support.</p> <p>Another great news is that there aren't many breaking changes in this release. All of them are type-related and will affect only those explicitly using internal date-fns types. Finally, it has been less than a year since the last major release, which is an improvement over the previous four years between v2 and v3. I plan on keeping the pace and minimizing breaking changes moving forward.</p> <p><a href="https://blog.date-fns.org/v40-with-time-zone-support/">Read more about the release in the announcement blog post</a>.</p> <p>- <a href="https://twitter.com/kossnocorp"><code>Sasha @​kossnocorp</code></a></p> <h3>Added</h3> <ul> <li> <p>Added time zones support via <a href="https://github.com/date-fns/tz"><code>@date-fns/tz</code></a>'s <code>TZDate</code> class and <code>tz</code> helper function. See its <a href="https://github.com/date-fns/tz">README</a> for the details about the API.</p> </li> <li> <p>All relevant functions now accept the context <code>in</code> option, which allows to specify the time zone to make the calculations in. If the function also returns a date, it will be in the specified time zone:</p> <pre lang="ts"><code>import { addDays, startOfDay } from &quot;date-fns&quot;; import { tz } from &quot;@date-fns/tz&quot;; <p>startOfDay(addDays(Date.now(), 5, { in: tz(&quot;Asia/Singapore&quot;) }));<br /> //=&gt; &quot;2024-09-16T00:00:00.000+08:00&quot;<br /> </code></pre></p> <p>In the example, <code>addDays</code> will get the current date and time in Singapore and add 5 days to it. <code>startOfDay</code> will inherit the date type and return the start of the day in Singapore.</p> </li> </ul> <h3>Changed</h3> <ul> <li> <p>The function arguments, as well as <code>Interval</code>'s <code>start</code> and <code>end</code>, now can be of different types, allowing you to mix <code>UTCDate</code>, <code>TZDate</code>, <code>Date</code>, and other extensions, as well as primitives (strings and numbers).</p> <p>The functions will normalize these values, make calculations, and return the result in the same type, preventing any bugs caused by the discrepancy. If passed, the type will be inferred from the context <code>in</code> option or the first encountered argument object type. The <code>Interval</code>'s <code>start</code> and <code>end</code> will be considered separately, starting from <code>start</code>.</p> <p>In the given example, the result will be in the <code>TZDate</code> as the first argument is a number, and the <code>start</code> takes precedence over the <code>end</code>.</p> <pre lang="ts"><code>clamp(Date.now(), { start: new TZDate(start, &quot;Asia/Singapore&quot;), end: new UTCDate(), </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md">date-fns's changelog</a>.</em></p> <blockquote> <h2>v4.1.0 - 2024-09-17</h2> <p>This release adds time zone support to format functions (that I somehow missed when working on the feature) and fixes a few bugs.</p> <p>Make sure also upgrade <code>TZDate</code> to v1.0.2 as it <a href="https://github.com/date-fns/tz/blob/main/CHANGELOG.md#v102---2024-09-14">includes a bunch of critical bug fixes</a>.</p> <h3>Fixed</h3> <ul> <li>Fixed internal <code>constructFrom</code> throwing an exception on <code>null</code> arguments. While <code>null</code> isn't allowed, the functions should rather return <code>Invalid Date</code> or <code>NaN</code> in such cases. See <a href="https://redirect.github.com/date-fns/date-fns/issues/3885">#3885</a>.</li> </ul> <h3>Added</h3> <ul> <li>Added missing time zone support to <code>format</code>, <code>formatISO</code>, <code>formatISO9075</code>, <code>formatRelative</code> and <code>formatRFC3339</code>. See <a href="https://redirect.github.com/date-fns/date-fns/issues/3886">#3886</a>.</li> </ul> <h2>v4.0.0 - 2024-09-16</h2> <p>I have great news! First, ten years after its release, date-fns finally gets first-class time zone support.</p> <p>Another great news is that there aren't many breaking changes in this release. All of them are type-related and will affect only those explicitly using internal date-fns types. Finally, it has been less than a year since the last major release, which is an improvement over the previous four years between v2 and v3. I plan on keeping the pace and minimizing breaking changes moving forward.</p> <p><a href="https://blog.date-fns.org/v40-with-time-zone-support/">Read more about the release in the announcement blog post</a>.</p> <p>- <a href="https://twitter.com/kossnocorp"><code>Sasha @​kossnocorp</code></a></p> <h3>Added</h3> <ul> <li> <p>Added time zones support via <a href="https://github.com/date-fns/tz"><code>@date-fns/tz</code></a>'s <code>TZDate</code> class and <code>tz</code> helper function. See its <a href="https://github.com/date-fns/tz">README</a> for the details about the API.</p> </li> <li> <p>All relevant functions now accept the context <code>in</code> option, which allows to specify the time zone to make the calculations in. If the function also returns a date, it will be in the specified time zone:</p> <pre lang="ts"><code>import { addDays, startOfDay } from &quot;date-fns&quot;; import { tz } from &quot;@date-fns/tz&quot;; <p>startOfDay(addDays(Date.now(), 5, { in: tz(&quot;Asia/Singapore&quot;) }));<br /> //=&gt; &quot;2024-09-16T00:00:00.000+08:00&quot;<br /> </code></pre></p> <p>In the example, <code>addDays</code> will get the current date and time in Singapore and add 5 days to it. <code>startOfDay</code> will inherit the date type and return the start of the day in Singapore.</p> </li> </ul> <h3>Changed</h3> <ul> <li> <p>The function arguments, as well as <code>Interval</code>'s <code>start</code> and <code>end</code>, now can be of different types, allowing you to mix <code>UTCDate</code>, <code>TZDate</code>, <code>Date</code>, and other extensions, as well as primitives (strings and numbers).</p> <p>The functions will normalize these values, make calculations, and return the result in the same type, preventing any bugs caused by the discrepancy. If passed, the type will be inferred from the context <code>in</code> option or the first encountered argument object type. The <code>Interval</code>'s <code>start</cod…
1 parent aed77b7 commit af9aa86

File tree

2 files changed

+2137
-3251
lines changed

2 files changed

+2137
-3251
lines changed

0 commit comments

Comments
 (0)