31.json (20487B)
1 { 2 "number": 31, 3 "title": "Bump astro from 4.0.6 to 4.3.5", 4 "state": "closed", 5 "diff_file": "31.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2024-02-12T01:44:16Z", 8 "closed_at": "2024-02-19T01:43:20Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/astro-4.3.5", 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.3.5.\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.3.5</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10022\">#10022</a> <a href=\"https://github.com/withastro/astro/commit/3fc76efb2a8faa47edf67562a1f0c84a19be1b33\"><code>3fc76efb2a8faa47edf67562a1f0c84a19be1b33</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes a regression where types for the <code>astro:content</code> module did not include required exports, leading to typescript errors.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10016\">#10016</a> <a href=\"https://github.com/withastro/astro/commit/037e4f12dd2f460d66f72c9f2d992b95e74d2da9\"><code>037e4f12dd2f460d66f72c9f2d992b95e74d2da9</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a bug where routes with a name that start with the name of the <code>i18n.defaultLocale</code> were incorrectly returning a 404 response.</p>\n</li>\n</ul>\n<h2>astro@4.3.4</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10013\">#10013</a> <a href=\"https://github.com/withastro/astro/commit/e6b5306a7de779ce495d0ff076d302de0aa57eaf\"><code>e6b5306a7de779ce495d0ff076d302de0aa57eaf</code></a> Thanks <a href=\"https://github.com/delucis\"><code>@\u200bdelucis</code></a>! - Fixes a regression in content collection types</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10003\">#10003</a> <a href=\"https://github.com/withastro/astro/commit/ce4283331f18c6178654dd705e3cf02efeef004a\"><code>ce4283331f18c6178654dd705e3cf02efeef004a</code></a> Thanks <a href=\"https://github.com/bholmesdev\"><code>@\u200bbholmesdev</code></a>! - Adds support for <code>.strict()</code> on content collection schemas when a custom <code>slug</code> is present.</p>\n</li>\n</ul>\n<h2>astro@4.3.3</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9998\">#9998</a> <a href=\"https://github.com/withastro/astro/commit/18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee\"><code>18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a bug in <code>Astro.currentLocale</code> that wasn't returning the correct locale when a locale is configured via <code>path</code></p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9998\">#9998</a> <a href=\"https://github.com/withastro/astro/commit/18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee\"><code>18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a regression in <code>Astro.currentLocale</code> where it stopped working properly with dynamic routes</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9956\">#9956</a> <a href=\"https://github.com/withastro/astro/commit/81acac24a3cac5a9143155c1d9f838ea84a70421\"><code>81acac24a3cac5a9143155c1d9f838ea84a70421</code></a> Thanks <a href=\"https://github.com/matthewp\"><code>@\u200bmatthewp</code></a>! - Fixes HMR for MDX dependencies in Content Collections</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9999\">#9999</a> <a href=\"https://github.com/withastro/astro/commit/c53a31321a935e4be04809046d7e0ba3cc41b272\"><code>c53a31321a935e4be04809046d7e0ba3cc41b272</code></a> Thanks <a href=\"https://github.com/MoustaphaDev\"><code>@\u200bMoustaphaDev</code></a>! - Rollbacks the feature which allowed to dynamically generate slots with variable slot names due to unexpected regressions.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9906\">#9906</a> <a href=\"https://github.com/withastro/astro/commit/3c0876cbed5033e6b5b42cc2b9d8b393d7e5a55e\"><code>3c0876cbed5033e6b5b42cc2b9d8b393d7e5a55e</code></a> Thanks <a href=\"https://github.com/florian-lefebvre\"><code>@\u200bflorian-lefebvre</code></a>! - Improves the types for the <code>astro:content</code> module by making low fidelity types available before running <code>astro sync</code></p>\n</li>\n</ul>\n<h2>astro@4.3.2</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9932\">#9932</a> <a href=\"https://github.com/withastro/astro/commit/9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582\"><code>9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a case where a warning was logged even when the feature <code>i18nDomains</code> wasn't enabled</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9907\">#9907</a> <a href=\"https://github.com/withastro/astro/commit/6c894af5ab79f290f4ff7feb68617a66e91febc1\"><code>6c894af5ab79f290f4ff7feb68617a66e91febc1</code></a> Thanks <a href=\"https://github.com/ktym4a\"><code>@\u200bktym4a</code></a>! - Load 404.html on all non-existent paths on astro preview.</p>\n</li>\n</ul>\n<h2>astro@4.3.1</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9841\">#9841</a> <a href=\"https://github.com/withastro/astro/commit/27ea080e24e2c5cdc59b63b1dfe0a83a0c696597\"><code>27ea080e24e2c5cdc59b63b1dfe0a83a0c696597</code></a> Thanks <a href=\"https://github.com/kristianbinau\"><code>@\u200bkristianbinau</code></a>! - Makes the warning clearer when having a custom <code>base</code> and requesting a public URL without it</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9888\">#9888</a> <a href=\"https://github.com/withastro/astro/commit/9d2fdb293d6a7323e10126cebad18ef9a2ea2800\"><code>9d2fdb293d6a7323e10126cebad18ef9a2ea2800</code></a> Thanks <a href=\"https://github.com/natemoo-re\"><code>@\u200bnatemoo-re</code></a>! - Improves error handling logic for the <code>astro sync</code> command.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9918\">#9918</a> <a href=\"https://github.com/withastro/astro/commit/d52529e09450c84933dd15d6481edb32269f537b\"><code>d52529e09450c84933dd15d6481edb32269f537b</code></a> Thanks <a href=\"https://github.com/LarryIVC\"><code>@\u200bLarryIVC</code></a>! - Adds the <code>name</code> attribute to the <code><details></code> tag type</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9938\">#9938</a> <a href=\"https://github.com/withastro/astro/commit/1568afb78a163db63a4cde146dec87785a83db1d\"><code>1568afb78a163db63a4cde146dec87785a83db1d</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes a regression where middleware did not run for prerendered pages and endpoints.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9931\">#9931</a> <a href=\"https://github.com/withastro/astro/commit/44674418965d658733d3602668a9354e18f8ef89\"><code>44674418965d658733d3602668a9354e18f8ef89</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes a regression where a response created with <code>Response.redirect</code> or containing <code>null</code> as the body never completed in node-based adapters.</p>\n</li>\n</ul>\n<h2>astro@4.3.0</h2>\n<h3>Minor Changes</h3>\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.3.5</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10022\">#10022</a> <a href=\"https://github.com/withastro/astro/commit/3fc76efb2a8faa47edf67562a1f0c84a19be1b33\"><code>3fc76efb2a8faa47edf67562a1f0c84a19be1b33</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes a regression where types for the <code>astro:content</code> module did not include required exports, leading to typescript errors.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10016\">#10016</a> <a href=\"https://github.com/withastro/astro/commit/037e4f12dd2f460d66f72c9f2d992b95e74d2da9\"><code>037e4f12dd2f460d66f72c9f2d992b95e74d2da9</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a bug where routes with a name that start with the name of the <code>i18n.defaultLocale</code> were incorrectly returning a 404 response.</p>\n</li>\n</ul>\n<h2>4.3.4</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10013\">#10013</a> <a href=\"https://github.com/withastro/astro/commit/e6b5306a7de779ce495d0ff076d302de0aa57eaf\"><code>e6b5306a7de779ce495d0ff076d302de0aa57eaf</code></a> Thanks <a href=\"https://github.com/delucis\"><code>@\u200bdelucis</code></a>! - Fixes a regression in content collection types</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/10003\">#10003</a> <a href=\"https://github.com/withastro/astro/commit/ce4283331f18c6178654dd705e3cf02efeef004a\"><code>ce4283331f18c6178654dd705e3cf02efeef004a</code></a> Thanks <a href=\"https://github.com/bholmesdev\"><code>@\u200bbholmesdev</code></a>! - Adds support for <code>.strict()</code> on content collection schemas when a custom <code>slug</code> is present.</p>\n</li>\n</ul>\n<h2>4.3.3</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9998\">#9998</a> <a href=\"https://github.com/withastro/astro/commit/18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee\"><code>18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a bug in <code>Astro.currentLocale</code> that wasn't returning the correct locale when a locale is configured via <code>path</code></p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9998\">#9998</a> <a href=\"https://github.com/withastro/astro/commit/18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee\"><code>18ac0940ea1b49b6b0ddd9be1f96aef416e2d7ee</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a regression in <code>Astro.currentLocale</code> where it stopped working properly with dynamic routes</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9956\">#9956</a> <a href=\"https://github.com/withastro/astro/commit/81acac24a3cac5a9143155c1d9f838ea84a70421\"><code>81acac24a3cac5a9143155c1d9f838ea84a70421</code></a> Thanks <a href=\"https://github.com/matthewp\"><code>@\u200bmatthewp</code></a>! - Fixes HMR for MDX dependencies in Content Collections</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9999\">#9999</a> <a href=\"https://github.com/withastro/astro/commit/c53a31321a935e4be04809046d7e0ba3cc41b272\"><code>c53a31321a935e4be04809046d7e0ba3cc41b272</code></a> Thanks <a href=\"https://github.com/MoustaphaDev\"><code>@\u200bMoustaphaDev</code></a>! - Rollbacks the feature which allowed to dynamically generate slots with variable slot names due to unexpected regressions.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9906\">#9906</a> <a href=\"https://github.com/withastro/astro/commit/3c0876cbed5033e6b5b42cc2b9d8b393d7e5a55e\"><code>3c0876cbed5033e6b5b42cc2b9d8b393d7e5a55e</code></a> Thanks <a href=\"https://github.com/florian-lefebvre\"><code>@\u200bflorian-lefebvre</code></a>! - Improves the types for the <code>astro:content</code> module by making low fidelity types available before running <code>astro sync</code></p>\n</li>\n</ul>\n<h2>4.3.2</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9932\">#9932</a> <a href=\"https://github.com/withastro/astro/commit/9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582\"><code>9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a case where a warning was logged even when the feature <code>i18nDomains</code> wasn't enabled</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9907\">#9907</a> <a href=\"https://github.com/withastro/astro/commit/6c894af5ab79f290f4ff7feb68617a66e91febc1\"><code>6c894af5ab79f290f4ff7feb68617a66e91febc1</code></a> Thanks <a href=\"https://github.com/ktym4a\"><code>@\u200bktym4a</code></a>! - Load 404.html on all non-existent paths on astro preview.</p>\n</li>\n</ul>\n<h2>4.3.1</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9841\">#9841</a> <a href=\"https://github.com/withastro/astro/commit/27ea080e24e2c5cdc59b63b1dfe0a83a0c696597\"><code>27ea080e24e2c5cdc59b63b1dfe0a83a0c696597</code></a> Thanks <a href=\"https://github.com/kristianbinau\"><code>@\u200bkristianbinau</code></a>! - Makes the warning clearer when having a custom <code>base</code> and requesting a public URL without it</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9888\">#9888</a> <a href=\"https://github.com/withastro/astro/commit/9d2fdb293d6a7323e10126cebad18ef9a2ea2800\"><code>9d2fdb293d6a7323e10126cebad18ef9a2ea2800</code></a> Thanks <a href=\"https://github.com/natemoo-re\"><code>@\u200bnatemoo-re</code></a>! - Improves error handling logic for the <code>astro sync</code> command.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9918\">#9918</a> <a href=\"https://github.com/withastro/astro/commit/d52529e09450c84933dd15d6481edb32269f537b\"><code>d52529e09450c84933dd15d6481edb32269f537b</code></a> Thanks <a href=\"https://github.com/LarryIVC\"><code>@\u200bLarryIVC</code></a>! - Adds the <code>name</code> attribute to the <code><details></code> tag type</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9938\">#9938</a> <a href=\"https://github.com/withastro/astro/commit/1568afb78a163db63a4cde146dec87785a83db1d\"><code>1568afb78a163db63a4cde146dec87785a83db1d</code></a> Thanks <a href=\"https://github.com/lilnasy\"><code>@\u200blilnasy</code></a>! - Fixes a regression where middleware did not run for prerendered pages and endpoints.</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/ef00224a86a5863f2800274d1034d7b039b55749\"><code>ef00224</code></a> [ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10018\">#10018</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/3fc76efb2a8faa47edf67562a1f0c84a19be1b33\"><code>3fc76ef</code></a> fix(astro:content): include required type declarations (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10022\">#10022</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/9ef79173a6a826a7ee20682c6925a18e6ec839d3\"><code>9ef7917</code></a> chore: move i18n routing tests (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10002\">#10002</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/037e4f12dd2f460d66f72c9f2d992b95e74d2da9\"><code>037e4f1</code></a> fix(i18n): don't consider URLs that start with the name of the defaut locale ...</li>\n<li><a href=\"https://github.com/withastro/astro/commit/fa9218e8369557ccfc4bbed1a40c2602c7bbcaf8\"><code>fa9218e</code></a> [ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10014\">#10014</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/e6b5306a7de779ce495d0ff076d302de0aa57eaf\"><code>e6b5306</code></a> Move <code>astro:content</code> types declaration to manual ambient module (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10013\">#10013</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/88628a4f9e95173800cbd791468b4dab7797e2b2\"><code>88628a4</code></a> Fix small typo in astro.ts (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10008\">#10008</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/7596f0cd3b44b28a8fa0b1660bb9056de6930ad4\"><code>7596f0c</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/436841e97e0ecbf6e5e1658b2c1e272d7856cdc9\"><code>436841e</code></a> Use eslint-plugin-regexp (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9993\">#9993</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/ce4283331f18c6178654dd705e3cf02efeef004a\"><code>ce42833</code></a> Fix: support <code>strict()</code> on content collection schemas when <code>slug</code> is present ...</li>\n<li>Additional commits viewable in <a href=\"https://github.com/withastro/astro/commits/astro@4.3.5/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-02-19T01:43:19Z", 23 "body": "Superseded by #32." 24 } 25 ], 26 "review_comments": [] 27 }