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

28.md (17753B)


      1 # PR #28 Bump astro from 4.0.6 to 4.3.2
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2024-02-05T01:34:24Z
      6 - **Branch:** dependabot/npm_and_yarn/astro-4.3.2 → main
      7 - **Closed:** 2024-02-12T01:44:18Z
      8 - **Labels:** dependencies, javascript
      9 - **Diff:** [28.diff](./28.diff)
     10 
     11 ---
     12 
     13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.3.2.
     14 <details>
     15 <summary>Release notes</summary>
     16 <p><em>Sourced from <a href="https://github.com/withastro/astro/releases">astro's releases</a>.</em></p>
     17 <blockquote>
     18 <h2>astro@4.3.2</h2>
     19 <h3>Patch Changes</h3>
     20 <ul>
     21 <li>
     22 <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>@​ematipico</code></a>! - Fixes a case where a warning was logged even when the feature <code>i18nDomains</code> wasn't enabled</p>
     23 </li>
     24 <li>
     25 <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>@​ktym4a</code></a>! - Load 404.html on all non-existent paths on astro preview.</p>
     26 </li>
     27 </ul>
     28 <h2>astro@4.3.1</h2>
     29 <h3>Patch Changes</h3>
     30 <ul>
     31 <li>
     32 <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>@​kristianbinau</code></a>! - Makes the warning clearer when having a custom <code>base</code> and requesting a public URL without it</p>
     33 </li>
     34 <li>
     35 <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>@​natemoo-re</code></a>! - Improves error handling logic for the <code>astro sync</code> command.</p>
     36 </li>
     37 <li>
     38 <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>@​LarryIVC</code></a>! - Adds the <code>name</code> attribute to the <code>&lt;details&gt;</code> tag type</p>
     39 </li>
     40 <li>
     41 <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>@​lilnasy</code></a>! - Fixes a regression where middleware did not run for prerendered pages and endpoints.</p>
     42 </li>
     43 <li>
     44 <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>@​lilnasy</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>
     45 </li>
     46 </ul>
     47 <h2>astro@4.3.0</h2>
     48 <h3>Minor Changes</h3>
     49 <ul>
     50 <li>
     51 <p><a href="https://redirect.github.com/withastro/astro/pull/9839">#9839</a> <a href="https://github.com/withastro/astro/commit/58f9e393a188702eef5329e41deff3dcb65a3230"><code>58f9e393a188702eef5329e41deff3dcb65a3230</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Adds a new <code>ComponentProps</code> type export from <code>astro/types</code> to get the props type of an Astro component.</p>
     52 <pre lang="astro"><code>---
     53 import type { ComponentProps } from 'astro/types';
     54 import { Button } from './Button.astro';
     55 <h2>type myButtonProps = ComponentProps&lt;typeof Button&gt;;</h2>
     56 <p></code></pre></p>
     57 </li>
     58 <li>
     59 <p><a href="https://redirect.github.com/withastro/astro/pull/9159">#9159</a> <a href="https://github.com/withastro/astro/commit/7d937c158959e76443a02f740b10e251d14dbd8c"><code>7d937c158959e76443a02f740b10e251d14dbd8c</code></a> Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! - Adds CLI shortcuts as an easter egg for the dev server:</p>
     60 <ul>
     61 <li><code>o + enter</code>: opens the site in your browser</li>
     62 <li><code>q + enter</code>: quits the dev server</li>
     63 <li><code>h + enter</code>: prints all available shortcuts</li>
     64 </ul>
     65 </li>
     66 <li>
     67 <p><a href="https://redirect.github.com/withastro/astro/pull/9764">#9764</a> <a href="https://github.com/withastro/astro/commit/fad4f64aa149086feda2d1f3a0b655767034f1a8"><code>fad4f64aa149086feda2d1f3a0b655767034f1a8</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Adds a new <code>build.format</code> configuration option: <code>'preserve'</code>. This option will preserve your source structure in the final build.</p>
     68 <p>The existing configuration options, <code>file</code> and <code>directory</code>, either build all of your HTML pages as files matching the route name (e.g. <code>/about.html</code>) or build all your files as <code>index.html</code> within a nested directory structure (e.g. <code>/about/index.html</code>), respectively. It was not previously possible to control the HTML file built on a per-file basis.</p>
     69 <p>One limitation of <code>build.format: 'file'</code> is that it cannot create <code>index.html</code> files for any individual routes (other than the base path of <code>/</code>) while otherwise building named files. Creating explicit index pages within your file structure still generates a file named for the page route (e.g. <code>src/pages/about/index.astro</code> builds <code>/about.html</code>) when using the <code>file</code> configuration option.</p>
     70 <p>Rather than make a breaking change to allow <code>build.format: 'file'</code> to be more flexible, we decided to create a new <code>build.format: 'preserve'</code>.</p>
     71 <p>The new format will preserve how the filesystem is structured and make sure that is mirrored over to production. Using this option:</p>
     72 </li>
     73 </ul>
     74 <!-- raw HTML omitted -->
     75 </blockquote>
     76 <p>... (truncated)</p>
     77 </details>
     78 <details>
     79 <summary>Changelog</summary>
     80 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p>
     81 <blockquote>
     82 <h2>4.3.2</h2>
     83 <h3>Patch Changes</h3>
     84 <ul>
     85 <li>
     86 <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>@​ematipico</code></a>! - Fixes a case where a warning was logged even when the feature <code>i18nDomains</code> wasn't enabled</p>
     87 </li>
     88 <li>
     89 <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>@​ktym4a</code></a>! - Load 404.html on all non-existent paths on astro preview.</p>
     90 </li>
     91 </ul>
     92 <h2>4.3.1</h2>
     93 <h3>Patch Changes</h3>
     94 <ul>
     95 <li>
     96 <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>@​kristianbinau</code></a>! - Makes the warning clearer when having a custom <code>base</code> and requesting a public URL without it</p>
     97 </li>
     98 <li>
     99 <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>@​natemoo-re</code></a>! - Improves error handling logic for the <code>astro sync</code> command.</p>
    100 </li>
    101 <li>
    102 <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>@​LarryIVC</code></a>! - Adds the <code>name</code> attribute to the <code>&lt;details&gt;</code> tag type</p>
    103 </li>
    104 <li>
    105 <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>@​lilnasy</code></a>! - Fixes a regression where middleware did not run for prerendered pages and endpoints.</p>
    106 </li>
    107 <li>
    108 <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>@​lilnasy</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>
    109 </li>
    110 </ul>
    111 <h2>4.3.0</h2>
    112 <h3>Minor Changes</h3>
    113 <ul>
    114 <li>
    115 <p><a href="https://redirect.github.com/withastro/astro/pull/9839">#9839</a> <a href="https://github.com/withastro/astro/commit/58f9e393a188702eef5329e41deff3dcb65a3230"><code>58f9e393a188702eef5329e41deff3dcb65a3230</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Adds a new <code>ComponentProps</code> type export from <code>astro/types</code> to get the props type of an Astro component.</p>
    116 <pre lang="astro"><code>---
    117 import type { ComponentProps } from 'astro/types';
    118 import Button from './Button.astro';
    119 <h2>type myButtonProps = ComponentProps&lt;typeof Button&gt;;</h2>
    120 <p></code></pre></p>
    121 </li>
    122 <li>
    123 <p><a href="https://redirect.github.com/withastro/astro/pull/9159">#9159</a> <a href="https://github.com/withastro/astro/commit/7d937c158959e76443a02f740b10e251d14dbd8c"><code>7d937c158959e76443a02f740b10e251d14dbd8c</code></a> Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! - Adds CLI shortcuts as an easter egg for the dev server:</p>
    124 <ul>
    125 <li><code>o + enter</code>: opens the site in your browser</li>
    126 <li><code>q + enter</code>: quits the dev server</li>
    127 <li><code>h + enter</code>: prints all available shortcuts</li>
    128 </ul>
    129 </li>
    130 <li>
    131 <p><a href="https://redirect.github.com/withastro/astro/pull/9764">#9764</a> <a href="https://github.com/withastro/astro/commit/fad4f64aa149086feda2d1f3a0b655767034f1a8"><code>fad4f64aa149086feda2d1f3a0b655767034f1a8</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Adds a new <code>build.format</code> configuration option: <code>'preserve'</code>. This option will preserve your source structure in the final build.</p>
    132 <p>The existing configuration options, <code>file</code> and <code>directory</code>, either build all of your HTML pages as files matching the route name (e.g. <code>/about.html</code>) or build all your files as <code>index.html</code> within a nested directory structure (e.g. <code>/about/index.html</code>), respectively. It was not previously possible to control the HTML file built on a per-file basis.</p>
    133 <p>One limitation of <code>build.format: 'file'</code> is that it cannot create <code>index.html</code> files for any individual routes (other than the base path of <code>/</code>) while otherwise building named files. Creating explicit index pages within your file structure still generates a file named for the page route (e.g. <code>src/pages/about/index.astro</code> builds <code>/about.html</code>) when using the <code>file</code> configuration option.</p>
    134 <p>Rather than make a breaking change to allow <code>build.format: 'file'</code> to be more flexible, we decided to create a new <code>build.format: 'preserve'</code>.</p>
    135 </li>
    136 </ul>
    137 <!-- raw HTML omitted -->
    138 </blockquote>
    139 <p>... (truncated)</p>
    140 </details>
    141 <details>
    142 <summary>Commits</summary>
    143 <ul>
    144 <li><a href="https://github.com/withastro/astro/commit/57ab98f53148cb00174ca6ddeea3cfc7404f0f22"><code>57ab98f</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9948">#9948</a>)</li>
    145 <li><a href="https://github.com/withastro/astro/commit/6c894af5ab79f290f4ff7feb68617a66e91febc1"><code>6c894af</code></a> Fix: 404.html load correctly on preview (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9907">#9907</a>)</li>
    146 <li><a href="https://github.com/withastro/astro/commit/cd67dd0a4ffe5ebfb8a2eb47b29c5930c9f1796f"><code>cd67dd0</code></a> Add new test cases for non-UTF-8 and space file names (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9947">#9947</a>)</li>
    147 <li><a href="https://github.com/withastro/astro/commit/9f0d89fa7e9e7c08c8600b0c49c2cce7489a7582"><code>9f0d89f</code></a> fix: don't log warning if <code>i18nDomains</code> isn't enabled (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9932">#9932</a>)</li>
    148 <li><a href="https://github.com/withastro/astro/commit/2ac371404d588a666ade5ff8f181caa00a75622c"><code>2ac3714</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9926">#9926</a>)</li>
    149 <li><a href="https://github.com/withastro/astro/commit/b176825b34a3c687f2b419c12d3888438ea868eb"><code>b176825</code></a> fix: route matching for encoded pathnames (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9934">#9934</a>)</li>
    150 <li><a href="https://github.com/withastro/astro/commit/9d2fdb293d6a7323e10126cebad18ef9a2ea2800"><code>9d2fdb2</code></a> Improve <code>astro sync</code> error handling (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9888">#9888</a>)</li>
    151 <li><a href="https://github.com/withastro/astro/commit/756f9595e751ea3dbaff5b37c69e4b14da50ae6f"><code>756f959</code></a> [ci] format</li>
    152 <li><a href="https://github.com/withastro/astro/commit/1568afb78a163db63a4cde146dec87785a83db1d"><code>1568afb</code></a> fix(middleware): load while retrieving ssr manifest for prerendering (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/9938">#9938</a>)</li>
    153 <li><a href="https://github.com/withastro/astro/commit/055bd27d9d66343a0e0c75ed9343109a1a22bc02"><code>055bd27</code></a> [ci] format</li>
    154 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.3.2/packages/astro">compare view</a></li>
    155 </ul>
    156 </details>
    157 <br />
    158 
    159 
    160 [![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.3.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    161 
    162 Dependabot 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`.
    163 
    164 [//]: # (dependabot-automerge-start)
    165 [//]: # (dependabot-automerge-end)
    166 
    167 ---
    168 
    169 <details>
    170 <summary>Dependabot commands and options</summary>
    171 <br />
    172 
    173 You can trigger Dependabot actions by commenting on this PR:
    174 - `@dependabot rebase` will rebase this PR
    175 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    176 - `@dependabot merge` will merge this PR after your CI passes on it
    177 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    178 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    179 - `@dependabot reopen` will reopen this PR if it is closed
    180 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    181 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
    182 - `@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)
    183 - `@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)
    184 - `@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)
    185 - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
    186 - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
    187 
    188 
    189 </details>
    190 
    191 
    192 ## Comments
    193 
    194 ### @dependabot[bot] — 2024-02-12T01:44:17Z
    195 
    196 Superseded by #31.
    197