18.json (17383B)
1 { 2 "number": 18, 3 "title": "Bump astro from 4.0.6 to 4.1.1", 4 "state": "closed", 5 "diff_file": "18.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2024-01-08T01:57:52Z", 8 "closed_at": "2024-01-15T02:02:33Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/astro-4.1.1", 12 "labels": [ 13 "dependencies", 14 "javascript" 15 ], 16 "assignees": [], 17 "requested_reviewers": [], 18 "body": "Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.1.1.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/withastro/astro/releases\">astro's releases</a>.</em></p>\n<blockquote>\n<h2>astro@4.1.1</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<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>@\u200bldh3907</code></a>! - Adds a second generic parameter to <code>APIRoute</code> to type the <code>params</code></p>\n</li>\n<li>\n<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>@\u200bjacobdalamb</code></a>! - Improves tailwind config file detection when adding the tailwind integration using <code>astro add tailwind</code></p>\n<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>\n</li>\n<li>\n<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>@\u200bbluwy</code></a>! - Fixes the Sharp image service <code>limitInputPixels</code> option type</p>\n</li>\n</ul>\n<h2>astro@4.1.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<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>@\u200bwtto00</code></a>! - Adds a <code>'load'</code> prefetch strategy to prefetch links on page load</p>\n</li>\n<li>\n<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>@\u200bbluwy</code></a>! - Adds "Missing ARIA roles check" and "Unsupported ARIA roles check" audit rules for the dev toolbar</p>\n</li>\n<li>\n<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>@\u200bbluwy</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>\n</li>\n<li>\n<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>@\u200bbluwy</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>\n</li>\n<li>\n<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>@\u200bbluwy</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>\n<pre lang=\"js\"><code>// astro.config.mjs\nimport { defineConfig } from 'astro/config';\n<p>export default defineConfig({\nimage: {\nservice: {\nentrypoint: 'astro/assets/services/sharp',\nconfig: {\nlimitInputPixels: false,\n},\n},\n},\n});\n</code></pre></p>\n</li>\n<li>\n<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>@\u200bPrincesseuh</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>\n<pre lang=\"astro\"><code><!-- Load component when it's within 200px away from entering the viewport -->\n<Component client:visible={{ rootMargin: '200px' }} />\n</code></pre>\n</li>\n<li>\n<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>@\u200balex-sherwin</code></a>! - Cookie encoding / decoding can now be customized</p>\n<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>\n</li>\n</ul>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md\">astro's changelog</a>.</em></p>\n<blockquote>\n<h2>4.1.1</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<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>@\u200bldh3907</code></a>! - Adds a second generic parameter to <code>APIRoute</code> to type the <code>params</code></p>\n</li>\n<li>\n<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>@\u200bjacobdalamb</code></a>! - Improves tailwind config file detection when adding the tailwind integration using <code>astro add tailwind</code></p>\n<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>\n</li>\n<li>\n<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>@\u200bbluwy</code></a>! - Fixes the Sharp image service <code>limitInputPixels</code> option type</p>\n</li>\n</ul>\n<h2>4.1.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<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>@\u200bwtto00</code></a>! - Adds a <code>'load'</code> prefetch strategy to prefetch links on page load</p>\n</li>\n<li>\n<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>@\u200bbluwy</code></a>! - Adds "Missing ARIA roles check" and "Unsupported ARIA roles check" audit rules for the dev toolbar</p>\n</li>\n<li>\n<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>@\u200bbluwy</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>\n</li>\n<li>\n<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>@\u200bbluwy</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>\n</li>\n<li>\n<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>@\u200bbluwy</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>\n<pre lang=\"js\"><code>// astro.config.mjs\nimport { defineConfig } from 'astro/config';\n<p>export default defineConfig({\nimage: {\nservice: {\nentrypoint: 'astro/assets/services/sharp',\nconfig: {\nlimitInputPixels: false,\n},\n},\n},\n});\n</code></pre></p>\n</li>\n<li>\n<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>@\u200bPrincesseuh</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>\n<pre lang=\"astro\"><code><!-- Load component when it's within 200px away from entering the viewport -->\n<Component client:visible={{ rootMargin: '200px' }} />\n</code></pre>\n</li>\n<li>\n<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>@\u200balex-sherwin</code></a>! - Cookie encoding / decoding can now be customized</p>\n</li>\n</ul>\n<!-- raw HTML omitted -->\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<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>\n<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>\n<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>\n<li><a href=\"https://github.com/withastro/astro/commit/d87a97e1093ebaad8a23ef79efd02faf82f37b12\"><code>d87a97e</code></a> [ci] format</li>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\n<li>Additional commits viewable in <a href=\"https://github.com/withastro/astro/commits/astro@4.1.1/packages/astro\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@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)\n- `@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)\n- `@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)\n- `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency\n- `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions\n\n\n</details>", 19 "comments": [ 20 { 21 "author": "dependabot[bot]", 22 "created_at": "2024-01-15T02:02:33Z", 23 "body": "Superseded by #21." 24 } 25 ], 26 "review_comments": [] 27 }