Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump astro from 4.15.11 to 4.16.1 in /doks #152

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 22, 2024

Bumps astro from 4.15.11 to 4.16.1.

Release notes

Sourced from astro's releases.

astro@4.16.1

Patch Changes

  • #12177 a4ffbfa Thanks @​matthewp! - Ensure we target scripts for execution in the router

    Using document.scripts is unsafe because if the application has a name="scripts" this will shadow the built-in document.scripts. Fix is to use getElementsByTagName to ensure we're only grabbing real scripts.

  • #12173 2d10de5 Thanks @​ematipico! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.

astro@4.16.0

Minor Changes

  • #12039 710a1a1 Thanks @​ematipico! - Adds a markdown.shikiConfig.langAlias option that allows aliasing a non-supported code language to a known language. This is useful when the language of your code samples is not a built-in Shiki language, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.

    The following example configures Shiki to highlight cjs code blocks using the javascript syntax highlighter:

    import { defineConfig } from 'astro/config';
    export default defineConfig({
    markdown: {
    shikiConfig: {
    langAlias: {
    cjs: 'javascript',
    },
    },
    },
    });

    Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:

    ```cjs
    'use strict';
    function commonJs() {
    return 'I am a commonjs file';
    }
    </code></pre>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/11984">#11984</a> <a href="https://github.com/withastro/astro/commit/3ac2263ff6070136bec9cffb863c38bcc31ccdfe"><code>3ac2263</code></a> Thanks <a href="https://github.com/chaegumi"><code>@​chaegumi</code></a>! - Adds a new <code>build.concurreny</code> configuration option to specify the number of pages to build in parallel</p>
    <p><strong>In most cases, you should not change the default value of <code>1</code>.</strong></p>
    <p>Use this option only when other attempts to reduce the overall rendering time (e.g. batch or cache long running tasks like fetch calls or data access) are not possible or are insufficient.</p>
    <p>Use this option only if the refactors are not possible. If the number is set too high, the page rendering may slow down due to insufficient memory resources and because JS is single-threaded.</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&quot;&gt;astro's changelog</a>.</em></p>
    <blockquote>
    <h2>4.16.14</h2>
    <h3>Patch Changes</h3>
    <ul>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12480&quot;&gt;#12480&lt;/a> <a href="https://github.com/withastro/astro/commit/c3b7e7cfa13603c08eb923703f31a92d514e82db&quot;&gt;&lt;code&gt;c3b7e7c&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/matthewp&quot;&gt;&lt;code&gt;@​matthewp&lt;/code&gt;&lt;/a>! - Removes the default throw behavior in <code>astro:env</code></p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12444&quot;&gt;#12444&lt;/a> <a href="https://github.com/withastro/astro/commit/28dd3ce5222a667fe113238254edf59318b3fa14&quot;&gt;&lt;code&gt;28dd3ce&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/ematipico&quot;&gt;&lt;code&gt;@​ematipico&lt;/code&gt;&lt;/a>! - Fixes an issue where a server island hydration script might fail case the island ID misses from the DOM.</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12476&quot;&gt;#12476&lt;/a> <a href="https://github.com/withastro/astro/commit/80a9a5299a9d51f2b09900d3200976d687feae8f&quot;&gt;&lt;code&gt;80a9a52&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/florian-lefebvre&quot;&gt;&lt;code&gt;@​florian-lefebvre&lt;/code&gt;&lt;/a>! - Fixes a case where the Content Layer <code>glob()</code> loader would not update when renaming or deleting an entry</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12418&quot;&gt;#12418&lt;/a> <a href="https://github.com/withastro/astro/commit/25baa4ed0c5f55fa85c2c7e2c15848937ed1dc9b&quot;&gt;&lt;code&gt;25baa4e&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/oliverlynch&quot;&gt;&lt;code&gt;@​oliverlynch&lt;/code&gt;&lt;/a>! - Fix cached image redownloading if it is the first asset</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12477&quot;&gt;#12477&lt;/a> <a href="https://github.com/withastro/astro/commit/46f6b386b3db6332f286d79958ef10261958cceb&quot;&gt;&lt;code&gt;46f6b38&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/ematipico&quot;&gt;&lt;code&gt;@​ematipico&lt;/code&gt;&lt;/a>! - Fixes an issue where the SSR build was emitting the <code>dist/server/entry.mjs</code> file with an incorrect import at the top of the file/</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12365&quot;&gt;#12365&lt;/a> <a href="https://github.com/withastro/astro/commit/a23985b02165c2ddce56d511b3f97b6815c452c9&quot;&gt;&lt;code&gt;a23985b&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/apatel369&quot;&gt;&lt;code&gt;@​apatel369&lt;/code&gt;&lt;/a>! - Fixes an issue where <code>Astro.currentLocale</code> was not correctly returning the locale for 404 and 500 pages.</p>
    </li>
    </ul>
    <h2>4.16.13</h2>
    <h3>Patch Changes</h3>
    <ul>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12436&quot;&gt;#12436&lt;/a> <a href="https://github.com/withastro/astro/commit/453ec6b12f8c021e0bd0fd0ea9f71c8fc280f4b1&quot;&gt;&lt;code&gt;453ec6b&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/martrapp&quot;&gt;&lt;code&gt;@​martrapp&lt;/code&gt;&lt;/a>! - Fixes a potential null access in the clientside router</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12392&quot;&gt;#12392&lt;/a> <a href="https://github.com/withastro/astro/commit/0462219612183b65867aaaef9fa538d89f201999&quot;&gt;&lt;code&gt;0462219&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/apatel369&quot;&gt;&lt;code&gt;@​apatel369&lt;/code&gt;&lt;/a>! - Fixes an issue where scripts were not correctly injected during the build. The issue was triggered when there were injected routes with the same <code>entrypoint</code> and different <code>pattern</code></p>
    </li>
    </ul>
    <h2>4.16.12</h2>
    <h3>Patch Changes</h3>
    <ul>
    <li><a href="https://redirect.github.com/withastro/astro/pull/12420&quot;&gt;#12420&lt;/a> <a href="https://github.com/withastro/astro/commit/acac0af53466f8a381ccdac29ed2ad735d7b4e79&quot;&gt;&lt;code&gt;acac0af&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/ematipico&quot;&gt;&lt;code&gt;@​ematipico&lt;/code&gt;&lt;/a>! - Fixes an issue where the dev server returns a 404 status code when a user middleware returns a valid <code>Response</code>.</li>
    </ul>
    <h2>4.16.11</h2>
    <h3>Patch Changes</h3>
    <ul>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12305&quot;&gt;#12305&lt;/a> <a href="https://github.com/withastro/astro/commit/f5f71094ec74961b4cca2ee451798abd830c617a&quot;&gt;&lt;code&gt;f5f7109&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/florian-lefebvre&quot;&gt;&lt;code&gt;@​florian-lefebvre&lt;/code&gt;&lt;/a>! - Fixes a case where the error overlay would not escape the message</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12402&quot;&gt;#12402&lt;/a> <a href="https://github.com/withastro/astro/commit/823e73b164eab4115af31b1de8e978f2b4e0a95d&quot;&gt;&lt;code&gt;823e73b&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/ematipico&quot;&gt;&lt;code&gt;@​ematipico&lt;/code&gt;&lt;/a>! - Fixes a case where Astro allowed to call an action without using <code>Astro.callAction</code>. This is now invalid, and Astro will show a proper error.</p>
    <pre lang="diff"><code>---
    import { actions } from &quot;astro:actions&quot;;
    -const result = actions.getUser({ userId: 123 });
    +const result = Astro.callAction(actions.getUser, { userId: 123 });
    </code></pre>
    </li>
    <li>
    <p><a href="https://redirect.github.com/withastro/astro/pull/12401&quot;&gt;#12401&lt;/a> <a href="https://github.com/withastro/astro/commit/9cca10843912698e13d35f1bc3c493e2c96a06ee&quot;&gt;&lt;code&gt;9cca108&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/bholmesdev&quot;&gt;&lt;code&gt;@​bholmesdev&lt;/code&gt;&lt;/a>! - Fixes unexpected 200 status in dev server logs for action errors and redirects.</p>
    </li>
    </ul>
    <h2>4.16.10</h2>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/withastro/astro/commit/c73d65d7f76617cf5275203fd918887cbda01baf&quot;&gt;&lt;code&gt;c73d65d&lt;/code&gt;&lt;/a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12178&quot;&gt;#12178&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/650dd22a7bce084c66a9a0f96f2d4e4500807641&quot;&gt;&lt;code&gt;650dd22&lt;/code&gt;&lt;/a> Fix VT video test fail in firefox (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12188&quot;&gt;#12188&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/58e22bd042f9a67c2167605bc7ee45538f1b4921&quot;&gt;&lt;code&gt;58e22bd&lt;/code&gt;&lt;/a> [ci] format</li>
    <li><a href="https://github.com/withastro/astro/commit/2d10de5f212323e6e19c7ea379826dcc18fe739c&quot;&gt;&lt;code&gt;2d10de5&lt;/code&gt;&lt;/a> fix(routing): actions should redirect the original pathname (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12173&quot;&gt;#12173&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e&quot;&gt;&lt;code&gt;a4ffbfa&lt;/code&gt;&lt;/a> Ensure router only targets scripts for execution (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12177&quot;&gt;#12177&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/2f5b28e93851f39708d0d683832c70730b40afe9&quot;&gt;&lt;code&gt;2f5b28e&lt;/code&gt;&lt;/a> Use p-queue instead of fastq (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12189&quot;&gt;#12189&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/1f93fca1d36734bc0abc227214cf8d96eba513cd&quot;&gt;&lt;code&gt;1f93fca&lt;/code&gt;&lt;/a> Fix biome lint warning (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12187&quot;&gt;#12187&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/582f12e1f6f99b54865a0b24d804ee0924f4ef55&quot;&gt;&lt;code&gt;582f12e&lt;/code&gt;&lt;/a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12148&quot;&gt;#12148&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/b9e8e96354019c21c8b73585bea74b84b9b092ee&quot;&gt;&lt;code&gt;b9e8e96&lt;/code&gt;&lt;/a> add info about content intellisense (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12164&quot;&gt;#12164&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/withastro/astro/commit/c6fd1df695d0f2a24bb49e6954064f92664ccf67&quot;&gt;&lt;code&gt;c6fd1df&lt;/code&gt;&lt;/a> Fix mts reloads (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/12160&quot;&gt;#12160&lt;/a&gt;)&lt;/li>
    <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@4.16.1/packages/astro&quot;&gt;compare view</a></li>
    </ul>
    </details>
    <br />
    
    
    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 commands and options
    
    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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
    

Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.15.11 to 4.16.1.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@4.16.1/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants