53.md (15243B)
1 # PR #53 Bump astro from 4.0.6 to 4.8.2 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-05-13T01:21:56Z 6 - **Branch:** dependabot/npm_and_yarn/astro-4.8.2 → main 7 - **Closed:** 2024-05-20T01:27:38Z 8 - **Labels:** dependencies, javascript 9 - **Diff:** [53.diff](./53.diff) 10 11 --- 12 13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.8.2. 14 <details> 15 <summary>Release notes</summary> 16 <p><em>Sourced from <a href="https://github.com/withastro/astro/releases">astro's releases</a>.</em></p> 17 <blockquote> 18 <h2>astro@4.8.2</h2> 19 <h3>Patch Changes</h3> 20 <ul> 21 <li> 22 <p><a href="https://redirect.github.com/withastro/astro/pull/10990">#10990</a> <a href="https://github.com/withastro/astro/commit/4161a2a3d095eaf4d109b4ac49f11f6762bed017"><code>4161a2a</code></a> Thanks <a href="https://github.com/liruifengv"><code>@liruifengv</code></a>! - fix incorrect actions path on windows</p> 23 </li> 24 <li> 25 <p><a href="https://redirect.github.com/withastro/astro/pull/10979">#10979</a> <a href="https://github.com/withastro/astro/commit/6fa89e84c917f487be9f62875d85c61974e71590"><code>6fa89e8</code></a> Thanks <a href="https://github.com/BryceRussell"><code>@BryceRussell</code></a>! - Fix loading of non-index routes that end with <code>index.html</code></p> 26 </li> 27 </ul> 28 <h2>astro@4.8.1</h2> 29 <h3>Patch Changes</h3> 30 <ul> 31 <li> 32 <p><a href="https://redirect.github.com/withastro/astro/pull/10987">#10987</a> <a href="https://github.com/withastro/astro/commit/05db5f78187efb53c5732b28e499c7977ceee496"><code>05db5f7</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fix a regression where the flag <code>experimental.rewriting</code> was marked mandatory. Is is now optional.</p> 33 </li> 34 <li> 35 <p><a href="https://redirect.github.com/withastro/astro/pull/10975">#10975</a> <a href="https://github.com/withastro/astro/commit/6b640b3bcb74d21903d303e268ff8ecef90097e7"><code>6b640b3</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Passes the scoped style attribute or class to the <code><picture></code> element in the <code><Picture /></code> component so scoped styling can be applied to the <code><picture></code> element</p> 36 </li> 37 </ul> 38 <h2>create-astro@4.8.0</h2> 39 <h3>Minor Changes</h3> 40 <ul> 41 <li> 42 <p><a href="https://redirect.github.com/withastro/astro/pull/10689">#10689</a> <a href="https://github.com/withastro/astro/commit/683d51a5eecafbbfbfed3910a3f1fbf0b3531b99"><code>683d51a5eecafbbfbfed3910a3f1fbf0b3531b99</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Deprecate support for versions of Node.js older than <code>v18.17.1</code> for Node.js 18, older than <code>v20.0.3</code> for Node.js 20, and the complete Node.js v19 release line.</p> 43 <p>This change is in line with Astro's <a href="https://docs.astro.build/en/upgrade-astro/#support">Node.js support policy</a>.</p> 44 </li> 45 </ul> 46 <h2>astro@4.8.0</h2> 47 <h3>Minor Changes</h3> 48 <ul> 49 <li> 50 <p><a href="https://redirect.github.com/withastro/astro/pull/10935">#10935</a> <a href="https://github.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610"><code>ddd8e49</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Exports <code>astro/jsx/rehype.js</code> with utilities to generate an Astro metadata object</p> 51 </li> 52 <li> 53 <p><a href="https://redirect.github.com/withastro/astro/pull/10625">#10625</a> <a href="https://github.com/withastro/astro/commit/698c2d9bb51e20b38de405b6076fd6488ddb5c2b"><code>698c2d9</code></a> Thanks <a href="https://github.com/goulvenclech"><code>@goulvenclech</code></a>! - Adds the ability for multiple pages to use the same component as an <code>entrypoint</code> when building an Astro integration. This change is purely internal, and aligns the build process with the behaviour in the development server.</p> 54 </li> 55 <li> 56 <p><a href="https://redirect.github.com/withastro/astro/pull/10906">#10906</a> <a href="https://github.com/withastro/astro/commit/7bbd66459dd29a338ac1dfae0e4c984cb08f73b3"><code>7bbd664</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Adds a new radio checkbox component to the dev toolbar UI library (<code>astro-dev-toolbar-radio-checkbox</code>)</p> 57 </li> 58 <li> 59 <p><a href="https://redirect.github.com/withastro/astro/pull/10963">#10963</a> <a href="https://github.com/withastro/astro/commit/61f47a684235a049cbfc4f2cbb5edff3befeced7"><code>61f47a6</code></a> Thanks <a href="https://github.com/delucis"><code>@delucis</code></a>! - Adds support for passing an inline Astro configuration object to <code>getViteConfig()</code></p> 60 <p>If you are using <code>getViteConfig()</code> to configure the Vitest test runner, you can now pass a second argument to control how Astro is configured. This makes it possible to configure unit tests with different Astro options when using <a href="https://vitest.dev/guide/workspace.html">Vitest’s workspaces</a> feature.</p> 61 <pre lang="js"><code>// vitest.config.ts 62 import { getViteConfig } from 'astro/config'; 63 <p>export default getViteConfig( 64 /* Vite configuration <em>/ 65 { test: {} }, 66 /</em> Astro configuration */ 67 { 68 site: '<a href="https://example.com">https://example.com</a>', 69 trailingSlash: 'never', 70 } 71 ); 72 </code></pre></p> 73 </li> 74 <li> 75 <p><a href="https://redirect.github.com/withastro/astro/pull/10867">#10867</a> <a href="https://github.com/withastro/astro/commit/47877a75404ccc8786bbea2171015fb088dc01a1"><code>47877a7</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Adds experimental rewriting in Astro with a new <code>rewrite()</code> function and the middleware <code>next()</code> function.</p> 76 </li> 77 </ul> 78 <!-- raw HTML omitted --> 79 </blockquote> 80 <p>... (truncated)</p> 81 </details> 82 <details> 83 <summary>Changelog</summary> 84 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> 85 <blockquote> 86 <h2>4.8.2</h2> 87 <h3>Patch Changes</h3> 88 <ul> 89 <li> 90 <p><a href="https://redirect.github.com/withastro/astro/pull/10990">#10990</a> <a href="https://github.com/withastro/astro/commit/4161a2a3d095eaf4d109b4ac49f11f6762bed017"><code>4161a2a</code></a> Thanks <a href="https://github.com/liruifengv"><code>@liruifengv</code></a>! - fix incorrect actions path on windows</p> 91 </li> 92 <li> 93 <p><a href="https://redirect.github.com/withastro/astro/pull/10979">#10979</a> <a href="https://github.com/withastro/astro/commit/6fa89e84c917f487be9f62875d85c61974e71590"><code>6fa89e8</code></a> Thanks <a href="https://github.com/BryceRussell"><code>@BryceRussell</code></a>! - Fix loading of non-index routes that end with <code>index.html</code></p> 94 </li> 95 </ul> 96 <h2>4.8.1</h2> 97 <h3>Patch Changes</h3> 98 <ul> 99 <li> 100 <p><a href="https://redirect.github.com/withastro/astro/pull/10987">#10987</a> <a href="https://github.com/withastro/astro/commit/05db5f78187efb53c5732b28e499c7977ceee496"><code>05db5f7</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fix a regression where the flag <code>experimental.rewriting</code> was marked mandatory. Is is now optional.</p> 101 </li> 102 <li> 103 <p><a href="https://redirect.github.com/withastro/astro/pull/10975">#10975</a> <a href="https://github.com/withastro/astro/commit/6b640b3bcb74d21903d303e268ff8ecef90097e7"><code>6b640b3</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Passes the scoped style attribute or class to the <code><picture></code> element in the <code><Picture /></code> component so scoped styling can be applied to the <code><picture></code> element</p> 104 </li> 105 </ul> 106 <h2>4.8.0</h2> 107 <h3>Minor Changes</h3> 108 <ul> 109 <li> 110 <p><a href="https://redirect.github.com/withastro/astro/pull/10935">#10935</a> <a href="https://github.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610"><code>ddd8e49</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Exports <code>astro/jsx/rehype.js</code> with utilities to generate an Astro metadata object</p> 111 </li> 112 <li> 113 <p><a href="https://redirect.github.com/withastro/astro/pull/10625">#10625</a> <a href="https://github.com/withastro/astro/commit/698c2d9bb51e20b38de405b6076fd6488ddb5c2b"><code>698c2d9</code></a> Thanks <a href="https://github.com/goulvenclech"><code>@goulvenclech</code></a>! - Adds the ability for multiple pages to use the same component as an <code>entrypoint</code> when building an Astro integration. This change is purely internal, and aligns the build process with the behaviour in the development server.</p> 114 </li> 115 <li> 116 <p><a href="https://redirect.github.com/withastro/astro/pull/10906">#10906</a> <a href="https://github.com/withastro/astro/commit/7bbd66459dd29a338ac1dfae0e4c984cb08f73b3"><code>7bbd664</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Adds a new radio checkbox component to the dev toolbar UI library (<code>astro-dev-toolbar-radio-checkbox</code>)</p> 117 </li> 118 <li> 119 <p><a href="https://redirect.github.com/withastro/astro/pull/10963">#10963</a> <a href="https://github.com/withastro/astro/commit/61f47a684235a049cbfc4f2cbb5edff3befeced7"><code>61f47a6</code></a> Thanks <a href="https://github.com/delucis"><code>@delucis</code></a>! - Adds support for passing an inline Astro configuration object to <code>getViteConfig()</code></p> 120 <p>If you are using <code>getViteConfig()</code> to configure the Vitest test runner, you can now pass a second argument to control how Astro is configured. This makes it possible to configure unit tests with different Astro options when using <a href="https://vitest.dev/guide/workspace.html">Vitest’s workspaces</a> feature.</p> 121 <pre lang="js"><code>// vitest.config.ts 122 import { getViteConfig } from 'astro/config'; 123 <p>export default getViteConfig( 124 /* Vite configuration <em>/ 125 { test: {} }, 126 /</em> Astro configuration */ 127 { 128 site: '<a href="https://example.com">https://example.com</a>', 129 trailingSlash: 'never', 130 } 131 ); 132 </code></pre></p> 133 </li> 134 <li> 135 <p><a href="https://redirect.github.com/withastro/astro/pull/10867">#10867</a> <a href="https://github.com/withastro/astro/commit/47877a75404ccc8786bbea2171015fb088dc01a1"><code>47877a7</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Adds experimental rewriting in Astro with a new <code>rewrite()</code> function and the middleware <code>next()</code> function.</p> 136 <p>The feature is available via an experimental flag in <code>astro.config.mjs</code>:</p> 137 <pre lang="js"><code></code></pre> 138 </li> 139 </ul> 140 <!-- raw HTML omitted --> 141 </blockquote> 142 <p>... (truncated)</p> 143 </details> 144 <details> 145 <summary>Commits</summary> 146 <ul> 147 <li><a href="https://github.com/withastro/astro/commit/0b8b6f98a25b6ebbdd9f7c9dabe7fa3fb7bfe6c6"><code>0b8b6f9</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10993">#10993</a>)</li> 148 <li><a href="https://github.com/withastro/astro/commit/d8fe43fa232a1a56c70a62a99fcb84a0583cf2ca"><code>d8fe43f</code></a> [ci] format</li> 149 <li><a href="https://github.com/withastro/astro/commit/4161a2a3d095eaf4d109b4ac49f11f6762bed017"><code>4161a2a</code></a> fix: fix incorrect actions path on windows (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10990">#10990</a>)</li> 150 <li><a href="https://github.com/withastro/astro/commit/6fa89e84c917f487be9f62875d85c61974e71590"><code>6fa89e8</code></a> Fix loading of non-index routes that end with <code>index.html</code> (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10979">#10979</a>)</li> 151 <li><a href="https://github.com/withastro/astro/commit/370b9f16124e890c23694220c4f668352489a4ed"><code>370b9f1</code></a> fix: exec command on Astro new version message (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10991">#10991</a>)</li> 152 <li><a href="https://github.com/withastro/astro/commit/e2cdd3c96b22016cbab57f61b4bc67ac87f2fc00"><code>e2cdd3c</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10985">#10985</a>)</li> 153 <li><a href="https://github.com/withastro/astro/commit/05db5f78187efb53c5732b28e499c7977ceee496"><code>05db5f7</code></a> fix: incorrect type for experimental option (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10987">#10987</a>)</li> 154 <li><a href="https://github.com/withastro/astro/commit/3e168589d636e2c5b2597b8aedeb67681d47d465"><code>3e16858</code></a> [ci] format</li> 155 <li><a href="https://github.com/withastro/astro/commit/6b640b3bcb74d21903d303e268ff8ecef90097e7"><code>6b640b3</code></a> Support scope styles for picture element in Picture component (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10975">#10975</a>)</li> 156 <li><a href="https://github.com/withastro/astro/commit/25caca015eb3555107d615616b10b9c024d44f7b"><code>25caca0</code></a> [ci] format</li> 157 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.8.2/packages/astro">compare view</a></li> 158 </ul> 159 </details> 160 <br /> 161 162 163 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 164 165 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`. 166 167 [//]: # (dependabot-automerge-start) 168 [//]: # (dependabot-automerge-end) 169 170 --- 171 172 <details> 173 <summary>Dependabot commands and options</summary> 174 <br /> 175 176 You can trigger Dependabot actions by commenting on this PR: 177 - `@dependabot rebase` will rebase this PR 178 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 179 - `@dependabot merge` will merge this PR after your CI passes on it 180 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 181 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 182 - `@dependabot reopen` will reopen this PR if it is closed 183 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 184 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 185 - `@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) 186 - `@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) 187 - `@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) 188 189 190 </details> 191 192 193 ## Comments 194 195 ### @dependabot[bot] — 2024-05-20T01:27:38Z 196 197 Superseded by #56. 198