astro-theme-cactus
astro-theme-cactus copied to clipboard
Bump astro from 4.15.12 to 4.16.1
Bumps astro from 4.15.12 to 4.16.1.
Release notes
Sourced from astro's releases.
[email protected]
Patch Changes
#12177
a4ffbfaThanks@matthewp! - Ensure we target scripts for execution in the routerUsing
document.scriptsis unsafe because if the application has aname="scripts"this will shadow the built-indocument.scripts. Fix is to usegetElementsByTagNameto ensure we're only grabbing real scripts.#12173
2d10de5Thanks@ematipico! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.[email protected]
Minor Changes
#12039
710a1a1Thanks@ematipico! - Adds amarkdown.shikiConfig.langAliasoption 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
cjscode blocks using thejavascriptsyntax 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">astro's changelog</a>.</em></p> <blockquote> <h2>4.16.1</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12177">#12177</a> <a href="https://github.com/withastro/astro/commit/a4ffbfaa5cb460c12bd486fd75e36147f51d3e5e"><code>a4ffbfa</code></a> Thanks <a href="https://github.com/matthewp"><code>@matthewp</code></a>! - Ensure we target scripts for execution in the router</p> <p>Using <code>document.scripts</code> is unsafe because if the application has a <code>name="scripts"</code> this will shadow the built-in <code>document.scripts</code>. Fix is to use <code>getElementsByTagName</code> to ensure we're only grabbing real scripts.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12173">#12173</a> <a href="https://github.com/withastro/astro/commit/2d10de5f212323e6e19c7ea379826dcc18fe739c"><code>2d10de5</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved.</p> </li> </ul> <h2>4.16.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12039">#12039</a> <a href="https://github.com/withastro/astro/commit/710a1a11f488ff6ed3da6d3e0723b2322ccfe27b"><code>710a1a1</code></a> Thanks <a href="https://github.com/ematipico"><code>@ematipico</code></a>! - Adds a <code>markdown.shikiConfig.langAlias</code> option that allows <a href="https://shiki.style/guide/load-lang#custom-language-aliases">aliasing a non-supported code language to a known language</a>. This is useful when the language of your code samples is not <a href="https://shiki.style/languages">a built-in Shiki language</a>, but you want your Markdown source to contain an accurate language while also displaying syntax highlighting.</p> <p>The following example configures Shiki to highlight <code>cjs</code> code blocks using the <code>javascript</code> syntax highlighter:</p> <pre lang="js"><code>import { defineConfig } from 'astro/config';
export default defineConfig({ markdown: { shikiConfig: { langAlias: { cjs: 'javascript', }, }, }, }); </code></pre> <p>Then in your Markdown, you can use the alias as the language for a code block for syntax highlighting:</p> <pre lang="md"><code>```cjs 'use strict';
function commonJs() { return 'I am a commonjs file'; }
#11984
3ac2263Thanks@chaegumi! - Adds a newbuild.concurrenyconfiguration option to specify the number of pages to build in parallelIn most cases, you should not change the default value of
1.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.
... (truncated)
Commits
c73d65d[ci] release (#12178)650dd22Fix VT video test fail in firefox (#12188)58e22bd[ci] format2d10de5fix(routing): actions should redirect the original pathname (#12173)a4ffbfaEnsure router only targets scripts for execution (#12177)2f5b28eUse p-queue instead of fastq (#12189)1f93fcaFix biome lint warning (#12187)582f12e[ci] release (#12148)b9e8e96add info about content intellisense (#12164)c6fd1dfFix mts reloads (#12160)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Deploying astro-theme-cactus with
Cloudflare Pages
| Latest commit: |
44432d5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e356d095.astro-theme-cactus.pages.dev |
| Branch Preview URL: | https://dependabot-npm-and-yarn-astr-z0gx.astro-theme-cactus.pages.dev |
Deploy Preview for astro-theme-cactus ready!
| Name | Link |
|---|---|
| Latest commit | 44432d5845eee57c6cb07ac287d303d38af122d1 |
| Latest deploy log | https://app.netlify.com/sites/astro-theme-cactus/deploys/670d7bf8969f8d0008a7313e |
| Deploy Preview | https://deploy-preview-331--astro-theme-cactus.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.