40.json (20390B)
1 { 2 "number": 40, 3 "title": "Bump astro from 4.0.6 to 4.4.15", 4 "state": "closed", 5 "diff_file": "40.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2024-03-11T01:27:22Z", 8 "closed_at": "2024-04-01T02:07:22Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/astro-4.4.15", 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.4.15.\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.4.15</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/10317\">#10317</a> <a href=\"https://github.com/withastro/astro/commit/33583e8b31ee8a33e26cf57f30bb422921f4745d\"><code>33583e8b31ee8a33e26cf57f30bb422921f4745d</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where elements slotted within interactive framework components disappeared after hydration.</li>\n</ul>\n<h2>astro@4.4.14</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10355\">#10355</a> <a href=\"https://github.com/withastro/astro/commit/8ce9fffd44b0740621178d61fb1425bf4155c2d7\"><code>8ce9fffd44b0740621178d61fb1425bf4155c2d7</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a regression where full dynamic routes were prioritized over partial dynamic routes. Now a route like <code>food-[name].astro</code> is matched <strong>before</strong> <code>[name].astro</code>.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10356\">#10356</a> <a href=\"https://github.com/withastro/astro/commit/d121311a3f4b5345e344e31f75d4e7164d65f729\"><code>d121311a3f4b5345e344e31f75d4e7164d65f729</code></a> Thanks <a href=\"https://github.com/mingjunlu\"><code>@\u200bmingjunlu</code></a>! - Fixes an issue where <code>getCollection</code> might return <code>undefined</code> when content collection is empty</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10325\">#10325</a> <a href=\"https://github.com/withastro/astro/commit/f33cce8f6c3a2e17847658cdedb015bd93cc1ee3\"><code>f33cce8f6c3a2e17847658cdedb015bd93cc1ee3</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where <code>ctx.site</code> included the configured <code>base</code> in API routes and middleware, unlike <code>Astro.site</code> in astro pages.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10343\">#10343</a> <a href=\"https://github.com/withastro/astro/commit/f973aa9110592fa9017bbe84387f22c24a6d7159\"><code>f973aa9110592fa9017bbe84387f22c24a6d7159</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes some false positive in the dev toolbar a11y audits, by adding the <code>a</code> element to the list of interactive elements.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10295\">#10295</a> <a href=\"https://github.com/withastro/astro/commit/fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9\"><code>fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9</code></a> Thanks <a href=\"https://github.com/rossrobino\"><code>@\u200brossrobino</code></a>! - Adds a prefetch fallback when using the <code>experimental.clientPrerender</code> option. If prerendering fails, which can happen if <a href=\"https://developer.chrome.com/blog/speculation-rules-improvements#chrome-limits\">Chrome extensions block prerendering</a>, it will fallback to prefetching the URL. This works by adding a <code>prefetch</code> field to the <code>speculationrules</code> script, but does not create an extra request.</p>\n</li>\n</ul>\n<h2>astro@4.4.13</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/10342\">#10342</a> <a href=\"https://github.com/withastro/astro/commit/a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec\"><code>a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec</code></a> Thanks <a href=\"https://github.com/matthewp\"><code>@\u200bmatthewp</code></a>! - Fixes <code>@\u200bastrojs/db</code> loading TS in the fixtures</li>\n</ul>\n<h2>astro@4.4.12</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/10336\">#10336</a> <a href=\"https://github.com/withastro/astro/commit/f2e60a96754ed1d86001fe4d5d3a0c0ef657408d\"><code>f2e60a96754ed1d86001fe4d5d3a0c0ef657408d</code></a> Thanks <a href=\"https://github.com/FredKSchott\"><code>@\u200bFredKSchott</code></a>! - Fixes an issue where slotting interactive components within a "client:only" component prevented all component code in the page from running.</li>\n</ul>\n<h2>astro@4.4.11</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10281\">#10281</a> <a href=\"https://github.com/withastro/astro/commit/9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05\"><code>9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where <code>404.astro</code> was ignored with <code>i18n</code> routing enabled.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10279\">#10279</a> <a href=\"https://github.com/withastro/astro/commit/9ba3e2605daee3861e3bf6c5768f1d8bced4709d\"><code>9ba3e2605daee3861e3bf6c5768f1d8bced4709d</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where returning redirect responses resulted in missing files with certain adapters.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10319\">#10319</a> <a href=\"https://github.com/withastro/astro/commit/19ecccedaab6d8fa0ff23711c88fa7d4fa34df38\"><code>19ecccedaab6d8fa0ff23711c88fa7d4fa34df38</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where streaming SSR responses sometimes failed with "<code>iterator.result</code> is not a function" on node-based adapters.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10302\">#10302</a> <a href=\"https://github.com/withastro/astro/commit/992537e79f1847b590a2e226aac88a47a6304f68\"><code>992537e79f1847b590a2e226aac88a47a6304f68</code></a> Thanks <a href=\"https://github.com/florian-lefebvre\"><code>@\u200bflorian-lefebvre</code></a>! - Fixes an issue that causes static entrypoints build to fail because of the path in certain conditions. Specifically, it failed if the path had an extension (like <code>.astro</code>, <code>.mdx</code> etc) and such extension would be also within the path (like <code>./.astro/index.astro</code>).</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10298\">#10298</a> <a href=\"https://github.com/withastro/astro/commit/819d20a89c0d269333c2d397c1080884f516307a\"><code>819d20a89c0d269333c2d397c1080884f516307a</code></a> Thanks <a href=\"https://github.com/Fryuni\"><code>@\u200bFryuni</code></a>! - Fix an incorrect conflict resolution between pages generated from static routes and rest parameters</p>\n</li>\n</ul>\n<h2>astro@4.4.10</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/10235\">#10235</a> <a href=\"https://github.com/withastro/astro/commit/4bc360cd5f25496aca3232f6efb3710424a14a34\"><code>4bc360cd5f25496aca3232f6efb3710424a14a34</code></a> Thanks <a href=\"https://github.com/sanman1k98\"><code>@\u200bsanman1k98</code></a>! - Fixes jerky scrolling on IOS when using view transitions.</li>\n</ul>\n<h2>astro@4.4.9</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/10278\">#10278</a> <a href=\"https://github.com/withastro/astro/commit/a548a3a99c2835c19662fc38636f92b2bda26614\"><code>a548a3a99c2835c19662fc38636f92b2bda26614</code></a> Thanks <a href=\"https://github.com/Princesseuh\"><code>@\u200bPrincesseuh</code></a>! - Fixes original images sometimes being kept / deleted when they shouldn't in both MDX and Markdoc</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.4.15</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/10317\">#10317</a> <a href=\"https://github.com/withastro/astro/commit/33583e8b31ee8a33e26cf57f30bb422921f4745d\"><code>33583e8b31ee8a33e26cf57f30bb422921f4745d</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where elements slotted within interactive framework components disappeared after hydration.</li>\n</ul>\n<h2>4.4.14</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10355\">#10355</a> <a href=\"https://github.com/withastro/astro/commit/8ce9fffd44b0740621178d61fb1425bf4155c2d7\"><code>8ce9fffd44b0740621178d61fb1425bf4155c2d7</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a regression where full dynamic routes were prioritized over partial dynamic routes. Now a route like <code>food-[name].astro</code> is matched <strong>before</strong> <code>[name].astro</code>.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10356\">#10356</a> <a href=\"https://github.com/withastro/astro/commit/d121311a3f4b5345e344e31f75d4e7164d65f729\"><code>d121311a3f4b5345e344e31f75d4e7164d65f729</code></a> Thanks <a href=\"https://github.com/mingjunlu\"><code>@\u200bmingjunlu</code></a>! - Fixes an issue where <code>getCollection</code> might return <code>undefined</code> when content collection is empty</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10325\">#10325</a> <a href=\"https://github.com/withastro/astro/commit/f33cce8f6c3a2e17847658cdedb015bd93cc1ee3\"><code>f33cce8f6c3a2e17847658cdedb015bd93cc1ee3</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where <code>ctx.site</code> included the configured <code>base</code> in API routes and middleware, unlike <code>Astro.site</code> in astro pages.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10343\">#10343</a> <a href=\"https://github.com/withastro/astro/commit/f973aa9110592fa9017bbe84387f22c24a6d7159\"><code>f973aa9110592fa9017bbe84387f22c24a6d7159</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes some false positive in the dev toolbar a11y audits, by adding the <code>a</code> element to the list of interactive elements.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10295\">#10295</a> <a href=\"https://github.com/withastro/astro/commit/fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9\"><code>fdd5bf277e5c1cfa30c1bd2ca123f4e90e8d09d9</code></a> Thanks <a href=\"https://github.com/rossrobino\"><code>@\u200brossrobino</code></a>! - Adds a prefetch fallback when using the <code>experimental.clientPrerender</code> option. If prerendering fails, which can happen if <a href=\"https://developer.chrome.com/blog/speculation-rules-improvements#chrome-limits\">Chrome extensions block prerendering</a>, it will fallback to prefetching the URL. This works by adding a <code>prefetch</code> field to the <code>speculationrules</code> script, but does not create an extra request.</p>\n</li>\n</ul>\n<h2>4.4.13</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/10342\">#10342</a> <a href=\"https://github.com/withastro/astro/commit/a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec\"><code>a2e9b2b936666b2a4779feb00dcb8ff0ab82c2ec</code></a> Thanks <a href=\"https://github.com/matthewp\"><code>@\u200bmatthewp</code></a>! - Fixes <code>@\u200bastrojs/db</code> loading TS in the fixtures</li>\n</ul>\n<h2>4.4.12</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/10336\">#10336</a> <a href=\"https://github.com/withastro/astro/commit/f2e60a96754ed1d86001fe4d5d3a0c0ef657408d\"><code>f2e60a96754ed1d86001fe4d5d3a0c0ef657408d</code></a> Thanks <a href=\"https://github.com/FredKSchott\"><code>@\u200bFredKSchott</code></a>! - Fixes an issue where slotting interactive components within a "client:only" component prevented all component code in the page from running.</li>\n</ul>\n<h2>4.4.11</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10281\">#10281</a> <a href=\"https://github.com/withastro/astro/commit/9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05\"><code>9deb919ff95b1d2ffe5a5f70ec683e32ebfafd05</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where <code>404.astro</code> was ignored with <code>i18n</code> routing enabled.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10279\">#10279</a> <a href=\"https://github.com/withastro/astro/commit/9ba3e2605daee3861e3bf6c5768f1d8bced4709d\"><code>9ba3e2605daee3861e3bf6c5768f1d8bced4709d</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where returning redirect responses resulted in missing files with certain adapters.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10319\">#10319</a> <a href=\"https://github.com/withastro/astro/commit/19ecccedaab6d8fa0ff23711c88fa7d4fa34df38\"><code>19ecccedaab6d8fa0ff23711c88fa7d4fa34df38</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes an issue where streaming SSR responses sometimes failed with "<code>iterator.result</code> is not a function" on node-based adapters.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10302\">#10302</a> <a href=\"https://github.com/withastro/astro/commit/992537e79f1847b590a2e226aac88a47a6304f68\"><code>992537e79f1847b590a2e226aac88a47a6304f68</code></a> Thanks <a href=\"https://github.com/florian-lefebvre\"><code>@\u200bflorian-lefebvre</code></a>! - Fixes an issue that causes static entrypoints build to fail because of the path in certain conditions. Specifically, it failed if the path had an extension (like <code>.astro</code>, <code>.mdx</code> etc) and such extension would be also within the path (like <code>./.astro/index.astro</code>).</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10298\">#10298</a> <a href=\"https://github.com/withastro/astro/commit/819d20a89c0d269333c2d397c1080884f516307a\"><code>819d20a89c0d269333c2d397c1080884f516307a</code></a> Thanks <a href=\"https://github.com/Fryuni\"><code>@\u200bFryuni</code></a>! - Fix an incorrect conflict resolution between pages generated from static routes and rest parameters</p>\n</li>\n</ul>\n<h2>4.4.10</h2>\n<h3>Patch Changes</h3>\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/82d81a14851e507ded5cb1169b02f3891cc0aeb2\"><code>82d81a1</code></a> [ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10362\">#10362</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/3f27e096283b6b477c4a66d0a7df52feaa3f4233\"><code>3f27e09</code></a> Rename <code>defineDB</code> to <code>defineDb</code> (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10364\">#10364</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/b6ccaa6dc76027f4230d6e7dfecc75b5d8b97267\"><code>b6ccaa6</code></a> Revert "[ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10359\">#10359</a>)" (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10363\">#10363</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/76c21b19d2dfe8fba570593124cc2989c6179ba4\"><code>76c21b1</code></a> [ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10359\">#10359</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/6964b6f9a6a9b65b3f1c576093cba18562a2d2c3\"><code>6964b6f</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/7001ae48dbd8f342e62b71f1ba1ede23bfd93c35\"><code>7001ae4</code></a> db: scaffold db files when using <code>astro add db</code> (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10349\">#10349</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/e7eb83252e4c6a1fc68597061b139de69cc1098f\"><code>e7eb832</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/33583e8b31ee8a33e26cf57f30bb422921f4745d\"><code>33583e8</code></a> fix(rendering): prevent removal of necessary <code>\\<astro-slot></code> elements (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10317\">#10317</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/3de48e8f62c7ddd2bdfcde9d485908ddaa55c8cf\"><code>3de48e8</code></a> [ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10354\">#10354</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/8ce9fffd44b0740621178d61fb1425bf4155c2d7\"><code>8ce9fff</code></a> fix(routing): regression on partial dynamic routes (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10355\">#10355</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/withastro/astro/commits/astro@4.4.15/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 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)\n- `@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)\n- `@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)\n\n\n</details>", 19 "comments": [ 20 { 21 "author": "dependabot[bot]", 22 "created_at": "2024-04-01T02:07:22Z", 23 "body": "Superseded by #45." 24 } 25 ], 26 "review_comments": [] 27 }