21.md (20387B)
1 # PR #21 Bump astro from 4.0.6 to 4.1.2 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-01-15T02:02:30Z 6 - **Branch:** dependabot/npm_and_yarn/astro-4.1.2 → main 7 - **Closed:** 2024-01-22T01:47:51Z 8 - **Labels:** dependencies, javascript 9 - **Diff:** [21.diff](./21.diff) 10 11 --- 12 13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.1.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.1.2</h2> 19 <h3>Patch Changes</h3> 20 <ul> 21 <li> 22 <p><a href="https://redirect.github.com/withastro/astro/pull/9642">#9642</a> <a href="https://github.com/withastro/astro/commit/cdb7bfa66260afc79b829b617492a01a709a86ef"><code>cdb7bfa66260afc79b829b617492a01a709a86ef</code></a> Thanks <a href="https://github.com/martrapp"><code>@martrapp</code></a>! - Fixes an issue where View Transitions did not work when navigating to the 404 page</p> 23 </li> 24 <li> 25 <p><a href="https://redirect.github.com/withastro/astro/pull/9637">#9637</a> <a href="https://github.com/withastro/astro/commit/5cba637c4ec39c06794146b0c7fd3225d26dcabb"><code>5cba637c4ec39c06794146b0c7fd3225d26dcabb</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Improves environment variables replacement in SSR</p> 26 </li> 27 <li> 28 <p><a href="https://redirect.github.com/withastro/astro/pull/9658">#9658</a> <a href="https://github.com/withastro/astro/commit/a3b5695176cd0280438938c1d6caef478a571415"><code>a3b5695176cd0280438938c1d6caef478a571415</code></a> Thanks <a href="https://github.com/martrapp"><code>@martrapp</code></a>! - Fixes an issue caused by trying to load text/partytown scripts during view transitions</p> 29 </li> 30 <li> 31 <p><a href="https://redirect.github.com/withastro/astro/pull/9657">#9657</a> <a href="https://github.com/withastro/astro/commit/a4f90d95ff97abe59f2a1ef0956cab257ae36838"><code>a4f90d95ff97abe59f2a1ef0956cab257ae36838</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug where the custom status code wasn't correctly computed in the dev server</p> 32 </li> 33 <li> 34 <p><a href="https://redirect.github.com/withastro/astro/pull/9627">#9627</a> <a href="https://github.com/withastro/astro/commit/a700a20291e19cde23705e8e661e833aec7d3095"><code>a700a20291e19cde23705e8e661e833aec7d3095</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Adds a warning when setting cookies will have no effect</p> 35 </li> 36 <li> 37 <p><a href="https://redirect.github.com/withastro/astro/pull/9652">#9652</a> <a href="https://github.com/withastro/astro/commit/e72efd6a9a1e2a70488fd225529617ffd8418534"><code>e72efd6a9a1e2a70488fd225529617ffd8418534</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Improves environment variables handling by using esbuild to perform replacements</p> 38 </li> 39 <li> 40 <p><a href="https://redirect.github.com/withastro/astro/pull/9560">#9560</a> <a href="https://github.com/withastro/astro/commit/8b9c4844f7b302380835154fab1c3489979fc07d"><code>8b9c4844f7b302380835154fab1c3489979fc07d</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes tsconfig alias with import.meta.glob</p> 41 </li> 42 <li> 43 <p><a href="https://redirect.github.com/withastro/astro/pull/9653">#9653</a> <a href="https://github.com/withastro/astro/commit/50f39183cfec4a4522c1f935d710e5d9b724993b"><code>50f39183cfec4a4522c1f935d710e5d9b724993b</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Pin Sharp to 0.32.6 until we can raise our semver requirements. To use the latest version of Sharp, you can add it to your project's dependencies.</p> 44 </li> 45 </ul> 46 <h2>astro@4.1.1</h2> 47 <h3>Patch Changes</h3> 48 <ul> 49 <li> 50 <p><a href="https://redirect.github.com/withastro/astro/pull/9618">#9618</a> <a href="https://github.com/withastro/astro/commit/401fd3e8c8957a3bed6469a622cd67b157ca303f"><code>401fd3e8c8957a3bed6469a622cd67b157ca303f</code></a> Thanks <a href="https://github.com/ldh3907"><code>@ldh3907</code></a>! - Adds a second generic parameter to <code>APIRoute</code> to type the <code>params</code></p> 51 </li> 52 <li> 53 <p><a href="https://redirect.github.com/withastro/astro/pull/9600">#9600</a> <a href="https://github.com/withastro/astro/commit/47b951b3888a5a8a708d2f9b974f12fba7ec9ed3"><code>47b951b3888a5a8a708d2f9b974f12fba7ec9ed3</code></a> Thanks <a href="https://github.com/jacobdalamb"><code>@jacobdalamb</code></a>! - Improves tailwind config file detection when adding the tailwind integration using <code>astro add tailwind</code></p> 54 <p>Tailwind config file ending in <code>.ts</code>, <code>.mts</code> or <code>.cts</code> will now be used instead of creating a new <code>tailwind.config.mjs</code> when the tailwind integration is added using <code>astro add tailwind</code>.</p> 55 </li> 56 <li> 57 <p><a href="https://redirect.github.com/withastro/astro/pull/9622">#9622</a> <a href="https://github.com/withastro/astro/commit/5156c740506cbf6ec85c95e1663c14cbd438d75b"><code>5156c740506cbf6ec85c95e1663c14cbd438d75b</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes the Sharp image service <code>limitInputPixels</code> option type</p> 58 </li> 59 </ul> 60 <h2>astro@4.1.0</h2> 61 <h3>Minor Changes</h3> 62 <ul> 63 <li> 64 <p><a href="https://redirect.github.com/withastro/astro/pull/9513">#9513</a> <a href="https://github.com/withastro/astro/commit/e44f6acf99195a3f29b8390fd9b2c06410551b74"><code>e44f6acf99195a3f29b8390fd9b2c06410551b74</code></a> Thanks <a href="https://github.com/wtto00"><code>@wtto00</code></a>! - Adds a <code>'load'</code> prefetch strategy to prefetch links on page load</p> 65 </li> 66 <li> 67 <p><a href="https://redirect.github.com/withastro/astro/pull/9377">#9377</a> <a href="https://github.com/withastro/astro/commit/fe719e27a84c09e46b515252690678c174a25759"><code>fe719e27a84c09e46b515252690678c174a25759</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Adds "Missing ARIA roles check" and "Unsupported ARIA roles check" audit rules for the dev toolbar</p> 68 </li> 69 <li> 70 <p><a href="https://redirect.github.com/withastro/astro/pull/9573">#9573</a> <a href="https://github.com/withastro/astro/commit/2a8b9c56b9c6918531c57ec38b89474571331aee"><code>2a8b9c56b9c6918531c57ec38b89474571331aee</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Allows passing a string to <code>--open</code> and <code>server.open</code> to open a specific URL on startup in development</p> 71 </li> 72 <li> 73 <p><a href="https://redirect.github.com/withastro/astro/pull/9544">#9544</a> <a href="https://github.com/withastro/astro/commit/b8a6fa8917ff7babd35dafb3d3dcd9a58cee836d"><code>b8a6fa8917ff7babd35dafb3d3dcd9a58cee836d</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Adds a helpful error for static sites when you use the <code>astro preview</code> command if you have not previously run <code>astro build</code>.</p> 74 </li> 75 <li> 76 <p><a href="https://redirect.github.com/withastro/astro/pull/9546">#9546</a> <a href="https://github.com/withastro/astro/commit/08402ad5846c73b6887e74ed4575fd71a3e3c73d"><code>08402ad5846c73b6887e74ed4575fd71a3e3c73d</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Adds an option for the Sharp image service to allow large images to be processed. Set <code>limitInputPixels: false</code> to bypass the default image size limit:</p> 77 <pre lang="js"><code>// astro.config.mjs 78 import { defineConfig } from 'astro/config'; 79 <p>export default defineConfig({ 80 image: { 81 service: { 82 </code></pre></p> 83 </li> 84 </ul> 85 <!-- raw HTML omitted --> 86 </blockquote> 87 <p>... (truncated)</p> 88 </details> 89 <details> 90 <summary>Changelog</summary> 91 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> 92 <blockquote> 93 <h2>4.1.2</h2> 94 <h3>Patch Changes</h3> 95 <ul> 96 <li> 97 <p><a href="https://redirect.github.com/withastro/astro/pull/9642">#9642</a> <a href="https://github.com/withastro/astro/commit/cdb7bfa66260afc79b829b617492a01a709a86ef"><code>cdb7bfa66260afc79b829b617492a01a709a86ef</code></a> Thanks <a href="https://github.com/martrapp"><code>@martrapp</code></a>! - Fixes an issue where View Transitions did not work when navigating to the 404 page</p> 98 </li> 99 <li> 100 <p><a href="https://redirect.github.com/withastro/astro/pull/9637">#9637</a> <a href="https://github.com/withastro/astro/commit/5cba637c4ec39c06794146b0c7fd3225d26dcabb"><code>5cba637c4ec39c06794146b0c7fd3225d26dcabb</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Improves environment variables replacement in SSR</p> 101 </li> 102 <li> 103 <p><a href="https://redirect.github.com/withastro/astro/pull/9658">#9658</a> <a href="https://github.com/withastro/astro/commit/a3b5695176cd0280438938c1d6caef478a571415"><code>a3b5695176cd0280438938c1d6caef478a571415</code></a> Thanks <a href="https://github.com/martrapp"><code>@martrapp</code></a>! - Fixes an issue caused by trying to load text/partytown scripts during view transitions</p> 104 </li> 105 <li> 106 <p><a href="https://redirect.github.com/withastro/astro/pull/9657">#9657</a> <a href="https://github.com/withastro/astro/commit/a4f90d95ff97abe59f2a1ef0956cab257ae36838"><code>a4f90d95ff97abe59f2a1ef0956cab257ae36838</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug where the custom status code wasn't correctly computed in the dev server</p> 107 </li> 108 <li> 109 <p><a href="https://redirect.github.com/withastro/astro/pull/9627">#9627</a> <a href="https://github.com/withastro/astro/commit/a700a20291e19cde23705e8e661e833aec7d3095"><code>a700a20291e19cde23705e8e661e833aec7d3095</code></a> Thanks <a href="https://github.com/lilnasy"><code>@lilnasy</code></a>! - Adds a warning when setting cookies will have no effect</p> 110 </li> 111 <li> 112 <p><a href="https://redirect.github.com/withastro/astro/pull/9652">#9652</a> <a href="https://github.com/withastro/astro/commit/e72efd6a9a1e2a70488fd225529617ffd8418534"><code>e72efd6a9a1e2a70488fd225529617ffd8418534</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Improves environment variables handling by using esbuild to perform replacements</p> 113 </li> 114 <li> 115 <p><a href="https://redirect.github.com/withastro/astro/pull/9560">#9560</a> <a href="https://github.com/withastro/astro/commit/8b9c4844f7b302380835154fab1c3489979fc07d"><code>8b9c4844f7b302380835154fab1c3489979fc07d</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes tsconfig alias with import.meta.glob</p> 116 </li> 117 <li> 118 <p><a href="https://redirect.github.com/withastro/astro/pull/9653">#9653</a> <a href="https://github.com/withastro/astro/commit/50f39183cfec4a4522c1f935d710e5d9b724993b"><code>50f39183cfec4a4522c1f935d710e5d9b724993b</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Pin Sharp to 0.32.6 until we can raise our semver requirements. To use the latest version of Sharp, you can add it to your project's dependencies.</p> 119 </li> 120 </ul> 121 <h2>4.1.1</h2> 122 <h3>Patch Changes</h3> 123 <ul> 124 <li> 125 <p><a href="https://redirect.github.com/withastro/astro/pull/9618">#9618</a> <a href="https://github.com/withastro/astro/commit/401fd3e8c8957a3bed6469a622cd67b157ca303f"><code>401fd3e8c8957a3bed6469a622cd67b157ca303f</code></a> Thanks <a href="https://github.com/ldh3907"><code>@ldh3907</code></a>! - Adds a second generic parameter to <code>APIRoute</code> to type the <code>params</code></p> 126 </li> 127 <li> 128 <p><a href="https://redirect.github.com/withastro/astro/pull/9600">#9600</a> <a href="https://github.com/withastro/astro/commit/47b951b3888a5a8a708d2f9b974f12fba7ec9ed3"><code>47b951b3888a5a8a708d2f9b974f12fba7ec9ed3</code></a> Thanks <a href="https://github.com/jacobdalamb"><code>@jacobdalamb</code></a>! - Improves tailwind config file detection when adding the tailwind integration using <code>astro add tailwind</code></p> 129 <p>Tailwind config file ending in <code>.ts</code>, <code>.mts</code> or <code>.cts</code> will now be used instead of creating a new <code>tailwind.config.mjs</code> when the tailwind integration is added using <code>astro add tailwind</code>.</p> 130 </li> 131 <li> 132 <p><a href="https://redirect.github.com/withastro/astro/pull/9622">#9622</a> <a href="https://github.com/withastro/astro/commit/5156c740506cbf6ec85c95e1663c14cbd438d75b"><code>5156c740506cbf6ec85c95e1663c14cbd438d75b</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Fixes the Sharp image service <code>limitInputPixels</code> option type</p> 133 </li> 134 </ul> 135 <h2>4.1.0</h2> 136 <h3>Minor Changes</h3> 137 <ul> 138 <li> 139 <p><a href="https://redirect.github.com/withastro/astro/pull/9513">#9513</a> <a href="https://github.com/withastro/astro/commit/e44f6acf99195a3f29b8390fd9b2c06410551b74"><code>e44f6acf99195a3f29b8390fd9b2c06410551b74</code></a> Thanks <a href="https://github.com/wtto00"><code>@wtto00</code></a>! - Adds a <code>'load'</code> prefetch strategy to prefetch links on page load</p> 140 </li> 141 <li> 142 <p><a href="https://redirect.github.com/withastro/astro/pull/9377">#9377</a> <a href="https://github.com/withastro/astro/commit/fe719e27a84c09e46b515252690678c174a25759"><code>fe719e27a84c09e46b515252690678c174a25759</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Adds "Missing ARIA roles check" and "Unsupported ARIA roles check" audit rules for the dev toolbar</p> 143 </li> 144 <li> 145 <p><a href="https://redirect.github.com/withastro/astro/pull/9573">#9573</a> <a href="https://github.com/withastro/astro/commit/2a8b9c56b9c6918531c57ec38b89474571331aee"><code>2a8b9c56b9c6918531c57ec38b89474571331aee</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Allows passing a string to <code>--open</code> and <code>server.open</code> to open a specific URL on startup in development</p> 146 </li> 147 <li> 148 <p><a href="https://redirect.github.com/withastro/astro/pull/9544">#9544</a> <a href="https://github.com/withastro/astro/commit/b8a6fa8917ff7babd35dafb3d3dcd9a58cee836d"><code>b8a6fa8917ff7babd35dafb3d3dcd9a58cee836d</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Adds a helpful error for static sites when you use the <code>astro preview</code> command if you have not previously run <code>astro build</code>.</p> 149 </li> 150 <li> 151 <p><a href="https://redirect.github.com/withastro/astro/pull/9546">#9546</a> <a href="https://github.com/withastro/astro/commit/08402ad5846c73b6887e74ed4575fd71a3e3c73d"><code>08402ad5846c73b6887e74ed4575fd71a3e3c73d</code></a> Thanks <a href="https://github.com/bluwy"><code>@bluwy</code></a>! - Adds an option for the Sharp image service to allow large images to be processed. Set <code>limitInputPixels: false</code> to bypass the default image size limit:</p> 152 <pre lang="js"><code>// astro.config.mjs 153 import { defineConfig } from 'astro/config'; 154 <p></code></pre></p> 155 </li> 156 </ul> 157 <!-- raw HTML omitted --> 158 </blockquote> 159 <p>... (truncated)</p> 160 </details> 161 <details> 162 <summary>Commits</summary> 163 <ul> 164 <li><a href="https://github.com/withastro/astro/commit/7a275c1648a80d82686f8f7f04588ae448e9a1a3"><code>7a275c1</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9625">#9625</a>)</li> 165 <li><a href="https://github.com/withastro/astro/commit/a3b5695176cd0280438938c1d6caef478a571415"><code>a3b5695</code></a> Don't try to load partytown scripts in the main thread during view transition...</li> 166 <li><a href="https://github.com/withastro/astro/commit/e72efd6a9a1e2a70488fd225529617ffd8418534"><code>e72efd6</code></a> Use esbuild for env replacement (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9652">#9652</a>)</li> 167 <li><a href="https://github.com/withastro/astro/commit/50f39183cfec4a4522c1f935d710e5d9b724993b"><code>50f3918</code></a> fix: pin Sharp at old version (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9653">#9653</a>)</li> 168 <li><a href="https://github.com/withastro/astro/commit/e50d75f41fdd80204bbe19d5345c706e309ba103"><code>e50d75f</code></a> [ci] format</li> 169 <li><a href="https://github.com/withastro/astro/commit/a700a20291e19cde23705e8e661e833aec7d3095"><code>a700a20</code></a> qol(cookies): warn when cookies are set after the headers have been sent (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9627">#9627</a>)</li> 170 <li><a href="https://github.com/withastro/astro/commit/a4f90d95ff97abe59f2a1ef0956cab257ae36838"><code>a4f90d9</code></a> fix(redirects): correctly compute the status code in redirects (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9657">#9657</a>)</li> 171 <li><a href="https://github.com/withastro/astro/commit/a1b56ee1faae76d80d5603e39258bf2a421064b5"><code>a1b56ee</code></a> [docs] fix some error message syntax and add some lint rules to help (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9651">#9651</a>)</li> 172 <li><a href="https://github.com/withastro/astro/commit/243146de2a33c71f3b5ec05b0e56c45dd409ca53"><code>243146d</code></a> fix: add metadata to build error pages (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9641">#9641</a>)</li> 173 <li><a href="https://github.com/withastro/astro/commit/5cba637c4ec39c06794146b0c7fd3225d26dcabb"><code>5cba637</code></a> Improve env var handling in SSR (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9637">#9637</a>)</li> 174 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.1.2/packages/astro">compare view</a></li> 175 </ul> 176 </details> 177 <br /> 178 179 180 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 181 182 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`. 183 184 [//]: # (dependabot-automerge-start) 185 [//]: # (dependabot-automerge-end) 186 187 --- 188 189 <details> 190 <summary>Dependabot commands and options</summary> 191 <br /> 192 193 You can trigger Dependabot actions by commenting on this PR: 194 - `@dependabot rebase` will rebase this PR 195 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 196 - `@dependabot merge` will merge this PR after your CI passes on it 197 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 198 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 199 - `@dependabot reopen` will reopen this PR if it is closed 200 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 201 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 202 - `@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) 203 - `@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) 204 - `@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) 205 - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency 206 - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions 207 208 209 </details> 210 211 212 ## Comments 213 214 ### @dependabot[bot] — 2024-01-22T01:47:50Z 215 216 Superseded by #22. 217