8.md (18795B)
1 # PR #8 Bump astro from 4.0.3 to 4.0.6 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-12-17T14:36:44Z 6 - **Branch:** dependabot/npm_and_yarn/astro-4.0.6 → main 7 - **Closed:** 2023-12-17T17:27:31Z 8 - **Labels:** dependencies, javascript 9 - **Diff:** [8.diff](./8.diff) 10 11 --- 12 13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.3 to 4.0.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.0.6</h2> 19 <h3>Patch Changes</h3> 20 <ul> 21 <li> 22 <p><a href="https://redirect.github.com/withastro/astro/pull/9419">#9419</a> <a href="https://github.com/withastro/astro/commit/151bd429b11a73d236ca8f43e8f5072e7c29641e"><code>151bd429b</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Prevent Partytown from hijacking history APIs</p> 23 </li> 24 <li> 25 <p><a href="https://redirect.github.com/withastro/astro/pull/9426">#9426</a> <a href="https://github.com/withastro/astro/commit/c01cc4e3409ae3cf81db7384bf8e53424f21bb5c"><code>c01cc4e34</code></a> Thanks <a href="https://github.com/alexnguyennz"><code>@alexnguyennz</code></a>! - Fixes warning for external URL redirects</p> 26 </li> 27 <li> 28 <p><a href="https://redirect.github.com/withastro/astro/pull/9445">#9445</a> <a href="https://github.com/withastro/astro/commit/f963d07f22f972938e1c9e8c95f9278efdff586b"><code>f963d07f2</code></a> Thanks <a href="https://github.com/natemoo-re"><code>@natemoo-re</code></a>! - Upgrades Astro's compiler to a crash when sourcemaps try to map multibyte characters</p> 29 </li> 30 <li> 31 <p><a href="https://redirect.github.com/withastro/astro/pull/9126">#9126</a> <a href="https://github.com/withastro/astro/commit/6d2d0e279dd51e04099c86c4d900e2dd1d5fa837"><code>6d2d0e279</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where error pages were not shown when trailingSlash was set to "always".</p> 32 </li> 33 <li> 34 <p><a href="https://redirect.github.com/withastro/astro/pull/9434">#9434</a> <a href="https://github.com/withastro/astro/commit/c01580a2cd847ac82192d6717e9e823fba6ecb49"><code>c01580a2c</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Improves the error message when a middleware doesn't return a <code>Response</code></p> 35 </li> 36 <li> 37 <p><a href="https://redirect.github.com/withastro/astro/pull/9433">#9433</a> <a href="https://github.com/withastro/astro/commit/fcc2fd5b0f218ecfc7bbe3f48063221e5dd62757"><code>fcc2fd5b0</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Correctly merge headers from the original response when an error page is rendered</p> 38 </li> 39 </ul> 40 <h2>astro@4.0.5</h2> 41 <h3>Patch Changes</h3> 42 <ul> 43 <li> 44 <p><a href="https://redirect.github.com/withastro/astro/pull/9423">#9423</a> <a href="https://github.com/withastro/astro/commit/bda1d294f2d50f31abfc9a32b5272fc9ac080e83"><code>bda1d294f</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Error when getImage is passed an undefined src</p> 45 </li> 46 <li> 47 <p><a href="https://redirect.github.com/withastro/astro/pull/9424">#9424</a> <a href="https://github.com/withastro/astro/commit/e1a5a2d36ac3637f5c94a27b69128a121541bae8"><code>e1a5a2d36</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Prevents dev server from crashing on unhandled rejections, and adds a helpful error message</p> 48 </li> 49 <li> 50 <p><a href="https://redirect.github.com/withastro/astro/pull/9404">#9404</a> <a href="https://github.com/withastro/astro/commit/8aa17a64b46b8eaabfd1375fd6550ff93727aa81"><code>8aa17a64b</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Fixed some newer HTML attributes not being included in our type definitions</p> 51 </li> 52 <li> 53 <p><a href="https://redirect.github.com/withastro/astro/pull/9414">#9414</a> <a href="https://github.com/withastro/astro/commit/bebf38c0cb539de04007f5e721bf459300b895a1"><code>bebf38c0c</code></a> Thanks <a href="https://github.com/Skn0tt"><code>@Skn0tt</code></a>! - Adds the feature name to logs about feature deprecation / experimental status.</p> 54 </li> 55 <li> 56 <p><a href="https://redirect.github.com/withastro/astro/pull/9418">#9418</a> <a href="https://github.com/withastro/astro/commit/2c168af6745f5357e76ec323787595ef06d5fd73"><code>2c168af67</code></a> Thanks <a href="https://github.com/alexnguyennz"><code>@alexnguyennz</code></a>! - Fix broken link in CI instructions</p> 57 </li> 58 <li> 59 <p><a href="https://redirect.github.com/withastro/astro/pull/9407">#9407</a> <a href="https://github.com/withastro/astro/commit/546d92c862d08c69751039511a12c92ae38184c2"><code>546d92c86</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Allows file URLs as import specifiers</p> 60 </li> 61 </ul> 62 <h2><code>@astrojs/svelte</code><a href="https://github.com/4"><code>@4</code></a>.0.4</h2> 63 <h3>Patch Changes</h3> 64 <ul> 65 <li><a href="https://redirect.github.com/withastro/astro/pull/9098">#9098</a> <a href="https://github.com/withastro/astro/commit/a600c14837fd18c4c4c3330c0195cd47b0b73df9"><code>a600c1483</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Adds experimental support for Svelte 5</li> 66 </ul> 67 <h2>astro@4.0.4</h2> 68 <h3>Patch Changes</h3> 69 <ul> 70 <li> 71 <p><a href="https://redirect.github.com/withastro/astro/pull/9380">#9380</a> <a href="https://github.com/withastro/astro/commit/ea0918259964947523827bac6abe88ad3841dbb9"><code>ea0918259</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Correctly handle the rendering of i18n routes when <code>output: "hybrid"</code> is set</p> 72 </li> 73 <li> 74 <p><a href="https://redirect.github.com/withastro/astro/pull/9374">#9374</a> <a href="https://github.com/withastro/astro/commit/65ddb027111514d41481f7455c0f0f03f8f608a8"><code>65ddb0271</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes an issue where prerendered route paths that end with <code>.mjs</code> were removed from the final build</p> 75 </li> 76 <li> 77 <p><a href="https://redirect.github.com/withastro/astro/pull/9375">#9375</a> <a href="https://github.com/withastro/astro/commit/26f7023d6928de75c363df0fa759a6255cb73ef3"><code>26f7023d6</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Prettifies generated route names injected by integrations</p> 78 </li> 79 <li> 80 <p><a href="https://redirect.github.com/withastro/astro/pull/9387">#9387</a> <a href="https://github.com/withastro/astro/commit/a7c75b3339e6b1562d0d16ab6ef482840c51df68"><code>a7c75b333</code></a> Thanks <a href="https://github.com/natemoo-re"><code>@natemoo-re</code></a>! - Fixes an edge case with <code>astro add</code> that could install a prerelease instead of a stable release version.</p> 81 <p><strong>Prior to this change</strong> 82 <code>astro add svelte</code> installs <code>svelte@5.0.0-next.22</code></p> 83 <p><strong>After this change</strong></p> 84 </li> 85 </ul> 86 <!-- raw HTML omitted --> 87 </blockquote> 88 <p>... (truncated)</p> 89 </details> 90 <details> 91 <summary>Changelog</summary> 92 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> 93 <blockquote> 94 <h2>4.0.6</h2> 95 <h3>Patch Changes</h3> 96 <ul> 97 <li> 98 <p><a href="https://redirect.github.com/withastro/astro/pull/9419">#9419</a> <a href="https://github.com/withastro/astro/commit/151bd429b11a73d236ca8f43e8f5072e7c29641e"><code>151bd429b</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Prevent Partytown from hijacking history APIs</p> 99 </li> 100 <li> 101 <p><a href="https://redirect.github.com/withastro/astro/pull/9426">#9426</a> <a href="https://github.com/withastro/astro/commit/c01cc4e3409ae3cf81db7384bf8e53424f21bb5c"><code>c01cc4e34</code></a> Thanks <a href="https://github.com/alexnguyennz"><code>@alexnguyennz</code></a>! - Fixes warning for external URL redirects</p> 102 </li> 103 <li> 104 <p><a href="https://redirect.github.com/withastro/astro/pull/9445">#9445</a> <a href="https://github.com/withastro/astro/commit/f963d07f22f972938e1c9e8c95f9278efdff586b"><code>f963d07f2</code></a> Thanks <a href="https://github.com/natemoo-re"><code>@natemoo-re</code></a>! - Upgrades Astro's compiler to a crash when sourcemaps try to map multibyte characters</p> 105 </li> 106 <li> 107 <p><a href="https://redirect.github.com/withastro/astro/pull/9126">#9126</a> <a href="https://github.com/withastro/astro/commit/6d2d0e279dd51e04099c86c4d900e2dd1d5fa837"><code>6d2d0e279</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Fixes an issue where error pages were not shown when trailingSlash was set to "always".</p> 108 </li> 109 <li> 110 <p><a href="https://redirect.github.com/withastro/astro/pull/9434">#9434</a> <a href="https://github.com/withastro/astro/commit/c01580a2cd847ac82192d6717e9e823fba6ecb49"><code>c01580a2c</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Improves the error message when a middleware doesn't return a <code>Response</code></p> 111 </li> 112 <li> 113 <p><a href="https://redirect.github.com/withastro/astro/pull/9433">#9433</a> <a href="https://github.com/withastro/astro/commit/fcc2fd5b0f218ecfc7bbe3f48063221e5dd62757"><code>fcc2fd5b0</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Correctly merge headers from the original response when an error page is rendered</p> 114 </li> 115 </ul> 116 <h2>4.0.5</h2> 117 <h3>Patch Changes</h3> 118 <ul> 119 <li> 120 <p><a href="https://redirect.github.com/withastro/astro/pull/9423">#9423</a> <a href="https://github.com/withastro/astro/commit/bda1d294f2d50f31abfc9a32b5272fc9ac080e83"><code>bda1d294f</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Error when getImage is passed an undefined src</p> 121 </li> 122 <li> 123 <p><a href="https://redirect.github.com/withastro/astro/pull/9424">#9424</a> <a href="https://github.com/withastro/astro/commit/e1a5a2d36ac3637f5c94a27b69128a121541bae8"><code>e1a5a2d36</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Prevents dev server from crashing on unhandled rejections, and adds a helpful error message</p> 124 </li> 125 <li> 126 <p><a href="https://redirect.github.com/withastro/astro/pull/9404">#9404</a> <a href="https://github.com/withastro/astro/commit/8aa17a64b46b8eaabfd1375fd6550ff93727aa81"><code>8aa17a64b</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Fixed some newer HTML attributes not being included in our type definitions</p> 127 </li> 128 <li> 129 <p><a href="https://redirect.github.com/withastro/astro/pull/9414">#9414</a> <a href="https://github.com/withastro/astro/commit/bebf38c0cb539de04007f5e721bf459300b895a1"><code>bebf38c0c</code></a> Thanks <a href="https://github.com/Skn0tt"><code>@Skn0tt</code></a>! - Adds the feature name to logs about feature deprecation / experimental status.</p> 130 </li> 131 <li> 132 <p><a href="https://redirect.github.com/withastro/astro/pull/9418">#9418</a> <a href="https://github.com/withastro/astro/commit/2c168af6745f5357e76ec323787595ef06d5fd73"><code>2c168af67</code></a> Thanks <a href="https://github.com/alexnguyennz"><code>@alexnguyennz</code></a>! - Fix broken link in CI instructions</p> 133 </li> 134 <li> 135 <p><a href="https://redirect.github.com/withastro/astro/pull/9407">#9407</a> <a href="https://github.com/withastro/astro/commit/546d92c862d08c69751039511a12c92ae38184c2"><code>546d92c86</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Allows file URLs as import specifiers</p> 136 </li> 137 </ul> 138 <h2>4.0.4</h2> 139 <h3>Patch Changes</h3> 140 <ul> 141 <li> 142 <p><a href="https://redirect.github.com/withastro/astro/pull/9380">#9380</a> <a href="https://github.com/withastro/astro/commit/ea0918259964947523827bac6abe88ad3841dbb9"><code>ea0918259</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Correctly handle the rendering of i18n routes when <code>output: "hybrid"</code> is set</p> 143 </li> 144 <li> 145 <p><a href="https://redirect.github.com/withastro/astro/pull/9374">#9374</a> <a href="https://github.com/withastro/astro/commit/65ddb027111514d41481f7455c0f0f03f8f608a8"><code>65ddb0271</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes an issue where prerendered route paths that end with <code>.mjs</code> were removed from the final build</p> 146 </li> 147 <li> 148 <p><a href="https://redirect.github.com/withastro/astro/pull/9375">#9375</a> <a href="https://github.com/withastro/astro/commit/26f7023d6928de75c363df0fa759a6255cb73ef3"><code>26f7023d6</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Prettifies generated route names injected by integrations</p> 149 </li> 150 <li> 151 <p><a href="https://redirect.github.com/withastro/astro/pull/9387">#9387</a> <a href="https://github.com/withastro/astro/commit/a7c75b3339e6b1562d0d16ab6ef482840c51df68"><code>a7c75b333</code></a> Thanks <a href="https://github.com/natemoo-re"><code>@natemoo-re</code></a>! - Fixes an edge case with <code>astro add</code> that could install a prerelease instead of a stable release version.</p> 152 <p><strong>Prior to this change</strong> 153 <code>astro add svelte</code> installs <code>svelte@5.0.0-next.22</code></p> 154 <p><strong>After this change</strong> 155 <code>astro add svelte</code> installs <code>svelte@4.2.8</code></p> 156 </li> 157 </ul> 158 <!-- raw HTML omitted --> 159 </blockquote> 160 <p>... (truncated)</p> 161 </details> 162 <details> 163 <summary>Commits</summary> 164 <ul> 165 <li><a href="https://github.com/withastro/astro/commit/8a0def2b6c3d85ea8f91db8df9b17c9ea8ee3a0f"><code>8a0def2</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9432">#9432</a>)</li> 166 <li><a href="https://github.com/withastro/astro/commit/f963d07f22f972938e1c9e8c95f9278efdff586b"><code>f963d07</code></a> Upgrade compiler (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9445">#9445</a>)</li> 167 <li><a href="https://github.com/withastro/astro/commit/017f981304cd22941a441e0f665f66f75ea76a7d"><code>017f981</code></a> refactor(assets): Move things around to avoid importing image service unneces...</li> 168 <li><a href="https://github.com/withastro/astro/commit/c01cc4e3409ae3cf81db7384bf8e53424f21bb5c"><code>c01cc4e</code></a> Fixes warning for external URL redirects (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9426">#9426</a>)</li> 169 <li><a href="https://github.com/withastro/astro/commit/667539be5ad20d9ac17f0dc9a5c7d2fe6eef77d8"><code>667539b</code></a> [ci] format</li> 170 <li><a href="https://github.com/withastro/astro/commit/6d2d0e279dd51e04099c86c4d900e2dd1d5fa837"><code>6d2d0e2</code></a> fix(error pages): account for trailingSlash (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9126">#9126</a>)</li> 171 <li><a href="https://github.com/withastro/astro/commit/c01580a2cd847ac82192d6717e9e823fba6ecb49"><code>c01580a</code></a> fix: improve error message when a middleware doesn't return a <code>Response</code> (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9434">#9434</a>)</li> 172 <li><a href="https://github.com/withastro/astro/commit/fcc2fd5b0f218ecfc7bbe3f48063221e5dd62757"><code>fcc2fd5</code></a> fix: merge headers from the original response in error pages (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9433">#9433</a>)</li> 173 <li><a href="https://github.com/withastro/astro/commit/745294de941492b88c1a014be419ebd9720c0904"><code>745294d</code></a> [ci] format</li> 174 <li><a href="https://github.com/withastro/astro/commit/151bd429b11a73d236ca8f43e8f5072e7c29641e"><code>151bd42</code></a> Prevent Partytown from hijacking history API (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9419">#9419</a>)</li> 175 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.0.6/packages/astro">compare view</a></li> 176 </ul> 177 </details> 178 <br /> 179 180 181 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 182 183 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`. 184 185 [//]: # (dependabot-automerge-start) 186 [//]: # (dependabot-automerge-end) 187 188 --- 189 190 <details> 191 <summary>Dependabot commands and options</summary> 192 <br /> 193 194 You can trigger Dependabot actions by commenting on this PR: 195 - `@dependabot rebase` will rebase this PR 196 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 197 - `@dependabot merge` will merge this PR after your CI passes on it 198 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 199 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 200 - `@dependabot reopen` will reopen this PR if it is closed 201 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 202 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 203 - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) 204 - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) 205 - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) 206 - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency 207 - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions 208 209 210 </details> 211 212 213 ## Comments 214 215 ### @dependabot[bot] — 2023-12-17T17:27:29Z 216 217 Looks like astro is up-to-date now, so this is no longer needed. 218