40.md (19679B)
1 # PR #40 Bump astro from 4.0.6 to 4.4.15 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-03-11T01:27:22Z 6 - **Branch:** dependabot/npm_and_yarn/astro-4.4.15 → main 7 - **Closed:** 2024-04-01T02:07:22Z 8 - **Labels:** dependencies, javascript 9 - **Diff:** [40.diff](./40.diff) 10 11 --- 12 13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.4.15. 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.4.15</h2> 19 <h3>Patch Changes</h3> 20 <ul> 21 <li><a href="https://redirect.github.com/withastro/astro/pull/10317">#10317</a> <a href="https://github.com/withastro/astro/commit/33583e8b31ee8a33e26cf57f30bb422921f4745d"><code>33583e8b31ee8a33e26cf57f30bb422921f4745d</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where elements slotted within interactive framework components disappeared after hydration.</li> 22 </ul> 23 <h2>astro@4.4.14</h2> 24 <h3>Patch Changes</h3> 25 <ul> 26 <li> 27 <p><a href="https://redirect.github.com/withastro/astro/pull/10355">#10355</a> <a href="https://github.com/withastro/astro/commit/8ce9fffd44b0740621178d61fb1425bf4155c2d7"><code>8ce9fffd44b0740621178d61fb1425bf4155c2d7</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a regression where full dynamic routes were prioritized over partial dynamic routes. Now a route like <code>food-[name].astro</code> is matched <strong>before</strong> <code>[name].astro</code>.</p> 28 </li> 29 <li> 30 <p><a href="https://redirect.github.com/withastro/astro/pull/10356">#10356</a> <a href="https://github.com/withastro/astro/commit/d121311a3f4b5345e344e31f75d4e7164d65f729"><code>d121311a3f4b5345e344e31f75d4e7164d65f729</code></a> Thanks <a href="https://github.com/mingjunlu"><code>@mingjunlu</code></a>! - Fixes an issue where <code>getCollection</code> might return <code>undefined</code> when content collection is empty</p> 31 </li> 32 <li> 33 <p><a href="https://redirect.github.com/withastro/astro/pull/10325">#10325</a> <a href="https://github.com/withastro/astro/commit/f33cce8f6c3a2e17847658cdedb015bd93cc1ee3"><code>f33cce8f6c3a2e17847658cdedb015bd93cc1ee3</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where <code>ctx.site</code> included the configured <code>base</code> in API routes and middleware, unlike <code>Astro.site</code> in astro pages.</p> 34 </li> 35 <li> 36 <p><a href="https://redirect.github.com/withastro/astro/pull/10343">#10343</a> <a href="https://github.com/withastro/astro/commit/f973aa9110592fa9017bbe84387f22c24a6d7159"><code>f973aa9110592fa9017bbe84387f22c24a6d7159</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes some false positive in the dev toolbar a11y audits, by adding the <code>a</code> element to the list of interactive elements.</p> 37 </li> 38 <li> 39 <p><a href="https://redirect.github.com/withastro/astro/pull/10295">#10295</a> <a href="https://github.com/withastro/astro/commit/fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9"><code>fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9</code></a> Thanks <a href="https://github.com/rossrobino"><code>@rossrobino</code></a>! - Adds a prefetch fallback when using the <code>experimental.clientPrerender</code> option. If prerendering fails, which can happen if <a href="https://developer.chrome.com/blog/speculation-rules-improvements#chrome-limits">Chrome extensions block prerendering</a>, it will fallback to prefetching the URL. This works by adding a <code>prefetch</code> field to the <code>speculationrules</code> script, but does not create an extra request.</p> 40 </li> 41 </ul> 42 <h2>astro@4.4.13</h2> 43 <h3>Patch Changes</h3> 44 <ul> 45 <li><a href="https://redirect.github.com/withastro/astro/pull/10342">#10342</a> <a href="https://github.com/withastro/astro/commit/a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec"><code>a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Fixes <code>@astrojs/db</code> loading TS in the fixtures</li> 46 </ul> 47 <h2>astro@4.4.12</h2> 48 <h3>Patch Changes</h3> 49 <ul> 50 <li><a href="https://redirect.github.com/withastro/astro/pull/10336">#10336</a> <a href="https://github.com/withastro/astro/commit/f2e60a96754ed1d86001fe4d5d3a0c0ef657408d"><code>f2e60a96754ed1d86001fe4d5d3a0c0ef657408d</code></a> Thanks <a href="https://github.com/FredKSchott"><code>@FredKSchott</code></a>! - Fixes an issue where slotting interactive components within a "client:only" component prevented all component code in the page from running.</li> 51 </ul> 52 <h2>astro@4.4.11</h2> 53 <h3>Patch Changes</h3> 54 <ul> 55 <li> 56 <p><a href="https://redirect.github.com/withastro/astro/pull/10281">#10281</a> <a href="https://github.com/withastro/astro/commit/9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05"><code>9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where <code>404.astro</code> was ignored with <code>i18n</code> routing enabled.</p> 57 </li> 58 <li> 59 <p><a href="https://redirect.github.com/withastro/astro/pull/10279">#10279</a> <a href="https://github.com/withastro/astro/commit/9ba3e2605daee3861e3bf6c5768f1d8bced4709d"><code>9ba3e2605daee3861e3bf6c5768f1d8bced4709d</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where returning redirect responses resulted in missing files with certain adapters.</p> 60 </li> 61 <li> 62 <p><a href="https://redirect.github.com/withastro/astro/pull/10319">#10319</a> <a href="https://github.com/withastro/astro/commit/19ecccedaab6d8fa0ff23711c88fa7d4fa34df38"><code>19ecccedaab6d8fa0ff23711c88fa7d4fa34df38</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where streaming SSR responses sometimes failed with "<code>iterator.result</code> is not a function" on node-based adapters.</p> 63 </li> 64 <li> 65 <p><a href="https://redirect.github.com/withastro/astro/pull/10302">#10302</a> <a href="https://github.com/withastro/astro/commit/992537e79f1847b590a2e226aac88a47a6304f68"><code>992537e79f1847b590a2e226aac88a47a6304f68</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@florian-lefebvre</code></a>! - Fixes an issue that causes static entrypoints build to fail because of the path in certain conditions. Specifically, it failed if the path had an extension (like <code>.astro</code>, <code>.mdx</code> etc) and such extension would be also within the path (like <code>./.astro/index.astro</code>).</p> 66 </li> 67 <li> 68 <p><a href="https://redirect.github.com/withastro/astro/pull/10298">#10298</a> <a href="https://github.com/withastro/astro/commit/819d20a89c0d269333c2d397c1080884f516307a"><code>819d20a89c0d269333c2d397c1080884f516307a</code></a> Thanks <a href="https://github.com/Fryuni"><code>@Fryuni</code></a>! - Fix an incorrect conflict resolution between pages generated from static routes and rest parameters</p> 69 </li> 70 </ul> 71 <h2>astro@4.4.10</h2> 72 <h3>Patch Changes</h3> 73 <ul> 74 <li><a href="https://redirect.github.com/withastro/astro/pull/10235">#10235</a> <a href="https://github.com/withastro/astro/commit/4bc360cd5f25496aca3232f6efb3710424a14a34"><code>4bc360cd5f25496aca3232f6efb3710424a14a34</code></a> Thanks <a href="https://github.com/sanman1k98"><code>@sanman1k98</code></a>! - Fixes jerky scrolling on IOS when using view transitions.</li> 75 </ul> 76 <h2>astro@4.4.9</h2> 77 <h3>Patch Changes</h3> 78 <ul> 79 <li><a href="https://redirect.github.com/withastro/astro/pull/10278">#10278</a> <a href="https://github.com/withastro/astro/commit/a548a3a99c2835c19662fc38636f92b2bda26614"><code>a548a3a99c2835c19662fc38636f92b2bda26614</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Fixes original images sometimes being kept / deleted when they shouldn't in both MDX and Markdoc</li> 80 </ul> 81 <!-- raw HTML omitted --> 82 </blockquote> 83 <p>... (truncated)</p> 84 </details> 85 <details> 86 <summary>Changelog</summary> 87 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> 88 <blockquote> 89 <h2>4.4.15</h2> 90 <h3>Patch Changes</h3> 91 <ul> 92 <li><a href="https://redirect.github.com/withastro/astro/pull/10317">#10317</a> <a href="https://github.com/withastro/astro/commit/33583e8b31ee8a33e26cf57f30bb422921f4745d"><code>33583e8b31ee8a33e26cf57f30bb422921f4745d</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where elements slotted within interactive framework components disappeared after hydration.</li> 93 </ul> 94 <h2>4.4.14</h2> 95 <h3>Patch Changes</h3> 96 <ul> 97 <li> 98 <p><a href="https://redirect.github.com/withastro/astro/pull/10355">#10355</a> <a href="https://github.com/withastro/astro/commit/8ce9fffd44b0740621178d61fb1425bf4155c2d7"><code>8ce9fffd44b0740621178d61fb1425bf4155c2d7</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a regression where full dynamic routes were prioritized over partial dynamic routes. Now a route like <code>food-[name].astro</code> is matched <strong>before</strong> <code>[name].astro</code>.</p> 99 </li> 100 <li> 101 <p><a href="https://redirect.github.com/withastro/astro/pull/10356">#10356</a> <a href="https://github.com/withastro/astro/commit/d121311a3f4b5345e344e31f75d4e7164d65f729"><code>d121311a3f4b5345e344e31f75d4e7164d65f729</code></a> Thanks <a href="https://github.com/mingjunlu"><code>@mingjunlu</code></a>! - Fixes an issue where <code>getCollection</code> might return <code>undefined</code> when content collection is empty</p> 102 </li> 103 <li> 104 <p><a href="https://redirect.github.com/withastro/astro/pull/10325">#10325</a> <a href="https://github.com/withastro/astro/commit/f33cce8f6c3a2e17847658cdedb015bd93cc1ee3"><code>f33cce8f6c3a2e17847658cdedb015bd93cc1ee3</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where <code>ctx.site</code> included the configured <code>base</code> in API routes and middleware, unlike <code>Astro.site</code> in astro pages.</p> 105 </li> 106 <li> 107 <p><a href="https://redirect.github.com/withastro/astro/pull/10343">#10343</a> <a href="https://github.com/withastro/astro/commit/f973aa9110592fa9017bbe84387f22c24a6d7159"><code>f973aa9110592fa9017bbe84387f22c24a6d7159</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes some false positive in the dev toolbar a11y audits, by adding the <code>a</code> element to the list of interactive elements.</p> 108 </li> 109 <li> 110 <p><a href="https://redirect.github.com/withastro/astro/pull/10295">#10295</a> <a href="https://github.com/withastro/astro/commit/fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9"><code>fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9</code></a> Thanks <a href="https://github.com/rossrobino"><code>@rossrobino</code></a>! - Adds a prefetch fallback when using the <code>experimental.clientPrerender</code> option. If prerendering fails, which can happen if <a href="https://developer.chrome.com/blog/speculation-rules-improvements#chrome-limits">Chrome extensions block prerendering</a>, it will fallback to prefetching the URL. This works by adding a <code>prefetch</code> field to the <code>speculationrules</code> script, but does not create an extra request.</p> 111 </li> 112 </ul> 113 <h2>4.4.13</h2> 114 <h3>Patch Changes</h3> 115 <ul> 116 <li><a href="https://redirect.github.com/withastro/astro/pull/10342">#10342</a> <a href="https://github.com/withastro/astro/commit/a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec"><code>a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Fixes <code>@astrojs/db</code> loading TS in the fixtures</li> 117 </ul> 118 <h2>4.4.12</h2> 119 <h3>Patch Changes</h3> 120 <ul> 121 <li><a href="https://redirect.github.com/withastro/astro/pull/10336">#10336</a> <a href="https://github.com/withastro/astro/commit/f2e60a96754ed1d86001fe4d5d3a0c0ef657408d"><code>f2e60a96754ed1d86001fe4d5d3a0c0ef657408d</code></a> Thanks <a href="https://github.com/FredKSchott"><code>@FredKSchott</code></a>! - Fixes an issue where slotting interactive components within a "client:only" component prevented all component code in the page from running.</li> 122 </ul> 123 <h2>4.4.11</h2> 124 <h3>Patch Changes</h3> 125 <ul> 126 <li> 127 <p><a href="https://redirect.github.com/withastro/astro/pull/10281">#10281</a> <a href="https://github.com/withastro/astro/commit/9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05"><code>9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where <code>404.astro</code> was ignored with <code>i18n</code> routing enabled.</p> 128 </li> 129 <li> 130 <p><a href="https://redirect.github.com/withastro/astro/pull/10279">#10279</a> <a href="https://github.com/withastro/astro/commit/9ba3e2605daee3861e3bf6c5768f1d8bced4709d"><code>9ba3e2605daee3861e3bf6c5768f1d8bced4709d</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where returning redirect responses resulted in missing files with certain adapters.</p> 131 </li> 132 <li> 133 <p><a href="https://redirect.github.com/withastro/astro/pull/10319">#10319</a> <a href="https://github.com/withastro/astro/commit/19ecccedaab6d8fa0ff23711c88fa7d4fa34df38"><code>19ecccedaab6d8fa0ff23711c88fa7d4fa34df38</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where streaming SSR responses sometimes failed with "<code>iterator.result</code> is not a function" on node-based adapters.</p> 134 </li> 135 <li> 136 <p><a href="https://redirect.github.com/withastro/astro/pull/10302">#10302</a> <a href="https://github.com/withastro/astro/commit/992537e79f1847b590a2e226aac88a47a6304f68"><code>992537e79f1847b590a2e226aac88a47a6304f68</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@florian-lefebvre</code></a>! - Fixes an issue that causes static entrypoints build to fail because of the path in certain conditions. Specifically, it failed if the path had an extension (like <code>.astro</code>, <code>.mdx</code> etc) and such extension would be also within the path (like <code>./.astro/index.astro</code>).</p> 137 </li> 138 <li> 139 <p><a href="https://redirect.github.com/withastro/astro/pull/10298">#10298</a> <a href="https://github.com/withastro/astro/commit/819d20a89c0d269333c2d397c1080884f516307a"><code>819d20a89c0d269333c2d397c1080884f516307a</code></a> Thanks <a href="https://github.com/Fryuni"><code>@Fryuni</code></a>! - Fix an incorrect conflict resolution between pages generated from static routes and rest parameters</p> 140 </li> 141 </ul> 142 <h2>4.4.10</h2> 143 <h3>Patch Changes</h3> 144 <!-- raw HTML omitted --> 145 </blockquote> 146 <p>... (truncated)</p> 147 </details> 148 <details> 149 <summary>Commits</summary> 150 <ul> 151 <li><a href="https://github.com/withastro/astro/commit/82d81a14851e507ded5cb1169b02f3891cc0aeb2"><code>82d81a1</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10362">#10362</a>)</li> 152 <li><a href="https://github.com/withastro/astro/commit/3f27e096283b6b477c4a66d0a7df52feaa3f4233"><code>3f27e09</code></a> Rename <code>defineDB</code> to <code>defineDb</code> (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10364">#10364</a>)</li> 153 <li><a href="https://github.com/withastro/astro/commit/b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267"><code>b6ccaa6</code></a> Revert "[ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10359">#10359</a>)" (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10363">#10363</a>)</li> 154 <li><a href="https://github.com/withastro/astro/commit/76c21b19d2dfe8fba570593124cc2989c6179ba4"><code>76c21b1</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10359">#10359</a>)</li> 155 <li><a href="https://github.com/withastro/astro/commit/6964b6f9a6a9b65b3f1c576093cba18562a2d2c3"><code>6964b6f</code></a> [ci] format</li> 156 <li><a href="https://github.com/withastro/astro/commit/7001ae48dbd8f342e62b71f1ba1ede23bfd93c35"><code>7001ae4</code></a> db: scaffold db files when using <code>astro add db</code> (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10349">#10349</a>)</li> 157 <li><a href="https://github.com/withastro/astro/commit/e7eb83252e4c6a1fc68597061b139de69cc1098f"><code>e7eb832</code></a> [ci] format</li> 158 <li><a href="https://github.com/withastro/astro/commit/33583e8b31ee8a33e26cf57f30bb422921f4745d"><code>33583e8</code></a> fix(rendering): prevent removal of necessary <code>\<astro-slot></code> elements (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10317">#10317</a>)</li> 159 <li><a href="https://github.com/withastro/astro/commit/3de48e8f62c7ddd2bdfcde9d485908ddaa55c8cf"><code>3de48e8</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10354">#10354</a>)</li> 160 <li><a href="https://github.com/withastro/astro/commit/8ce9fffd44b0740621178d61fb1425bf4155c2d7"><code>8ce9fff</code></a> fix(routing): regression on partial dynamic routes (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10355">#10355</a>)</li> 161 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.4.15/packages/astro">compare view</a></li> 162 </ul> 163 </details> 164 <br /> 165 166 167 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 168 169 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`. 170 171 [//]: # (dependabot-automerge-start) 172 [//]: # (dependabot-automerge-end) 173 174 --- 175 176 <details> 177 <summary>Dependabot commands and options</summary> 178 <br /> 179 180 You can trigger Dependabot actions by commenting on this PR: 181 - `@dependabot rebase` will rebase this PR 182 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 183 - `@dependabot merge` will merge this PR after your CI passes on it 184 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 185 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 186 - `@dependabot reopen` will reopen this PR if it is closed 187 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 188 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 189 - `@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) 190 - `@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) 191 - `@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) 192 193 194 </details> 195 196 197 ## Comments 198 199 ### @dependabot[bot] — 2024-04-01T02:07:22Z 200 201 Superseded by #45. 202