Skip to content

Commit 7b2b155

Browse files
fix(deps): update astro monorepo (#641)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@astrojs/cloudflare](https://docs.astro.build/en/guides/integrations-guide/cloudflare/) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/cloudflare)) | [`12.5.3` -> `12.5.4`](https://renovatebot.com/diffs/npm/@astrojs%2fcloudflare/12.5.3/12.5.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fcloudflare/12.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@astrojs%2fcloudflare/12.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@astrojs%2fcloudflare/12.5.3/12.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fcloudflare/12.5.3/12.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | [`5.8.2` -> `5.9.0`](https://renovatebot.com/diffs/npm/astro/5.8.2/5.9.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/astro/5.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/astro/5.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/astro/5.8.2/5.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/astro/5.8.2/5.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>withastro/astro (@&#8203;astrojs/cloudflare)</summary> ### [`v12.5.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/cloudflare/CHANGELOG.md#1254) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;13817](https://redirect.github.com/withastro/astro/pull/13817) [`b7258f1`](https://redirect.github.com/withastro/astro/commit/b7258f1243189218604346f5e0301dbdd363a57f) Thanks [@&#8203;yanthomasdev](https://redirect.github.com/yanthomasdev)! - Clarifies and reduces a few logs when starting the dev server with `@astrojs/cloudflare`. Warnings about sharp support will now be suppressed when you have explicitly set an `imageService` option. - Updated dependencies \[]: - [@&#8203;astrojs/underscore-redirects](https://redirect.github.com/astrojs/underscore-redirects)[@&#8203;0](https://redirect.github.com/0).6.1 </details> <details> <summary>withastro/astro (astro)</summary> ### [`v5.9.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#590) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.9.0) ##### Minor Changes - [#&#8203;13802](https://redirect.github.com/withastro/astro/pull/13802) [`0eafe14`](https://redirect.github.com/withastro/astro/commit/0eafe14b08c627b116842ea0a5299a00f9baa3d1) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Adds experimental Content Security Policy (CSP) support CSP is an important feature to provide fine-grained control over resources that can or cannot be downloaded and executed by a document. In particular, it can help protect against [cross-site scripting (XSS)](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks. Enabling this feature adds additional security to Astro's handling of processed and bundled scripts and styles by default, and allows you to further configure these, and additional, content types. This new experimental feature has been designed to work in every Astro rendering environment (static pages, dynamic pages and single page applications), while giving you maximum flexibility and with type-safety in mind. It is compatible with most of Astro's features such as client islands, and server islands, although Astro's view transitions using the `<ClientRouter />` are not yet fully supported. Inline scripts are not supported out of the box, but you can provide your own hashes for external and inline scripts. To enable this feature, add the experimental flag in your Astro config: ```js // astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ experimental: { csp: true, }, }); ``` For more information on enabling and using this feature in your project, see the [Experimental CSP docs](https://docs.astro.build/en/reference/experimental-flags/csp/). For a complete overview, and to give feedback on this experimental API, see the [Content Security Policy RFC](https://redirect.github.com/withastro/roadmap/blob/feat/rfc-csp/proposals/0055-csp.md). - [#&#8203;13850](https://redirect.github.com/withastro/astro/pull/13850) [`1766d22`](https://redirect.github.com/withastro/astro/commit/1766d222e7bb4adb6d15090e2d6331a0d8978303) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Provides a Markdown renderer to content loaders When creating a content loader, you will now have access to a `renderMarkdown` function that allows you to render Markdown content directly within your loaders. It uses the same settings and plugins as the renderer used for Markdown files in Astro, and follows any Markdown settings you have configured in your Astro project. This allows you to render Markdown content from various sources, such as a CMS or other data sources, directly in your loaders without needing to preprocess the Markdown content separately. ```ts import type { Loader } from 'astro/loaders'; import { loadFromCMS } from './cms'; export function myLoader(settings): Loader { return { name: 'my-loader', async load({ renderMarkdown, store }) { const entries = await loadFromCMS(); store.clear(); for (const entry of entries) { // Assume each entry has a 'content' field with markdown content store.set(entry.id, { id: entry.id, data: entry, rendered: await renderMarkdown(entry.content), }); } }, }; } ``` The return value of `renderMarkdown` is an object with two properties: `html` and `metadata`. These match the `rendered` property of content entries in content collections, so you can use them to render the content in your components or pages. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Tuhura-Tech/wiki). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40MC4zIiwidXBkYXRlZEluVmVyIjoiNDAuNDAuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent d3533e9 commit 7b2b155

File tree

2 files changed

+120
-100
lines changed

2 files changed

+120
-100
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@types/mdast": "4.0.4",
3131
"@types/node": "22.15.29",
3232
"@typescript-eslint/parser": "8.33.1",
33-
"astro": "5.8.2",
33+
"astro": "5.9.0",
3434
"astro-auto-import": "0.4.4",
3535
"astro-eslint-parser": "1.2.2",
3636
"astro-og-canvas": "0.7.0",

0 commit comments

Comments
 (0)