Skip to content

Commit

Permalink
Bump astro from 4.11.5 to 4.11.6 in /doc (#1349)
Browse files Browse the repository at this point in the history
Bumps
[astro](https://github.com/withastro/astro/tree/HEAD/packages/astro)
from 4.11.5 to 4.11.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/releases">astro's
releases</a>.</em></p>
<blockquote>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11459">#11459</a>
<a
href="https://github.com/withastro/astro/commit/bc2e74de384776caa252fd47dbeda895c0488c11"><code>bc2e74d</code></a>
Thanks <a
href="https://github.com/mingjunlu"><code>@​mingjunlu</code></a>! -
Fixes false positive audit warnings on elements with the role
&quot;tabpanel&quot;.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11472">#11472</a>
<a
href="https://github.com/withastro/astro/commit/cb4e6d09deb7507058115a3fd2a567019a501e4d"><code>cb4e6d0</code></a>
Thanks <a href="https://github.com/delucis"><code>@​delucis</code></a>!
- Avoids targeting all files in the <code>src/</code> directory for
eager optimization by Vite. After this change, only JSX, Vue, Svelte,
and Astro components get scanned for early optimization.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11387">#11387</a>
<a
href="https://github.com/withastro/astro/commit/b498461e277bffb0abe21b59a94b1e56a8c69d47"><code>b498461</code></a>
Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! -
Fixes prerendering not removing unused dynamic imported chunks</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11437">#11437</a>
<a
href="https://github.com/withastro/astro/commit/6ccb30e610eed34c2cc2c275485a8ac45c9b6b9e"><code>6ccb30e</code></a>
Thanks <a href="https://github.com/NuroDev"><code>@​NuroDev</code></a>!
- Fixes a case where Astro's config <code>experimental.env.schema</code>
keys did not allow numbers. Numbers are still not allowed as the first
character to be able to generate valid JavaScript identifiers</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11439">#11439</a>
<a
href="https://github.com/withastro/astro/commit/08baf56f328ce4b6814a7f90089c0b3398d8bbfe"><code>08baf56</code></a>
Thanks <a
href="https://github.com/bholmesdev"><code>@​bholmesdev</code></a>! -
Expands the <code>isInputError()</code> utility from
<code>astro:actions</code> to accept errors of any type. This should now
allow type narrowing from a try / catch block.</p>
<pre lang="ts"><code>// example.ts
import { actions, isInputError } from 'astro:actions';
<p>try {
await actions.like(new FormData());
} catch (error) {
if (isInputError(error)) {
console.log(error.fields);
}
}
</code></pre></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11452">#11452</a>
<a
href="https://github.com/withastro/astro/commit/0e6684983b9b24660a8fef83fe401ec1d567378a"><code>0e66849</code></a>
Thanks <a
href="https://github.com/FugiTech"><code>@​FugiTech</code></a>! - Fixes
an issue where using .nullish() in a formdata Astro action would always
parse as a string</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11438">#11438</a>
<a
href="https://github.com/withastro/astro/commit/619f07db701ebab2d2f2598dd2dcf93ba1e5719c"><code>619f07d</code></a>
Thanks <a
href="https://github.com/bholmesdev"><code>@​bholmesdev</code></a>! -
Exposes utility types from <code>astro:actions</code> for the
<code>defineAction</code> handler (<code>ActionHandler</code>) and the
<code>ActionError</code> code (<code>ActionErrorCode</code>).</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11456">#11456</a>
<a
href="https://github.com/withastro/astro/commit/17e048de0e79d76b933d128676be2388954b419e"><code>17e048d</code></a>
Thanks <a
href="https://github.com/RickyC0626"><code>@​RickyC0626</code></a>! -
Fixes <code>astro dev --open</code> unexpected behavior that spawns a
new tab every time a config file is saved</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11337">#11337</a>
<a
href="https://github.com/withastro/astro/commit/0a4b31ffeb41ad1dfb3141384e22787763fcae3d"><code>0a4b31f</code></a>
Thanks <a
href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>!
- Adds a new property <code>experimental.env.validateSecrets</code> to
allow validating private variables on the server.</p>
<p>By default, this is set to <code>false</code> and only public
variables are checked on start. If enabled, secrets will also be checked
on start (dev/build modes). This is useful for example in some CIs to
make sure all your secrets are correctly set before deploying.</p>
<pre lang="js"><code>// astro.config.mjs
import { defineConfig, envField } from 'astro/config';
<p>export default defineConfig({
experimental: {
env: {
schema: {
// ...
},
validateSecrets: true,
},
},
});
</code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md">astro's
changelog</a>.</em></p>
<blockquote>
<h2>4.11.6</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11459">#11459</a>
<a
href="https://github.com/withastro/astro/commit/bc2e74de384776caa252fd47dbeda895c0488c11"><code>bc2e74d</code></a>
Thanks <a
href="https://github.com/mingjunlu"><code>@​mingjunlu</code></a>! -
Fixes false positive audit warnings on elements with the role
&quot;tabpanel&quot;.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11472">#11472</a>
<a
href="https://github.com/withastro/astro/commit/cb4e6d09deb7507058115a3fd2a567019a501e4d"><code>cb4e6d0</code></a>
Thanks <a href="https://github.com/delucis"><code>@​delucis</code></a>!
- Avoids targeting all files in the <code>src/</code> directory for
eager optimization by Vite. After this change, only JSX, Vue, Svelte,
and Astro components get scanned for early optimization.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11387">#11387</a>
<a
href="https://github.com/withastro/astro/commit/b498461e277bffb0abe21b59a94b1e56a8c69d47"><code>b498461</code></a>
Thanks <a href="https://github.com/bluwy"><code>@​bluwy</code></a>! -
Fixes prerendering not removing unused dynamic imported chunks</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11437">#11437</a>
<a
href="https://github.com/withastro/astro/commit/6ccb30e610eed34c2cc2c275485a8ac45c9b6b9e"><code>6ccb30e</code></a>
Thanks <a href="https://github.com/NuroDev"><code>@​NuroDev</code></a>!
- Fixes a case where Astro's config <code>experimental.env.schema</code>
keys did not allow numbers. Numbers are still not allowed as the first
character to be able to generate valid JavaScript identifiers</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11439">#11439</a>
<a
href="https://github.com/withastro/astro/commit/08baf56f328ce4b6814a7f90089c0b3398d8bbfe"><code>08baf56</code></a>
Thanks <a
href="https://github.com/bholmesdev"><code>@​bholmesdev</code></a>! -
Expands the <code>isInputError()</code> utility from
<code>astro:actions</code> to accept errors of any type. This should now
allow type narrowing from a try / catch block.</p>
<pre lang="ts"><code>// example.ts
import { actions, isInputError } from 'astro:actions';
<p>try {
await actions.like(new FormData());
} catch (error) {
if (isInputError(error)) {
console.log(error.fields);
}
}
</code></pre></p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11452">#11452</a>
<a
href="https://github.com/withastro/astro/commit/0e6684983b9b24660a8fef83fe401ec1d567378a"><code>0e66849</code></a>
Thanks <a
href="https://github.com/FugiTech"><code>@​FugiTech</code></a>! - Fixes
an issue where using .nullish() in a formdata Astro action would always
parse as a string</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11438">#11438</a>
<a
href="https://github.com/withastro/astro/commit/619f07db701ebab2d2f2598dd2dcf93ba1e5719c"><code>619f07d</code></a>
Thanks <a
href="https://github.com/bholmesdev"><code>@​bholmesdev</code></a>! -
Exposes utility types from <code>astro:actions</code> for the
<code>defineAction</code> handler (<code>ActionHandler</code>) and the
<code>ActionError</code> code (<code>ActionErrorCode</code>).</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11456">#11456</a>
<a
href="https://github.com/withastro/astro/commit/17e048de0e79d76b933d128676be2388954b419e"><code>17e048d</code></a>
Thanks <a
href="https://github.com/RickyC0626"><code>@​RickyC0626</code></a>! -
Fixes <code>astro dev --open</code> unexpected behavior that spawns a
new tab every time a config file is saved</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/11337">#11337</a>
<a
href="https://github.com/withastro/astro/commit/0a4b31ffeb41ad1dfb3141384e22787763fcae3d"><code>0a4b31f</code></a>
Thanks <a
href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>!
- Adds a new property <code>experimental.env.validateSecrets</code> to
allow validating private variables on the server.</p>
<p>By default, this is set to <code>false</code> and only public
variables are checked on start. If enabled, secrets will also be checked
on start (dev/build modes). This is useful for example in some CIs to
make sure all your secrets are correctly set before deploying.</p>
<pre lang="js"><code>// astro.config.mjs
import { defineConfig, envField } from 'astro/config';
<p>export default defineConfig({
experimental: {
env: {
schema: {
// ...
},
validateSecrets: true,
},
},
</code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/astro/commit/e30cf49ee45922e4bd4f92df7b2ea3753f1905fc"><code>e30cf49</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11442">#11442</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/0e6684983b9b24660a8fef83fe401ec1d567378a"><code>0e66849</code></a>
Fix action form parsing for .nullish (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11452">#11452</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/3b94324228b5b587cadf766a8e112dec3f33642b"><code>3b94324</code></a>
[ci] format</li>
<li><a
href="https://github.com/withastro/astro/commit/645e128537f1f20da6703afc115d06371d7da5dd"><code>645e128</code></a>
feat: better astro:env errors (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11455">#11455</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/3f4735ee9bae94db5d4b14402f4cffd15aebcc5c"><code>3f4735e</code></a>
[ci] format</li>
<li><a
href="https://github.com/withastro/astro/commit/b498461e277bffb0abe21b59a94b1e56a8c69d47"><code>b498461</code></a>
Fix prerendering with unused dynamic chunks (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11387">#11387</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/cb4e6d09deb7507058115a3fd2a567019a501e4d"><code>cb4e6d0</code></a>
Only add framework component formats to Vite’s <code>optimizeDeps</code>
(<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11472">#11472</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/3070691a8636a3c0cf2fd86b6c7b9e8ea3fffff8"><code>3070691</code></a>
fix(deps): update dependency p-limit to v6 (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11427">#11427</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/49463c03e5cf9f99936ea92563bbe6034f365d8c"><code>49463c0</code></a>
fix(deps): update dependency preferred-pm to v4 (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11428">#11428</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/b482f912e0646d93ec9441a11e401ad394a6ad81"><code>b482f91</code></a>
fix(deps): update dependency which-pm to v3 (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/11429">#11429</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/withastro/astro/commits/[email protected]/packages/astro">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=astro&package-manager=npm_and_yarn&previous-version=4.11.5&new-version=4.11.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)
- `@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)
- `@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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jul 18, 2024
1 parent a3161e2 commit 94f8e24
Show file tree
Hide file tree
Showing 2 changed files with 181 additions and 243 deletions.
Loading

0 comments on commit 94f8e24

Please sign in to comment.