-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit 075351c
authored
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)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>withastro/astro (@​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
-
[#​14012](https://redirect.github.com/withastro/astro/pull/14012)
[`a125a14`](https://redirect.github.com/withastro/astro/commit/a125a14c51c8f66fef0b582e5daf90ff02fce821)
Thanks
[@​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 '@​astrojs/node';
export default defineConfig({
adapter: node({
mode: 'standalone',
+ experimentalDisableStreaming: true,
}),
});
```
-
[#​13972](https://redirect.github.com/withastro/astro/pull/13972)
[`db8f8be`](https://redirect.github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1)
Thanks [@​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 '@​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
-
[#​13972](https://redirect.github.com/withastro/astro/pull/13972)
[`db8f8be`](https://redirect.github.com/withastro/astro/commit/db8f8becc9508fa4f292d45c14af92ba59c414d1)
Thanks [@​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
-
[#​14029](https://redirect.github.com/withastro/astro/pull/14029)
[`42562f9`](https://redirect.github.com/withastro/astro/commit/42562f9d7b0bef173aca631f9d59e1bf000133c5)
Thanks [@​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 075351cCopy full SHA for 075351c
File tree
Expand file treeCollapse file tree
2 files changed
+2
-2
lines changedFilter options
Expand file treeCollapse file tree
2 files changed
+2
-2
lines changedbun.lockb
Copy file name to clipboard-2.63 KB
Binary file not shown.
+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
| 20 | + | |
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
|
0 commit comments