18.md (16750B)
1 # PR #18 Bump astro from 4.0.6 to 4.1.1 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-01-08T01:57:52Z 6 - **Branch:** dependabot/npm_and_yarn/astro-4.1.1 → main 7 - **Closed:** 2024-01-15T02:02:33Z 8 - **Labels:** dependencies, javascript 9 - **Diff:** [18.diff](./18.diff) 10 11 --- 12 13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.1.1. 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.1</h2> 19 <h3>Patch Changes</h3> 20 <ul> 21 <li> 22 <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> 23 </li> 24 <li> 25 <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> 26 <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> 27 </li> 28 <li> 29 <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> 30 </li> 31 </ul> 32 <h2>astro@4.1.0</h2> 33 <h3>Minor Changes</h3> 34 <ul> 35 <li> 36 <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> 37 </li> 38 <li> 39 <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> 40 </li> 41 <li> 42 <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> 43 </li> 44 <li> 45 <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> 46 </li> 47 <li> 48 <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> 49 <pre lang="js"><code>// astro.config.mjs 50 import { defineConfig } from 'astro/config'; 51 <p>export default defineConfig({ 52 image: { 53 service: { 54 entrypoint: 'astro/assets/services/sharp', 55 config: { 56 limitInputPixels: false, 57 }, 58 }, 59 }, 60 }); 61 </code></pre></p> 62 </li> 63 <li> 64 <p><a href="https://redirect.github.com/withastro/astro/pull/9596">#9596</a> <a href="https://github.com/withastro/astro/commit/fbc26976533bbcf2de9d6dba1aa3ea3dc6ce0853"><code>fbc26976533bbcf2de9d6dba1aa3ea3dc6ce0853</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Adds the ability to set a <a href="https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin"><code>rootMargin</code></a> setting when using the <code>client:visible</code> directive. This allows a component to be hydrated when it is <em>near</em> the viewport, rather than hydrated when it has <em>entered</em> the viewport.</p> 65 <pre lang="astro"><code><!-- Load component when it's within 200px away from entering the viewport --> 66 <Component client:visible={{ rootMargin: '200px' }} /> 67 </code></pre> 68 </li> 69 <li> 70 <p><a href="https://redirect.github.com/withastro/astro/pull/9063">#9063</a> <a href="https://github.com/withastro/astro/commit/f33fe3190b482a42ebc68cc5275fd7f2c49102e6"><code>f33fe3190b482a42ebc68cc5275fd7f2c49102e6</code></a> Thanks <a href="https://github.com/alex-sherwin"><code>@alex-sherwin</code></a>! - Cookie encoding / decoding can now be customized</p> 71 <p>Adds new <code>encode</code> and <code>decode</code> functions to allow customizing how cookies are encoded and decoded. For example, you can bypass the default encoding via <code>encodeURIComponent</code> when adding a URL as part of a cookie:</p> 72 </li> 73 </ul> 74 <!-- raw HTML omitted --> 75 </blockquote> 76 <p>... (truncated)</p> 77 </details> 78 <details> 79 <summary>Changelog</summary> 80 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p> 81 <blockquote> 82 <h2>4.1.1</h2> 83 <h3>Patch Changes</h3> 84 <ul> 85 <li> 86 <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> 87 </li> 88 <li> 89 <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> 90 <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> 91 </li> 92 <li> 93 <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> 94 </li> 95 </ul> 96 <h2>4.1.0</h2> 97 <h3>Minor Changes</h3> 98 <ul> 99 <li> 100 <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> 101 </li> 102 <li> 103 <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> 104 </li> 105 <li> 106 <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> 107 </li> 108 <li> 109 <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> 110 </li> 111 <li> 112 <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> 113 <pre lang="js"><code>// astro.config.mjs 114 import { defineConfig } from 'astro/config'; 115 <p>export default defineConfig({ 116 image: { 117 service: { 118 entrypoint: 'astro/assets/services/sharp', 119 config: { 120 limitInputPixels: false, 121 }, 122 }, 123 }, 124 }); 125 </code></pre></p> 126 </li> 127 <li> 128 <p><a href="https://redirect.github.com/withastro/astro/pull/9596">#9596</a> <a href="https://github.com/withastro/astro/commit/fbc26976533bbcf2de9d6dba1aa3ea3dc6ce0853"><code>fbc26976533bbcf2de9d6dba1aa3ea3dc6ce0853</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@Princesseuh</code></a>! - Adds the ability to set a <a href="https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin"><code>rootMargin</code></a> setting when using the <code>client:visible</code> directive. This allows a component to be hydrated when it is <em>near</em> the viewport, rather than hydrated when it has <em>entered</em> the viewport.</p> 129 <pre lang="astro"><code><!-- Load component when it's within 200px away from entering the viewport --> 130 <Component client:visible={{ rootMargin: '200px' }} /> 131 </code></pre> 132 </li> 133 <li> 134 <p><a href="https://redirect.github.com/withastro/astro/pull/9063">#9063</a> <a href="https://github.com/withastro/astro/commit/f33fe3190b482a42ebc68cc5275fd7f2c49102e6"><code>f33fe3190b482a42ebc68cc5275fd7f2c49102e6</code></a> Thanks <a href="https://github.com/alex-sherwin"><code>@alex-sherwin</code></a>! - Cookie encoding / decoding can now be customized</p> 135 </li> 136 </ul> 137 <!-- raw HTML omitted --> 138 </blockquote> 139 <p>... (truncated)</p> 140 </details> 141 <details> 142 <summary>Commits</summary> 143 <ul> 144 <li><a href="https://github.com/withastro/astro/commit/75084b49d0eb414400014c822c492c1e11cce790"><code>75084b4</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9609">#9609</a>)</li> 145 <li><a href="https://github.com/withastro/astro/commit/64a8470ddb36d74919caebc459e7b2983247888c"><code>64a8470</code></a> [docs] update config reference (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9621">#9621</a>)</li> 146 <li><a href="https://github.com/withastro/astro/commit/5156c740506cbf6ec85c95e1663c14cbd438d75b"><code>5156c74</code></a> Fix limitInputPixels type (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9622">#9622</a>)</li> 147 <li><a href="https://github.com/withastro/astro/commit/d87a97e1093ebaad8a23ef79efd02faf82f37b12"><code>d87a97e</code></a> [ci] format</li> 148 <li><a href="https://github.com/withastro/astro/commit/401fd3e8c8957a3bed6469a622cd67b157ca303f"><code>401fd3e</code></a> feat: Add APIRoute second generic (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9618">#9618</a>)</li> 149 <li><a href="https://github.com/withastro/astro/commit/47b951b3888a5a8a708d2f9b974f12fba7ec9ed3"><code>47b951b</code></a> chore: Update<code>possibleConfigFiles</code> (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9600">#9600</a>)</li> 150 <li><a href="https://github.com/withastro/astro/commit/e862d070b47cc7ff13988434bed7f34b7871c683"><code>e862d07</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9580">#9580</a>)</li> 151 <li><a href="https://github.com/withastro/astro/commit/37021044dd4382a9b214f89b7c221bf1c93f3e7d"><code>3702104</code></a> Render async SolidJS components (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/6791">#6791</a>)</li> 152 <li><a href="https://github.com/withastro/astro/commit/3b4e629ac8c2fdb4b491bf01abc7794e2e100173"><code>3b4e629</code></a> Improve astro add deps error reporting (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9593">#9593</a>)</li> 153 <li><a href="https://github.com/withastro/astro/commit/82bad5d6205672ed3f6a49d4de53d3a68367433e"><code>82bad5d</code></a> Fixes page titles in the browser's drop-down for back / forward navigation wh...</li> 154 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.1.1/packages/astro">compare view</a></li> 155 </ul> 156 </details> 157 <br /> 158 159 160 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 161 162 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`. 163 164 [//]: # (dependabot-automerge-start) 165 [//]: # (dependabot-automerge-end) 166 167 --- 168 169 <details> 170 <summary>Dependabot commands and options</summary> 171 <br /> 172 173 You can trigger Dependabot actions by commenting on this PR: 174 - `@dependabot rebase` will rebase this PR 175 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 176 - `@dependabot merge` will merge this PR after your CI passes on it 177 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 178 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 179 - `@dependabot reopen` will reopen this PR if it is closed 180 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 181 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 182 - `@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) 183 - `@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) 184 - `@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) 185 - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency 186 - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions 187 188 189 </details> 190 191 192 ## Comments 193 194 ### @dependabot[bot] — 2024-01-15T02:02:33Z 195 196 Superseded by #21. 197