msc-viewer.meta

Issues/PRs archive for MTRNord/msc-viewer
git clone git://archive.git.mtrnord.blog/MTRNord/msc-viewer.meta.git
Log | Files | Refs

22.json (13713B)


      1 {
      2   "number": 22,
      3   "title": "Bump astro from 4.0.6 to 4.2.1",
      4   "state": "closed",
      5   "diff_file": "22.diff",
      6   "author": "dependabot[bot]",
      7   "created_at": "2024-01-22T01:47:48Z",
      8   "closed_at": "2024-01-29T01:25:46Z",
      9   "merged_at": null,
     10   "base_ref": "main",
     11   "head_ref": "dependabot/npm_and_yarn/astro-4.2.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.2.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.2.1</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/9726\">#9726</a> <a href=\"https://github.com/withastro/astro/commit/a4b696def3a7eb18c1ae48b10fd3758a1874b6fe\"><code>a4b696def3a7eb18c1ae48b10fd3758a1874b6fe</code></a> Thanks <a href=\"https://github.com/Fryuni\"><code>@\u200bFryuni</code></a>! - Fixes a regression in routing priority between <code>index.astro</code> and dynamic routes with rest parameters</li>\n</ul>\n<h2>astro@4.2.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9566\">#9566</a> <a href=\"https://github.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa\"><code>165cfc154be477337037185c32b308616d1ed6fa</code></a> Thanks <a href=\"https://github.com/OliverSpeir\"><code>@\u200bOliverSpeir</code></a>! - Allows remark plugins to pass options specifying how images in <code>.md</code> files will be optimized</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9661\">#9661</a> <a href=\"https://github.com/withastro/astro/commit/d6edc7540864cf5d294d7b881eb886a3804f6d05\"><code>d6edc7540864cf5d294d7b881eb886a3804f6d05</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Adds new helper functions for adapter developers.</p>\n<ul>\n<li><code>Astro.clientAddress</code> can now be passed directly to the <code>app.render()</code> method.</li>\n</ul>\n<pre lang=\"ts\"><code>const response = await app.render(request, { clientAddress: '012.123.23.3' });\n</code></pre>\n<ul>\n<li>Helper functions for converting Node.js HTTP request and response objects to web-compatible <code>Request</code> and <code>Response</code> objects are now provided as static methods on the <code>NodeApp</code> class.</li>\n</ul>\n<pre lang=\"ts\"><code>http.createServer((nodeReq, nodeRes) =&gt; {\n  const request: Request = NodeApp.createRequest(nodeReq);\n  const response = await app.render(request);\n  await NodeApp.writeResponse(response, nodeRes);\n});\n</code></pre>\n<ul>\n<li>Cookies added via <code>Astro.cookies.set()</code> can now be automatically added to the <code>Response</code> object by passing the <code>addCookieHeader</code> option to <code>app.render()</code>.</li>\n</ul>\n<pre lang=\"diff\"><code>-const response = await app.render(request)\n-const setCookieHeaders: Array&lt;string&gt; = Array.from(app.setCookieHeaders(webResponse));\n<p>-if (setCookieHeaders.length) {</p>\n<ul>\n<li>for (const setCookieHeader of setCookieHeaders) {</li>\n<li>\n<pre><code>   headers.append('set-cookie', setCookieHeader);\n</code></pre>\n</li>\n<li>}\n-}\n+const response = await app.render(request, { addCookieHeader: true })\n</code></pre></li>\n</ul>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9638\">#9638</a> <a href=\"https://github.com/withastro/astro/commit/f1a61268061b8834f39a9b38bca043ae41caed04\"><code>f1a61268061b8834f39a9b38bca043ae41caed04</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Adds a new <code>i18n.routing</code> config option <code>redirectToDefaultLocale</code> to disable automatic redirects of the root URL (<code>/</code>) to the default locale when <code>prefixDefaultLocale: true</code> is set.</p>\n<p>In projects where every route, including the default locale, is prefixed with <code>/[locale]/</code> path, this property allows you to control whether or not <code>src/pages/index.astro</code> should automatically redirect your site visitors from <code>/</code> to <code>/[defaultLocale]</code>.</p>\n<p>You can now opt out of this automatic redirection by setting <code>redirectToDefaultLocale: false</code>:</p>\n<pre lang=\"js\"><code>// astro.config.mjs\n</code></pre>\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.2.1</h2>\n<h3>Patch Changes</h3>\n<ul>\n<li><a href=\"https://redirect.github.com/withastro/astro/pull/9726\">#9726</a> <a href=\"https://github.com/withastro/astro/commit/a4b696def3a7eb18c1ae48b10fd3758a1874b6fe\"><code>a4b696def3a7eb18c1ae48b10fd3758a1874b6fe</code></a> Thanks <a href=\"https://github.com/Fryuni\"><code>@\u200bFryuni</code></a>! - Fixes a regression in routing priority between <code>index.astro</code> and dynamic routes with rest parameters</li>\n</ul>\n<h2>4.2.0</h2>\n<h3>Minor Changes</h3>\n<ul>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9566\">#9566</a> <a href=\"https://github.com/withastro/astro/commit/165cfc154be477337037185c32b308616d1ed6fa\"><code>165cfc154be477337037185c32b308616d1ed6fa</code></a> Thanks <a href=\"https://github.com/OliverSpeir\"><code>@\u200bOliverSpeir</code></a>! - Allows remark plugins to pass options specifying how images in <code>.md</code> files will be optimized</p>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9661\">#9661</a> <a href=\"https://github.com/withastro/astro/commit/d6edc7540864cf5d294d7b881eb886a3804f6d05\"><code>d6edc7540864cf5d294d7b881eb886a3804f6d05</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Adds new helper functions for adapter developers.</p>\n<ul>\n<li><code>Astro.clientAddress</code> can now be passed directly to the <code>app.render()</code> method.</li>\n</ul>\n<pre lang=\"ts\"><code>const response = await app.render(request, { clientAddress: '012.123.23.3' });\n</code></pre>\n<ul>\n<li>Helper functions for converting Node.js HTTP request and response objects to web-compatible <code>Request</code> and <code>Response</code> objects are now provided as static methods on the <code>NodeApp</code> class.</li>\n</ul>\n<pre lang=\"ts\"><code>http.createServer((nodeReq, nodeRes) =&gt; {\n  const request: Request = NodeApp.createRequest(nodeReq);\n  const response = await app.render(request);\n  await NodeApp.writeResponse(response, nodeRes);\n});\n</code></pre>\n<ul>\n<li>Cookies added via <code>Astro.cookies.set()</code> can now be automatically added to the <code>Response</code> object by passing the <code>addCookieHeader</code> option to <code>app.render()</code>.</li>\n</ul>\n<pre lang=\"diff\"><code>-const response = await app.render(request)\n-const setCookieHeaders: Array&lt;string&gt; = Array.from(app.setCookieHeaders(webResponse));\n<p>-if (setCookieHeaders.length) {</p>\n<ul>\n<li>for (const setCookieHeader of setCookieHeaders) {</li>\n<li>\n<pre><code>   headers.append('set-cookie', setCookieHeader);\n</code></pre>\n</li>\n<li>}\n-}\n+const response = await app.render(request, { addCookieHeader: true })\n</code></pre></li>\n</ul>\n</li>\n<li>\n<p><a href=\"https://redirect.github.com/withastro/astro/pull/9638\">#9638</a> <a href=\"https://github.com/withastro/astro/commit/f1a61268061b8834f39a9b38bca043ae41caed04\"><code>f1a61268061b8834f39a9b38bca043ae41caed04</code></a> Thanks <a href=\"https://github.com/ematipico\"><code>@\u200bematipico</code></a>! - Adds a new <code>i18n.routing</code> config option <code>redirectToDefaultLocale</code> to disable automatic redirects of the root URL (<code>/</code>) to the default locale when <code>prefixDefaultLocale: true</code> is set.</p>\n<p>In projects where every route, including the default locale, is prefixed with <code>/[locale]/</code> path, this property allows you to control whether or not <code>src/pages/index.astro</code> should automatically redirect your site visitors from <code>/</code> to <code>/[defaultLocale]</code>.</p>\n<p>You can now opt out of this automatic redirection by setting <code>redirectToDefaultLocale: false</code>:</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/138ae524eca0d4a35f88dc05288b7e7f73abea75\"><code>138ae52</code></a> [ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9727\">#9727</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/8bc3b66d4de7d480aa1526ef045a7545841b9c70\"><code>8bc3b66</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/a4b696def3a7eb18c1ae48b10fd3758a1874b6fe\"><code>a4b696d</code></a> Fix regression in the routing priority of index routes (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9726\">#9726</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/259c30e7fcef6a9a3ab421b924abd2da9d3fb1b5\"><code>259c30e</code></a> Fix eslint warnings (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9721\">#9721</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/2292d0b580d405dd2d8500d43e25056cf4d58dec\"><code>2292d0b</code></a> [ci] release (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9709\">#9709</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/7e1db8b4ce2da9e044ea0393e533c6db2561ac90\"><code>7e1db8b</code></a> Avoid vite 5.1 warning (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9719\">#9719</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/0fa8557de46d5390481641f585292a3aa37b4972\"><code>0fa8557</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/3ff704c0b600106fe4082bf513c395ff17e7e163\"><code>3ff704c</code></a> [docs] fix syntax error, avoid a Markdown table (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9713\">#9713</a>)</li>\n<li><a href=\"https://github.com/withastro/astro/commit/96bfc4be764fdbff355bc8b716480b1d96040f4c\"><code>96bfc4b</code></a> [ci] format</li>\n<li><a href=\"https://github.com/withastro/astro/commit/fd17f4a40b83d14350dce691aeb79d87e8fcaf40\"><code>fd17f4a</code></a> Implement priority overrides for injected routes and redirects (<a href=\"https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9439\">#9439</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/withastro/astro/commits/astro@4.2.1/packages/astro\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=astro&package-manager=npm_and_yarn&previous-version=4.0.6&new-version=4.2.1)](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-29T01:25:45Z",
     23       "body": "Superseded by #24."
     24     }
     25   ],
     26   "review_comments": []
     27 }