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

32.md (17465B)


      1 # PR #32 Bump astro from 4.0.6 to 4.4.0
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2024-02-19T01:43:18Z
      6 - **Branch:** dependabot/npm_and_yarn/astro-4.4.0 → main
      7 - **Closed:** 2024-02-26T01:47:40Z
      8 - **Labels:** dependencies, javascript
      9 - **Diff:** [32.diff](./32.diff)
     10 
     11 ---
     12 
     13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.4.0.
     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.4.0</h2>
     19 <h3>Minor Changes</h3>
     20 <ul>
     21 <li>
     22 <p><a href="https://redirect.github.com/withastro/astro/pull/9614">#9614</a> <a href="https://github.com/withastro/astro/commit/d469bebd7b45b060dc41d82ab1cf18ee6de7e051"><code>d469bebd7b45b060dc41d82ab1cf18ee6de7e051</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Improves Node.js streaming performance.</p>
     23 <p>This uses an <code>AsyncIterable</code> instead of a <code>ReadableStream</code> to do streaming in Node.js. This is a non-standard enhancement by Node, which is done only in that environment.</p>
     24 </li>
     25 <li>
     26 <p><a href="https://redirect.github.com/withastro/astro/pull/10001">#10001</a> <a href="https://github.com/withastro/astro/commit/748b2e87cd44d8bcc1ab9d7e504703057e2000cd"><code>748b2e87cd44d8bcc1ab9d7e504703057e2000cd</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@​bholmesdev</code></a>! - Removes content collection warning when a configured collection does not have a matching directory name. This should resolve <code>i18n</code> collection warnings for Starlight users.</p>
     27 <p>This also ensures configured collection names are always included in <code>getCollection()</code> and <code>getEntry()</code> types even when a matching directory is absent. We hope this allows users to discover typos during development by surfacing type information.</p>
     28 </li>
     29 <li>
     30 <p><a href="https://redirect.github.com/withastro/astro/pull/10074">#10074</a> <a href="https://github.com/withastro/astro/commit/7443929381b47db0639c49a4d32aec4177bd9102"><code>7443929381b47db0639c49a4d32aec4177bd9102</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Add a UI showing the list of found problems when using the audit app in the dev toolbar</p>
     31 </li>
     32 <li>
     33 <p><a href="https://redirect.github.com/withastro/astro/pull/10099">#10099</a> <a href="https://github.com/withastro/astro/commit/b340f8fe3aaa81e38c4f1aa41498b159dc733d86"><code>b340f8fe3aaa81e38c4f1aa41498b159dc733d86</code></a> Thanks <a href="https://github.com/martrapp"><code>@​martrapp</code></a>! - Fixes a regression where view transition names containing special characters such as spaces or punctuation stopped working.</p>
     34 <p>Regular use naming your transitions with <code>transition: name</code> is unaffected.</p>
     35 <p>However, this fix may result in breaking changes if your project relies on the particular character encoding strategy Astro uses to translate <code>transition:name</code> directives into values of the underlying CSS <code>view-transition-name</code> property. For example, <code>Welcome to Astro</code> is now encoded as <code>Welcome_20to_20Astro_2e</code>.</p>
     36 <p>This mainly affects spaces and punctuation marks but no Unicode characters with codes &gt;= 128.</p>
     37 </li>
     38 <li>
     39 <p><a href="https://redirect.github.com/withastro/astro/pull/9976">#9976</a> <a href="https://github.com/withastro/astro/commit/91f75afbc642b6e73dd4ec18a1fe2c3128c68132"><code>91f75afbc642b6e73dd4ec18a1fe2c3128c68132</code></a> Thanks <a href="https://github.com/OliverSpeir"><code>@​OliverSpeir</code></a>! - Adds a new optional <code>astro:assets</code> image attribute <code>inferSize</code> for use with remote images.</p>
     40 <p>Remote images can now have their dimensions inferred just like local images. Setting <code>inferSize</code> to <code>true</code> allows you to use <code>getImage()</code> and the <code>&lt;Image /&gt;</code> and <code>&lt;Picture /&gt;</code> components without setting the <code>width</code> and <code>height</code> properties.</p>
     41 <pre lang="astro"><code>---
     42 import { Image, Picture, getImage } from 'astro:assets';
     43 const myPic = await getImage({ src: 'https://example.com/example.png', inferSize: true });
     44 ---
     45 <p>&lt;Image src=&quot;<a href="https://example.com/example.png">https://example.com/example.png</a>&quot; inferSize alt=&quot;&quot; /&gt;
     46 &lt;Picture src=&quot;<a href="https://example.com/example.png">https://example.com/example.png</a>&quot; inferSize alt=&quot;&quot; /&gt;
     47 </code></pre></p>
     48 <p>Read more about <a href="https://docs.astro.build/en/guides/images/#infersize">using <code>inferSize</code> with remote images</a> in our documentation.</p>
     49 </li>
     50 <li>
     51 <p><a href="https://redirect.github.com/withastro/astro/pull/10015">#10015</a> <a href="https://github.com/withastro/astro/commit/6884b103c8314a43e926c6acdf947cbf812a21f4"><code>6884b103c8314a43e926c6acdf947cbf812a21f4</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Adds initial support for performance audits to the dev toolbar</p>
     52 </li>
     53 </ul>
     54 <h3>Patch Changes</h3>
     55 <ul>
     56 <li>
     57 <p><a href="https://redirect.github.com/withastro/astro/pull/10116">#10116</a> <a href="https://github.com/withastro/astro/commit/4bcc249a9f34aaac59658ca626c828bd6dbb8046"><code>4bcc249a9f34aaac59658ca626c828bd6dbb8046</code></a> Thanks <a href="https://github.com/lilnasy"><code>@​lilnasy</code></a>! - Fixes an issue where the dev server froze when typescript aliases were used.</p>
     58 </li>
     59 <li>
     60 <p><a href="https://redirect.github.com/withastro/astro/pull/10096">#10096</a> <a href="https://github.com/withastro/astro/commit/227cd83a51bbd451dc223fd16f4cf1b87b8e44f8"><code>227cd83a51bbd451dc223fd16f4cf1b87b8e44f8</code></a> Thanks <a href="https://github.com/Fryuni"><code>@​Fryuni</code></a>! - Fixes regression on routing priority for multi-layer index pages</p>
     61 <p>The sorting algorithm positions more specific routes before less specific routes, and considers index pages to be more specific than a dynamic route with a rest parameter inside of it.
     62 This means that <code>/blog</code> is considered more specific than <code>/blog/[...slug]</code>.</p>
     63 <p>But this special case was being applied incorrectly to indexes, which could cause a problem in scenarios like the following:</p>
     64 </li>
     65 </ul>
     66 <!-- raw HTML omitted -->
     67 </blockquote>
     68 <p>... (truncated)</p>
     69 </details>
     70 <details>
     71 <summary>Changelog</summary>
     72 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p>
     73 <blockquote>
     74 <h2>4.4.0</h2>
     75 <h3>Minor Changes</h3>
     76 <ul>
     77 <li>
     78 <p><a href="https://redirect.github.com/withastro/astro/pull/9614">#9614</a> <a href="https://github.com/withastro/astro/commit/d469bebd7b45b060dc41d82ab1cf18ee6de7e051"><code>d469bebd7b45b060dc41d82ab1cf18ee6de7e051</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Improves Node.js streaming performance.</p>
     79 <p>This uses an <code>AsyncIterable</code> instead of a <code>ReadableStream</code> to do streaming in Node.js. This is a non-standard enhancement by Node, which is done only in that environment.</p>
     80 </li>
     81 <li>
     82 <p><a href="https://redirect.github.com/withastro/astro/pull/10001">#10001</a> <a href="https://github.com/withastro/astro/commit/748b2e87cd44d8bcc1ab9d7e504703057e2000cd"><code>748b2e87cd44d8bcc1ab9d7e504703057e2000cd</code></a> Thanks <a href="https://github.com/bholmesdev"><code>@​bholmesdev</code></a>! - Removes content collection warning when a configured collection does not have a matching directory name. This should resolve <code>i18n</code> collection warnings for Starlight users.</p>
     83 <p>This also ensures configured collection names are always included in <code>getCollection()</code> and <code>getEntry()</code> types even when a matching directory is absent. We hope this allows users to discover typos during development by surfacing type information.</p>
     84 </li>
     85 <li>
     86 <p><a href="https://redirect.github.com/withastro/astro/pull/10074">#10074</a> <a href="https://github.com/withastro/astro/commit/7443929381b47db0639c49a4d32aec4177bd9102"><code>7443929381b47db0639c49a4d32aec4177bd9102</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Add a UI showing the list of found problems when using the audit app in the dev toolbar</p>
     87 </li>
     88 <li>
     89 <p><a href="https://redirect.github.com/withastro/astro/pull/10099">#10099</a> <a href="https://github.com/withastro/astro/commit/b340f8fe3aaa81e38c4f1aa41498b159dc733d86"><code>b340f8fe3aaa81e38c4f1aa41498b159dc733d86</code></a> Thanks <a href="https://github.com/martrapp"><code>@​martrapp</code></a>! - Fixes a regression where view transition names containing special characters such as spaces or punctuation stopped working.</p>
     90 <p>Regular use naming your transitions with <code>transition: name</code> is unaffected.</p>
     91 <p>However, this fix may result in breaking changes if your project relies on the particular character encoding strategy Astro uses to translate <code>transition:name</code> directives into values of the underlying CSS <code>view-transition-name</code> property. For example, <code>Welcome to Astro</code> is now encoded as <code>Welcome_20to_20Astro_2e</code>.</p>
     92 <p>This mainly affects spaces and punctuation marks but no Unicode characters with codes &gt;= 128.</p>
     93 </li>
     94 <li>
     95 <p><a href="https://redirect.github.com/withastro/astro/pull/9976">#9976</a> <a href="https://github.com/withastro/astro/commit/91f75afbc642b6e73dd4ec18a1fe2c3128c68132"><code>91f75afbc642b6e73dd4ec18a1fe2c3128c68132</code></a> Thanks <a href="https://github.com/OliverSpeir"><code>@​OliverSpeir</code></a>! - Adds a new optional <code>astro:assets</code> image attribute <code>inferSize</code> for use with remote images.</p>
     96 <p>Remote images can now have their dimensions inferred just like local images. Setting <code>inferSize</code> to <code>true</code> allows you to use <code>getImage()</code> and the <code>&lt;Image /&gt;</code> and <code>&lt;Picture /&gt;</code> components without setting the <code>width</code> and <code>height</code> properties.</p>
     97 <pre lang="astro"><code>---
     98 import { Image, Picture, getImage } from 'astro:assets';
     99 const myPic = await getImage({ src: 'https://example.com/example.png', inferSize: true });
    100 ---
    101 <p>&lt;Image src=&quot;<a href="https://example.com/example.png">https://example.com/example.png</a>&quot; inferSize alt=&quot;&quot; /&gt;
    102 &lt;Picture src=&quot;<a href="https://example.com/example.png">https://example.com/example.png</a>&quot; inferSize alt=&quot;&quot; /&gt;
    103 </code></pre></p>
    104 <p>Read more about <a href="https://docs.astro.build/en/guides/images/#infersize">using <code>inferSize</code> with remote images</a> in our documentation.</p>
    105 </li>
    106 <li>
    107 <p><a href="https://redirect.github.com/withastro/astro/pull/10015">#10015</a> <a href="https://github.com/withastro/astro/commit/6884b103c8314a43e926c6acdf947cbf812a21f4"><code>6884b103c8314a43e926c6acdf947cbf812a21f4</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Adds initial support for performance audits to the dev toolbar</p>
    108 </li>
    109 </ul>
    110 <h3>Patch Changes</h3>
    111 <ul>
    112 <li>
    113 <p><a href="https://redirect.github.com/withastro/astro/pull/10116">#10116</a> <a href="https://github.com/withastro/astro/commit/4bcc249a9f34aaac59658ca626c828bd6dbb8046"><code>4bcc249a9f34aaac59658ca626c828bd6dbb8046</code></a> Thanks <a href="https://github.com/lilnasy"><code>@​lilnasy</code></a>! - Fixes an issue where the dev server froze when typescript aliases were used.</p>
    114 </li>
    115 <li>
    116 <p><a href="https://redirect.github.com/withastro/astro/pull/10096">#10096</a> <a href="https://github.com/withastro/astro/commit/227cd83a51bbd451dc223fd16f4cf1b87b8e44f8"><code>227cd83a51bbd451dc223fd16f4cf1b87b8e44f8</code></a> Thanks <a href="https://github.com/Fryuni"><code>@​Fryuni</code></a>! - Fixes regression on routing priority for multi-layer index pages</p>
    117 <p>The sorting algorithm positions more specific routes before less specific routes, and considers index pages to be more specific than a dynamic route with a rest parameter inside of it.
    118 This means that <code>/blog</code> is considered more specific than <code>/blog/[...slug]</code>.</p>
    119 <p>But this special case was being applied incorrectly to indexes, which could cause a problem in scenarios like the following:</p>
    120 </li>
    121 </ul>
    122 <!-- raw HTML omitted -->
    123 </blockquote>
    124 <p>... (truncated)</p>
    125 </details>
    126 <details>
    127 <summary>Commits</summary>
    128 <ul>
    129 <li><a href="https://github.com/withastro/astro/commit/141f2fb75749a8be048af100c1308a4ec72cced5"><code>141f2fb</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10109">#10109</a>)</li>
    130 <li><a href="https://github.com/withastro/astro/commit/40a2e03ffb86d4b64838ed90a5d464d32db1b589"><code>40a2e03</code></a> chore: move tests to node (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10115">#10115</a>)</li>
    131 <li><a href="https://github.com/withastro/astro/commit/0f3d4ae30bdfead23b352c469ce4e6a85b68204f"><code>0f3d4ae</code></a> [ci] format</li>
    132 <li><a href="https://github.com/withastro/astro/commit/8701cfee23535ab1994112cf9c1badaa30807d46"><code>8701cfe</code></a> chore: move <code>css-</code> related tests to <code>node:test</code> (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10114">#10114</a>)</li>
    133 <li><a href="https://github.com/withastro/astro/commit/b386d2d7ae5884d3fce5eee186ee28033f7c0cfe"><code>b386d2d</code></a> [ci] format</li>
    134 <li><a href="https://github.com/withastro/astro/commit/91f75afbc642b6e73dd4ec18a1fe2c3128c68132"><code>91f75af</code></a> Add <code>inferSize</code> to getImage so width and height are optional for remote image...</li>
    135 <li><a href="https://github.com/withastro/astro/commit/787e6f52470cf07fb50c865948b2bc8fe45a6d31"><code>787e6f5</code></a> Update to Vite 5.1 (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10120">#10120</a>)</li>
    136 <li><a href="https://github.com/withastro/astro/commit/e9cedf0bbc6d371c1d484710a212564d1b053951"><code>e9cedf0</code></a> [ci] format</li>
    137 <li><a href="https://github.com/withastro/astro/commit/4bcc249a9f34aaac59658ca626c828bd6dbb8046"><code>4bcc249</code></a> fix(dev): preload matched routes sequentially (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/10116">#10116</a>)</li>
    138 <li><a href="https://github.com/withastro/astro/commit/51b6ff7403c1223b1c399e88373075972c82c24c"><code>51b6ff7</code></a> Fix invalid URLs being returned from <code>getRegistry</code>, synchronize all copies (#...</li>
    139 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.4.0/packages/astro">compare view</a></li>
    140 </ul>
    141 </details>
    142 <br />
    143 
    144 
    145 [![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.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    146 
    147 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`.
    148 
    149 [//]: # (dependabot-automerge-start)
    150 [//]: # (dependabot-automerge-end)
    151 
    152 ---
    153 
    154 <details>
    155 <summary>Dependabot commands and options</summary>
    156 <br />
    157 
    158 You can trigger Dependabot actions by commenting on this PR:
    159 - `@dependabot rebase` will rebase this PR
    160 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    161 - `@dependabot merge` will merge this PR after your CI passes on it
    162 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    163 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    164 - `@dependabot reopen` will reopen this PR if it is closed
    165 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    166 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
    167 - `@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)
    168 - `@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)
    169 - `@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)
    170 - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency
    171 - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions
    172 
    173 
    174 </details>
    175 
    176 
    177 ## Comments
    178 
    179 ### @dependabot[bot] — 2024-02-26T01:47:39Z
    180 
    181 Superseded by #35.
    182