Skip to content

Commit 8fbc496

Browse files
chore(deps): bump esbuild, @astrojs/mdx, @vitejs/plugin-react, @astrojs/tailwind, @astrojs/vercel and astro (#147)
Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.5 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx), [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react), [@astrojs/tailwind](https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind), [@astrojs/vercel](https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel) and [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro). These dependencies need to be updated together. Updates `esbuild` from 0.21.5 to 0.25.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/releases">esbuild's releases</a>.</em></p> <blockquote> <h2>v0.25.5</h2> <ul> <li> <p>Fix a regression with <code>browser</code> in <code>package.json</code> (<a href="https://redirect.github.com/evanw/esbuild/issues/4187">#4187</a>)</p> <p>The fix to <a href="https://redirect.github.com/evanw/esbuild/issues/4144">#4144</a> in version 0.25.3 introduced a regression that caused <code>browser</code> overrides specified in <code>package.json</code> to fail to override relative path names that end in a trailing slash. That behavior change affected the <code>axios@0.30.0</code> package. This regression has been fixed, and now has test coverage.</p> </li> <li> <p>Add support for certain keywords as TypeScript tuple labels (<a href="https://redirect.github.com/evanw/esbuild/issues/4192">#4192</a>)</p> <p>Previously esbuild could incorrectly fail to parse certain keywords as TypeScript tuple labels that are parsed by the official TypeScript compiler if they were followed by a <code>?</code> modifier. These labels included <code>function</code>, <code>import</code>, <code>infer</code>, <code>new</code>, <code>readonly</code>, and <code>typeof</code>. With this release, these keywords will now be parsed correctly. Here's an example of some affected code:</p> <pre lang="ts"><code>type Foo = [ value: any, readonly?: boolean, // This is now parsed correctly ] </code></pre> </li> <li> <p>Add CSS prefixes for the <code>stretch</code> sizing value (<a href="https://redirect.github.com/evanw/esbuild/issues/4184">#4184</a>)</p> <p>This release adds support for prefixing CSS declarations such as <code>div { width: stretch }</code>. That CSS is now transformed into this depending on what the <code>--target=</code> setting includes:</p> <pre lang="css"><code>div { width: -webkit-fill-available; width: -moz-available; width: stretch; } </code></pre> </li> </ul> <h2>v0.25.4</h2> <ul> <li> <p>Add simple support for CORS to esbuild's development server (<a href="https://redirect.github.com/evanw/esbuild/issues/4125">#4125</a>)</p> <p>Starting with version 0.25.0, esbuild's development server is no longer configured to serve cross-origin requests. This was a deliberate change to prevent any website you visit from accessing your running esbuild development server. However, this change prevented (by design) certain use cases such as &quot;debugging in production&quot; by having your production website load code from <code>localhost</code> where the esbuild development server is running.</p> <p>To enable this use case, esbuild is adding a feature to allow <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS">Cross-Origin Resource Sharing</a> (a.k.a. CORS) for <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS#simple_requests">simple requests</a>. Specifically, passing your origin to the new <code>cors</code> option will now set the <code>Access-Control-Allow-Origin</code> response header when the request has a matching <code>Origin</code> header. Note that this currently only works for requests that don't send a preflight <code>OPTIONS</code> request, as esbuild's development server doesn't currently support <code>OPTIONS</code> requests.</p> <p>Some examples:</p> <ul> <li> <p><strong>CLI:</strong></p> <pre><code>esbuild --servedir=. --cors-origin=https://example.com </code></pre> </li> <li> <p><strong>JS:</strong></p> <pre lang="js"><code>const ctx = await esbuild.context({}) await ctx.serve({ servedir: '.', cors: { </code></pre> </li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md">esbuild's changelog</a>.</em></p> <blockquote> <h1>Changelog: 2024</h1> <p>This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).</p> <h2>0.24.2</h2> <ul> <li> <p>Fix regression with <code>--define</code> and <code>import.meta</code> (<a href="https://redirect.github.com/evanw/esbuild/issues/4010">#4010</a>, <a href="https://redirect.github.com/evanw/esbuild/issues/4012">#4012</a>, <a href="https://redirect.github.com/evanw/esbuild/pull/4013">#4013</a>)</p> <p>The previous change in version 0.24.1 to use a more expression-like parser for <code>define</code> values to allow quoted property names introduced a regression that removed the ability to use <code>--define:import.meta=...</code>. Even though <code>import</code> is normally a keyword that can't be used as an identifier, ES modules special-case the <code>import.meta</code> expression to behave like an identifier anyway. This change fixes the regression.</p> <p>This fix was contributed by <a href="https://github.com/sapphi-red"><code>@​sapphi-red</code></a>.</p> </li> </ul> <h2>0.24.1</h2> <ul> <li> <p>Allow <code>es2024</code> as a target in <code>tsconfig.json</code> (<a href="https://redirect.github.com/evanw/esbuild/issues/4004">#4004</a>)</p> <p>TypeScript recently <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/#support-for---target-es2024-and---lib-es2024">added <code>es2024</code></a> as a compilation target, so esbuild now supports this in the <code>target</code> field of <code>tsconfig.json</code> files, such as in the following configuration file:</p> <pre lang="json"><code>{ &quot;compilerOptions&quot;: { &quot;target&quot;: &quot;ES2024&quot; } } </code></pre> <p>As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in <a href="https://esbuild.github.io/content-types/#tsconfig-json">the documentation</a>.</p> <p>This fix was contributed by <a href="https://github.com/billyjanitsch"><code>@​billyjanitsch</code></a>.</p> </li> <li> <p>Allow automatic semicolon insertion after <code>get</code>/<code>set</code></p> <p>This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:</p> <pre lang="ts"><code>class Foo { get *x() {} set *y() {} } </code></pre> <p>The above code will be considered valid starting with this release. This change to esbuild follows a <a href="https://redirect.github.com/microsoft/TypeScript/pull/60225">similar change to TypeScript</a> which will allow this syntax starting with TypeScript 5.7.</p> </li> <li> <p>Allow quoted property names in <code>--define</code> and <code>--pure</code> (<a href="https://redirect.github.com/evanw/esbuild/issues/4008">#4008</a>)</p> <p>The <code>define</code> and <code>pure</code> API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes <code>--define</code> and <code>--pure</code> consistent with <code>--global-name</code>, which already supported quoted property names. For example, the following is now possible:</p> <pre lang="js"><code></code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/evanw/esbuild/commit/ea453bf687c8e5cf3c5f11aae372c5ca33be0c98"><code>ea453bf</code></a> publish 0.25.5 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/223ddc6a5f1b4721573765eb5b8571888f64313e"><code>223ddc6</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/4187">#4187</a>: browser <code>package.json</code> regression</li> <li><a href="https://github.com/evanw/esbuild/commit/b2c825150b7aa471bcc9b4302ba990557596c35f"><code>b2c8251</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/4192">#4192</a>: typescript tuple label parser edge case</li> <li><a href="https://github.com/evanw/esbuild/commit/28cf2f3e7f4b5b2e629171c0e340fbb406ce68f8"><code>28cf2f3</code></a> fix <a href="https://redirect.github.com/evanw/esbuild/issues/4184">#4184</a>: css prefixes for <code>stretch</code></li> <li><a href="https://github.com/evanw/esbuild/commit/bee1b09cd565fd122c798f57c9617111f7c999ca"><code>bee1b09</code></a> fix comment indents</li> <li><a href="https://github.com/evanw/esbuild/commit/9ddfe5fa15a5e782f8118459a1b8aa3f9f9e87c2"><code>9ddfe5f</code></a> run <code>make update-compat-table</code></li> <li><a href="https://github.com/evanw/esbuild/commit/c339f34484463f597b77c8450c393bfdd26c629e"><code>c339f34</code></a> fix a misplaced comment</li> <li><a href="https://github.com/evanw/esbuild/commit/218d29e9da018d60cf87b8fb496bb8167936ff54"><code>218d29e</code></a> publish 0.25.4 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/e66cd0bf6daebff56527540c433c69e49e9dcb13"><code>e66cd0b</code></a> dev server: simple support for CORS requests (<a href="https://redirect.github.com/evanw/esbuild/issues/4171">#4171</a>)</li> <li><a href="https://github.com/evanw/esbuild/commit/8bf33685941e857c2b0f10c4d719a895f9d1ceea"><code>8bf3368</code></a> js api: validate some options as arrays of strings</li> <li>Additional commits viewable in <a href="https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.5">compare view</a></li> </ul> </details> <br /> Updates `@astrojs/mdx` from 2.2.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 `@vitejs/plugin-react` from 4.2.1 to 4.6.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/releases"><code>@​vitejs/plugin-react</code>'s releases</a>.</em></p> <blockquote> <h2>plugin-react@4.6.0</h2> <h3>Add raw Rolldown support</h3> <p>This plugin only worked with Vite. But now it can also be used with raw Rolldown. The main purpose for using this plugin with Rolldown is to use react compiler.</p> <h2>plugin-react@4.5.2</h2> <h3>Suggest <code>@vitejs/plugin-react-oxc</code> if rolldown-vite is detected <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/491">#491</a></h3> <p>Emit a log which recommends <code>@vitejs/plugin-react-oxc</code> when <code>rolldown-vite</code> is detected to improve performance and use Oxc under the hood. The warning can be disabled by setting <code>disableOxcRecommendation: false</code> in the plugin options.</p> <h3>Use <code>optimizeDeps.rollupOptions</code> instead of <code>optimizeDeps.esbuildOptions</code> for rolldown-vite <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/489">#489</a></h3> <p>This suppresses the warning about <code>optimizeDeps.esbuildOptions</code> being deprecated in rolldown-vite.</p> <h3>Add Vite 7-beta to peerDependencies range <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/497">#497</a></h3> <p>React plugins are compatible with Vite 7, this removes the warning when testing the beta.</p> <h2>plugin-react@4.5.1</h2> <h3>Add explicit semicolon in preambleCode <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/485">#485</a></h3> <p>This fixes an edge case when using HTML minifiers that strips line breaks aggressively.</p> <h2>plugin-react@4.5.0</h2> <h3>Add <code>filter</code> for rolldown-vite <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/470">#470</a></h3> <p>Added <code>filter</code> so that it is more performant when running this plugin with rolldown-powered version of Vite.</p> <h3>Skip HMR for JSX files with hooks <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/480">#480</a></h3> <p>This removes the HMR warning for hooks with JSX.</p> <h2>plugin-react@4.4.1</h2> <p>Fix type issue when using <code>moduleResolution: &quot;node&quot;</code> in tsconfig <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/462">#462</a></p> <h2>plugin-react@4.4.0</h2> <h3>Make compatible with rolldown-vite</h3> <p>This plugin is now compatible with rolldown-powered version of Vite. Note that currently the <code>__source</code> property value position might be incorrect. This will be fixed in the near future.</p> <h2>plugin-react@4.4.0-beta.2</h2> <h3>Add <code>reactRefreshHost</code> option</h3> <p>Add <code>reactRefreshHost</code> option to set a React Fast Refresh runtime URL prefix. This is useful in a module federation context to enable HMR by specifying the host application URL in the Vite config of a remote application. See full discussion here: <a href="https://redirect.github.com/module-federation/vite/issues/183#issuecomment-2751825367">module-federation/vite#183</a></p> <pre lang="ts"><code>export default defineConfig({ &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md"><code>@​vitejs/plugin-react</code>'s changelog</a>.</em></p> <blockquote> <h2>4.6.0 (2025-06-23)</h2> <h3>Add raw Rolldown support</h3> <p>This plugin only worked with Vite. But now it can also be used with raw Rolldown. The main purpose for using this plugin with Rolldown is to use react compiler.</p> <h2>4.5.2 (2025-06-10)</h2> <h3>Suggest <code>@vitejs/plugin-react-oxc</code> if rolldown-vite is detected <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/491">#491</a></h3> <p>Emit a log which recommends <code>@vitejs/plugin-react-oxc</code> when <code>rolldown-vite</code> is detected to improve performance and use Oxc under the hood. The warning can be disabled by setting <code>disableOxcRecommendation: true</code> in the plugin options.</p> <h3>Use <code>optimizeDeps.rollupOptions</code> instead of <code>optimizeDeps.esbuildOptions</code> for rolldown-vite <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/489">#489</a></h3> <p>This suppresses the warning about <code>optimizeDeps.esbuildOptions</code> being deprecated in rolldown-vite.</p> <h3>Add Vite 7-beta to peerDependencies range <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/497">#497</a></h3> <p>React plugins are compatible with Vite 7, this removes the warning when testing the beta.</p> <h2>4.5.1 (2025-06-03)</h2> <h3>Add explicit semicolon in preambleCode <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/485">#485</a></h3> <p>This fixes an edge case when using HTML minifiers that strips line breaks aggressively.</p> <h2>4.5.0 (2025-05-23)</h2> <h3>Add <code>filter</code> for rolldown-vite <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/470">#470</a></h3> <p>Added <code>filter</code> so that it is more performant when running this plugin with rolldown-powered version of Vite.</p> <h3>Skip HMR for JSX files with hooks <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/480">#480</a></h3> <p>This removes the HMR warning for hooks with JSX.</p> <h2>4.4.1 (2025-04-19)</h2> <p>Fix type issue when using <code>moduleResolution: &quot;node&quot;</code> in tsconfig <a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/462">#462</a></p> <h2>4.4.0 (2025-04-15)</h2> <h3>Make compatible with rolldown-vite</h3> <p>This plugin is now compatible with rolldown-powered version of Vite. Note that currently the <code>__source</code> property value position might be incorrect. This will be fixed in the near future.</p> <h2>4.4.0-beta.2 (2025-04-15)</h2> <h3>Add <code>reactRefreshHost</code> option</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/12bd153622731890678e43367e30c4a212d74376"><code>12bd153</code></a> release: plugin-react@4.6.0</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/572bb9498bd785e4e3a2a4f9520b44967c04ec4a"><code>572bb94</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/515">#515</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/552af8fda8e4c079e9685638d5105572a29195f8"><code>552af8f</code></a> feat(react): add raw rolldown support (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/513">#513</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/dd5bd78b4b4ae75e28251075efd8611847c1a412"><code>dd5bd78</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/498">#498</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/4951c905dc8a9ba667eb1d1d73f29070dc94c16e"><code>4951c90</code></a> docs: typo in CHANGELOG.md (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/504">#504</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/bfb45addb83ebae8feebdb75be2e07ce27e916cb"><code>bfb45ad</code></a> release: plugin-react@4.5.2</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/6ea939869526bf4b59e910e7393edbd35cac3f36"><code>6ea9398</code></a> feat: add Vite 7-beta to peerDependencies range (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/497">#497</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/6db7e7c95826009c7db20b990cdc874569967489"><code>6db7e7c</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/469">#469</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/c4501339e5f43d814acdd6a5397652d5178bca36"><code>c450133</code></a> feat: suggest <code>vite-plugin-react-oxc</code> when using <code>rolldown-vite</code> (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/491">#491</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/4bec551eb2f7651be24c77fb4be0da95e6c0e4fb"><code>4bec551</code></a> fix: use <code>optimizeDeps.rollupOptions</code> for rolldown-vite (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/489">#489</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.6.0/packages/plugin-react">compare view</a></li> </ul> </details> <br /> Updates `@astrojs/tailwind` from 5.1.0 to 5.1.5 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/@astrojs/tailwind@5.1.5/packages/integrations/tailwind/CHANGELOG.md"><code>@​astrojs/tailwind</code>'s changelog</a>.</em></p> <blockquote> <h2>5.1.5</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13011">#13011</a> <a href="https://github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398"><code>cf30880</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Upgrades Vite</li> </ul> <h2>5.1.4</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12799">#12799</a> <a href="https://github.com/withastro/astro/commit/739dbfba4214107cf8fc40c702834dad33eed3b0"><code>739dbfb</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Upgrades Vite to pin esbuild</li> </ul> <h2>5.1.3</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12594">#12594</a> <a href="https://github.com/withastro/astro/commit/4f2fd0a0d67a748af8b611b9afc7d4c789f7c8cc"><code>4f2fd0a</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Fixes compatibility with Astro 5</li> </ul> <h2>6.0.0-alpha.0</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0"><code>b6fbdaa</code></a>, <a href="https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f"><code>89bab1e</code></a>, <a href="https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e"><code>d74617c</code></a>, <a href="https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9"><code>e90f559</code></a>, <a href="https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6"><code>2df49a6</code></a>, <a href="https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6"><code>8a53517</code></a>]: <ul> <li>astro@5.0.0-alpha.0</li> </ul> </li> </ul> <h2>5.1.2</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12161">#12161</a> <a href="https://github.com/withastro/astro/commit/8e500f2f9656a98e4a14ef567f9bf072459f62c4"><code>8e500f2</code></a> Thanks <a href="https://github.com/delucis"><code>@​delucis</code></a>! - Adds keywords to <code>package.json</code> to improve categorization in the Astro integrations catalog</li> </ul> <h2>6.0.0-alpha.0</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0"><code>b6fbdaa</code></a>, <a href="https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f"><code>89bab1e</code></a>, <a href="https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e"><code>d74617c</code></a>, <a href="https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9"><code>e90f559</code></a>, <a href="https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6"><code>2df49a6</code></a>, <a href="https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6"><code>8a53517</code></a>]: <ul> <li>astro@5.0.0-alpha.0</li> </ul> </li> </ul> <h2>5.1.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12018">#12018</a> <a href="https://github.com/withastro/astro/commit/dcd115892a23b17309347c13ce4d82af73d204b2"><code>dcd1158</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Make <code>@​astrojs/tailwind</code> compat with Astro 5</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/0a0b1978a7ea9902174df96852e6a676023cd128"><code>0a0b197</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12991">#12991</a>)</li> <li><a href="https://github.com/withastro/astro/commit/3357ff649768f3c359834ffbe656cbec1a2803d4"><code>3357ff6</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/13008">#13008</a>)</li> <li><a href="https://github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398"><code>cf30880</code></a> fix: upgrade Vite and update tests (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/13011">#13011</a>)</li> <li><a href="https://github.com/withastro/astro/commit/7a0855b264c22875d3d5921c2d60382c3260f79d"><code>7a0855b</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12579">#12579</a>)</li> <li><a href="https://github.com/withastro/astro/commit/3d89e6282235a8da45d9ddfe02bcf7ec78056941"><code>3d89e62</code></a> fix: align esbuild to vite (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12361">#12361</a>)</li> <li><a href="https://github.com/withastro/astro/commit/5f4c543609dea291c5f5c1e3ee0252ee5a66a1e1"><code>5f4c543</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12790">#12790</a>)</li> <li><a href="https://github.com/withastro/astro/commit/739dbfba4214107cf8fc40c702834dad33eed3b0"><code>739dbfb</code></a> fix(deps): upgrade Vite (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12799">#12799</a>)</li> <li><a href="https://github.com/withastro/astro/commit/901c21f4f09bf61dfbb5ab04db2d7d90120383cb"><code>901c21f</code></a> test: make tailwind test more stable (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12732">#12732</a>)</li> <li><a href="https://github.com/withastro/astro/commit/7a0298245560270e4dd1ef81c4184230f8181b03"><code>7a02982</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12595">#12595</a>)</li> <li><a href="https://github.com/withastro/astro/commit/4f2fd0a0d67a748af8b611b9afc7d4c789f7c8cc"><code>4f2fd0a</code></a> fix: cleanup peer deps ranges (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind/issues/12594">#12594</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/@astrojs/tailwind@5.1.5/packages/integrations/tailwind">compare view</a></li> </ul> </details> <br /> Updates `@astrojs/vercel` from 7.5.3 to 8.2.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases"><code>@​astrojs/vercel</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​astrojs/vercel</code><a href="https://github.com/8"><code>@​8</code></a>.2.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13972">#13972</a> <a href="https://github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1"><code>db8f8be</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes the internal implementation of the new feature <code>experimentalStaticHeaders</code>, where dynamic routes were mapped to use always the same header.</li> </ul> <h2><code>@​astrojs/vercel</code><a href="https://github.com/8"><code>@​8</code></a>.2.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13965">#13965</a> <a href="https://github.com/withastro/astro/commit/95ece0663ed160687ef21101f84b2adec0bffd01"><code>95ece06</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Adds support for the <a href="https://docs.astro.build/en/reference/adapter-reference/#experimentalstaticheaders">experimental static headers Astro feature</a>.</p> <p>When the feature is enabled via option <code>experimentalStaticHeaders</code>, and <a href="https://docs.astro.build/en/reference/experimental-flags/csp/">experimental Content Security Policy</a> is enabled, the adapter will generate <code>Response</code> headers for static pages, which allows support for CSP directives that are not supported inside a <code>&lt;meta&gt;</code> tag (e.g. <code>frame-ancestors</code>).</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; import vercel from '@astrojs/vercel'; <p>export default defineConfig({ adapter: vercel({ experimentalStaticHeaders: true, }), experimental: { cps: true, }, }); </code></pre></p> </li> </ul> <h3>Patch 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>! - 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> <p>The new responsive images feature in Astro automatically generates optimized images for different screen sizes and resolutions, and applies the correct attributes to ensure that images are displayed correctly on all devices.</p> <p>Enable the <code>image.responsiveStyles</code> option in your Astro config. Then, set a <code>layout</code> attribute on any <!-- raw HTML omitted --> or <!-- raw HTML omitted --> component, or configure a default <code>image.layout</code>, for instantly responsive images with automatically generated <code>srcset</code> and <code>sizes</code> attributes based on the image's dimensions and the layout type.</p> <p>Displaying images correctly on the web can be challenging, and is one of the most common performance issues seen in sites. This new feature simplifies the most challenging part of the process: serving your site visitor an image optimized for their viewing experience, and for your website's performance.</p> <p>For full details, see the updated <a href="https://docs.astro.build/en/guides/images/#responsive-image-behavior">Image guide</a>.</p> <h2>Migration from Experimental Responsive Images</h2> <p>The <code>experimental.responsiveImages</code> flag has been removed, and all experimental image configuration options have been renamed to their final names.</p> <p>If you were using the experimental responsive images feature, you'll need to update your configuration:</p> <h3>Remove the experimental flag</h3> <pre lang="diff"><code>export default defineConfig({ experimental: { </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/withastro/astro/blob/main/packages/integrations/vercel/CHANGELOG.md"><code>@​astrojs/vercel</code>'s changelog</a>.</em></p> <blockquote> <h2>8.2.1</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/13972">#13972</a> <a href="https://github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1"><code>db8f8be</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes the internal implementation of the new feature <code>experimentalStaticHeaders</code>, where dynamic routes were mapped to use always the same header.</li> </ul> <h2>8.2.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13965">#13965</a> <a href="https://github.com/withastro/astro/commit/95ece0663ed160687ef21101f84b2adec0bffd01"><code>95ece06</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Adds support for the <a href="https://docs.astro.build/en/reference/adapter-reference/#experimentalstaticheaders">experimental static headers Astro feature</a>.</p> <p>When the feature is enabled via option <code>experimentalStaticHeaders</code>, and <a href="https://docs.astro.build/en/reference/experimental-flags/csp/">experimental Content Security Policy</a> is enabled, the adapter will generate <code>Response</code> headers for static pages, which allows support for CSP directives that are not supported inside a <code>&lt;meta&gt;</code> tag (e.g. <code>frame-ancestors</code>).</p> <pre lang="js"><code>import { defineConfig } from 'astro/config'; import vercel from '@astrojs/vercel'; <p>export default defineConfig({ adapter: vercel({ experimentalStaticHeaders: true, }), experimental: { cps: true, }, }); </code></pre></p> </li> </ul> <h3>Patch 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>! - 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> <p>The new responsive images feature in Astro automatically generates optimized images for different screen sizes and resolutions, and applies the correct attributes to ensure that images are displayed correctly on all devices.</p> <p>Enable the <code>image.responsiveStyles</code> option in your Astro config. Then, set a <code>layout</code> attribute on any <!-- raw HTML omitted --> or <!-- raw HTML omitted --> component, or configure a default <code>image.layout</code>, for instantly responsive images with automatically generated <code>srcset</code> and <code>sizes</code> attributes based on the image's dimensions and the layout type.</p> <p>Displaying images correctly on the web can be challenging, and is one of the most common performance issues seen in sites. This new feature simplifies the most challenging part of the process: serving your site visitor an image optimized for their viewing experience, and for your website's performance.</p> <p>For full details, see the updated <a href="https://docs.astro.build/en/guides/images/#responsive-image-behavior">Image guide</a>.</p> <h4>Migration from Experimental Responsive Images</h4> <p>The <code>experimental.responsiveImages</code> flag has been removed, and all experimental image configuration options have been renamed to their final names.</p> <p>If you were using the experimental responsive images feature, you'll need to update your configuration:</p> <h5>Remove the experimental flag</h5> <pre lang="diff"><code></code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/88b54d3cba5950737156e5b446c2dd10f2256a59"><code>88b54d3</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel/issues/14033">#14033</a>)</li> <li><a href="https://github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1"><code>db8f8be</code></a> feat(node): experimental static headers (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel/issues/13972">#13972</a>)</li> <li><a href="https://github.com/withastro/astro/commit/33f2d157e3063a4df303aa0c189a994654514f11"><code>33f2d15</code></a> chore: upgrade to Biome v2 (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel/issues/13984">#13984</a>)</li> <li><a href="https://github.com/withastro/astro/commit/1aa6db69be0fd2352eebc568e90cab83fb157142"><code>1aa6db6</code></a> Fix heading hierarchy for recent releases in <code>astro</code> and <code>@astrojs/vercel</code> ch...</li> <li><a href="https://github.com/withastro/astro/commit/0ad80d9296d8bc5427bcfd5c306acf853f13de68"><code>0ad80d9</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel/issues/13958">#13958</a>)</li> <li><a href="https://github.com/withastro/astro/commit/e615216c55bca5d61b8c5c1b49d62671f0238509"><code>e615216</code></a> feat: unflag responsive images (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel/issues/13917">#13917</a>)</li> <li><a href="https://github.com/withastro/astro/commit/b686972caca6cbbfa727ff25441525e0ed4d0758"><code>b686972</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/95ece0663ed160687ef21101f84b2adec0bffd01"><code>95ece06</code></a> feat(vercel): experimental static headers (<a href="https://github.com/withastro/astro/tree/HEAD/packages/integrations/vercel/issues/13965">#13965</a>)</li> <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/vercel/issues/13873">#13873</a>)</li> <li><a href="https://github.com/withastro/astro/commit/66b5edb1c3bef74aac3d372d302edc98183725dd"><code>66b5edb</code></a> [ci] format</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/@astrojs/vercel@8.2.1/packages/integrations/vercel">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/vercel</code> since your current version.</p> </details> <br /> Updates `astro` from 4.16.18 to 5.11.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases">astro's releases</a>.</em></p> <blockquote> <h2>astro@5.11.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13972">#13972</a> <a href="https://github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1"><code>db8f8be</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Updates the <code>NodeApp.match()</code> function in the Adapter API to accept a second, optional parameter to allow adapter authors to add headers to static, prerendered pages.</p> <p><code>NodeApp.match(request)</code> currently checks whether there is a route that matches the given <code>Request</code>. If there is a prerendered route, the function returns <code>undefined</code>, because static routes are already rendered and their headers cannot be updated.</p> <p>When the new, optional boolean parameter is passed (e.g. <code>NodeApp.match(request, true)</code>), Astro will return the first matched route, even when it's a prerendered route. This allows your adapter to now access static routes and provides the opportunity to set headers for these pages, for example, to implement a Content Security Policy (CSP).</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14029">#14029</a> <a href="https://github.com/withastro/astro/commit/42562f9d7b0bef173aca631f9d59e1bf000133c5"><code>42562f9</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes a bug where server islands wouldn't be correctly rendered when they are rendered inside fragments.</p> <p>Now the following examples work as expected:</p> <pre lang="astro"><code>--- import { Cart } from '../components/Cart.astro'; --- <p>&lt;&gt; &lt;Cart server:defer /&gt; &lt;/&gt;</p> <p>&lt;Fragment slot=&quot;rest&quot;&gt; &lt;Cart server:defer&gt; &lt;div slot=&quot;fallback&quot;&gt;Not working&lt;/div&gt; &lt;/Cart&gt; &lt;/Fragment&gt; </code></pre></p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14017">#14017</a> <a href="https://github.com/withastro/astro/commit/8d238bcb21f1d3863d4e86bf0064d98390936208"><code>8d238bc</code></a> Thanks <a href="https://github.com/dmgawel"><code>@​dmgawel</code></a>! - Fixes a bug where i18n fallback rewrites didn't work in dynamic pages.</p> </li> </ul> <h2>astro@5.10.2</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14000">#14000</a> <a href="https://github.com/withastro/astro/commit/3cbedae129579b93f5c18c900ae66c6c11c46da5"><code>3cbedae</code></a> Thanks <a href="https://github.com/feelixe"><code>@​feelixe</code></a>! - Fix routePattern JSDoc examples to show correct return values</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13990">#13990</a> <a href="https://github.com/withastro/astro/commit/de6cfd6dc8e53911190b2b5788e0508e557f86eb"><code>de6cfd6</code></a> Thanks <a href="https://github.com/isVivek99"><code>@​isVivek99</code></a>! - Fixes a case where <code>astro:config/client</code> and <code>astro:config/server</code> virtual modules would not contain config passed to integrations <code>updateConfig()</code> during the build</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14019">#14019</a> <a href="https://github.com/withastro/astro/commit/a160d1e8b711b7a214e54406fdf85be2b7338ed2"><code>a160d1e</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Removes the requirement to set <code>type: 'live'</code> when defining experimental live content collections</p> <p>Previously, live collections required a <code>type</code> and <code>loader</code> configured. Now, Astro can determine that your collection is a <code>live</code> collection without defining it explicitly.</p> <p>This means it is now safe to remove <code>type: 'live'</code> from your collections defined in <code>src/live.config.ts</code>:</p> <pre lang="diff"><code>import { defineLiveCollection } from 'astro:content'; import { storeLoader } from '@mystore/astro-loader'; <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> <blockquote> <h2>5.11.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13972">#13972</a> <a href="https://github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1"><code>db8f8be</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Updates the <code>NodeApp.match()</code> function in the Adapter API to accept a second, optional parameter to allow adapter authors to add headers to static, prerendered pages.</p> <p><code>NodeApp.match(request)</code> currently checks whether there is a route that matches the given <code>Request</code>. If there is a prerendered route, the function returns <code>undefined</code>, because static routes are already rendered and their headers cannot be updated.</p> <p>When the new, optional boolean parameter is passed (e.g. <code>NodeApp.match(request, true)</code>), Astro will return the first matched route, even when it's a prerendered route. This allows your adapter to now access static routes and provides the opportunity to set headers for these pages, for example, to implement a Content Security Policy (CSP).</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14029">#14029</a> <a href="https://github.com/withastro/astro/commit/42562f9d7b0bef173aca631f9d59e1bf000133c5"><code>42562f9</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes a bug where server islands wouldn't be correctly rendered when they are rendered inside fragments.</p> <p>Now the following examples work as expected:</p> <pre lang="astro"><code>--- import { Cart } from '../components/Cart.astro'; --- <p>&lt;&gt; &lt;Cart server:defer /&gt; &lt;/&gt;</p> <p>&lt;Fragment slot=&quot;rest&quot;&gt; &lt;Cart server:defer&gt; &lt;div slot=&quot;fallback&quot;&gt;Not working&lt;/div&gt; &lt;/Cart&gt; &lt;/Fragment&gt; </code></pre></p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14017">#14017</a> <a href="https://github.com/withastro/astro/commit/8d238bcb21f1d3863d4e86bf0064d98390936208"><code>8d238bc</code></a> Thanks <a href="https://github.com/dmgawel"><code>@​dmgawel</code></a>! - Fixes a bug where i18n fallback rewrites didn't work in dynamic pages.</p> </li> </ul> <h2>5.10.2</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14000">#14000</a> <a href="https://github.com/withastro/astro/commit/3cbedae129579b93f5c18c900ae66c6c11c46da5"><code>3cbedae</code></a> Thanks <a href="https://github.com/feelixe"><code>@​feelixe</code></a>! - Fix routePattern JSDoc examples to show correct return values</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13990">#13990</a> <a href="https://github.com/withastro/astro/commit/de6cfd6dc8e53911190b2b5788e0508e557f86eb"><code>de6cfd6</code></a> Thanks <a href="https://github.com/isVivek99"><code>@​isVivek99</code></a>! - Fixes a case where <code>astro:config/client</code> and <code>astro:config/server</code> virtual modules would not contain config passed to integrations <code>updateConfig()</code> during the build</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14019">#14019</a> <a href="https://github.com/withastro/astro/commit/a160d1e8b711b7a214e54406fdf85be2b7338ed2"><code>a160d1e</code></a> Thanks <a href="https://github.com/ascorbic"><code>@​ascorbic</code></a>! - Removes the requirement to set <code>type: 'live'</code> when defining experimental live content collections</p> <p>Previously, live collections required a <code>type</code> and <code>loader</code> configured. Now, Astro can determine that your collection is a <code>live</code> collection without defining it explicitly.</p> <p>This means it is now safe to remove <code>type: 'live'</code> from your collections defined in <code>src/live.config.ts</code>:</p> <pre lang="diff"><code>import { defineLiveCollection } from 'astro:content'; </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/88b54d3cba5950737156e5b446c2dd10f2256a59"><code>88b54d3</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14033">#14033</a>)</li> <li><a href="https://github.com/withastro/astro/commit/42562f9d7b0bef173aca631f9d59e1bf000133c5"><code>42562f9</code></a> fix(render): server islands in fragments (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14029">#14029</a>)</li> <li><a href="https://github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1"><code>db8f8be</code></a> feat(node): experimental static headers (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13972">#13972</a>)</li> <li><a href="https://github.com/withastro/astro/commit/eb39f8ef8b550b645d25a01e7056ce396c61a4bd"><code>eb39f8e</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/8d238bcb21f1d3863d4e86bf0064d98390936208"><code>8d238bc</code></a> fix i18n fallback rewrites failing in server mode (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14017">#14017</a>)</li> <li><a href="https://github.com/withastro/astro/commit/5891056791dff741cfaa99a6e2904a9ea21ce396"><code>5891056</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14007">#14007</a>)</li> <li><a href="https://github.com/withastro/astro/commit/508e6bf78b2daa9e39ab33975999c1783b4b3170"><code>508e6bf</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/a160d1e8b711b7a214e54406fdf85be2b7338ed2"><code>a160d1e</code></a> Make &quot;type&quot; optional when defining live collections (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14019">#14019</a>)</li> <li><a href="https://github.com/withastro/astro/commit/041a37da3200117e7d09c2c1f4f6eda4634d18be"><code>041a37d</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/33f2d157e3063a4df303aa0c189a994654514f11"><code>33f2d15</code></a> chore: upgrade to Biome v2 (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/13984">#13984</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@5.11.0/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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/jargonsdev/jargons.dev/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b682a53 commit 8fbc496

2 files changed

Lines changed: 1861 additions & 2632 deletions

File tree

0 commit comments

Comments
 (0)