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

64.md (12105B)


      1 # PR #64 Bump astro from 4.0.6 to 4.10.2
      2 
      3 - **Status:** closed
      4 - **Author:** @dependabot[bot]
      5 - **Created:** 2024-06-17T01:25:47Z
      6 - **Branch:** dependabot/npm_and_yarn/astro-4.10.2 → main
      7 - **Closed:** 2024-06-24T01:28:35Z
      8 - **Labels:** dependencies, javascript
      9 - **Diff:** [64.diff](./64.diff)
     10 
     11 ---
     12 
     13 Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.0.6 to 4.10.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.10.2</h2>
     19 <h3>Patch Changes</h3>
     20 <ul>
     21 <li>
     22 <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>@​ematipico</code></a>! - Fixes a regression for <code>getViteConfig</code>, where the inline config wasn't merged in the final config.</p>
     23 </li>
     24 <li>
     25 <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>@​ascorbic</code></a>! - Updates <code>getCollection()</code> to always return a cloned array</p>
     26 </li>
     27 <li>
     28 <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>@​ematipico</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>
     29 </li>
     30 <li>
     31 <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>@​ematipico</code></a>! - Improve error message when using <code>getLocaleByPath</code> on path that doesn't contain any locales.</p>
     32 </li>
     33 <li>
     34 <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>@​florian-lefebvre</code></a>! - Adds support for enums to <code>astro:env</code></p>
     35 <p>You can now call <code>envField.enum</code>:</p>
     36 <pre lang="js"><code>import { defineConfig, envField } from 'astro/config';
     37 <p>export default defineConfig({
     38 experimental: {
     39 env: {
     40 schema: {
     41 API_VERSION: envField.enum({
     42 context: 'server',
     43 access: 'secret',
     44 values: ['v1', 'v2'],
     45 }),
     46 },
     47 },
     48 },
     49 });
     50 </code></pre></p>
     51 </li>
     52 <li>
     53 <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>@​matthewp</code></a>! - Close the iterator only after rendering is complete</p>
     54 </li>
     55 <li>
     56 <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>@​florian-lefebvre</code></a>! - Adds additional validation options to <code>astro:env</code></p>
     57 <p><code>astro:env</code> schema datatypes <code>string</code> and <code>number</code> now have new optional validation rules:</p>
     58 <pre lang="js"><code>import { defineConfig, envField } from 'astro/config';
     59 <p>export default defineConfig({
     60 experimental: {
     61 env: {
     62 schema: {
     63 FOO: envField.string({
     64 // ...
     65 max: 32,
     66 min: 3,
     67 </code></pre></p>
     68 </li>
     69 </ul>
     70 <!-- raw HTML omitted -->
     71 </blockquote>
     72 <p>... (truncated)</p>
     73 </details>
     74 <details>
     75 <summary>Changelog</summary>
     76 <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's changelog</a>.</em></p>
     77 <blockquote>
     78 <h2>4.10.2</h2>
     79 <h3>Patch Changes</h3>
     80 <ul>
     81 <li>
     82 <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>@​ematipico</code></a>! - Fixes a regression for <code>getViteConfig</code>, where the inline config wasn't merged in the final config.</p>
     83 </li>
     84 <li>
     85 <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>@​ascorbic</code></a>! - Updates <code>getCollection()</code> to always return a cloned array</p>
     86 </li>
     87 <li>
     88 <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>@​ematipico</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>
     89 </li>
     90 <li>
     91 <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>@​ematipico</code></a>! - Improve error message when using <code>getLocaleByPath</code> on path that doesn't contain any locales.</p>
     92 </li>
     93 <li>
     94 <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>@​florian-lefebvre</code></a>! - Adds support for enums to <code>astro:env</code></p>
     95 <p>You can now call <code>envField.enum</code>:</p>
     96 <pre lang="js"><code>import { defineConfig, envField } from 'astro/config';
     97 <p>export default defineConfig({
     98 experimental: {
     99 env: {
    100 schema: {
    101 API_VERSION: envField.enum({
    102 context: 'server',
    103 access: 'secret',
    104 values: ['v1', 'v2'],
    105 }),
    106 },
    107 },
    108 },
    109 });
    110 </code></pre></p>
    111 </li>
    112 <li>
    113 <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>@​matthewp</code></a>! - Close the iterator only after rendering is complete</p>
    114 </li>
    115 <li>
    116 <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>@​florian-lefebvre</code></a>! - Adds additional validation options to <code>astro:env</code></p>
    117 <p><code>astro:env</code> schema datatypes <code>string</code> and <code>number</code> now have new optional validation rules:</p>
    118 <pre lang="js"><code>import { defineConfig, envField } from 'astro/config';
    119 <p>export default defineConfig({
    120 experimental: {
    121 env: {
    122 schema: {
    123 FOO: envField.string({
    124 // ...
    125 max: 32,
    126 </code></pre></p>
    127 </li>
    128 </ul>
    129 <!-- raw HTML omitted -->
    130 </blockquote>
    131 <p>... (truncated)</p>
    132 </details>
    133 <details>
    134 <summary>Commits</summary>
    135 <ul>
    136 <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>
    137 <li><a href="https://github.com/withastro/astro/commit/c5152dbea35011a41253e6bcc3e07cb248aac79e"><code>c5152db</code></a> [ci] format</li>
    138 <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>
    139 <li><a href="https://github.com/withastro/astro/commit/bd849a4f62b53ada3c7faf399c1a5a17c35a8c73"><code>bd849a4</code></a> [ci] format</li>
    140 <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>
    141 <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>
    142 <li><a href="https://github.com/withastro/astro/commit/72a3dd31e9fab2adbc35321e00df63be82ac823a"><code>72a3dd3</code></a> [ci] format</li>
    143 <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>
    144 <li><a href="https://github.com/withastro/astro/commit/28ee6e7f85802fffb7f69318a03d7f356644151f"><code>28ee6e7</code></a> [ci] format</li>
    145 <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>
    146 <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.10.2/packages/astro">compare view</a></li>
    147 </ul>
    148 </details>
    149 <br />
    150 
    151 
    152 [![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.10.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    153 
    154 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`.
    155 
    156 [//]: # (dependabot-automerge-start)
    157 [//]: # (dependabot-automerge-end)
    158 
    159 ---
    160 
    161 <details>
    162 <summary>Dependabot commands and options</summary>
    163 <br />
    164 
    165 You can trigger Dependabot actions by commenting on this PR:
    166 - `@dependabot rebase` will rebase this PR
    167 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    168 - `@dependabot merge` will merge this PR after your CI passes on it
    169 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    170 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    171 - `@dependabot reopen` will reopen this PR if it is closed
    172 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    173 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
    174 - `@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)
    175 - `@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)
    176 - `@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)
    177 
    178 
    179 </details>
    180 
    181 
    182 ## Comments
    183 
    184 ### @dependabot[bot] — 2024-06-24T01:28:35Z
    185 
    186 Superseded by #66.
    187