64.json (12666B)
1 { 2 "number": 64, 3 "title": "Bump astro from 4.0.6 to 4.10.2", 4 "state": "closed", 5 "diff_file": "64.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2024-06-17T01:25:47Z", 8 "closed_at": "2024-06-24T01:28:35Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/npm_and_yarn/astro-4.10.2", 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.10.2.\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.10.2</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11231\">#11231</a> <a href=\"https://github.com/withastro/astro/commit/58d7dbb5e0cabea1ac7a35af5b46685fce50d723\"><code>58d7dbb</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a regression for <code>getViteConfig</code>, where the inline config wasn't merged in the final config.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11228\">#11228</a> <a href=\"https://github.com/withastro/astro/commit/1e293a1b819024f16bfe482f272df0678cdd7874\"><code>1e293a1</code></a> Thanks <a href=\"https://github.com/ascorbic\"><code>@\u200bascorbic</code></a>! - Updates <code>getCollection()</code> to always return a cloned array</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11207\">#11207</a> <a href=\"https://github.com/withastro/astro/commit/7d9aac376c4b8844917901f7f566f7259d7f66c8\"><code>7d9aac3</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11189\">#11189</a> <a href=\"https://github.com/withastro/astro/commit/75a8fe7e72b95f20c36f034de2b51b6a9550e27e\"><code>75a8fe7</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Improve error message when using <code>getLocaleByPath</code> on path that doesn't contain any locales.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11195\">#11195</a> <a href=\"https://github.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633\"><code>0a6ab6f</code></a> Thanks <a href=\"https://github.com/florian-lefebvre\"><code>@\u200bflorian-lefebvre</code></a>! - Adds support for enums to <code>astro:env</code></p>\n<p>You can now call <code>envField.enum</code>:</p>\n<pre lang=\"js\"><code>import { defineConfig, envField } from 'astro/config';\n<p>export default defineConfig({\nexperimental: {\nenv: {\nschema: {\nAPI_VERSION: envField.enum({\ncontext: 'server',\naccess: 'secret',\nvalues: ['v1', 'v2'],\n}),\n},\n},\n},\n});\n</code></pre></p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11210\">#11210</a> <a href=\"https://github.com/withastro/astro/commit/66fc0283d3f1d1a4f17d7db65ca3521a01fb5bec\"><code>66fc028</code></a> Thanks <a href=\"https://github.com/matthewp\"><code>@\u200bmatthewp</code></a>! - Close the iterator only after rendering is complete</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11195\">#11195</a> <a href=\"https://github.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633\"><code>0a6ab6f</code></a> Thanks <a href=\"https://github.com/florian-lefebvre\"><code>@\u200bflorian-lefebvre</code></a>! - Adds additional validation options to <code>astro:env</code></p>\n<p><code>astro:env</code> schema datatypes <code>string</code> and <code>number</code> now have new optional validation rules:</p>\n<pre lang=\"js\"><code>import { defineConfig, envField } from 'astro/config';\n<p>export default defineConfig({\nexperimental: {\nenv: {\nschema: {\nFOO: envField.string({\n// ...\nmax: 32,\nmin: 3,\n</code></pre></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.10.2</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11231\">#11231</a> <a href=\"https://github.com/withastro/astro/commit/58d7dbb5e0cabea1ac7a35af5b46685fce50d723\"><code>58d7dbb</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes a regression for <code>getViteConfig</code>, where the inline config wasn't merged in the final config.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11228\">#11228</a> <a href=\"https://github.com/withastro/astro/commit/1e293a1b819024f16bfe482f272df0678cdd7874\"><code>1e293a1</code></a> Thanks <a href=\"https://github.com/ascorbic\"><code>@\u200bascorbic</code></a>! - Updates <code>getCollection()</code> to always return a cloned array</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11207\">#11207</a> <a href=\"https://github.com/withastro/astro/commit/7d9aac376c4b8844917901f7f566f7259d7f66c8\"><code>7d9aac3</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11189\">#11189</a> <a href=\"https://github.com/withastro/astro/commit/75a8fe7e72b95f20c36f034de2b51b6a9550e27e\"><code>75a8fe7</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Improve error message when using <code>getLocaleByPath</code> on path that doesn't contain any locales.</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11195\">#11195</a> <a href=\"https://github.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633\"><code>0a6ab6f</code></a> Thanks <a href=\"https://github.com/florian-lefebvre\"><code>@\u200bflorian-lefebvre</code></a>! - Adds support for enums to <code>astro:env</code></p>\n<p>You can now call <code>envField.enum</code>:</p>\n<pre lang=\"js\"><code>import { defineConfig, envField } from 'astro/config';\n<p>export default defineConfig({\nexperimental: {\nenv: {\nschema: {\nAPI_VERSION: envField.enum({\ncontext: 'server',\naccess: 'secret',\nvalues: ['v1', 'v2'],\n}),\n},\n},\n},\n});\n</code></pre></p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11210\">#11210</a> <a href=\"https://github.com/withastro/astro/commit/66fc0283d3f1d1a4f17d7db65ca3521a01fb5bec\"><code>66fc028</code></a> Thanks <a href=\"https://github.com/matthewp\"><code>@\u200bmatthewp</code></a>! - Close the iterator only after rendering is complete</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/11195\">#11195</a> <a href=\"https://github.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633\"><code>0a6ab6f</code></a> Thanks <a href=\"https://github.com/florian-lefebvre\"><code>@\u200bflorian-lefebvre</code></a>! - Adds additional validation options to <code>astro:env</code></p>\n<p><code>astro:env</code> schema datatypes <code>string</code> and <code>number</code> now have new optional validation rules:</p>\n<pre lang=\"js\"><code>import { defineConfig, envField } from 'astro/config';\n<p>export default defineConfig({\nexperimental: {\nenv: {\nschema: {\nFOO: envField.string({\n// ...\nmax: 32,\n</code></pre></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/dd0145d28b1ff849da2825ae7032dfd46a1d4bf7\"><code>dd0145d</code></a> [ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11225\">#11225</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/c5152dbea35011a41253e6bcc3e07cb248aac79e\"><code>c5152db</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/7d9aac376c4b8844917901f7f566f7259d7f66c8\"><code>7d9aac3</code></a> fix(rewrite): purge old data when rewriting (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11207\">#11207</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/bd849a4f62b53ada3c7faf399c1a5a17c35a8c73\"><code>bd849a4</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/58d7dbb5e0cabea1ac7a35af5b46685fce50d723\"><code>58d7dbb</code></a> fix: regression for getViteConfig (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11231\">#11231</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/8725cb2f909853187b85561dd1b153be12994c44\"><code>8725cb2</code></a> fix(deps): update all non-major dependencies (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11222\">#11222</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/72a3dd31e9fab2adbc35321e00df63be82ac823a\"><code>72a3dd3</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/1e293a1b819024f16bfe482f272df0678cdd7874\"><code>1e293a1</code></a> fix(astro): always return cloned content collection (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11228\">#11228</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/28ee6e7f85802fffb7f69318a03d7f356644151f\"><code>28ee6e7</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/66fc0283d3f1d1a4f17d7db65ca3521a01fb5bec\"><code>66fc028</code></a> Close iterator after rendering is complete and no more chunks remain (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11210\">#11210</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/withastro/astro/commits/astro@4.10.2/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-06-24T01:28:35Z", 23 "body": "Superseded by #66." 24 } 25 ], 26 "review_comments": [] 27 }