Skip to content

Commit 075351c

Browse files
Update astro monorepo (#1787)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [@astrojs/node](https://docs.astro.build/en/guides/integrations-guide/node/) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/node)) | [`9.2.2` -> `9.3.0`](https://renovatebot.com/diffs/npm/@astrojs%2fnode/9.2.2/9.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fnode/9.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fnode/9.2.2/9.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | [`5.10.2` -> `5.11.0`](https://renovatebot.com/diffs/npm/astro/5.10.2/5.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/astro/5.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/astro/5.10.2/5.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>withastro/astro (@&#8203;astrojs/node)</summary> ### [`v9.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/node/CHANGELOG.md#930) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Minor Changes - [#&#8203;14012](https://redirect.github.com/withastro/astro/pull/14012) [`a125a14`](https://redirect.github.com/withastro/astro/commit/a125a14c51c8f66fef0b582e5daf90ff02fce821) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Adds a new experimental configuration option `experimentalDisableStreaming` to allow you to opt out of Astro's default [HTML streaming](https://docs.astro.build/en/guides/on-demand-rendering/#html-streaming) for pages rendered on demand. HTML streaming helps with performance and generally provides a better visitor experience. In most cases, disabling streaming is not recommended. However, when you need to disable HTML streaming (e.g. your host only supports non-streamed HTML caching at the CDN level), you can now opt out of the default behavior: ```diff import { defineConfig } from 'astro/config'; import node from '@&#8203;astrojs/node'; export default defineConfig({ adapter: node({ mode: 'standalone', + experimentalDisableStreaming: true, }), }); ``` - [#&#8203;13972](https://redirect.github.com/withastro/astro/pull/13972) [`db8f8be`](https://redirect.github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Adds support for the [experimental static headers Astro feature](https://docs.astro.build/en/reference/adapter-reference/#experimentalstaticheaders). When the feature is enabled via the option `experimentalStaticHeaders`, and [experimental Content Security Policy](https://docs.astro.build/en/reference/experimental-flags/csp/) is enabled, the adapter will generate `Response` headers for static pages, which allows support for CSP directives that are not supported inside a `<meta>` tag (e.g. `frame-ancestors`). ```js import { defineConfig } from 'astro/config'; import node from '@&#8203;astrojs/node'; export default defineConfig({ adapter: node({ mode: 'standalone', experimentalStaticHeaders: true, }), experimental: { cps: true, }, }); ``` </details> <details> <summary>withastro/astro (astro)</summary> ### [`v5.11.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5110) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.11.0) ##### Minor Changes - [#&#8203;13972](https://redirect.github.com/withastro/astro/pull/13972) [`db8f8be`](https://redirect.github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Updates the `NodeApp.match()` function in the Adapter API to accept a second, optional parameter to allow adapter authors to add headers to static, prerendered pages. `NodeApp.match(request)` currently checks whether there is a route that matches the given `Request`. If there is a prerendered route, the function returns `undefined`, because static routes are already rendered and their headers cannot be updated. When the new, optional boolean parameter is passed (e.g. `NodeApp.match(request, true)`), Astro will return the first matched route, even when it's a prerendered route. This allows your adapter to now access static routes and provides the opportunity to set headers for these pages, for example, to implement a Content Security Policy (CSP). ##### Patch Changes - [#&#8203;14029](https://redirect.github.com/withastro/astro/pull/14029) [`42562f9`](https://redirect.github.com/withastro/astro/commit/42562f9d7b0bef173aca631f9d59e1bf000133c5) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where server islands wouldn't be correctly rendered when they are rendered inside fragments. Now the following examples work as expected: </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/auguwu/floofy.dev). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent e1c6559 commit 075351c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bun.lockb

-2.63 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717
"dev": "astro dev"
1818
},
1919
"dependencies": {
20-
"@astrojs/node": "9.2.2",
20+
"@astrojs/node": "9.3.0",
2121
"@astrojs/rss": "4.0.12",
2222
"@astrojs/sitemap": "3.4.1",
2323
"@astrojs/tailwind": "6.0.2",
2424
"@fontsource/cantarell": "5.2.6",
2525
"@fontsource/jetbrains-mono": "5.2.6",
2626
"@fontsource/open-sans": "5.2.6",
2727
"@tailwindcss/typography": "0.5.16",
28-
"astro": "5.10.2",
28+
"astro": "5.11.0",
2929
"astro-icon": "1.1.5",
3030
"autoprefixer": "10.4.21",
3131
"remark-github-alerts": "0.1.1",

0 commit comments

Comments
 (0)