56.md (20021B)
1 # PR #56 Bump astro from 4.0.6 to 4.8.6 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-05-20T01:27:36Z 6 - **Branch:** dependabot/npm_and_yarn/astro-4.8.6 → main 7 - **Closed:** 2024-05-27T01:27:27Z 8 - **Labels:** dependencies, javascript 9 - **Diff:** [56.diff](./56.diff) 10 11 --- 12 13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.8.6. 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.6</h2> 19 <h3>Patch Changes</h3> 20 <ul> 21 <li><a href="https://redirect.github.com/withastro/astro/pull/11084">#11084</a> <a href="https://github.com/withastro/astro/commit/9637014b1495a5a41cb384c7de4de410348f4cc0"><code>9637014</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes regression when handling hoisted scripts from content collections</li> 22 </ul> 23 <h2>astro@4.8.5</h2> 24 <h3>Patch Changes</h3> 25 <ul> 26 <li> 27 <p><a href="https://redirect.github.com/withastro/astro/pull/11065">#11065</a> <a href="https://github.com/withastro/astro/commit/1f988ed10f4737b5333c9978115ee531786eb539"><code>1f988ed</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug in the Astro rewrite logic, where rewriting the index with parameters - <code>next("/?foo=bar")</code> - didn't work as expected.</p> 28 </li> 29 <li> 30 <p><a href="https://redirect.github.com/withastro/astro/pull/10924">#10924</a> <a href="https://github.com/withastro/astro/commit/3a0c02ae0357c267881b30454b5320075378894b"><code>3a0c02a</code></a> Thanks <a href="https://github.com/Its-Just-Nans"><code>@Its-Just-Nans</code></a>! - Handle image-size errors by displaying a clearer message</p> 31 </li> 32 <li> 33 <p><a href="https://redirect.github.com/withastro/astro/pull/11058">#11058</a> <a href="https://github.com/withastro/astro/commit/749a7ac967146952450a4173dcb6a5494755460c"><code>749a7ac</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Fix streaming in Node.js fast path</p> 34 </li> 35 <li> 36 <p><a href="https://redirect.github.com/withastro/astro/pull/11052">#11052</a> <a href="https://github.com/withastro/astro/commit/a05ca38c2cf327ae9130ee1c139a0e510b9da50a"><code>a05ca38</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@florian-lefebvre</code></a>! - Fixes a case where rewriting would conflict with the actions internal middleware</p> 37 </li> 38 <li> 39 <p><a href="https://redirect.github.com/withastro/astro/pull/11062">#11062</a> <a href="https://github.com/withastro/astro/commit/16f12e426e5869721313bb771e2ec5b821c5452e"><code>16f12e4</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug where <code>astro build</code> didn't create custom <code>404.html</code> and <code>500.html</code> when a certain combination of i18n options was applied</p> 40 </li> 41 <li> 42 <p><a href="https://redirect.github.com/withastro/astro/pull/10965">#10965</a> <a href="https://github.com/withastro/astro/commit/a8f0372ea71479ef80c58e74201dea6a5a2b2ae4"><code>a8f0372</code></a> Thanks <a href="https://github.com/Elias-Chairi"><code>@Elias-Chairi</code></a>! - Update generator.ts to allow %23 (#) in dynamic urls</p> 43 </li> 44 <li> 45 <p><a href="https://redirect.github.com/withastro/astro/pull/11069">#11069</a> <a href="https://github.com/withastro/astro/commit/240a70a29f8e11d161da021845c208f982d64e5c"><code>240a70a</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Improves debug logging for on-demand pages</p> 46 </li> 47 </ul> 48 <h2>astro@4.8.4</h2> 49 <h3>Patch Changes</h3> 50 <ul> 51 <li> 52 <p><a href="https://redirect.github.com/withastro/astro/pull/11026">#11026</a> <a href="https://github.com/withastro/astro/commit/8dfb1a23cc5996c410f7e33211d132dac36c9f77"><code>8dfb1a2</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Skips rendering script tags if it's inlined and empty when <code>experimental.directRenderScript</code> is enabled</p> 53 </li> 54 <li> 55 <p><a href="https://redirect.github.com/withastro/astro/pull/11043">#11043</a> <a href="https://github.com/withastro/astro/commit/d0d1710439ec281518b17d03126b5d9cd008a102"><code>d0d1710</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Fixes minor type issues in actions component example</p> 56 </li> 57 <li> 58 <p><a href="https://redirect.github.com/withastro/astro/pull/10999">#10999</a> <a href="https://github.com/withastro/astro/commit/5f353e39b2b9fb15e6c9d193b5b5101457fef002"><code>5f353e3</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - The prefetch feature is updated to better support different browsers and different cache headers setup, including:</p> 59 <ol> 60 <li>All prefetch strategies will now always try to use <code><link rel="prefetch"></code> if supported, or will fall back to <code>fetch()</code>.</li> 61 <li>The <code>prefetch()</code> programmatic API's <code>with</code> option is deprecated in favour of an automatic approach that will also try to use <code><link rel="prefetch></code> if supported, or will fall back to <code>fetch()</code>.</li> 62 </ol> 63 <p>This change shouldn't affect most sites and should instead make prefetching more effective.</p> 64 </li> 65 <li> 66 <p><a href="https://redirect.github.com/withastro/astro/pull/11041">#11041</a> <a href="https://github.com/withastro/astro/commit/6cc3fb97ec01af5a7c2153f5b3c22e92675f1e56"><code>6cc3fb9</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Fixes 500 errors when sending empty params or returning an empty response from an action.</p> 67 </li> 68 <li> 69 <p><a href="https://redirect.github.com/withastro/astro/pull/11028">#11028</a> <a href="https://github.com/withastro/astro/commit/771d1f7654e18b657c3eacfabae52ed88c76fa99"><code>771d1f7</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Throw on missing server output when using Astro Actions.</p> 70 </li> 71 <li> 72 <p><a href="https://redirect.github.com/withastro/astro/pull/11029">#11029</a> <a href="https://github.com/withastro/astro/commit/bd34452a34e9d90c948b1e454d184085cd591871"><code>bd34452</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Actions: include validation error in thrown error message for debugging.</p> 73 </li> 74 <li> 75 <p><a href="https://redirect.github.com/withastro/astro/pull/11046">#11046</a> <a href="https://github.com/withastro/astro/commit/086694ac31a5f3412a3dcdbbd95f0187316699c5"><code>086694a</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@HiDeoo</code></a>! - Fixes <code>getViteConfig()</code> type definition to allow passing an inline Astro configuration as second argument</p> 76 </li> 77 <li> 78 <p><a href="https://redirect.github.com/withastro/astro/pull/11026">#11026</a> <a href="https://github.com/withastro/astro/commit/8dfb1a23cc5996c410f7e33211d132dac36c9f77"><code>8dfb1a2</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes CSS handling if imported in a script tag in an Astro file when <code>experimental.directRenderScript</code> is enabled</p> 79 </li> 80 <li> 81 <p><a href="https://redirect.github.com/withastro/astro/pull/11020">#11020</a> <a href="https://github.com/withastro/astro/commit/2e2d6b7442063c8eb32533d45eaf021c3fa0f615"><code>2e2d6b7</code></a> Thanks <a href="https://github.com/xsynaptic"><code>@xsynaptic</code></a>! - Add type declarations for <code>import.meta.env.ASSETS_PREFIX</code> when defined as an object for handling different file types.</p> 82 </li> 83 <li> 84 <p><a href="https://redirect.github.com/withastro/astro/pull/11030">#11030</a> <a href="https://github.com/withastro/astro/commit/18e7f33ccd145292224cbeffde9fc30d143d97fb"><code>18e7f33</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Actions: Fix missing message for custom Action errors.</p> 85 </li> 86 </ul> 87 <!-- raw HTML omitted --> 88 </blockquote> 89 <p>... (truncated)</p> 90 </details> 91 <details> 92 <summary>Changelog</summary> 93 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> 94 <blockquote> 95 <h2>4.8.6</h2> 96 <h3>Patch Changes</h3> 97 <ul> 98 <li><a href="https://redirect.github.com/withastro/astro/pull/11084">#11084</a> <a href="https://github.com/withastro/astro/commit/9637014b1495a5a41cb384c7de4de410348f4cc0"><code>9637014</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes regression when handling hoisted scripts from content collections</li> 99 </ul> 100 <h2>4.8.5</h2> 101 <h3>Patch Changes</h3> 102 <ul> 103 <li> 104 <p><a href="https://redirect.github.com/withastro/astro/pull/11065">#11065</a> <a href="https://github.com/withastro/astro/commit/1f988ed10f4737b5333c9978115ee531786eb539"><code>1f988ed</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug in the Astro rewrite logic, where rewriting the index with parameters - <code>next("/?foo=bar")</code> - didn't work as expected.</p> 105 </li> 106 <li> 107 <p><a href="https://redirect.github.com/withastro/astro/pull/10924">#10924</a> <a href="https://github.com/withastro/astro/commit/3a0c02ae0357c267881b30454b5320075378894b"><code>3a0c02a</code></a> Thanks <a href="https://github.com/Its-Just-Nans"><code>@Its-Just-Nans</code></a>! - Handle image-size errors by displaying a clearer message</p> 108 </li> 109 <li> 110 <p><a href="https://redirect.github.com/withastro/astro/pull/11058">#11058</a> <a href="https://github.com/withastro/astro/commit/749a7ac967146952450a4173dcb6a5494755460c"><code>749a7ac</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Fix streaming in Node.js fast path</p> 111 </li> 112 <li> 113 <p><a href="https://redirect.github.com/withastro/astro/pull/11052">#11052</a> <a href="https://github.com/withastro/astro/commit/a05ca38c2cf327ae9130ee1c139a0e510b9da50a"><code>a05ca38</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@florian-lefebvre</code></a>! - Fixes a case where rewriting would conflict with the actions internal middleware</p> 114 </li> 115 <li> 116 <p><a href="https://redirect.github.com/withastro/astro/pull/11062">#11062</a> <a href="https://github.com/withastro/astro/commit/16f12e426e5869721313bb771e2ec5b821c5452e"><code>16f12e4</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug where <code>astro build</code> didn't create custom <code>404.html</code> and <code>500.html</code> when a certain combination of i18n options was applied</p> 117 </li> 118 <li> 119 <p><a href="https://redirect.github.com/withastro/astro/pull/10965">#10965</a> <a href="https://github.com/withastro/astro/commit/a8f0372ea71479ef80c58e74201dea6a5a2b2ae4"><code>a8f0372</code></a> Thanks <a href="https://github.com/Elias-Chairi"><code>@Elias-Chairi</code></a>! - Update generator.ts to allow %23 (#) in dynamic urls</p> 120 </li> 121 <li> 122 <p><a href="https://redirect.github.com/withastro/astro/pull/11069">#11069</a> <a href="https://github.com/withastro/astro/commit/240a70a29f8e11d161da021845c208f982d64e5c"><code>240a70a</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Improves debug logging for on-demand pages</p> 123 </li> 124 </ul> 125 <h2>4.8.4</h2> 126 <h3>Patch Changes</h3> 127 <ul> 128 <li> 129 <p><a href="https://redirect.github.com/withastro/astro/pull/11026">#11026</a> <a href="https://github.com/withastro/astro/commit/8dfb1a23cc5996c410f7e33211d132dac36c9f77"><code>8dfb1a2</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Skips rendering script tags if it's inlined and empty when <code>experimental.directRenderScript</code> is enabled</p> 130 </li> 131 <li> 132 <p><a href="https://redirect.github.com/withastro/astro/pull/11043">#11043</a> <a href="https://github.com/withastro/astro/commit/d0d1710439ec281518b17d03126b5d9cd008a102"><code>d0d1710</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Fixes minor type issues in actions component example</p> 133 </li> 134 <li> 135 <p><a href="https://redirect.github.com/withastro/astro/pull/10999">#10999</a> <a href="https://github.com/withastro/astro/commit/5f353e39b2b9fb15e6c9d193b5b5101457fef002"><code>5f353e3</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - The prefetch feature is updated to better support different browsers and different cache headers setup, including:</p> 136 <ol> 137 <li>All prefetch strategies will now always try to use <code><link rel="prefetch"></code> if supported, or will fall back to <code>fetch()</code>.</li> 138 <li>The <code>prefetch()</code> programmatic API's <code>with</code> option is deprecated in favour of an automatic approach that will also try to use <code><link rel="prefetch></code> if supported, or will fall back to <code>fetch()</code>.</li> 139 </ol> 140 <p>This change shouldn't affect most sites and should instead make prefetching more effective.</p> 141 </li> 142 <li> 143 <p><a href="https://redirect.github.com/withastro/astro/pull/11041">#11041</a> <a href="https://github.com/withastro/astro/commit/6cc3fb97ec01af5a7c2153f5b3c22e92675f1e56"><code>6cc3fb9</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Fixes 500 errors when sending empty params or returning an empty response from an action.</p> 144 </li> 145 <li> 146 <p><a href="https://redirect.github.com/withastro/astro/pull/11028">#11028</a> <a href="https://github.com/withastro/astro/commit/771d1f7654e18b657c3eacfabae52ed88c76fa99"><code>771d1f7</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Throw on missing server output when using Astro Actions.</p> 147 </li> 148 <li> 149 <p><a href="https://redirect.github.com/withastro/astro/pull/11029">#11029</a> <a href="https://github.com/withastro/astro/commit/bd34452a34e9d90c948b1e454d184085cd591871"><code>bd34452</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@bholmesdev</code></a>! - Actions: include validation error in thrown error message for debugging.</p> 150 </li> 151 <li> 152 <p><a href="https://redirect.github.com/withastro/astro/pull/11046">#11046</a> <a href="https://github.com/withastro/astro/commit/086694ac31a5f3412a3dcdbbd95f0187316699c5"><code>086694a</code></a> Thanks <a href="https://github.com/HiDeoo"><code>@HiDeoo</code></a>! - Fixes <code>getViteConfig()</code> type definition to allow passing an inline Astro configuration as second argument</p> 153 </li> 154 <li> 155 <p><a href="https://redirect.github.com/withastro/astro/pull/11026">#11026</a> <a href="https://github.com/withastro/astro/commit/8dfb1a23cc5996c410f7e33211d132dac36c9f77"><code>8dfb1a2</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes CSS handling if imported in a script tag in an Astro file when <code>experimental.directRenderScript</code> is enabled</p> 156 </li> 157 <li> 158 <p><a href="https://redirect.github.com/withastro/astro/pull/11020">#11020</a> <a href="https://github.com/withastro/astro/commit/2e2d6b7442063c8eb32533d45eaf021c3fa0f615"><code>2e2d6b7</code></a> Thanks <a href="https://github.com/xsynaptic"><code>@xsynaptic</code></a>! - Add type declarations for <code>import.meta.env.ASSETS_PREFIX</code> when defined as an object for handling different file types.</p> 159 </li> 160 </ul> 161 <!-- raw HTML omitted --> 162 </blockquote> 163 <p>... (truncated)</p> 164 </details> 165 <details> 166 <summary>Commits</summary> 167 <ul> 168 <li><a href="https://github.com/withastro/astro/commit/8a80221e4c4b93b7d60f43b01753644247c7ad76"><code>8a80221</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11085">#11085</a>)</li> 169 <li><a href="https://github.com/withastro/astro/commit/9637014b1495a5a41cb384c7de4de410348f4cc0"><code>9637014</code></a> Fix hoisted scripts propagation (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11084">#11084</a>)</li> 170 <li><a href="https://github.com/withastro/astro/commit/4d32a8077b0d8b34581df3a81329a41a9f618420"><code>4d32a80</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11053">#11053</a>)</li> 171 <li><a href="https://github.com/withastro/astro/commit/fac592350e8b6128ca450ea14f7d4381e24d5404"><code>fac5923</code></a> [ci] format</li> 172 <li><a href="https://github.com/withastro/astro/commit/749a7ac967146952450a4173dcb6a5494755460c"><code>749a7ac</code></a> Fix streaming in Node.js fast path (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11058">#11058</a>)</li> 173 <li><a href="https://github.com/withastro/astro/commit/3830e5d416d00a8abefbc622df5d79e919f502b8"><code>3830e5d</code></a> [ci] format</li> 174 <li><a href="https://github.com/withastro/astro/commit/240a70a29f8e11d161da021845c208f982d64e5c"><code>240a70a</code></a> fix: improve logging for on-demand pages (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11069">#11069</a>)</li> 175 <li><a href="https://github.com/withastro/astro/commit/1f988ed10f4737b5333c9978115ee531786eb539"><code>1f988ed</code></a> fix(rewrite): match index with params (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11065">#11065</a>)</li> 176 <li><a href="https://github.com/withastro/astro/commit/87f36d4074c895fb56dfc609f575d40c4c902b32"><code>87f36d4</code></a> [ci] format</li> 177 <li><a href="https://github.com/withastro/astro/commit/16f12e426e5869721313bb771e2ec5b821c5452e"><code>16f12e4</code></a> fix(i18n): allow to create 404.html and 500.html (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11062">#11062</a>)</li> 178 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.8.6/packages/astro">compare view</a></li> 179 </ul> 180 </details> 181 <br /> 182 183 184 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 185 186 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`. 187 188 [//]: # (dependabot-automerge-start) 189 [//]: # (dependabot-automerge-end) 190 191 --- 192 193 <details> 194 <summary>Dependabot commands and options</summary> 195 <br /> 196 197 You can trigger Dependabot actions by commenting on this PR: 198 - `@dependabot rebase` will rebase this PR 199 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 200 - `@dependabot merge` will merge this PR after your CI passes on it 201 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 202 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 203 - `@dependabot reopen` will reopen this PR if it is closed 204 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 205 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 206 - `@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) 207 - `@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) 208 - `@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) 209 210 211 </details> 212 213 214 ## Comments 215 216 ### @dependabot[bot] — 2024-05-27T01:27:26Z 217 218 Superseded by #57. 219