Commit Graph

129 Commits

Author SHA1 Message Date
TrueCharts Bot 4072c91b42 fix(website): update astro 5.7.12 → 5.7.14 (#35582)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.12` ->
`5.7.14`](https://renovatebot.com/diffs/npm/astro/5.7.12/5.7.14) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.14`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5714)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.13...astro@5.7.14)

##### Patch Changes

-
[#&#8203;13773](https://redirect.github.com/withastro/astro/pull/13773)
[`3aa5337`](https://redirect.github.com/withastro/astro/commit/3aa5337eaf01dbcc987dee9413c6985514ef7d6b)
Thanks [@&#8203;sijad](https://redirect.github.com/sijad)! - Ignores
lightningcss unsupported pseudo-class warning.

-
[#&#8203;13833](https://redirect.github.com/withastro/astro/pull/13833)
[`5a6d2ae`](https://redirect.github.com/withastro/astro/commit/5a6d2aede4b397227be5acecfa9bfefb9a1af0f8)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
an issue where session modules would fail to resolve in Node.js < 20.6

-
[#&#8203;13383](https://redirect.github.com/withastro/astro/pull/13383)
[`f7f712c`](https://redirect.github.com/withastro/astro/commit/f7f712cc29f80c4f8096489d7368c2fda223e097)
Thanks [@&#8203;Haberkamp](https://redirect.github.com/Haberkamp)! -
Stop toolbar settings from overflowing

-
[#&#8203;13794](https://redirect.github.com/withastro/astro/pull/13794)
[`85b19d8`](https://redirect.github.com/withastro/astro/commit/85b19d87b6416957c245bd3e239fbf6da2038075)
Thanks
[@&#8203;alexcarpenter](https://redirect.github.com/alexcarpenter)! -
Exclude pre tags from `a11y-no-noninteractive-tabindex` audit check.

-
[#&#8203;13373](https://redirect.github.com/withastro/astro/pull/13373)
[`50ef568`](https://redirect.github.com/withastro/astro/commit/50ef568413b5fe7add36c089b77f9f180739f43f)
Thanks [@&#8203;jpwienekus](https://redirect.github.com/jpwienekus)! -
Fixes a bug where highlights and tooltips render over the audit list
window.

-
[#&#8203;13769](https://redirect.github.com/withastro/astro/pull/13769)
[`e9fc456`](https://redirect.github.com/withastro/astro/commit/e9fc456b58511da3ae2f932256217b3db4c42998)
Thanks [@&#8203;romanstetsyk](https://redirect.github.com/romanstetsyk)!
- Expand ActionError codes to include all IANA-registered HTTP error
codes.

-
[#&#8203;13668](https://redirect.github.com/withastro/astro/pull/13668)
[`866285a`](https://redirect.github.com/withastro/astro/commit/866285a5fb3e4ba9d8ca6aadb129d3a6ed2b0f69)
Thanks [@&#8203;sapphi-red](https://redirect.github.com/sapphi-red)! -
Replaces internal CSS chunking behavior for Astro components' scoped
styles to use Vite's `cssScopeTo` feature. The feature is a port of
Astro's implementation so this should not change the behavior.

###
[`v5.7.13`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5713)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.12...astro@5.7.13)

##### Patch Changes

-
[#&#8203;13761](https://redirect.github.com/withastro/astro/pull/13761)
[`a2e8463`](https://redirect.github.com/withastro/astro/commit/a2e84631ad0a8dbc466d1301cc07a031334ffe5b)
Thanks [@&#8203;jp-knj](https://redirect.github.com/jp-knj)! - Adds new
content collections errors

-
[#&#8203;13788](https://redirect.github.com/withastro/astro/pull/13788)
[`7d0b7ac`](https://redirect.github.com/withastro/astro/commit/7d0b7acb38d5140939d9660b2cf5718e9a8b2c15)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where an error would not be thrown when using the `<Font
/>` component from the experimental fonts API without adding fonts in
the Astro config

-
[#&#8203;13784](https://redirect.github.com/withastro/astro/pull/13784)
[`d7a1889`](https://redirect.github.com/withastro/astro/commit/d7a188988427d1b157d27b789f918c208ece41f7)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes the experimental fonts API to correctly take `config.base`,
`config.build.assets` and `config.build.assetsPrefix` into account

-
[#&#8203;13777](https://redirect.github.com/withastro/astro/pull/13777)
[`a56b8ea`](https://redirect.github.com/withastro/astro/commit/a56b8eaec486d26cbc61a7c94c152f4ee8cabc7a)
Thanks [@&#8203;L4Ph](https://redirect.github.com/L4Ph)! - Fixed an
issue where looping GIF animation would stop when converted to WebP

-
[#&#8203;13566](https://redirect.github.com/withastro/astro/pull/13566)
[`0489d8f`](https://redirect.github.com/withastro/astro/commit/0489d8fe96fb8ee90284277358e38f55c8e0ab1d)
Thanks [@&#8203;TheOtterlord](https://redirect.github.com/TheOtterlord)!
- Fix build errors being ignored when build.concurrency > 1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-05-21 20:44:11 +02:00
TrueCharts Bot 3c63bb1952 fix(website): update sharp 0.34.1 → 0.34.2 (#35565)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [sharp](https://sharp.pixelplumbing.com)
([source](https://redirect.github.com/lovell/sharp),
[changelog](https://redirect.github.com/lovell/sharp/blob/main/docs/changelog.md))
| dependencies | patch | [`0.34.1` ->
`0.34.2`](https://renovatebot.com/diffs/npm/sharp/0.34.1/0.34.2) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>lovell/sharp (sharp)</summary>

###
[`v0.34.2`](https://redirect.github.com/lovell/sharp/compare/v0.34.1...v0.34.2)

[Compare
Source](https://redirect.github.com/lovell/sharp/compare/v0.34.1...v0.34.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-05-21 09:06:28 +02:00
TrueCharts Bot f7ad67122f fix(website): update astro 5.7.11 → 5.7.12 (#35176)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.11` ->
`5.7.12`](https://renovatebot.com/diffs/npm/astro/5.7.11/5.7.12) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.12`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5712)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.11...astro@5.7.12)

##### Patch Changes

-
[#&#8203;13752](https://redirect.github.com/withastro/astro/pull/13752)
[`a079c21`](https://redirect.github.com/withastro/astro/commit/a079c21629ecf95b7539d9afdf90831266d00daf)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Improves handling of font URLs not ending with a file extension when
using the experimental fonts API

-
[#&#8203;13750](https://redirect.github.com/withastro/astro/pull/13750)
[`7d3127d`](https://redirect.github.com/withastro/astro/commit/7d3127db9191556d2ead8a1ea35acb972ee67ec3)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! -
Allows the ClientRouter to open new tabs or windows when submitting
forms by clicking while holding the Cmd, Ctrl, or Shift key.

-
[#&#8203;13765](https://redirect.github.com/withastro/astro/pull/13765)
[`d874fe0`](https://redirect.github.com/withastro/astro/commit/d874fe08f903a44cd8017313accbc02bcf9cb7d9)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where font sources with relative protocol URLs would fail
when using the experimental fonts API

-
[#&#8203;13640](https://redirect.github.com/withastro/astro/pull/13640)
[`5e582e7`](https://redirect.github.com/withastro/astro/commit/5e582e7b4d56425d622c97ad933b1da0e7434155)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Allows inferring `weight` and `style` when using the local provider of
the experimental fonts API

If you want Astro to infer those properties directly from your local
font files, leave them undefined:

    ```js
    {
      // No weight specified: infer
      style: 'normal'; // Do not infer
    }
    ```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-05-08 20:44:33 +02:00
TrueCharts Bot 8db77683fc fix(website): update astro 5.7.10 → 5.7.11 (#35114)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.10` ->
`5.7.11`](https://renovatebot.com/diffs/npm/astro/5.7.10/5.7.11) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.11`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5711)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.10...astro@5.7.11)

##### Patch Changes

-
[#&#8203;13734](https://redirect.github.com/withastro/astro/pull/13734)
[`30aec73`](https://redirect.github.com/withastro/astro/commit/30aec7372b630649e1e484d9453842d3c36eaa26)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Loosen content layer schema types

-
[#&#8203;13751](https://redirect.github.com/withastro/astro/pull/13751)
[`5816b8a`](https://redirect.github.com/withastro/astro/commit/5816b8a6d1295b297c9562ec245db6c60c37f1b1)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates `unifont` to support subsets when using the `google` provider
with the experimental fonts API

-
[#&#8203;13756](https://redirect.github.com/withastro/astro/pull/13756)
[`d4547ba`](https://redirect.github.com/withastro/astro/commit/d4547bafef559b4f9ecd6e407d531aa51c46f7be)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Adds a terminal warning when a remote provider returns no data for a
family when using the experimental fonts API

-
[#&#8203;13742](https://redirect.github.com/withastro/astro/pull/13742)
[`f599463`](https://redirect.github.com/withastro/astro/commit/f5994639120552e38e65c5d4d9688c1a3aa92f90)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes optimized fallback css generation to properly add a `src` when
using the experimental fonts API

-
[#&#8203;13740](https://redirect.github.com/withastro/astro/pull/13740)
[`6935540`](https://redirect.github.com/withastro/astro/commit/6935540e44e5c75fd2106e3ae37add5e8ae7c67f)
Thanks [@&#8203;vixalien](https://redirect.github.com/vixalien)! - Fix
cookies set after middleware did a rewrite with `next(url)` not being
applied

-
[#&#8203;13759](https://redirect.github.com/withastro/astro/pull/13759)
[`4a56d0a`](https://redirect.github.com/withastro/astro/commit/4a56d0a44fb472ef2e3a9999c1b69a52da1afed3)
Thanks [@&#8203;jp-knj](https://redirect.github.com/jp-knj)! - Improved
the error handling of certain error cases.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-05-06 20:23:10 +02:00
TrueCharts Bot 4ffd7eb8e3 fix(website): update astro 5.7.9 → 5.7.10 (#34914) 2025-04-30 20:20:20 +02:00
TrueCharts Bot 1cef11800a fix(website): update astro 5.7.8 → 5.7.9 (#34898) 2025-04-29 20:19:19 +02:00
TrueCharts Bot 657051351b fix(website): update astro 5.7.7 → 5.7.8 (#34886)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.7` ->
`5.7.8`](https://renovatebot.com/diffs/npm/astro/5.7.7/5.7.8) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.8`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#578)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.7...astro@5.7.8)

##### Patch Changes

-
[#&#8203;13715](https://redirect.github.com/withastro/astro/pull/13715)
[`b32dffa`](https://redirect.github.com/withastro/astro/commit/b32dffab6e16388c87fb5e8bb423ed02d88586bb)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates `unifont` to fix a case where a `unicodeRange` related error
would be thrown when using the experimental fonts API

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-29 02:42:34 +02:00
TrueCharts Bot 4bf250455b fix(website): update astro 5.7.6 → 5.7.7 (#34878)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.6` ->
`5.7.7`](https://renovatebot.com/diffs/npm/astro/5.7.6/5.7.7) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.7`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#577)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.6...astro@5.7.7)

##### Patch Changes

-
[#&#8203;13705](https://redirect.github.com/withastro/astro/pull/13705)
[`28f8716`](https://redirect.github.com/withastro/astro/commit/28f8716ceef8b30ebb4da8c6ef32acc72405c1e6)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates unifont to latest and adds support for `fetch` options from
remote providers when using the experimental fonts API

-
[#&#8203;13692](https://redirect.github.com/withastro/astro/pull/13692)
[`60d5be4`](https://redirect.github.com/withastro/astro/commit/60d5be4af49a72e3739f74424c3d5c423f98c133)
Thanks [@&#8203;Le0Developer](https://redirect.github.com/Le0Developer)!
- Fixes a bug where Astro couldn't probably use `inferSize` for images
that contain apostrophe `'` in their name.

-
[#&#8203;13698](https://redirect.github.com/withastro/astro/pull/13698)
[`ab98f88`](https://redirect.github.com/withastro/astro/commit/ab98f884f2f8639a8f385cdbc919bc829014f64d)
Thanks [@&#8203;sarah11918](https://redirect.github.com/sarah11918)! -
Improves the configuration reference docs for the `adapter` entry with
more relevant text and links.

-
[#&#8203;13706](https://redirect.github.com/withastro/astro/pull/13706)
[`b4929ae`](https://redirect.github.com/withastro/astro/commit/b4929ae9e77f74bde251e81abc0a80e160de774a)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
typechecking for content config schema

-
[#&#8203;13653](https://redirect.github.com/withastro/astro/pull/13653)
[`a7b2dc6`](https://redirect.github.com/withastro/astro/commit/a7b2dc60ca94f42a66575feb190e8b0f36b48e7c)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Reduces the amount of preloaded files for the local provider when
using the experimental fonts API

-
[#&#8203;13653](https://redirect.github.com/withastro/astro/pull/13653)
[`a7b2dc6`](https://redirect.github.com/withastro/astro/commit/a7b2dc60ca94f42a66575feb190e8b0f36b48e7c)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where invalid CSS was emitted when using an experimental
fonts API family name containing a space

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-28 20:37:44 +02:00
TrueCharts Bot 0868d77458 fix(website): update astro 5.7.5 → 5.7.6 (#34867) 2025-04-28 14:27:59 +02:00
TrueCharts Bot aede45b7ca fix(website): update astro monorepo (patch) (#34700)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap))
| dependencies | patch | [`3.3.0` ->
`3.3.1`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.3.0/3.3.1)
|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.4` ->
`5.7.5`](https://renovatebot.com/diffs/npm/astro/5.7.4/5.7.5) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (@&#8203;astrojs/sitemap)</summary>

###
[`v3.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#331)

##### Patch Changes

-
[#&#8203;13591](https://redirect.github.com/withastro/astro/pull/13591)
[`5dd2d3f`](https://redirect.github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Removes unused code

</details>

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#575)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.4...astro@5.7.5)

##### Patch Changes

-
[#&#8203;13660](https://redirect.github.com/withastro/astro/pull/13660)
[`620d15d`](https://redirect.github.com/withastro/astro/commit/620d15d8483dfb1822cd47833bc1653e0b704ccb)
Thanks [@&#8203;mingjunlu](https://redirect.github.com/mingjunlu)! -
Adds `server.allowedHosts` docs comment to `AstroUserConfig`

-
[#&#8203;13591](https://redirect.github.com/withastro/astro/pull/13591)
[`5dd2d3f`](https://redirect.github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Removes unused code

-
[#&#8203;13669](https://redirect.github.com/withastro/astro/pull/13669)
[`73f24d4`](https://redirect.github.com/withastro/astro/commit/73f24d400acdc48462a7bc5277b8cee2bcf97580)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where `Astro.originPathname` wasn't returning the correct
value when using rewrites.

-
[#&#8203;13674](https://redirect.github.com/withastro/astro/pull/13674)
[`42388b2`](https://redirect.github.com/withastro/astro/commit/42388b24d6eb866a3129118d22b2f6c71071d0bd)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where an experimental fonts API error would be thrown
when using another `astro:assets` API

-
[#&#8203;13654](https://redirect.github.com/withastro/astro/pull/13654)
[`4931457`](https://redirect.github.com/withastro/astro/commit/49314575a76b52b43e491a0a33c0ccaf9cafb058)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes `fontProviders.google()` so it can forward options to the
unifont provider, when using the experimental fonts API

- Updated dependencies
\[[`5dd2d3f`](https://redirect.github.com/withastro/astro/commit/5dd2d3fde8a138ed611dedf39ffa5dfeeed315f8)]:
-
[@&#8203;astrojs/telemetry](https://redirect.github.com/astrojs/telemetry)[@&#8203;3](https://redirect.github.com/3).2.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-23 14:21:03 +02:00
TrueCharts Bot cb640c20e3 fix(website): update astro 5.7.3 → 5.7.4 (#34531)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.3` ->
`5.7.4`](https://renovatebot.com/diffs/npm/astro/5.7.3/5.7.4) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#574)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.3...astro@5.7.4)

##### Patch Changes

-
[#&#8203;13647](https://redirect.github.com/withastro/astro/pull/13647)
[`ffbe8f2`](https://redirect.github.com/withastro/astro/commit/ffbe8f27a3e897971432eed1fde566db328b540d)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused a session error to be logged when using actions
without sessions

-
[#&#8203;13646](https://redirect.github.com/withastro/astro/pull/13646)
[`6744842`](https://redirect.github.com/withastro/astro/commit/67448426fb4e2289ef8bc25d97bd617456b18b68)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where extra font sources were removed when using the
experimental fonts API

-
[#&#8203;13635](https://redirect.github.com/withastro/astro/pull/13635)
[`d75cac4`](https://redirect.github.com/withastro/astro/commit/d75cac45de8790331aad134ae91bfeb1943cd458)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- The experimental fonts API now generates optimized fallbacks for every
weight and style

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-18 20:18:03 +02:00
TrueCharts Bot 54982c6b1b fix(website): update astro 5.7.2 → 5.7.3 (#34515)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.2` ->
`5.7.3`](https://renovatebot.com/diffs/npm/astro/5.7.2/5.7.3) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#573)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.2...astro@5.7.3)

##### Patch Changes

-
[#&#8203;13643](https://redirect.github.com/withastro/astro/pull/13643)
[`67b7493`](https://redirect.github.com/withastro/astro/commit/67b749391a9069ae1d94ef646b68a99973ef44d7)
Thanks
[@&#8203;tanishqmanuja](https://redirect.github.com/tanishqmanuja)! -
Fixes a case where the font face `src` format would be invalid when
using the experimental fonts API

-
[#&#8203;13639](https://redirect.github.com/withastro/astro/pull/13639)
[`23410c6`](https://redirect.github.com/withastro/astro/commit/23410c644f5fc528ef630f2bcbe58c68dfe0c719)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where some font families would not be downloaded when
using the same font provider several times, using the experimental fonts
API

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-17 20:20:16 +02:00
TrueCharts Bot 8cbf8d3401 fix(website): update astro 5.7.1 → 5.7.2 (#34483) 2025-04-16 20:27:11 +02:00
TrueCharts Bot e049d17676 fix(website): update astro 5.7.0 → 5.7.1 (#34466)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.7.0` ->
`5.7.1`](https://renovatebot.com/diffs/npm/astro/5.7.0/5.7.1) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#571)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.7.0...astro@5.7.1)

##### Patch Changes

-
[#&#8203;13594](https://redirect.github.com/withastro/astro/pull/13594)
[`dc4a015`](https://redirect.github.com/withastro/astro/commit/dc4a015cf33c01b659e07b7d31dbd49f1c2ebfdf)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Reduces the number of font files downloaded

-
[#&#8203;13627](https://redirect.github.com/withastro/astro/pull/13627)
[`7f1a624`](https://redirect.github.com/withastro/astro/commit/7f1a62484ed17fe7a9be5d1e2bb71e2fd12b9fed)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where using the `<Font />` component would throw a Rollup
error during the build

-
[#&#8203;13626](https://redirect.github.com/withastro/astro/pull/13626)
[`3838efe`](https://redirect.github.com/withastro/astro/commit/3838efe5028256e0e28bf823f868bcda6ef1e775)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates fallback font generation to always read font files returned by
font providers

-
[#&#8203;13625](https://redirect.github.com/withastro/astro/pull/13625)
[`f1311d2`](https://redirect.github.com/withastro/astro/commit/f1311d2acb6dd7a75f7ea10eea3a02fbe674eb2a)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates the `<Font />` component so that preload links are generated
before the style tag if `preload` is passed

-
[#&#8203;13622](https://redirect.github.com/withastro/astro/pull/13622)
[`a70d32a`](https://redirect.github.com/withastro/astro/commit/a70d32a4284ef18c3f93196f44c1fcf3ff56d3d5)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Improve autocomplete for session keys

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-16 14:21:45 +02:00
TrueCharts Bot d775857e33 fix(website): update astro 5.6.2 → 5.7.0 (#34401)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.6.2` ->
`5.7.0`](https://renovatebot.com/diffs/npm/astro/5.6.2/5.7.0) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.7.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#570)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.6.2...astro@5.7.0)

##### Minor Changes

-
[#&#8203;13527](https://redirect.github.com/withastro/astro/pull/13527)
[`2fd6a6b`](https://redirect.github.com/withastro/astro/commit/2fd6a6b7aa51a4713af7fac37d5dfd824543c1bc)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - The
experimental session API introduced in Astro 5.1 is now stable and ready
for production use.

Sessions are used to store user state between requests for [on-demand
rendered pages](https://astro.build/en/guides/on-demand-rendering/). You
can use them to store user data, such as authentication tokens, shopping
cart contents, or any other data that needs to persist across requests:

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-04-15 20:21:47 +02:00
TrueCharts Bot 7b3904cc2e fix(website): update astro 5.6.1 → 5.6.2 (#34372)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.6.1` ->
`5.6.2`](https://renovatebot.com/diffs/npm/astro/5.6.1/5.6.2) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.6.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#562)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.6.1...astro@5.6.2)

##### Patch Changes

-
[#&#8203;13606](https://redirect.github.com/withastro/astro/pull/13606)
[`793ecd9`](https://redirect.github.com/withastro/astro/commit/793ecd916e4e815886a57b85bd1739f704faae7f)
Thanks [@&#8203;natemoo-re](https://redirect.github.com/natemoo-re)! -
Fixes a regression that allowed prerendered code to leak into the server
bundle.

-
[#&#8203;13576](https://redirect.github.com/withastro/astro/pull/13576)
[`1c60ec3`](https://redirect.github.com/withastro/astro/commit/1c60ec3c4d8518208737de405b1bc0b5b285a0c9)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Reduces duplicate code in server islands scripts by extracting shared
logic into a helper function.

-
[#&#8203;13588](https://redirect.github.com/withastro/astro/pull/13588)
[`57e59be`](https://redirect.github.com/withastro/astro/commit/57e59bec40ec2febd32065324505087caec9038a)
Thanks [@&#8203;natemoo-re](https://redirect.github.com/natemoo-re)! -
Fixes a memory leak when using SVG assets.

-
[#&#8203;13589](https://redirect.github.com/withastro/astro/pull/13589)
[`5a0563d`](https://redirect.github.com/withastro/astro/commit/5a0563de9e377ba7b0af7e055a85893773616d4b)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Deprecates the asset utility function `emitESMImage()` and adds a new
`emitImageMetadata()` to be used instead

    The function
`emitESMImage()` is now deprecated. It will continue to function, but it
is no longer recommended nor supported. This function will be completely
removed in a next major release of Astro.

Please replace it with the new function`emitImageMetadata()` as soon as
you are able to do so:

    ```diff
    - import { emitESMImage } from "astro/assets/utils";
    + import { emitImageMetadata } from "astro/assets/utils";
    ```

The new function returns the same signature as the previous one.
However, the new function removes two deprecated arguments that were not
meant to be exposed for public use: `_watchMode` and
`experimentalSvgEnabled`. Since it was possible to access these with the
old function, you may need to verify that your code still works as
intended with `emitImageMetadata()`.

-
[#&#8203;13596](https://redirect.github.com/withastro/astro/pull/13596)
[`3752519`](https://redirect.github.com/withastro/astro/commit/375251966d1b28a570bff45ff0fe7e7d2fe46f72)
Thanks [@&#8203;jsparkdev](https://redirect.github.com/jsparkdev)! -
update vite to latest version to fix CVE

-
[#&#8203;13547](https://redirect.github.com/withastro/astro/pull/13547)
[`360cb91`](https://redirect.github.com/withastro/astro/commit/360cb9199a4314f90825c5639ff4396760e9cfcc)
Thanks [@&#8203;jsparkdev](https://redirect.github.com/jsparkdev)! -
Updates vite to the latest version

-
[#&#8203;13548](https://redirect.github.com/withastro/astro/pull/13548)
[`e588527`](https://redirect.github.com/withastro/astro/commit/e588527b4c3de7759ef7d10d3004405d0b197f48)
Thanks [@&#8203;ryuapp](https://redirect.github.com/ryuapp)! - Support
for Deno to install npm pacakges.

Deno requires npm prefix to install packages on npm. For example, to
install react, we need to run `deno add npm:react`. But currently the
command executed is `deno add react`, which doesn't work. So, we change
the package names to have an npm prefix if you are using Deno.

-
[#&#8203;13587](https://redirect.github.com/withastro/astro/pull/13587)
[`a0774b3`](https://redirect.github.com/withastro/astro/commit/a0774b376a4f24e2bf1db5b70616dff63d7412dd)
Thanks [@&#8203;robertoms99](https://redirect.github.com/robertoms99)! -
Fixes an issue with the client router where some attributes of the root
element were not updated during swap, including the transition scope.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-14 14:19:27 +02:00
TrueCharts Bot 7be98ef05e fix(website): update astro-better-image-service 2.1.4 → 2.1.5 (#34364)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[astro-better-image-service](https://redirect.github.com/risu729/astro-better-image-service)
| dependencies | patch | [`2.1.4` ->
`2.1.5`](https://renovatebot.com/diffs/npm/astro-better-image-service/2.1.4/2.1.5)
|

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>risu729/astro-better-image-service
(astro-better-image-service)</summary>

###
[`v2.1.5`](https://redirect.github.com/risu729/astro-better-image-service/releases/tag/v2.1.5)

[Compare
Source](https://redirect.github.com/risu729/astro-better-image-service/compare/v2.1.4...v2.1.5)

##### Reverts

- Revert "chore(deps): update dependency risu729/renovate-config to
v3.2.5
([#&#8203;1292](https://redirect.github.com/risu729/astro-better-image-service/issues/1292))"
([#&#8203;1293](https://redirect.github.com/risu729/astro-better-image-service/issues/1293))
([c2eac36](https://redirect.github.com/risu729/astro-better-image-service/commit/c2eac36365d05038cacfa46f57615a1d49819ec3))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-14 08:22:01 +02:00
TrueCharts Bot eecb634455 fix(website): update astro-better-image-service 2.1.3 → 2.1.4 (#34066)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[astro-better-image-service](https://redirect.github.com/risu729/astro-better-image-service)
| dependencies | patch | [`2.1.3` ->
`2.1.4`](https://renovatebot.com/diffs/npm/astro-better-image-service/2.1.3/2.1.4)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>risu729/astro-better-image-service
(astro-better-image-service)</summary>

###
[`v2.1.4`](https://redirect.github.com/risu729/astro-better-image-service/releases/tag/v2.1.4)

[Compare
Source](https://redirect.github.com/risu729/astro-better-image-service/compare/v2.1.3...v2.1.4)

##### Bug Fixes

- **deps:** update dependency sharp to ^0.34.1
([#&#8203;1291](https://redirect.github.com/risu729/astro-better-image-service/issues/1291))
([afefea8](https://redirect.github.com/risu729/astro-better-image-service/commit/afefea8bdb2558cd23e8c307a628adb60c17eea3))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-08 02:32:19 +02:00
TrueCharts Bot c31aac4480 fix(website): update sharp 0.34.0 → 0.34.1 (#34064)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [sharp](https://sharp.pixelplumbing.com)
([source](https://redirect.github.com/lovell/sharp),
[changelog](https://redirect.github.com/lovell/sharp/blob/main/docs/changelog.md))
| dependencies | patch | [`0.34.0` ->
`0.34.1`](https://renovatebot.com/diffs/npm/sharp/0.34.0/0.34.1) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>lovell/sharp (sharp)</summary>

###
[`v0.34.1`](https://redirect.github.com/lovell/sharp/compare/v0.34.0...v0.34.1)

[Compare
Source](https://redirect.github.com/lovell/sharp/compare/v0.34.0...v0.34.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-07 23:27:58 +02:00
TrueCharts Bot 9492594903 fix(website): update typescript 5.7.3 → 5.8.3 (#33955)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [typescript](https://www.typescriptlang.org/)
([source](https://redirect.github.com/microsoft/TypeScript)) |
dependencies | minor | [`5.8.2` ->
`5.8.3`](https://renovatebot.com/diffs/npm/typescript/5.7.3/5.8.3) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>microsoft/TypeScript (typescript)</summary>

###
[`v5.8.3`](https://redirect.github.com/microsoft/TypeScript/compare/v5.8.2...68cead182cc24afdc3f1ce7c8ff5853aba14b65a)

[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.8.2...68cead182cc24afdc3f1ce7c8ff5853aba14b65a)

###
[`v5.8.2`](https://redirect.github.com/microsoft/TypeScript/releases/tag/v5.8.2):
TypeScript 5.8

[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)

For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/).

- [fixed issues query for Typescript 5.8.0
(Beta)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.8.1
(RC)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.8.2
(Stable)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.2%22+is%3Aclosed+).

Downloads are available on:

-   [npm](https://www.npmjs.com/package/typescript)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzIuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-04-05 08:17:09 +02:00
TrueCharts Bot ffd330ad16 fix(website): update sharp 0.33.5 → 0.34.0 (#33950)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [sharp](https://sharp.pixelplumbing.com)
([source](https://redirect.github.com/lovell/sharp),
[changelog](https://redirect.github.com/lovell/sharp/blob/main/docs/changelog.md))
| dependencies | minor | [`0.33.5` ->
`0.34.0`](https://renovatebot.com/diffs/npm/sharp/0.33.5/0.34.0) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>lovell/sharp (sharp)</summary>

###
[`v0.34.0`](https://redirect.github.com/lovell/sharp/compare/v0.33.5...v0.34.0)

[Compare
Source](https://redirect.github.com/lovell/sharp/compare/v0.33.5...v0.34.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzIuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-04-04 20:20:11 +02:00
TrueCharts Bot 2009a600d6 fix(website): update astro-better-image-service 2.1.2 → 2.1.3 (#33947)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[astro-better-image-service](https://redirect.github.com/risu729/astro-better-image-service)
| dependencies | patch | [`2.1.2` ->
`2.1.3`](https://renovatebot.com/diffs/npm/astro-better-image-service/2.1.2/2.1.3)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>risu729/astro-better-image-service
(astro-better-image-service)</summary>

###
[`v2.1.3`](https://redirect.github.com/risu729/astro-better-image-service/releases/tag/v2.1.3)

[Compare
Source](https://redirect.github.com/risu729/astro-better-image-service/compare/v2.1.2...v2.1.3)

##### Bug Fixes

- **deps:** update dependency sharp to ^0.34.0
([#&#8203;1284](https://redirect.github.com/risu729/astro-better-image-service/issues/1284))
([d4787c7](https://redirect.github.com/risu729/astro-better-image-service/commit/d4787c7954577e4a4b271a86e76a79493ccf5457))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzIuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-04 20:19:32 +02:00
TrueCharts Bot 59b7ee2057 fix(website): update astro monorepo (minor) (#33929)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap))
| dependencies | minor | [`3.3.0` ->
`3.3.0`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.2.1/3.3.0)
|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.5.6` ->
`5.6.1`](https://renovatebot.com/diffs/npm/astro/5.2.6/5.6.1) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (@&#8203;astrojs/sitemap)</summary>

###
[`v3.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#330)

##### Minor Changes

-
[#&#8203;13448](https://redirect.github.com/withastro/astro/pull/13448)
[`91c9503`](https://redirect.github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Add
support for XSL in sitemap-index.xml

</details>

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.6.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#561)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.6.0...astro@5.6.1)

##### Patch Changes

-
[#&#8203;13519](https://redirect.github.com/withastro/astro/pull/13519)
[`3323f5c`](https://redirect.github.com/withastro/astro/commit/3323f5c554a3af966463cc95a42d7ca789ba678b)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Refactors some internals to improve Rolldown compatibility

-
[#&#8203;13545](https://redirect.github.com/withastro/astro/pull/13545)
[`a7aff41`](https://redirect.github.com/withastro/astro/commit/a7aff41681f9235719c03f97650db288f9f5f71a)
Thanks [@&#8203;stramel](https://redirect.github.com/stramel)! - Prevent
empty attributes from appearing in the SVG output

-
[#&#8203;13552](https://redirect.github.com/withastro/astro/pull/13552)
[`9cd0fd4`](https://redirect.github.com/withastro/astro/commit/9cd0fd432634ed664a820ac78c6a3033684c7a83)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where Astro validated the i18n configuration incorrectly,
causing false positives in downstream libraries.

###
[`v5.6.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#560)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.6...astro@5.6.0)

##### Minor Changes

-
[#&#8203;13403](https://redirect.github.com/withastro/astro/pull/13403)
[`dcb9526`](https://redirect.github.com/withastro/astro/commit/dcb9526c6ece3b716c677205fb99b483c95bfa7d)
Thanks [@&#8203;yurynix](https://redirect.github.com/yurynix)! - Adds a
new optional `prerenderedErrorPageFetch` option in the Adapter API to
allow adapters to provide custom implementations for fetching
prerendered error pages.

Now, adapters can override the default `fetch()` behavior, for example
when `fetch()` is unavailable or when you cannot call the server from
itself.

The following example provides a custom fetch for `500.html` and
`404.html`, reading them from disk instead of performing an HTTP call:

    ```js "prerenderedErrorPageFetch"
    return app.render(request, {
prerenderedErrorPageFetch: async (url: string): Promise<Response> => {
        if (url.includes("/500")) {
const content = await fs.promises.readFile("500.html", "utf-8");
            return new Response(content, {
              status: 500,
              headers: { "Content-Type": "text/html" },
            });
        }
        const content = await fs.promises.readFile("404.html", "utf-8");
          return new Response(content, {
            status: 404,
            headers: { "Content-Type": "text/html" },
          });
    });
    ```

If no value is provided, Astro will fallback to its default behavior for
fetching error pages.

Read more about this feature in the [Adapter API
reference](https://docs.astro.build/en/reference/adapter-reference/#prerenderederrorpagefetch).

-
[#&#8203;13482](https://redirect.github.com/withastro/astro/pull/13482)
[`ff257df`](https://redirect.github.com/withastro/astro/commit/ff257df4e1a7f3e29e9bf7f92d52bf72f7b595a4)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates Astro config validation to also run for the Integration API.
An error log will specify which integration is failing the validation.

Now, Astro will first validate the user configuration, then validate the
updated configuration after each integration `astro:config:setup` hook
has run. This means `updateConfig()` calls will no longer accept invalid
configuration.

This fixes a situation where integrations could potentially update a
project with a malformed configuration. These issues should now be
caught and logged so that you can update your integration to only set
valid configurations.

-
[#&#8203;13405](https://redirect.github.com/withastro/astro/pull/13405)
[`21e7e80`](https://redirect.github.com/withastro/astro/commit/21e7e8077d6f0c9ad14fe1876d87bb445f5584b1)
Thanks [@&#8203;Marocco2](https://redirect.github.com/Marocco2)! - Adds
a new `eagerness` option for `prefetch()` when using
`experimental.clientPrerender`

With the experimental
[`clientPrerender`](https://docs.astro.build/en/reference/experimental-flags/client-prerender/)
flag enabled, you can use the `eagerness` option on `prefetch()` to
suggest to the browser how eagerly it should prefetch/prerender link
targets.

This follows the same API described in the [Speculation Rules
API](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/speculationrules#eagerness)
and allows you to balance the benefit of reduced wait times against
bandwidth, memory, and CPU costs for your site visitors.

For example, you can now use `prefetch()` programmatically with large
sets of links and avoid [browser limits in place to guard against
over-speculating](https://developer.chrome.com/blog/speculation-rules-improvements#chrome-limits)
(prerendering/prefetching too many links). Set `eagerness: 'moderate'`
to take advantage of [First In, First Out
(FIFO)](https://en.wikipedia.org/wiki/FIFO_\(computing_and_electronics\))
strategies and browser heuristics to let the browser decide when to
prerender/prefetch them and in what order:

    ```astro
    <a class="link-moderate" href="/nice-link-1">A Nice Link 1</a>
    <a class="link-moderate" href="/nice-link-2">A Nice Link 2</a>
    <a class="link-moderate" href="/nice-link-3">A Nice Link 3</a>
    <a class="link-moderate" href="/nice-link-4">A Nice Link 4</a>
    ...
    <a class="link-moderate" href="/nice-link-20">A Nice Link 20</a>
    <script>
      import { prefetch } from 'astro:prefetch';
const linkModerate = document.getElementsByClassName('link-moderate');
linkModerate.forEach((link) => prefetch(link.getAttribute('href'), {
eagerness: 'moderate' }));
    </script>
    ```

-
[#&#8203;13482](https://redirect.github.com/withastro/astro/pull/13482)
[`ff257df`](https://redirect.github.com/withastro/astro/commit/ff257df4e1a7f3e29e9bf7f92d52bf72f7b595a4)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Improves integrations error handling

If an error is thrown from an integration hook, an error log will now
provide information about the concerned integration and hook

##### Patch Changes

-
[#&#8203;13539](https://redirect.github.com/withastro/astro/pull/13539)
[`c43bf8c`](https://redirect.github.com/withastro/astro/commit/c43bf8cd0513c2260d4ba32b5beffe97306e2e09)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
a new `session.load()` method to the experimental session API that
allows you to load a session by ID.

When using [the experimental sessions
API](https://docs.astro.build/en/reference/experimental-flags/sessions/),
you don't normally need to worry about managing the session ID and
cookies: Astro automatically reads the user's cookies and loads the
correct session when needed. However, sometimes you need more control
over which session to load.

The new `load()` method allows you to manually load a session by ID.
This is useful if you are handling the session ID yourself, or if you
want to keep track of a session without using cookies. For example, you
might want to restore a session from a logged-in user on another device,
or work with an API endpoint that doesn't use cookies.

    ```ts
    // src/pages/api/cart.ts
    import type { APIRoute } from 'astro';

    export const GET: APIRoute = async ({ session, request }) => {
      // Load the session from a header instead of cookies
      const sessionId = request.headers.get('x-session-id');
      await session.load(sessionId);
      const cart = await session.get('cart');
      return Response.json({ cart });
    };
    ```

If a session with that ID doesn't exist, a new one will be created. This
allows you to generate a session ID in the client if needed.

For more information, see the [experimental sessions
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13488](https://redirect.github.com/withastro/astro/pull/13488)
[`d777420`](https://redirect.github.com/withastro/astro/commit/d7774207b11d042711ec310f2ad46d15246482f0)
Thanks [@&#8203;stramel](https://redirect.github.com/stramel)! -
**BREAKING CHANGE to the experimental SVG Component API only**

Removes some previously available prop, attribute, and configuration
options from the experimental SVG API. These items are no longer
available and must be removed from your code:

- The `title` prop has been removed until we can settle on the correct
balance between developer experience and accessibility. Please replace
any `title` props on your components with `aria-label`:
        ```diff
        - <Logo title="My Company Logo" />
        + <Logo aria-label="My Company Logo" />
        ```

- Sprite mode has been temporarily removed while we consider a new
implementation that addresses how this feature was being used in
practice. This means that there are no longer multiple `mode` options,
and all SVGs will be inline. All instances of `mode` must be removed
from your project as you can no longer control a mode:

        ```diff
        - <Logo mode="inline" />
        + <Logo />
        ```

        ```diff
        import { defineConfig } from 'astro'

        export default defineConfig({
          experimental: {
        -    svg: {
        -      mode: 'sprite'
        -    },
        +   svg: true
          }
        });
        ```

- The default `role` is no longer applied due to developer feedback.
Please add the appropriate `role` on each component individually as
needed:
        ```diff
        - <Logo />
+ <Logo role="img" /> // To keep the role that was previously applied by
default
        ```

- The `size` prop has been removed to better work in combination with
`viewBox` and additional styles/attributes. Please replace `size` with
explicit `width` and `height` attributes:
        ```diff
        - <Logo size={64} />
        + <Logo width={64} height={64} />
        ```

###
[`v5.5.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#556)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.5...astro@5.5.6)

##### Patch Changes

-
[#&#8203;13429](https://redirect.github.com/withastro/astro/pull/13429)
[`06de673`](https://redirect.github.com/withastro/astro/commit/06de673375f2339eb1bf8eda03d79177598979a9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - The
`ActionAPIContext.rewrite` method is deprecated and will be removed in a
future major version of Astro

-
[#&#8203;13524](https://redirect.github.com/withastro/astro/pull/13524)
[`82cd583`](https://redirect.github.com/withastro/astro/commit/82cd5832860d70ea7524473ae927db0cc2682b12)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where the functions `Astro.preferredLocale` and
`Astro.preferredLocaleList` would return the incorrect locales
when the Astro configuration specifies a list of `codes`. Before, the
functions would return the `path`, instead now the functions
    return a list built from `codes`.

-
[#&#8203;13526](https://redirect.github.com/withastro/astro/pull/13526)
[`ff9d69e`](https://redirect.github.com/withastro/astro/commit/ff9d69e3443c80059c54f6296d19f66bb068ead3)
Thanks [@&#8203;jsparkdev](https://redirect.github.com/jsparkdev)! -
update `vite` to the latest version

###
[`v5.5.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#555)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.4...astro@5.5.5)

##### Patch Changes

-
[#&#8203;13510](https://redirect.github.com/withastro/astro/pull/13510)
[`5b14d33`](https://redirect.github.com/withastro/astro/commit/5b14d33f81cdac0f7ac77186113dcce4369d848d)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where `astro:env` secrets used in actions would not be
available

-
[#&#8203;13485](https://redirect.github.com/withastro/astro/pull/13485)
[`018fbe9`](https://redirect.github.com/withastro/astro/commit/018fbe90f4030bbc2b2db7589d750e5392f38e59)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused cookies to ignore custom decode function if has() had
been called before

-
[#&#8203;13505](https://redirect.github.com/withastro/astro/pull/13505)
[`a98ae5b`](https://redirect.github.com/withastro/astro/commit/a98ae5b8f5c33900379012e9e253a755c0a8927e)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Updates the dependency `vite` to the latest.

-
[#&#8203;13483](https://redirect.github.com/withastro/astro/pull/13483)
[`fc2dcb8`](https://redirect.github.com/withastro/astro/commit/fc2dcb83543d88af9e0920b90a035652d6db5166)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where an Astro adapter couldn't call the middleware when
there isn't a route that matches the incoming request.

###
[`v5.5.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#554)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.3...astro@5.5.4)

##### Patch Changes

-
[#&#8203;13457](https://redirect.github.com/withastro/astro/pull/13457)
[`968e713`](https://redirect.github.com/withastro/astro/commit/968e713c268e1b2176c9265b6c438c56105c2730)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Sets
correct response status text for custom error pages

-
[#&#8203;13447](https://redirect.github.com/withastro/astro/pull/13447)
[`d80ba2b`](https://redirect.github.com/withastro/astro/commit/d80ba2b27d33d2972ffa3242330fb00d0fc58ba9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where `site` was added to the generated redirects.

-
[#&#8203;13481](https://redirect.github.com/withastro/astro/pull/13481)
[`e9e9245`](https://redirect.github.com/withastro/astro/commit/e9e9245c7c0ad6e3bda2b7600ff2bd845921a19d)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Makes
server island work with the client router again.

-
[#&#8203;13484](https://redirect.github.com/withastro/astro/pull/13484)
[`8b5e4dc`](https://redirect.github.com/withastro/astro/commit/8b5e4dc733bccce7d77defdbb973204aa9b8126b)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Display useful errors when config loading fails because of Node addons
being disabled on Stackblitz

###
[`v5.5.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#553)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.2...astro@5.5.3)

##### Patch Changes

-
[#&#8203;13437](https://redirect.github.com/withastro/astro/pull/13437)
[`013fa87`](https://redirect.github.com/withastro/astro/commit/013fa87982ea92675e899d2f71a200e5298db608)
Thanks [@&#8203;Vardhaman619](https://redirect.github.com/Vardhaman619)!
- Handle server.allowedHosts when the value is true without attempting
to push it into an array.

-
[#&#8203;13324](https://redirect.github.com/withastro/astro/pull/13324)
[`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Upgrade to shiki v3

-
[#&#8203;13372](https://redirect.github.com/withastro/astro/pull/13372)
[`7783dbf`](https://redirect.github.com/withastro/astro/commit/7783dbf8117650c60d7633b43f0d42da487aa2b1)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused some very large data stores to save incomplete data.

-
[#&#8203;13358](https://redirect.github.com/withastro/astro/pull/13358)
[`8c21663`](https://redirect.github.com/withastro/astro/commit/8c21663c4a6363765f2caa5705a93a41492a95c9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new function called `insertPageRoute` to the Astro Container API.

The new function is useful when testing routes that, for some business
logic, use `Astro.rewrite`.

For example, if you have a route `/blog/post` and for some business
decision there's a rewrite to `/generic-error`, the container API
implementation will look like this:

    ```js
    import Post from '../src/pages/Post.astro';
    import GenericError from '../src/pages/GenericError.astro';
import { experimental_AstroContainer as AstroContainer } from
'astro/container';

    const container = await AstroContainer.create();
    container.insertPageRoute('/generic-error', GenericError);
    const result = await container.renderToString(Post);
console.log(result); // this should print the response from
GenericError.astro
    ```

This new method only works for page routes, which means that endpoints
aren't supported.

-
[#&#8203;13426](https://redirect.github.com/withastro/astro/pull/13426)
[`565583b`](https://redirect.github.com/withastro/astro/commit/565583bd6c99163ce5d9475b26075149cc8c155b)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused the `astro add` command to ignore the `--yes` flag for
third-party integrations

-
[#&#8203;13428](https://redirect.github.com/withastro/astro/pull/13428)
[`9cac9f3`](https://redirect.github.com/withastro/astro/commit/9cac9f314277def0ee584e45d4937bac0235738a)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent bad value in x-forwarded-host from crashing request

-
[#&#8203;13432](https://redirect.github.com/withastro/astro/pull/13432)
[`defad33`](https://redirect.github.com/withastro/astro/commit/defad33140dccde324b9357bc6331f7e5cdec266)
Thanks [@&#8203;P4tt4te](https://redirect.github.com/P4tt4te)! - Fix an
issue in the Container API, where the `renderToString` function doesn't
render adequately nested slots when they are components.

- Updated dependencies
\[[`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.1

###
[`v5.5.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#552)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.1...astro@5.5.2)

##### Patch Changes

-
[#&#8203;13415](https://redirect.github.com/withastro/astro/pull/13415)
[`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Reuses experimental session storage object between requests. This
prevents memory leaks and improves performance for drivers that open
persistent connections to a database.

-
[#&#8203;13420](https://redirect.github.com/withastro/astro/pull/13420)
[`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - It
fixes an issue that caused some regressions in how styles are bundled.

###
[`v5.5.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#551)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.0...astro@5.5.1)

##### Patch Changes

-
[#&#8203;13413](https://redirect.github.com/withastro/astro/pull/13413)
[`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Makes
experimental flag optional

###
[`v5.5.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#550)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.3...astro@5.5.0)

##### Minor Changes

-
[#&#8203;13402](https://redirect.github.com/withastro/astro/pull/13402)
[`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new experimental flag called `experimental.preserveScriptOrder`
that renders `<script>` and `<style>` tags in the same order as they are
defined.

When rendering multiple `<style>` and `<script>` tags on the same page,
Astro currently reverses their order in your generated HTML output. This
can give unexpected results, for example CSS styles being overridden by
earlier defined style tags when your site is built.

With the new `preserveScriptOrder` flag enabled, Astro will generate the
styles in the order they are defined:

    ```js title="astro.config.mjs"
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        preserveScriptOrder: true,
      },
    });
    ```

For example, the following component has two `<style>` tags, and both
define the same style for the `body` tag:

    ```html
    <p>I am a component</p>
    <style>
      body {
        background: red;
      }
    </style>
    <style>
      body {
        background: yellow;
      }
    </style>
    ```

Once the project is compiled, Astro will create an inline style where
`yellow` appears first, and then `red`. Ultimately, the `red` background
is applied:

    ```css
    body {
      background: #ff0;
    }
    body {
      background: red;
    }
    ```

When `experimental.preserveScriptOrder` is set to `true`, the order of
the two styles is kept as it is, and in the style generated `red`
appears first, and then `yellow`:

    ```css
    body {
      background: red;
    }
    body {
      background: #ff0;
    }
    ```

This is a breaking change to how Astro renders project code that
contains multiple `<style>` and `<script>` tags in the same component.
If you were previously compensating for Astro's behavior by writing
these out of order, you will need to update your code.

This will eventually become the new default Astro behavior, so we
encourage you to add this experimental style and script ordering as soon
as you are able! This will help us test the new behavior and ensure your
code is ready when this becomes the new normal.

For more information as this feature develops, please see the
[experimental script order
docs](https://docs.astro.build/en/reference/experimental-flags/preserve-script-order/).

-
[#&#8203;13352](https://redirect.github.com/withastro/astro/pull/13352)
[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7)
Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Adds
support for a new `experimental.headingIdCompat` flag

By default, Astro removes a trailing `-` from the end of IDs it
generates for headings ending with
special characters. This differs from the behavior of common Markdown
processors.

    You can now disable this behavior with a new configuration flag:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        headingIdCompat: true,
      },
    });
    ```

This can be useful when heading IDs and anchor links need to behave
consistently across your site
    and other platforms such as GitHub and npm.

If you are [using the `rehypeHeadingIds` plugin
directly](https://docs.astro.build/en/guides/markdown-content/#heading-ids-and-plugins),
you can also pass this new option:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { rehypeHeadingIds } from '@&#8203;astrojs/markdown-remark';
import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source';

    export default defineConfig({
      markdown: {
        rehypePlugins: [
          [rehypeHeadingIds, { experimentalHeadingIdCompat: true }],
          otherPluginThatReliesOnHeadingIDs,
        ],
      },
    });
    ```

-
[#&#8203;13311](https://redirect.github.com/withastro/astro/pull/13311)
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)
Thanks [@&#8203;chrisirhc](https://redirect.github.com/chrisirhc)! -
Adds a new configuration option for Markdown syntax highlighting
`excludeLangs`

This option provides better support for diagramming tools that rely on
Markdown code blocks, such as Mermaid.js and D2 by allowing you to
exclude specific languages from Astro's default syntax highlighting.

This option allows you to avoid rendering conflicts with tools that
depend on the code not being highlighted without forcing you to disable
syntax highlighting for other code blocks.

The following example configuration will exclude highlighting for
`mermaid` and `math` code blocks:

    ```js
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      markdown: {
        syntaxHighlight: {
          type: 'shiki',
          excludeLangs: ['mermaid', 'math'],
        },
      },
    });
    ```

Read more about this new option in the [Markdown syntax highlighting
configuration
docs](https://docs.astro.build/en/reference/configuration-reference/#markdownsyntaxhighlight).

##### Patch Changes

-
[#&#8203;13404](https://redirect.github.com/withastro/astro/pull/13404)
[`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug in error handling that saving a content file with a schema error
would display an "unhandled rejection" error instead of the correct
schema error

-
[#&#8203;13379](https://redirect.github.com/withastro/astro/pull/13379)
[`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an edge case where the client router executed scripts twice when used
with a custom swap function that only swaps parts of the DOM.

-
[#&#8203;13393](https://redirect.github.com/withastro/astro/pull/13393)
[`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e)
Thanks [@&#8203;renovate](https://redirect.github.com/apps/renovate)! -
Updates `primsjs` to version 1.30.0, which adds support for more
languages and fixes a security advisory which does not affect Astro.

-
[#&#8203;13374](https://redirect.github.com/withastro/astro/pull/13374)
[`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec)
Thanks
[@&#8203;ArmandPhilippot](https://redirect.github.com/ArmandPhilippot)!
- Fixes the documentation of the i18n configuration where `manual` was
presented as a key of `routing` instead of an available value.

-
[#&#8203;13380](https://redirect.github.com/withastro/astro/pull/13380)
[`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where astro:page-load fires before all scripts are executed

-
[#&#8203;13407](https://redirect.github.com/withastro/astro/pull/13407)
[`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Displays correct error message when sharp isn't installed

- Updated dependencies
\[[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7),
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.0

###
[`v5.4.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#543)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.2...astro@5.4.3)

##### Patch Changes

-
[#&#8203;13381](https://redirect.github.com/withastro/astro/pull/13381)
[`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Adds
the `types` property to the viewTransition object when the ClientRouter
simulates parts of the View Transition API on browsers w/o native
support.

-
[#&#8203;13367](https://redirect.github.com/withastro/astro/pull/13367)
[`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to various utility functions used for remote image
services

-
[#&#8203;13347](https://redirect.github.com/withastro/astro/pull/13347)
[`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Updates
internal CSS chunking behavior for Astro components' scoped styles. This
may result in slightly more CSS chunks created, but should allow the
scoped styles to only be included on pages that use them.

-
[#&#8203;13388](https://redirect.github.com/withastro/astro/pull/13388)
[`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where `astro:config/server` and `astro:config/client` had
incorrect types.

-
[#&#8203;13355](https://redirect.github.com/withastro/astro/pull/13355)
[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to the assets utilities for remote service images.

-
[#&#8203;13395](https://redirect.github.com/withastro/astro/pull/13395)
[`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`package-manager-detector` to detect the package manager used in the
project

-
[#&#8203;13363](https://redirect.github.com/withastro/astro/pull/13363)
[`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the internal function `makeSvgComponent` was
incorrectly exposed as a public API.

- Updated dependencies
\[[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.1
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.1

###
[`v5.4.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#542)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.1...astro@5.4.2)

##### Patch Changes

-
[#&#8203;12985](https://redirect.github.com/withastro/astro/pull/12985)
[`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent re-executing scripts in client router

-
[#&#8203;13349](https://redirect.github.com/withastro/astro/pull/13349)
[`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Correctly escapes attributes in Markdown images

-
[#&#8203;13262](https://redirect.github.com/withastro/astro/pull/13262)
[`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Refactor Astro Actions to not use a middleware. Doing so should avoid
unexpected issues when using the Astro middleware at the edge.

###
[`v5.4.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#541)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.0...astro@5.4.1)

##### Patch Changes

-
[#&#8203;13336](https://redirect.github.com/withastro/astro/pull/13336)
[`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a regression where some asset utilities were move across monorepo,
and not re-exported anymore.

-
[#&#8203;13320](https://redirect.github.com/withastro/astro/pull/13320)
[`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26)
Thanks [@&#8203;{](https://redirect.github.com/{)! - Adds support for
typing experimental session data

You can add optional types to your session data by creating a
`src/env.d.ts` file in your project that extends the global
`App.SessionData` interface. For example:

    ```ts
    declare namespace App {
      interface SessionData {

          id: string;
          email: string;
        };
        lastLogin: Date;
      }
    }
    ```

    Any keys not defined in this interface will be treated as `any`.

Then when you access `Astro.session` in your components, any defined
keys will be typed correctly:

###
[`v5.4.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#540)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.1...astro@5.4.0)

##### Minor Changes

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Exposes
extra APIs for scripting and testing.

##### Config helpers

Two new helper functions exported from `astro/config`:

- `mergeConfig()` allows users to merge partially defined Astro
configurations on top of a base config while following the merge rules
of `updateConfig()` available for integrations.
- `validateConfig()` allows users to validate that a given value is a
valid Astro configuration and fills in default values as necessary.

These helpers are particularly useful for integration authors and for
developers writing scripts that need to manipulate Astro configurations
programmatically.

##### Programmatic build

The `build` API now receives a second optional `BuildOptions` argument
where users can specify:

- `devOutput` (default `false`): output a development-based build
similar to code transformed in `astro dev`.
- `teardownCompiler` (default `true`): teardown the compiler WASM
instance after build.

These options provide more control when running Astro builds
programmatically, especially for testing scenarios or custom build
pipelines.

-
[#&#8203;13278](https://redirect.github.com/withastro/astro/pull/13278)
[`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new configuration option `server.allowedHosts` and CLI option
`--allowed-hosts`.

Now you can specify the hostnames that the dev and preview servers are
allowed to respond to. This is useful for allowing additional
subdomains, or running the dev server in a web container.

`allowedHosts` checks the Host header on HTTP requests from browsers and
if it doesn't match, it will reject the request to prevent CSRF and XSS
attacks.

    ```shell
    astro dev --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```shell
    astro preview --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      server: {
        allowedHosts: ['foo.bar.example.com', 'bar.example.com'],
      },
    });
    ```

This feature is the same as [Vite's `server.allowHosts`
configuration](https://vite.dev/config/server-options.html#server-allowedhosts).

-
[#&#8203;13254](https://redirect.github.com/withastro/astro/pull/13254)
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
the ability to process and optimize remote images in Markdown files

Previously, Astro only allowed local images to be optimized when
included using `![]()` syntax in plain Markdown files. Astro's image
service could only display remote images without any processing.

Now, Astro's image service can also optimize remote images written in
standard Markdown syntax. This allows you to enjoy the benefits of
Astro's image processing when your images are stored externally, for
example in a CMS or digital asset manager.

No additional configuration is required to use this feature! Any
existing remote images written in Markdown will now automatically be
optimized. To opt-out of this processing, write your images in Markdown
using the HTML `<img>` tag instead. Note that images located in your
`public/` folder are still never processed.

##### Patch Changes

-
[#&#8203;13256](https://redirect.github.com/withastro/astro/pull/13256)
[`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
experimental responsive image support in Markdown

Previously, the `experimental.responsiveImages` feature could only
provide responsive images when using the `<Image />` and `<Picture />`
components.

Now, images written with the `![]()` Markdown syntax in Markdown and MDX
files will generate responsive images by default when using this
experimental feature.

To try this experimental feature, set `experimental.responsiveImages` to
true in your `astro.config.mjs` file:

    ```js
    {
       experimental: {
          responsiveImages: true,
       },
    }
    ```

Learn more about using this feature in the [experimental responsive
images feature
reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/).

For a complete overview, and to give feedback on this experimental API,
see the [Responsive Images
RFC](https://redirect.github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md).

-
[#&#8203;13323](https://redirect.github.com/withastro/astro/pull/13323)
[`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Updates `esbuild` and `vite` to the latest to avoid false positives
audits warnings caused by `esbuild`.

-
[#&#8203;13313](https://redirect.github.com/withastro/astro/pull/13313)
[`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where a form field named "attributes" shadows the
form.attributes property.

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Fixes
incorrect config update when calling `updateConfig` from
`astro:build:setup` hook.

The function previously called a custom update config function made for
merging an Astro config. Now it calls the appropriate `mergeConfig()`
utility exported by Vite that updates functional options correctly.

-
[#&#8203;13303](https://redirect.github.com/withastro/astro/pull/13303)
[`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the dev server was applying second decoding of the
URL of the incoming request, causing issues for certain URLs.

- Updated dependencies
\[[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b),
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.0
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.0

###
[`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.0...astro@5.3.1)

##### Patch Changes

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when
using `base` and `trailingSlash` options.

-
[#&#8203;13003](https://redirect.github.com/withastro/astro/pull/13003)
[`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879)
Thanks [@&#8203;chaegumi](https://redirect.github.com/chaegumi)! - Fixes
a bug that caused the `vite.base` value to be ignored when running
`astro dev`

-
[#&#8203;13299](https://redirect.github.com/withastro/astro/pull/13299)
[`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`tinyglobby` for globbing files

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures that `Astro.url`/`ctx.url` is correctly updated with the
`base` path after rewrites.

This change fixes an issue where `Astro.url`/`ctx.url` did not include
the configured base path after Astro.rewrite was called. Now, the base
path is correctly reflected in Astro.url.

Previously, any rewrites performed through `Astro.rewrite`/`ctx.rewrite`
failed to append the base path to `Astro.url`/`ctx.rewrite`, which could
lead to incorrect URL handling in downstream logic. By fixing this, we
ensure that all routes remain consistent and predictable after a
rewrite.

If you were relying on the work around of including the base path in
astro.rewrite you can now remove it from the path.

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjIuNCIsInVwZGF0ZWRJblZlciI6IjM5LjIzMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-04-04 12:26:21 +00:00
TrueCharts Bot 006ca3fc00 fix(website): update @playform/compress 0.1.7 → 0.1.9 (#33922)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@playform/compress](https://redirect.github.com/PlayForm/Compress) |
dependencies | patch | [`0.1.8` ->
`0.1.9`](https://renovatebot.com/diffs/npm/@playform%2fcompress/0.1.7/0.1.9)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>PlayForm/Compress (@&#8203;playform/compress)</summary>

###
[`v0.1.9`](https://redirect.github.com/PlayForm/Compress/blob/HEAD/CHANGELOG.md#019)

[Compare
Source](https://redirect.github.com/PlayForm/Compress/compare/f69bb94485bffa434ad404bbbfa303afd13068ea...5779505b555a047fc83db6fa34d9fbc78c06a1b9)

##### Add

- Support for JSON file compression with automatic parsing and
minification
-   JSON compression enabled by default in configuration

###
[`v0.1.8`](https://redirect.github.com/PlayForm/Compress/blob/HEAD/CHANGELOG.md#018)

[Compare
Source](https://redirect.github.com/PlayForm/Compress/compare/c7d77c36f9704d08bb729c8fa5587aa807c3ef3f...f69bb94485bffa434ad404bbbfa303afd13068ea)

##### Change

- Updated core module imports to use Node.js `node:` protocol for `fs`,
`path`,
    and `buffer`
-   Updated dependencies to latest versions:
    -   `commander` (13.0.0 → 13.1.0)
    -   `deepmerge-ts` (7.1.3 → 7.1.5)
    -   `lightningcss` (1.28.2 → 1.29.3)
    -   `terser` (5.37.0 → 5.39.0)
    -   `browserslist` (4.24.3 → 4.24.4)
-   Modified package metadata including:
    -   Version bump to 0.1.8
    -   Description formatting changes
    -   Script name adjustments in package.json
- Changed default configuration to disable `lightningcss` compressor by
default

##### Add

- Support boolean type for compression options (`csso`, `lightningcss`,
`html-minifier-terser`, `sharp`, `terser`, `svgo`) to allow disabling
specific
    compressors

##### Fix

- Fixed type casting in ESBuild configuration by explicitly specifying
`Plugin`
    type
-   Corrected import statements for Node.js core modules

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjIuNCIsInVwZGF0ZWRJblZlciI6IjM5LjIyMi40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-04-04 02:34:32 +02:00
TrueCharts Bot 55a4d013e2 fix(website): update astro monorepo (minor) (#33799)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap))
| dependencies | minor | [`3.3.0` ->
`3.3.0`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.2.1/3.3.0)
|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.5.5` ->
`5.5.6`](https://renovatebot.com/diffs/npm/astro/5.2.6/5.5.6) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (@&#8203;astrojs/sitemap)</summary>

###
[`v3.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#330)

##### Minor Changes

-
[#&#8203;13448](https://redirect.github.com/withastro/astro/pull/13448)
[`91c9503`](https://redirect.github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Add
support for XSL in sitemap-index.xml

</details>

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.5.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#556)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.5...astro@5.5.6)

##### Patch Changes

-
[#&#8203;13429](https://redirect.github.com/withastro/astro/pull/13429)
[`06de673`](https://redirect.github.com/withastro/astro/commit/06de673375f2339eb1bf8eda03d79177598979a9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - The
`ActionAPIContext.rewrite` method is deprecated and will be removed in a
future major version of Astro

-
[#&#8203;13524](https://redirect.github.com/withastro/astro/pull/13524)
[`82cd583`](https://redirect.github.com/withastro/astro/commit/82cd5832860d70ea7524473ae927db0cc2682b12)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where the functions `Astro.preferredLocale` and
`Astro.preferredLocaleList` would return the incorrect locales
when the Astro configuration specifies a list of `codes`. Before, the
functions would return the `path`, instead now the functions
    return a list built from `codes`.

-
[#&#8203;13526](https://redirect.github.com/withastro/astro/pull/13526)
[`ff9d69e`](https://redirect.github.com/withastro/astro/commit/ff9d69e3443c80059c54f6296d19f66bb068ead3)
Thanks [@&#8203;jsparkdev](https://redirect.github.com/jsparkdev)! -
update `vite` to the latest version

###
[`v5.5.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#555)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.4...astro@5.5.5)

##### Patch Changes

-
[#&#8203;13510](https://redirect.github.com/withastro/astro/pull/13510)
[`5b14d33`](https://redirect.github.com/withastro/astro/commit/5b14d33f81cdac0f7ac77186113dcce4369d848d)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where `astro:env` secrets used in actions would not be
available

-
[#&#8203;13485](https://redirect.github.com/withastro/astro/pull/13485)
[`018fbe9`](https://redirect.github.com/withastro/astro/commit/018fbe90f4030bbc2b2db7589d750e5392f38e59)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused cookies to ignore custom decode function if has() had
been called before

-
[#&#8203;13505](https://redirect.github.com/withastro/astro/pull/13505)
[`a98ae5b`](https://redirect.github.com/withastro/astro/commit/a98ae5b8f5c33900379012e9e253a755c0a8927e)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Updates the dependency `vite` to the latest.

-
[#&#8203;13483](https://redirect.github.com/withastro/astro/pull/13483)
[`fc2dcb8`](https://redirect.github.com/withastro/astro/commit/fc2dcb83543d88af9e0920b90a035652d6db5166)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where an Astro adapter couldn't call the middleware when
there isn't a route that matches the incoming request.

###
[`v5.5.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#554)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.3...astro@5.5.4)

##### Patch Changes

-
[#&#8203;13457](https://redirect.github.com/withastro/astro/pull/13457)
[`968e713`](https://redirect.github.com/withastro/astro/commit/968e713c268e1b2176c9265b6c438c56105c2730)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Sets
correct response status text for custom error pages

-
[#&#8203;13447](https://redirect.github.com/withastro/astro/pull/13447)
[`d80ba2b`](https://redirect.github.com/withastro/astro/commit/d80ba2b27d33d2972ffa3242330fb00d0fc58ba9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where `site` was added to the generated redirects.

-
[#&#8203;13481](https://redirect.github.com/withastro/astro/pull/13481)
[`e9e9245`](https://redirect.github.com/withastro/astro/commit/e9e9245c7c0ad6e3bda2b7600ff2bd845921a19d)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Makes
server island work with the client router again.

-
[#&#8203;13484](https://redirect.github.com/withastro/astro/pull/13484)
[`8b5e4dc`](https://redirect.github.com/withastro/astro/commit/8b5e4dc733bccce7d77defdbb973204aa9b8126b)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Display useful errors when config loading fails because of Node addons
being disabled on Stackblitz

###
[`v5.5.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#553)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.2...astro@5.5.3)

##### Patch Changes

-
[#&#8203;13437](https://redirect.github.com/withastro/astro/pull/13437)
[`013fa87`](https://redirect.github.com/withastro/astro/commit/013fa87982ea92675e899d2f71a200e5298db608)
Thanks [@&#8203;Vardhaman619](https://redirect.github.com/Vardhaman619)!
- Handle server.allowedHosts when the value is true without attempting
to push it into an array.

-
[#&#8203;13324](https://redirect.github.com/withastro/astro/pull/13324)
[`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Upgrade to shiki v3

-
[#&#8203;13372](https://redirect.github.com/withastro/astro/pull/13372)
[`7783dbf`](https://redirect.github.com/withastro/astro/commit/7783dbf8117650c60d7633b43f0d42da487aa2b1)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused some very large data stores to save incomplete data.

-
[#&#8203;13358](https://redirect.github.com/withastro/astro/pull/13358)
[`8c21663`](https://redirect.github.com/withastro/astro/commit/8c21663c4a6363765f2caa5705a93a41492a95c9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new function called `insertPageRoute` to the Astro Container API.

The new function is useful when testing routes that, for some business
logic, use `Astro.rewrite`.

For example, if you have a route `/blog/post` and for some business
decision there's a rewrite to `/generic-error`, the container API
implementation will look like this:

    ```js
    import Post from '../src/pages/Post.astro';
    import GenericError from '../src/pages/GenericError.astro';
import { experimental_AstroContainer as AstroContainer } from
'astro/container';

    const container = await AstroContainer.create();
    container.insertPageRoute('/generic-error', GenericError);
    const result = await container.renderToString(Post);
console.log(result); // this should print the response from
GenericError.astro
    ```

This new method only works for page routes, which means that endpoints
aren't supported.

-
[#&#8203;13426](https://redirect.github.com/withastro/astro/pull/13426)
[`565583b`](https://redirect.github.com/withastro/astro/commit/565583bd6c99163ce5d9475b26075149cc8c155b)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused the `astro add` command to ignore the `--yes` flag for
third-party integrations

-
[#&#8203;13428](https://redirect.github.com/withastro/astro/pull/13428)
[`9cac9f3`](https://redirect.github.com/withastro/astro/commit/9cac9f314277def0ee584e45d4937bac0235738a)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent bad value in x-forwarded-host from crashing request

-
[#&#8203;13432](https://redirect.github.com/withastro/astro/pull/13432)
[`defad33`](https://redirect.github.com/withastro/astro/commit/defad33140dccde324b9357bc6331f7e5cdec266)
Thanks [@&#8203;P4tt4te](https://redirect.github.com/P4tt4te)! - Fix an
issue in the Container API, where the `renderToString` function doesn't
render adequately nested slots when they are components.

- Updated dependencies
\[[`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.1

###
[`v5.5.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#552)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.1...astro@5.5.2)

##### Patch Changes

-
[#&#8203;13415](https://redirect.github.com/withastro/astro/pull/13415)
[`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Reuses experimental session storage object between requests. This
prevents memory leaks and improves performance for drivers that open
persistent connections to a database.

-
[#&#8203;13420](https://redirect.github.com/withastro/astro/pull/13420)
[`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - It
fixes an issue that caused some regressions in how styles are bundled.

###
[`v5.5.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#551)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.0...astro@5.5.1)

##### Patch Changes

-
[#&#8203;13413](https://redirect.github.com/withastro/astro/pull/13413)
[`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Makes
experimental flag optional

###
[`v5.5.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#550)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.3...astro@5.5.0)

##### Minor Changes

-
[#&#8203;13402](https://redirect.github.com/withastro/astro/pull/13402)
[`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new experimental flag called `experimental.preserveScriptOrder`
that renders `<script>` and `<style>` tags in the same order as they are
defined.

When rendering multiple `<style>` and `<script>` tags on the same page,
Astro currently reverses their order in your generated HTML output. This
can give unexpected results, for example CSS styles being overridden by
earlier defined style tags when your site is built.

With the new `preserveScriptOrder` flag enabled, Astro will generate the
styles in the order they are defined:

    ```js title="astro.config.mjs"
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        preserveScriptOrder: true,
      },
    });
    ```

For example, the following component has two `<style>` tags, and both
define the same style for the `body` tag:

    ```html
    <p>I am a component</p>
    <style>
      body {
        background: red;
      }
    </style>
    <style>
      body {
        background: yellow;
      }
    </style>
    ```

Once the project is compiled, Astro will create an inline style where
`yellow` appears first, and then `red`. Ultimately, the `red` background
is applied:

    ```css
    body {
      background: #ff0;
    }
    body {
      background: red;
    }
    ```

When `experimental.preserveScriptOrder` is set to `true`, the order of
the two styles is kept as it is, and in the style generated `red`
appears first, and then `yellow`:

    ```css
    body {
      background: red;
    }
    body {
      background: #ff0;
    }
    ```

This is a breaking change to how Astro renders project code that
contains multiple `<style>` and `<script>` tags in the same component.
If you were previously compensating for Astro's behavior by writing
these out of order, you will need to update your code.

This will eventually become the new default Astro behavior, so we
encourage you to add this experimental style and script ordering as soon
as you are able! This will help us test the new behavior and ensure your
code is ready when this becomes the new normal.

For more information as this feature develops, please see the
[experimental script order
docs](https://docs.astro.build/en/reference/experimental-flags/preserve-script-order/).

-
[#&#8203;13352](https://redirect.github.com/withastro/astro/pull/13352)
[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7)
Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Adds
support for a new `experimental.headingIdCompat` flag

By default, Astro removes a trailing `-` from the end of IDs it
generates for headings ending with
special characters. This differs from the behavior of common Markdown
processors.

    You can now disable this behavior with a new configuration flag:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        headingIdCompat: true,
      },
    });
    ```

This can be useful when heading IDs and anchor links need to behave
consistently across your site
    and other platforms such as GitHub and npm.

If you are [using the `rehypeHeadingIds` plugin
directly](https://docs.astro.build/en/guides/markdown-content/#heading-ids-and-plugins),
you can also pass this new option:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { rehypeHeadingIds } from '@&#8203;astrojs/markdown-remark';
import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source';

    export default defineConfig({
      markdown: {
        rehypePlugins: [
          [rehypeHeadingIds, { experimentalHeadingIdCompat: true }],
          otherPluginThatReliesOnHeadingIDs,
        ],
      },
    });
    ```

-
[#&#8203;13311](https://redirect.github.com/withastro/astro/pull/13311)
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)
Thanks [@&#8203;chrisirhc](https://redirect.github.com/chrisirhc)! -
Adds a new configuration option for Markdown syntax highlighting
`excludeLangs`

This option provides better support for diagramming tools that rely on
Markdown code blocks, such as Mermaid.js and D2 by allowing you to
exclude specific languages from Astro's default syntax highlighting.

This option allows you to avoid rendering conflicts with tools that
depend on the code not being highlighted without forcing you to disable
syntax highlighting for other code blocks.

The following example configuration will exclude highlighting for
`mermaid` and `math` code blocks:

    ```js
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      markdown: {
        syntaxHighlight: {
          type: 'shiki',
          excludeLangs: ['mermaid', 'math'],
        },
      },
    });
    ```

Read more about this new option in the [Markdown syntax highlighting
configuration
docs](https://docs.astro.build/en/reference/configuration-reference/#markdownsyntaxhighlight).

##### Patch Changes

-
[#&#8203;13404](https://redirect.github.com/withastro/astro/pull/13404)
[`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug in error handling that saving a content file with a schema error
would display an "unhandled rejection" error instead of the correct
schema error

-
[#&#8203;13379](https://redirect.github.com/withastro/astro/pull/13379)
[`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an edge case where the client router executed scripts twice when used
with a custom swap function that only swaps parts of the DOM.

-
[#&#8203;13393](https://redirect.github.com/withastro/astro/pull/13393)
[`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e)
Thanks [@&#8203;renovate](https://redirect.github.com/apps/renovate)! -
Updates `primsjs` to version 1.30.0, which adds support for more
languages and fixes a security advisory which does not affect Astro.

-
[#&#8203;13374](https://redirect.github.com/withastro/astro/pull/13374)
[`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec)
Thanks
[@&#8203;ArmandPhilippot](https://redirect.github.com/ArmandPhilippot)!
- Fixes the documentation of the i18n configuration where `manual` was
presented as a key of `routing` instead of an available value.

-
[#&#8203;13380](https://redirect.github.com/withastro/astro/pull/13380)
[`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where astro:page-load fires before all scripts are executed

-
[#&#8203;13407](https://redirect.github.com/withastro/astro/pull/13407)
[`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Displays correct error message when sharp isn't installed

- Updated dependencies
\[[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7),
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.0

###
[`v5.4.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#543)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.2...astro@5.4.3)

##### Patch Changes

-
[#&#8203;13381](https://redirect.github.com/withastro/astro/pull/13381)
[`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Adds
the `types` property to the viewTransition object when the ClientRouter
simulates parts of the View Transition API on browsers w/o native
support.

-
[#&#8203;13367](https://redirect.github.com/withastro/astro/pull/13367)
[`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to various utility functions used for remote image
services

-
[#&#8203;13347](https://redirect.github.com/withastro/astro/pull/13347)
[`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Updates
internal CSS chunking behavior for Astro components' scoped styles. This
may result in slightly more CSS chunks created, but should allow the
scoped styles to only be included on pages that use them.

-
[#&#8203;13388](https://redirect.github.com/withastro/astro/pull/13388)
[`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where `astro:config/server` and `astro:config/client` had
incorrect types.

-
[#&#8203;13355](https://redirect.github.com/withastro/astro/pull/13355)
[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to the assets utilities for remote service images.

-
[#&#8203;13395](https://redirect.github.com/withastro/astro/pull/13395)
[`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`package-manager-detector` to detect the package manager used in the
project

-
[#&#8203;13363](https://redirect.github.com/withastro/astro/pull/13363)
[`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the internal function `makeSvgComponent` was
incorrectly exposed as a public API.

- Updated dependencies
\[[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.1
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.1

###
[`v5.4.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#542)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.1...astro@5.4.2)

##### Patch Changes

-
[#&#8203;12985](https://redirect.github.com/withastro/astro/pull/12985)
[`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent re-executing scripts in client router

-
[#&#8203;13349](https://redirect.github.com/withastro/astro/pull/13349)
[`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Correctly escapes attributes in Markdown images

-
[#&#8203;13262](https://redirect.github.com/withastro/astro/pull/13262)
[`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Refactor Astro Actions to not use a middleware. Doing so should avoid
unexpected issues when using the Astro middleware at the edge.

###
[`v5.4.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#541)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.0...astro@5.4.1)

##### Patch Changes

-
[#&#8203;13336](https://redirect.github.com/withastro/astro/pull/13336)
[`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a regression where some asset utilities were move across monorepo,
and not re-exported anymore.

-
[#&#8203;13320](https://redirect.github.com/withastro/astro/pull/13320)
[`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26)
Thanks [@&#8203;{](https://redirect.github.com/{)! - Adds support for
typing experimental session data

You can add optional types to your session data by creating a
`src/env.d.ts` file in your project that extends the global
`App.SessionData` interface. For example:

    ```ts
    declare namespace App {
      interface SessionData {

          id: string;
          email: string;
        };
        lastLogin: Date;
      }
    }
    ```

    Any keys not defined in this interface will be treated as `any`.

Then when you access `Astro.session` in your components, any defined
keys will be typed correctly:

###
[`v5.4.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#540)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.1...astro@5.4.0)

##### Minor Changes

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Exposes
extra APIs for scripting and testing.

##### Config helpers

Two new helper functions exported from `astro/config`:

- `mergeConfig()` allows users to merge partially defined Astro
configurations on top of a base config while following the merge rules
of `updateConfig()` available for integrations.
- `validateConfig()` allows users to validate that a given value is a
valid Astro configuration and fills in default values as necessary.

These helpers are particularly useful for integration authors and for
developers writing scripts that need to manipulate Astro configurations
programmatically.

##### Programmatic build

The `build` API now receives a second optional `BuildOptions` argument
where users can specify:

- `devOutput` (default `false`): output a development-based build
similar to code transformed in `astro dev`.
- `teardownCompiler` (default `true`): teardown the compiler WASM
instance after build.

These options provide more control when running Astro builds
programmatically, especially for testing scenarios or custom build
pipelines.

-
[#&#8203;13278](https://redirect.github.com/withastro/astro/pull/13278)
[`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new configuration option `server.allowedHosts` and CLI option
`--allowed-hosts`.

Now you can specify the hostnames that the dev and preview servers are
allowed to respond to. This is useful for allowing additional
subdomains, or running the dev server in a web container.

`allowedHosts` checks the Host header on HTTP requests from browsers and
if it doesn't match, it will reject the request to prevent CSRF and XSS
attacks.

    ```shell
    astro dev --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```shell
    astro preview --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      server: {
        allowedHosts: ['foo.bar.example.com', 'bar.example.com'],
      },
    });
    ```

This feature is the same as [Vite's `server.allowHosts`
configuration](https://vite.dev/config/server-options.html#server-allowedhosts).

-
[#&#8203;13254](https://redirect.github.com/withastro/astro/pull/13254)
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
the ability to process and optimize remote images in Markdown files

Previously, Astro only allowed local images to be optimized when
included using `![]()` syntax in plain Markdown files. Astro's image
service could only display remote images without any processing.

Now, Astro's image service can also optimize remote images written in
standard Markdown syntax. This allows you to enjoy the benefits of
Astro's image processing when your images are stored externally, for
example in a CMS or digital asset manager.

No additional configuration is required to use this feature! Any
existing remote images written in Markdown will now automatically be
optimized. To opt-out of this processing, write your images in Markdown
using the HTML `<img>` tag instead. Note that images located in your
`public/` folder are still never processed.

##### Patch Changes

-
[#&#8203;13256](https://redirect.github.com/withastro/astro/pull/13256)
[`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
experimental responsive image support in Markdown

Previously, the `experimental.responsiveImages` feature could only
provide responsive images when using the `<Image />` and `<Picture />`
components.

Now, images written with the `![]()` Markdown syntax in Markdown and MDX
files will generate responsive images by default when using this
experimental feature.

To try this experimental feature, set `experimental.responsiveImages` to
true in your `astro.config.mjs` file:

    ```js
    {
       experimental: {
          responsiveImages: true,
       },
    }
    ```

Learn more about using this feature in the [experimental responsive
images feature
reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/).

For a complete overview, and to give feedback on this experimental API,
see the [Responsive Images
RFC](https://redirect.github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md).

-
[#&#8203;13323](https://redirect.github.com/withastro/astro/pull/13323)
[`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Updates `esbuild` and `vite` to the latest to avoid false positives
audits warnings caused by `esbuild`.

-
[#&#8203;13313](https://redirect.github.com/withastro/astro/pull/13313)
[`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where a form field named "attributes" shadows the
form.attributes property.

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Fixes
incorrect config update when calling `updateConfig` from
`astro:build:setup` hook.

The function previously called a custom update config function made for
merging an Astro config. Now it calls the appropriate `mergeConfig()`
utility exported by Vite that updates functional options correctly.

-
[#&#8203;13303](https://redirect.github.com/withastro/astro/pull/13303)
[`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the dev server was applying second decoding of the
URL of the incoming request, causing issues for certain URLs.

- Updated dependencies
\[[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b),
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.0
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.0

###
[`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.0...astro@5.3.1)

##### Patch Changes

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when
using `base` and `trailingSlash` options.

-
[#&#8203;13003](https://redirect.github.com/withastro/astro/pull/13003)
[`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879)
Thanks [@&#8203;chaegumi](https://redirect.github.com/chaegumi)! - Fixes
a bug that caused the `vite.base` value to be ignored when running
`astro dev`

-
[#&#8203;13299](https://redirect.github.com/withastro/astro/pull/13299)
[`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`tinyglobby` for globbing files

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures that `Astro.url`/`ctx.url` is correctly updated with the
`base` path after rewrites.

This change fixes an issue where `Astro.url`/`ctx.url` did not include
the configured base path after Astro.rewrite was called. Now, the base
path is correctly reflected in Astro.url.

Previously, any rewrites performed through `Astro.rewrite`/`ctx.rewrite`
failed to append the base path to `Astro.url`/`ctx.rewrite`, which could
lead to incorrect URL handling in downstream logic. By fixing this, we
ensure that all routes remain consistent and predictable after a
rewrite.

If you were relying on the work around of including the base path in
astro.rewrite you can now remove it from the path.

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjIuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIyMi4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-04-01 02:38:25 +02:00
TrueCharts Bot 1f66127c34 fix(website): update @playform/compress 0.1.7 → 0.1.8 (#33732)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@playform/compress](https://redirect.github.com/PlayForm/Compress) |
dependencies | patch | [`0.1.7` ->
`0.1.8`](https://renovatebot.com/diffs/npm/@playform%2fcompress/0.1.7/0.1.8)
|

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>PlayForm/Compress (@&#8203;playform/compress)</summary>

###
[`v0.1.8`](https://redirect.github.com/PlayForm/Compress/compare/c7d77c36f9704d08bb729c8fa5587aa807c3ef3f...f69bb94485bffa434ad404bbbfa303afd13068ea)

[Compare
Source](https://redirect.github.com/PlayForm/Compress/compare/c7d77c36f9704d08bb729c8fa5587aa807c3ef3f...f69bb94485bffa434ad404bbbfa303afd13068ea)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMTkuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIxOS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-03-30 01:35:56 +01:00
TrueCharts Bot 3eeea1a633 fix(website): update astro monorepo (minor) (#33484)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap))
| dependencies | minor | [`3.3.0` ->
`3.3.0`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.2.1/3.3.0)
|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.5.3` ->
`5.5.4`](https://renovatebot.com/diffs/npm/astro/5.2.6/5.5.4) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (@&#8203;astrojs/sitemap)</summary>

###
[`v3.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#330)

##### Minor Changes

-
[#&#8203;13448](https://redirect.github.com/withastro/astro/pull/13448)
[`91c9503`](https://redirect.github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Add
support for XSL in sitemap-index.xml

</details>

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.5.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#554)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.3...astro@5.5.4)

##### Patch Changes

-
[#&#8203;13457](https://redirect.github.com/withastro/astro/pull/13457)
[`968e713`](https://redirect.github.com/withastro/astro/commit/968e713c268e1b2176c9265b6c438c56105c2730)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Sets
correct response status text for custom error pages

-
[#&#8203;13447](https://redirect.github.com/withastro/astro/pull/13447)
[`d80ba2b`](https://redirect.github.com/withastro/astro/commit/d80ba2b27d33d2972ffa3242330fb00d0fc58ba9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where `site` was added to the generated redirects.

-
[#&#8203;13481](https://redirect.github.com/withastro/astro/pull/13481)
[`e9e9245`](https://redirect.github.com/withastro/astro/commit/e9e9245c7c0ad6e3bda2b7600ff2bd845921a19d)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Makes
server island work with the client router again.

-
[#&#8203;13484](https://redirect.github.com/withastro/astro/pull/13484)
[`8b5e4dc`](https://redirect.github.com/withastro/astro/commit/8b5e4dc733bccce7d77defdbb973204aa9b8126b)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Display useful errors when config loading fails because of Node addons
being disabled on Stackblitz

###
[`v5.5.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#553)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.2...astro@5.5.3)

##### Patch Changes

-
[#&#8203;13437](https://redirect.github.com/withastro/astro/pull/13437)
[`013fa87`](https://redirect.github.com/withastro/astro/commit/013fa87982ea92675e899d2f71a200e5298db608)
Thanks [@&#8203;Vardhaman619](https://redirect.github.com/Vardhaman619)!
- Handle server.allowedHosts when the value is true without attempting
to push it into an array.

-
[#&#8203;13324](https://redirect.github.com/withastro/astro/pull/13324)
[`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Upgrade to shiki v3

-
[#&#8203;13372](https://redirect.github.com/withastro/astro/pull/13372)
[`7783dbf`](https://redirect.github.com/withastro/astro/commit/7783dbf8117650c60d7633b43f0d42da487aa2b1)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused some very large data stores to save incomplete data.

-
[#&#8203;13358](https://redirect.github.com/withastro/astro/pull/13358)
[`8c21663`](https://redirect.github.com/withastro/astro/commit/8c21663c4a6363765f2caa5705a93a41492a95c9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new function called `insertPageRoute` to the Astro Container API.

The new function is useful when testing routes that, for some business
logic, use `Astro.rewrite`.

For example, if you have a route `/blog/post` and for some business
decision there's a rewrite to `/generic-error`, the container API
implementation will look like this:

    ```js
    import Post from '../src/pages/Post.astro';
    import GenericError from '../src/pages/GenericError.astro';
import { experimental_AstroContainer as AstroContainer } from
'astro/container';

    const container = await AstroContainer.create();
    container.insertPageRoute('/generic-error', GenericError);
    const result = await container.renderToString(Post);
console.log(result); // this should print the response from
GenericError.astro
    ```

This new method only works for page routes, which means that endpoints
aren't supported.

-
[#&#8203;13426](https://redirect.github.com/withastro/astro/pull/13426)
[`565583b`](https://redirect.github.com/withastro/astro/commit/565583bd6c99163ce5d9475b26075149cc8c155b)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused the `astro add` command to ignore the `--yes` flag for
third-party integrations

-
[#&#8203;13428](https://redirect.github.com/withastro/astro/pull/13428)
[`9cac9f3`](https://redirect.github.com/withastro/astro/commit/9cac9f314277def0ee584e45d4937bac0235738a)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent bad value in x-forwarded-host from crashing request

-
[#&#8203;13432](https://redirect.github.com/withastro/astro/pull/13432)
[`defad33`](https://redirect.github.com/withastro/astro/commit/defad33140dccde324b9357bc6331f7e5cdec266)
Thanks [@&#8203;P4tt4te](https://redirect.github.com/P4tt4te)! - Fix an
issue in the Container API, where the `renderToString` function doesn't
render adequately nested slots when they are components.

- Updated dependencies
\[[`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.1

###
[`v5.5.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#552)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.1...astro@5.5.2)

##### Patch Changes

-
[#&#8203;13415](https://redirect.github.com/withastro/astro/pull/13415)
[`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Reuses experimental session storage object between requests. This
prevents memory leaks and improves performance for drivers that open
persistent connections to a database.

-
[#&#8203;13420](https://redirect.github.com/withastro/astro/pull/13420)
[`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - It
fixes an issue that caused some regressions in how styles are bundled.

###
[`v5.5.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#551)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.0...astro@5.5.1)

##### Patch Changes

-
[#&#8203;13413](https://redirect.github.com/withastro/astro/pull/13413)
[`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Makes
experimental flag optional

###
[`v5.5.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#550)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.3...astro@5.5.0)

##### Minor Changes

-
[#&#8203;13402](https://redirect.github.com/withastro/astro/pull/13402)
[`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new experimental flag called `experimental.preserveScriptOrder`
that renders `<script>` and `<style>` tags in the same order as they are
defined.

When rendering multiple `<style>` and `<script>` tags on the same page,
Astro currently reverses their order in your generated HTML output. This
can give unexpected results, for example CSS styles being overridden by
earlier defined style tags when your site is built.

With the new `preserveScriptOrder` flag enabled, Astro will generate the
styles in the order they are defined:

    ```js title="astro.config.mjs"
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        preserveScriptOrder: true,
      },
    });
    ```

For example, the following component has two `<style>` tags, and both
define the same style for the `body` tag:

    ```html
    <p>I am a component</p>
    <style>
      body {
        background: red;
      }
    </style>
    <style>
      body {
        background: yellow;
      }
    </style>
    ```

Once the project is compiled, Astro will create an inline style where
`yellow` appears first, and then `red`. Ultimately, the `red` background
is applied:

    ```css
    body {
      background: #ff0;
    }
    body {
      background: red;
    }
    ```

When `experimental.preserveScriptOrder` is set to `true`, the order of
the two styles is kept as it is, and in the style generated `red`
appears first, and then `yellow`:

    ```css
    body {
      background: red;
    }
    body {
      background: #ff0;
    }
    ```

This is a breaking change to how Astro renders project code that
contains multiple `<style>` and `<script>` tags in the same component.
If you were previously compensating for Astro's behavior by writing
these out of order, you will need to update your code.

This will eventually become the new default Astro behavior, so we
encourage you to add this experimental style and script ordering as soon
as you are able! This will help us test the new behavior and ensure your
code is ready when this becomes the new normal.

For more information as this feature develops, please see the
[experimental script order
docs](https://docs.astro.build/en/reference/experimental-flags/preserve-script-order/).

-
[#&#8203;13352](https://redirect.github.com/withastro/astro/pull/13352)
[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7)
Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Adds
support for a new `experimental.headingIdCompat` flag

By default, Astro removes a trailing `-` from the end of IDs it
generates for headings ending with
special characters. This differs from the behavior of common Markdown
processors.

    You can now disable this behavior with a new configuration flag:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        headingIdCompat: true,
      },
    });
    ```

This can be useful when heading IDs and anchor links need to behave
consistently across your site
    and other platforms such as GitHub and npm.

If you are [using the `rehypeHeadingIds` plugin
directly](https://docs.astro.build/en/guides/markdown-content/#heading-ids-and-plugins),
you can also pass this new option:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { rehypeHeadingIds } from '@&#8203;astrojs/markdown-remark';
import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source';

    export default defineConfig({
      markdown: {
        rehypePlugins: [
          [rehypeHeadingIds, { experimentalHeadingIdCompat: true }],
          otherPluginThatReliesOnHeadingIDs,
        ],
      },
    });
    ```

-
[#&#8203;13311](https://redirect.github.com/withastro/astro/pull/13311)
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)
Thanks [@&#8203;chrisirhc](https://redirect.github.com/chrisirhc)! -
Adds a new configuration option for Markdown syntax highlighting
`excludeLangs`

This option provides better support for diagramming tools that rely on
Markdown code blocks, such as Mermaid.js and D2 by allowing you to
exclude specific languages from Astro's default syntax highlighting.

This option allows you to avoid rendering conflicts with tools that
depend on the code not being highlighted without forcing you to disable
syntax highlighting for other code blocks.

The following example configuration will exclude highlighting for
`mermaid` and `math` code blocks:

    ```js
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      markdown: {
        syntaxHighlight: {
          type: 'shiki',
          excludeLangs: ['mermaid', 'math'],
        },
      },
    });
    ```

Read more about this new option in the [Markdown syntax highlighting
configuration
docs](https://docs.astro.build/en/reference/configuration-reference/#markdownsyntaxhighlight).

##### Patch Changes

-
[#&#8203;13404](https://redirect.github.com/withastro/astro/pull/13404)
[`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug in error handling that saving a content file with a schema error
would display an "unhandled rejection" error instead of the correct
schema error

-
[#&#8203;13379](https://redirect.github.com/withastro/astro/pull/13379)
[`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an edge case where the client router executed scripts twice when used
with a custom swap function that only swaps parts of the DOM.

-
[#&#8203;13393](https://redirect.github.com/withastro/astro/pull/13393)
[`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e)
Thanks [@&#8203;renovate](https://redirect.github.com/apps/renovate)! -
Updates `primsjs` to version 1.30.0, which adds support for more
languages and fixes a security advisory which does not affect Astro.

-
[#&#8203;13374](https://redirect.github.com/withastro/astro/pull/13374)
[`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec)
Thanks
[@&#8203;ArmandPhilippot](https://redirect.github.com/ArmandPhilippot)!
- Fixes the documentation of the i18n configuration where `manual` was
presented as a key of `routing` instead of an available value.

-
[#&#8203;13380](https://redirect.github.com/withastro/astro/pull/13380)
[`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where astro:page-load fires before all scripts are executed

-
[#&#8203;13407](https://redirect.github.com/withastro/astro/pull/13407)
[`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Displays correct error message when sharp isn't installed

- Updated dependencies
\[[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7),
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.0

###
[`v5.4.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#543)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.2...astro@5.4.3)

##### Patch Changes

-
[#&#8203;13381](https://redirect.github.com/withastro/astro/pull/13381)
[`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Adds
the `types` property to the viewTransition object when the ClientRouter
simulates parts of the View Transition API on browsers w/o native
support.

-
[#&#8203;13367](https://redirect.github.com/withastro/astro/pull/13367)
[`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to various utility functions used for remote image
services

-
[#&#8203;13347](https://redirect.github.com/withastro/astro/pull/13347)
[`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Updates
internal CSS chunking behavior for Astro components' scoped styles. This
may result in slightly more CSS chunks created, but should allow the
scoped styles to only be included on pages that use them.

-
[#&#8203;13388](https://redirect.github.com/withastro/astro/pull/13388)
[`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where `astro:config/server` and `astro:config/client` had
incorrect types.

-
[#&#8203;13355](https://redirect.github.com/withastro/astro/pull/13355)
[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to the assets utilities for remote service images.

-
[#&#8203;13395](https://redirect.github.com/withastro/astro/pull/13395)
[`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`package-manager-detector` to detect the package manager used in the
project

-
[#&#8203;13363](https://redirect.github.com/withastro/astro/pull/13363)
[`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the internal function `makeSvgComponent` was
incorrectly exposed as a public API.

- Updated dependencies
\[[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.1
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.1

###
[`v5.4.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#542)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.1...astro@5.4.2)

##### Patch Changes

-
[#&#8203;12985](https://redirect.github.com/withastro/astro/pull/12985)
[`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent re-executing scripts in client router

-
[#&#8203;13349](https://redirect.github.com/withastro/astro/pull/13349)
[`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Correctly escapes attributes in Markdown images

-
[#&#8203;13262](https://redirect.github.com/withastro/astro/pull/13262)
[`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Refactor Astro Actions to not use a middleware. Doing so should avoid
unexpected issues when using the Astro middleware at the edge.

###
[`v5.4.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#541)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.0...astro@5.4.1)

##### Patch Changes

-
[#&#8203;13336](https://redirect.github.com/withastro/astro/pull/13336)
[`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a regression where some asset utilities were move across monorepo,
and not re-exported anymore.

-
[#&#8203;13320](https://redirect.github.com/withastro/astro/pull/13320)
[`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26)
Thanks [@&#8203;{](https://redirect.github.com/{)! - Adds support for
typing experimental session data

You can add optional types to your session data by creating a
`src/env.d.ts` file in your project that extends the global
`App.SessionData` interface. For example:

    ```ts
    declare namespace App {
      interface SessionData {

          id: string;
          email: string;
        };
        lastLogin: Date;
      }
    }
    ```

    Any keys not defined in this interface will be treated as `any`.

Then when you access `Astro.session` in your components, any defined
keys will be typed correctly:

###
[`v5.4.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#540)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.1...astro@5.4.0)

##### Minor Changes

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Exposes
extra APIs for scripting and testing.

##### Config helpers

Two new helper functions exported from `astro/config`:

- `mergeConfig()` allows users to merge partially defined Astro
configurations on top of a base config while following the merge rules
of `updateConfig()` available for integrations.
- `validateConfig()` allows users to validate that a given value is a
valid Astro configuration and fills in default values as necessary.

These helpers are particularly useful for integration authors and for
developers writing scripts that need to manipulate Astro configurations
programmatically.

##### Programmatic build

The `build` API now receives a second optional `BuildOptions` argument
where users can specify:

- `devOutput` (default `false`): output a development-based build
similar to code transformed in `astro dev`.
- `teardownCompiler` (default `true`): teardown the compiler WASM
instance after build.

These options provide more control when running Astro builds
programmatically, especially for testing scenarios or custom build
pipelines.

-
[#&#8203;13278](https://redirect.github.com/withastro/astro/pull/13278)
[`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new configuration option `server.allowedHosts` and CLI option
`--allowed-hosts`.

Now you can specify the hostnames that the dev and preview servers are
allowed to respond to. This is useful for allowing additional
subdomains, or running the dev server in a web container.

`allowedHosts` checks the Host header on HTTP requests from browsers and
if it doesn't match, it will reject the request to prevent CSRF and XSS
attacks.

    ```shell
    astro dev --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```shell
    astro preview --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      server: {
        allowedHosts: ['foo.bar.example.com', 'bar.example.com'],
      },
    });
    ```

This feature is the same as [Vite's `server.allowHosts`
configuration](https://vite.dev/config/server-options.html#server-allowedhosts).

-
[#&#8203;13254](https://redirect.github.com/withastro/astro/pull/13254)
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
the ability to process and optimize remote images in Markdown files

Previously, Astro only allowed local images to be optimized when
included using `![]()` syntax in plain Markdown files. Astro's image
service could only display remote images without any processing.

Now, Astro's image service can also optimize remote images written in
standard Markdown syntax. This allows you to enjoy the benefits of
Astro's image processing when your images are stored externally, for
example in a CMS or digital asset manager.

No additional configuration is required to use this feature! Any
existing remote images written in Markdown will now automatically be
optimized. To opt-out of this processing, write your images in Markdown
using the HTML `<img>` tag instead. Note that images located in your
`public/` folder are still never processed.

##### Patch Changes

-
[#&#8203;13256](https://redirect.github.com/withastro/astro/pull/13256)
[`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
experimental responsive image support in Markdown

Previously, the `experimental.responsiveImages` feature could only
provide responsive images when using the `<Image />` and `<Picture />`
components.

Now, images written with the `![]()` Markdown syntax in Markdown and MDX
files will generate responsive images by default when using this
experimental feature.

To try this experimental feature, set `experimental.responsiveImages` to
true in your `astro.config.mjs` file:

    ```js
    {
       experimental: {
          responsiveImages: true,
       },
    }
    ```

Learn more about using this feature in the [experimental responsive
images feature
reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/).

For a complete overview, and to give feedback on this experimental API,
see the [Responsive Images
RFC](https://redirect.github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md).

-
[#&#8203;13323](https://redirect.github.com/withastro/astro/pull/13323)
[`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Updates `esbuild` and `vite` to the latest to avoid false positives
audits warnings caused by `esbuild`.

-
[#&#8203;13313](https://redirect.github.com/withastro/astro/pull/13313)
[`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where a form field named "attributes" shadows the
form.attributes property.

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Fixes
incorrect config update when calling `updateConfig` from
`astro:build:setup` hook.

The function previously called a custom update config function made for
merging an Astro config. Now it calls the appropriate `mergeConfig()`
utility exported by Vite that updates functional options correctly.

-
[#&#8203;13303](https://redirect.github.com/withastro/astro/pull/13303)
[`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the dev server was applying second decoding of the
URL of the incoming request, causing issues for certain URLs.

- Updated dependencies
\[[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b),
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.0
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.0

###
[`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.0...astro@5.3.1)

##### Patch Changes

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when
using `base` and `trailingSlash` options.

-
[#&#8203;13003](https://redirect.github.com/withastro/astro/pull/13003)
[`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879)
Thanks [@&#8203;chaegumi](https://redirect.github.com/chaegumi)! - Fixes
a bug that caused the `vite.base` value to be ignored when running
`astro dev`

-
[#&#8203;13299](https://redirect.github.com/withastro/astro/pull/13299)
[`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`tinyglobby` for globbing files

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures that `Astro.url`/`ctx.url` is correctly updated with the
`base` path after rewrites.

This change fixes an issue where `Astro.url`/`ctx.url` did not include
the configured base path after Astro.rewrite was called. Now, the base
path is correctly reflected in Astro.url.

Previously, any rewrites performed through `Astro.rewrite`/`ctx.rewrite`
failed to append the base path to `Astro.url`/`ctx.rewrite`, which could
lead to incorrect URL handling in downstream logic. By fixing this, we
ensure that all routes remain consistent and predictable after a
rewrite.

If you were relying on the work around of including the base path in
astro.rewrite you can now remove it from the path.

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-03-26 19:37:39 +00:00
TrueCharts Bot dc156243c6 fix(website): update astro monorepo (minor) (#33412)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@astrojs/sitemap](https://docs.astro.build/en/guides/integrations-guide/sitemap/)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/sitemap))
| dependencies | minor | [`3.2.1` ->
`3.3.0`](https://renovatebot.com/diffs/npm/@astrojs%2fsitemap/3.2.1/3.3.0)
|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.5.2` ->
`5.5.3`](https://renovatebot.com/diffs/npm/astro/5.2.6/5.5.3) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (@&#8203;astrojs/sitemap)</summary>

###
[`v3.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#330)

##### Minor Changes

-
[#&#8203;13448](https://redirect.github.com/withastro/astro/pull/13448)
[`91c9503`](https://redirect.github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Add
support for XSL in sitemap-index.xml

</details>

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.5.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#553)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.2...astro@5.5.3)

##### Patch Changes

-
[#&#8203;13437](https://redirect.github.com/withastro/astro/pull/13437)
[`013fa87`](https://redirect.github.com/withastro/astro/commit/013fa87982ea92675e899d2f71a200e5298db608)
Thanks [@&#8203;Vardhaman619](https://redirect.github.com/Vardhaman619)!
- Handle server.allowedHosts when the value is true without attempting
to push it into an array.

-
[#&#8203;13324](https://redirect.github.com/withastro/astro/pull/13324)
[`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Upgrade to shiki v3

-
[#&#8203;13372](https://redirect.github.com/withastro/astro/pull/13372)
[`7783dbf`](https://redirect.github.com/withastro/astro/commit/7783dbf8117650c60d7633b43f0d42da487aa2b1)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused some very large data stores to save incomplete data.

-
[#&#8203;13358](https://redirect.github.com/withastro/astro/pull/13358)
[`8c21663`](https://redirect.github.com/withastro/astro/commit/8c21663c4a6363765f2caa5705a93a41492a95c9)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new function called `insertPageRoute` to the Astro Container API.

The new function is useful when testing routes that, for some business
logic, use `Astro.rewrite`.

For example, if you have a route `/blog/post` and for some business
decision there's a rewrite to `/generic-error`, the container API
implementation will look like this:

    ```js
    import Post from '../src/pages/Post.astro';
    import GenericError from '../src/pages/GenericError.astro';
import { experimental_AstroContainer as AstroContainer } from
'astro/container';

    const container = await AstroContainer.create();
    container.insertPageRoute('/generic-error', GenericError);
    const result = await container.renderToString(Post);
console.log(result); // this should print the response from
GenericError.astro
    ```

This new method only works for page routes, which means that endpoints
aren't supported.

-
[#&#8203;13426](https://redirect.github.com/withastro/astro/pull/13426)
[`565583b`](https://redirect.github.com/withastro/astro/commit/565583bd6c99163ce5d9475b26075149cc8c155b)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused the `astro add` command to ignore the `--yes` flag for
third-party integrations

-
[#&#8203;13428](https://redirect.github.com/withastro/astro/pull/13428)
[`9cac9f3`](https://redirect.github.com/withastro/astro/commit/9cac9f314277def0ee584e45d4937bac0235738a)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent bad value in x-forwarded-host from crashing request

-
[#&#8203;13432](https://redirect.github.com/withastro/astro/pull/13432)
[`defad33`](https://redirect.github.com/withastro/astro/commit/defad33140dccde324b9357bc6331f7e5cdec266)
Thanks [@&#8203;P4tt4te](https://redirect.github.com/P4tt4te)! - Fix an
issue in the Container API, where the `renderToString` function doesn't
render adequately nested slots when they are components.

- Updated dependencies
\[[`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.1

###
[`v5.5.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#552)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.1...astro@5.5.2)

##### Patch Changes

-
[#&#8203;13415](https://redirect.github.com/withastro/astro/pull/13415)
[`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Reuses experimental session storage object between requests. This
prevents memory leaks and improves performance for drivers that open
persistent connections to a database.

-
[#&#8203;13420](https://redirect.github.com/withastro/astro/pull/13420)
[`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - It
fixes an issue that caused some regressions in how styles are bundled.

###
[`v5.5.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#551)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.0...astro@5.5.1)

##### Patch Changes

-
[#&#8203;13413](https://redirect.github.com/withastro/astro/pull/13413)
[`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Makes
experimental flag optional

###
[`v5.5.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#550)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.3...astro@5.5.0)

##### Minor Changes

-
[#&#8203;13402](https://redirect.github.com/withastro/astro/pull/13402)
[`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new experimental flag called `experimental.preserveScriptOrder`
that renders `<script>` and `<style>` tags in the same order as they are
defined.

When rendering multiple `<style>` and `<script>` tags on the same page,
Astro currently reverses their order in your generated HTML output. This
can give unexpected results, for example CSS styles being overridden by
earlier defined style tags when your site is built.

With the new `preserveScriptOrder` flag enabled, Astro will generate the
styles in the order they are defined:

    ```js title="astro.config.mjs"
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        preserveScriptOrder: true,
      },
    });
    ```

For example, the following component has two `<style>` tags, and both
define the same style for the `body` tag:

    ```html
    <p>I am a component</p>
    <style>
      body {
        background: red;
      }
    </style>
    <style>
      body {
        background: yellow;
      }
    </style>
    ```

Once the project is compiled, Astro will create an inline style where
`yellow` appears first, and then `red`. Ultimately, the `red` background
is applied:

    ```css
    body {
      background: #ff0;
    }
    body {
      background: red;
    }
    ```

When `experimental.preserveScriptOrder` is set to `true`, the order of
the two styles is kept as it is, and in the style generated `red`
appears first, and then `yellow`:

    ```css
    body {
      background: red;
    }
    body {
      background: #ff0;
    }
    ```

This is a breaking change to how Astro renders project code that
contains multiple `<style>` and `<script>` tags in the same component.
If you were previously compensating for Astro's behavior by writing
these out of order, you will need to update your code.

This will eventually become the new default Astro behavior, so we
encourage you to add this experimental style and script ordering as soon
as you are able! This will help us test the new behavior and ensure your
code is ready when this becomes the new normal.

For more information as this feature develops, please see the
[experimental script order
docs](https://docs.astro.build/en/reference/experimental-flags/preserve-script-order/).

-
[#&#8203;13352](https://redirect.github.com/withastro/astro/pull/13352)
[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7)
Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Adds
support for a new `experimental.headingIdCompat` flag

By default, Astro removes a trailing `-` from the end of IDs it
generates for headings ending with
special characters. This differs from the behavior of common Markdown
processors.

    You can now disable this behavior with a new configuration flag:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        headingIdCompat: true,
      },
    });
    ```

This can be useful when heading IDs and anchor links need to behave
consistently across your site
    and other platforms such as GitHub and npm.

If you are [using the `rehypeHeadingIds` plugin
directly](https://docs.astro.build/en/guides/markdown-content/#heading-ids-and-plugins),
you can also pass this new option:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { rehypeHeadingIds } from '@&#8203;astrojs/markdown-remark';
import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source';

    export default defineConfig({
      markdown: {
        rehypePlugins: [
          [rehypeHeadingIds, { experimentalHeadingIdCompat: true }],
          otherPluginThatReliesOnHeadingIDs,
        ],
      },
    });
    ```

-
[#&#8203;13311](https://redirect.github.com/withastro/astro/pull/13311)
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)
Thanks [@&#8203;chrisirhc](https://redirect.github.com/chrisirhc)! -
Adds a new configuration option for Markdown syntax highlighting
`excludeLangs`

This option provides better support for diagramming tools that rely on
Markdown code blocks, such as Mermaid.js and D2 by allowing you to
exclude specific languages from Astro's default syntax highlighting.

This option allows you to avoid rendering conflicts with tools that
depend on the code not being highlighted without forcing you to disable
syntax highlighting for other code blocks.

The following example configuration will exclude highlighting for
`mermaid` and `math` code blocks:

    ```js
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      markdown: {
        syntaxHighlight: {
          type: 'shiki',
          excludeLangs: ['mermaid', 'math'],
        },
      },
    });
    ```

Read more about this new option in the [Markdown syntax highlighting
configuration
docs](https://docs.astro.build/en/reference/configuration-reference/#markdownsyntaxhighlight).

##### Patch Changes

-
[#&#8203;13404](https://redirect.github.com/withastro/astro/pull/13404)
[`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug in error handling that saving a content file with a schema error
would display an "unhandled rejection" error instead of the correct
schema error

-
[#&#8203;13379](https://redirect.github.com/withastro/astro/pull/13379)
[`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an edge case where the client router executed scripts twice when used
with a custom swap function that only swaps parts of the DOM.

-
[#&#8203;13393](https://redirect.github.com/withastro/astro/pull/13393)
[`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e)
Thanks [@&#8203;renovate](https://redirect.github.com/apps/renovate)! -
Updates `primsjs` to version 1.30.0, which adds support for more
languages and fixes a security advisory which does not affect Astro.

-
[#&#8203;13374](https://redirect.github.com/withastro/astro/pull/13374)
[`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec)
Thanks
[@&#8203;ArmandPhilippot](https://redirect.github.com/ArmandPhilippot)!
- Fixes the documentation of the i18n configuration where `manual` was
presented as a key of `routing` instead of an available value.

-
[#&#8203;13380](https://redirect.github.com/withastro/astro/pull/13380)
[`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where astro:page-load fires before all scripts are executed

-
[#&#8203;13407](https://redirect.github.com/withastro/astro/pull/13407)
[`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Displays correct error message when sharp isn't installed

- Updated dependencies
\[[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7),
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.0

###
[`v5.4.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#543)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.2...astro@5.4.3)

##### Patch Changes

-
[#&#8203;13381](https://redirect.github.com/withastro/astro/pull/13381)
[`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Adds
the `types` property to the viewTransition object when the ClientRouter
simulates parts of the View Transition API on browsers w/o native
support.

-
[#&#8203;13367](https://redirect.github.com/withastro/astro/pull/13367)
[`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to various utility functions used for remote image
services

-
[#&#8203;13347](https://redirect.github.com/withastro/astro/pull/13347)
[`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Updates
internal CSS chunking behavior for Astro components' scoped styles. This
may result in slightly more CSS chunks created, but should allow the
scoped styles to only be included on pages that use them.

-
[#&#8203;13388](https://redirect.github.com/withastro/astro/pull/13388)
[`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where `astro:config/server` and `astro:config/client` had
incorrect types.

-
[#&#8203;13355](https://redirect.github.com/withastro/astro/pull/13355)
[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to the assets utilities for remote service images.

-
[#&#8203;13395](https://redirect.github.com/withastro/astro/pull/13395)
[`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`package-manager-detector` to detect the package manager used in the
project

-
[#&#8203;13363](https://redirect.github.com/withastro/astro/pull/13363)
[`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the internal function `makeSvgComponent` was
incorrectly exposed as a public API.

- Updated dependencies
\[[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.1
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.1

###
[`v5.4.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#542)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.1...astro@5.4.2)

##### Patch Changes

-
[#&#8203;12985](https://redirect.github.com/withastro/astro/pull/12985)
[`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent re-executing scripts in client router

-
[#&#8203;13349](https://redirect.github.com/withastro/astro/pull/13349)
[`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Correctly escapes attributes in Markdown images

-
[#&#8203;13262](https://redirect.github.com/withastro/astro/pull/13262)
[`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Refactor Astro Actions to not use a middleware. Doing so should avoid
unexpected issues when using the Astro middleware at the edge.

###
[`v5.4.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#541)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.0...astro@5.4.1)

##### Patch Changes

-
[#&#8203;13336](https://redirect.github.com/withastro/astro/pull/13336)
[`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a regression where some asset utilities were move across monorepo,
and not re-exported anymore.

-
[#&#8203;13320](https://redirect.github.com/withastro/astro/pull/13320)
[`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26)
Thanks [@&#8203;{](https://redirect.github.com/{)! - Adds support for
typing experimental session data

You can add optional types to your session data by creating a
`src/env.d.ts` file in your project that extends the global
`App.SessionData` interface. For example:

    ```ts
    declare namespace App {
      interface SessionData {

          id: string;
          email: string;
        };
        lastLogin: Date;
      }
    }
    ```

    Any keys not defined in this interface will be treated as `any`.

Then when you access `Astro.session` in your components, any defined
keys will be typed correctly:

###
[`v5.4.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#540)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.1...astro@5.4.0)

##### Minor Changes

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Exposes
extra APIs for scripting and testing.

##### Config helpers

Two new helper functions exported from `astro/config`:

- `mergeConfig()` allows users to merge partially defined Astro
configurations on top of a base config while following the merge rules
of `updateConfig()` available for integrations.
- `validateConfig()` allows users to validate that a given value is a
valid Astro configuration and fills in default values as necessary.

These helpers are particularly useful for integration authors and for
developers writing scripts that need to manipulate Astro configurations
programmatically.

##### Programmatic build

The `build` API now receives a second optional `BuildOptions` argument
where users can specify:

- `devOutput` (default `false`): output a development-based build
similar to code transformed in `astro dev`.
- `teardownCompiler` (default `true`): teardown the compiler WASM
instance after build.

These options provide more control when running Astro builds
programmatically, especially for testing scenarios or custom build
pipelines.

-
[#&#8203;13278](https://redirect.github.com/withastro/astro/pull/13278)
[`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new configuration option `server.allowedHosts` and CLI option
`--allowed-hosts`.

Now you can specify the hostnames that the dev and preview servers are
allowed to respond to. This is useful for allowing additional
subdomains, or running the dev server in a web container.

`allowedHosts` checks the Host header on HTTP requests from browsers and
if it doesn't match, it will reject the request to prevent CSRF and XSS
attacks.

    ```shell
    astro dev --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```shell
    astro preview --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      server: {
        allowedHosts: ['foo.bar.example.com', 'bar.example.com'],
      },
    });
    ```

This feature is the same as [Vite's `server.allowHosts`
configuration](https://vite.dev/config/server-options.html#server-allowedhosts).

-
[#&#8203;13254](https://redirect.github.com/withastro/astro/pull/13254)
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
the ability to process and optimize remote images in Markdown files

Previously, Astro only allowed local images to be optimized when
included using `![]()` syntax in plain Markdown files. Astro's image
service could only display remote images without any processing.

Now, Astro's image service can also optimize remote images written in
standard Markdown syntax. This allows you to enjoy the benefits of
Astro's image processing when your images are stored externally, for
example in a CMS or digital asset manager.

No additional configuration is required to use this feature! Any
existing remote images written in Markdown will now automatically be
optimized. To opt-out of this processing, write your images in Markdown
using the HTML `<img>` tag instead. Note that images located in your
`public/` folder are still never processed.

##### Patch Changes

-
[#&#8203;13256](https://redirect.github.com/withastro/astro/pull/13256)
[`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
experimental responsive image support in Markdown

Previously, the `experimental.responsiveImages` feature could only
provide responsive images when using the `<Image />` and `<Picture />`
components.

Now, images written with the `![]()` Markdown syntax in Markdown and MDX
files will generate responsive images by default when using this
experimental feature.

To try this experimental feature, set `experimental.responsiveImages` to
true in your `astro.config.mjs` file:

    ```js
    {
       experimental: {
          responsiveImages: true,
       },
    }
    ```

Learn more about using this feature in the [experimental responsive
images feature
reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/).

For a complete overview, and to give feedback on this experimental API,
see the [Responsive Images
RFC](https://redirect.github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md).

-
[#&#8203;13323](https://redirect.github.com/withastro/astro/pull/13323)
[`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Updates `esbuild` and `vite` to the latest to avoid false positives
audits warnings caused by `esbuild`.

-
[#&#8203;13313](https://redirect.github.com/withastro/astro/pull/13313)
[`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where a form field named "attributes" shadows the
form.attributes property.

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Fixes
incorrect config update when calling `updateConfig` from
`astro:build:setup` hook.

The function previously called a custom update config function made for
merging an Astro config. Now it calls the appropriate `mergeConfig()`
utility exported by Vite that updates functional options correctly.

-
[#&#8203;13303](https://redirect.github.com/withastro/astro/pull/13303)
[`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the dev server was applying second decoding of the
URL of the incoming request, causing issues for certain URLs.

- Updated dependencies
\[[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b),
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.0
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.0

###
[`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.0...astro@5.3.1)

##### Patch Changes

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when
using `base` and `trailingSlash` options.

-
[#&#8203;13003](https://redirect.github.com/withastro/astro/pull/13003)
[`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879)
Thanks [@&#8203;chaegumi](https://redirect.github.com/chaegumi)! - Fixes
a bug that caused the `vite.base` value to be ignored when running
`astro dev`

-
[#&#8203;13299](https://redirect.github.com/withastro/astro/pull/13299)
[`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`tinyglobby` for globbing files

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures that `Astro.url`/`ctx.url` is correctly updated with the
`base` path after rewrites.

This change fixes an issue where `Astro.url`/`ctx.url` did not include
the configured base path after Astro.rewrite was called. Now, the base
path is correctly reflected in Astro.url.

Previously, any rewrites performed through `Astro.rewrite`/`ctx.rewrite`
failed to append the base path to `Astro.url`/`ctx.rewrite`, which could
lead to incorrect URL handling in downstream logic. By fixing this, we
ensure that all routes remain consistent and predictable after a
rewrite.

If you were relying on the work around of including the base path in
astro.rewrite you can now remove it from the path.

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDIuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-03-18 20:56:45 +01:00
TrueCharts Bot 108e22bfc4 fix(website): update astro 5.2.6 → 5.5.2 (#33228)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.4.1` ->
`5.5.2`](https://renovatebot.com/diffs/npm/astro/5.2.6/5.5.2) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.5.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#552)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.1...astro@5.5.2)

##### Patch Changes

-
[#&#8203;13415](https://redirect.github.com/withastro/astro/pull/13415)
[`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Reuses experimental session storage object between requests. This
prevents memory leaks and improves performance for drivers that open
persistent connections to a database.

-
[#&#8203;13420](https://redirect.github.com/withastro/astro/pull/13420)
[`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - It
fixes an issue that caused some regressions in how styles are bundled.

###
[`v5.5.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#551)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.5.0...astro@5.5.1)

##### Patch Changes

-
[#&#8203;13413](https://redirect.github.com/withastro/astro/pull/13413)
[`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Makes
experimental flag optional

###
[`v5.5.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#550)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.3...astro@5.5.0)

##### Minor Changes

-
[#&#8203;13402](https://redirect.github.com/withastro/astro/pull/13402)
[`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new experimental flag called `experimental.preserveScriptOrder`
that renders `<script>` and `<style>` tags in the same order as they are
defined.

When rendering multiple `<style>` and `<script>` tags on the same page,
Astro currently reverses their order in your generated HTML output. This
can give unexpected results, for example CSS styles being overridden by
earlier defined style tags when your site is built.

With the new `preserveScriptOrder` flag enabled, Astro will generate the
styles in the order they are defined:

    ```js title="astro.config.mjs"
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        preserveScriptOrder: true,
      },
    });
    ```

For example, the following component has two `<style>` tags, and both
define the same style for the `body` tag:

    ```html
    <p>I am a component</p>
    <style>
      body {
        background: red;
      }
    </style>
    <style>
      body {
        background: yellow;
      }
    </style>
    ```

Once the project is compiled, Astro will create an inline style where
`yellow` appears first, and then `red`. Ultimately, the `red` background
is applied:

    ```css
    body {
      background: #ff0;
    }
    body {
      background: red;
    }
    ```

When `experimental.preserveScriptOrder` is set to `true`, the order of
the two styles is kept as it is, and in the style generated `red`
appears first, and then `yellow`:

    ```css
    body {
      background: red;
    }
    body {
      background: #ff0;
    }
    ```

This is a breaking change to how Astro renders project code that
contains multiple `<style>` and `<script>` tags in the same component.
If you were previously compensating for Astro's behavior by writing
these out of order, you will need to update your code.

This will eventually become the new default Astro behavior, so we
encourage you to add this experimental style and script ordering as soon
as you are able! This will help us test the new behavior and ensure your
code is ready when this becomes the new normal.

For more information as this feature develops, please see the
[experimental script order
docs](https://docs.astro.build/en/reference/experimental-flags/preserve-script-order/).

-
[#&#8203;13352](https://redirect.github.com/withastro/astro/pull/13352)
[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7)
Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Adds
support for a new `experimental.headingIdCompat` flag

By default, Astro removes a trailing `-` from the end of IDs it
generates for headings ending with
special characters. This differs from the behavior of common Markdown
processors.

    You can now disable this behavior with a new configuration flag:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      experimental: {
        headingIdCompat: true,
      },
    });
    ```

This can be useful when heading IDs and anchor links need to behave
consistently across your site
    and other platforms such as GitHub and npm.

If you are [using the `rehypeHeadingIds` plugin
directly](https://docs.astro.build/en/guides/markdown-content/#heading-ids-and-plugins),
you can also pass this new option:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import { rehypeHeadingIds } from '@&#8203;astrojs/markdown-remark';
import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source';

    export default defineConfig({
      markdown: {
        rehypePlugins: [
          [rehypeHeadingIds, { experimentalHeadingIdCompat: true }],
          otherPluginThatReliesOnHeadingIDs,
        ],
      },
    });
    ```

-
[#&#8203;13311](https://redirect.github.com/withastro/astro/pull/13311)
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)
Thanks [@&#8203;chrisirhc](https://redirect.github.com/chrisirhc)! -
Adds a new configuration option for Markdown syntax highlighting
`excludeLangs`

This option provides better support for diagramming tools that rely on
Markdown code blocks, such as Mermaid.js and D2 by allowing you to
exclude specific languages from Astro's default syntax highlighting.

This option allows you to avoid rendering conflicts with tools that
depend on the code not being highlighted without forcing you to disable
syntax highlighting for other code blocks.

The following example configuration will exclude highlighting for
`mermaid` and `math` code blocks:

    ```js
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      markdown: {
        syntaxHighlight: {
          type: 'shiki',
          excludeLangs: ['mermaid', 'math'],
        },
      },
    });
    ```

Read more about this new option in the [Markdown syntax highlighting
configuration
docs](https://docs.astro.build/en/reference/configuration-reference/#markdownsyntaxhighlight).

##### Patch Changes

-
[#&#8203;13404](https://redirect.github.com/withastro/astro/pull/13404)
[`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug in error handling that saving a content file with a schema error
would display an "unhandled rejection" error instead of the correct
schema error

-
[#&#8203;13379](https://redirect.github.com/withastro/astro/pull/13379)
[`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an edge case where the client router executed scripts twice when used
with a custom swap function that only swaps parts of the DOM.

-
[#&#8203;13393](https://redirect.github.com/withastro/astro/pull/13393)
[`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e)
Thanks [@&#8203;renovate](https://redirect.github.com/apps/renovate)! -
Updates `primsjs` to version 1.30.0, which adds support for more
languages and fixes a security advisory which does not affect Astro.

-
[#&#8203;13374](https://redirect.github.com/withastro/astro/pull/13374)
[`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec)
Thanks
[@&#8203;ArmandPhilippot](https://redirect.github.com/ArmandPhilippot)!
- Fixes the documentation of the i18n configuration where `manual` was
presented as a key of `routing` instead of an available value.

-
[#&#8203;13380](https://redirect.github.com/withastro/astro/pull/13380)
[`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where astro:page-load fires before all scripts are executed

-
[#&#8203;13407](https://redirect.github.com/withastro/astro/pull/13407)
[`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Displays correct error message when sharp isn't installed

- Updated dependencies
\[[`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7),
[`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e)]:
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).3.0

###
[`v5.4.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#543)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.2...astro@5.4.3)

##### Patch Changes

-
[#&#8203;13381](https://redirect.github.com/withastro/astro/pull/13381)
[`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Adds
the `types` property to the viewTransition object when the ClientRouter
simulates parts of the View Transition API on browsers w/o native
support.

-
[#&#8203;13367](https://redirect.github.com/withastro/astro/pull/13367)
[`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to various utility functions used for remote image
services

-
[#&#8203;13347](https://redirect.github.com/withastro/astro/pull/13347)
[`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Updates
internal CSS chunking behavior for Astro components' scoped styles. This
may result in slightly more CSS chunks created, but should allow the
scoped styles to only be included on pages that use them.

-
[#&#8203;13388](https://redirect.github.com/withastro/astro/pull/13388)
[`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where `astro:config/server` and `astro:config/client` had
incorrect types.

-
[#&#8203;13355](https://redirect.github.com/withastro/astro/pull/13355)
[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds documentation to the assets utilities for remote service images.

-
[#&#8203;13395](https://redirect.github.com/withastro/astro/pull/13395)
[`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`package-manager-detector` to detect the package manager used in the
project

-
[#&#8203;13363](https://redirect.github.com/withastro/astro/pull/13363)
[`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the internal function `makeSvgComponent` was
incorrectly exposed as a public API.

- Updated dependencies
\[[`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.1
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.1

###
[`v5.4.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#542)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.1...astro@5.4.2)

##### Patch Changes

-
[#&#8203;12985](https://redirect.github.com/withastro/astro/pull/12985)
[`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59)
Thanks [@&#8203;matthewp](https://redirect.github.com/matthewp)! -
Prevent re-executing scripts in client router

-
[#&#8203;13349](https://redirect.github.com/withastro/astro/pull/13349)
[`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Correctly escapes attributes in Markdown images

-
[#&#8203;13262](https://redirect.github.com/withastro/astro/pull/13262)
[`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Refactor Astro Actions to not use a middleware. Doing so should avoid
unexpected issues when using the Astro middleware at the edge.

###
[`v5.4.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#541)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.4.0...astro@5.4.1)

##### Patch Changes

-
[#&#8203;13336](https://redirect.github.com/withastro/astro/pull/13336)
[`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a regression where some asset utilities were move across monorepo,
and not re-exported anymore.

-
[#&#8203;13320](https://redirect.github.com/withastro/astro/pull/13320)
[`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26)
Thanks [@&#8203;{](https://redirect.github.com/{)! - Adds support for
typing experimental session data

You can add optional types to your session data by creating a
`src/env.d.ts` file in your project that extends the global
`App.SessionData` interface. For example:

    ```ts
    declare namespace App {
      interface SessionData {

          id: string;
          email: string;
        };
        lastLogin: Date;
      }
    }
    ```

    Any keys not defined in this interface will be treated as `any`.

Then when you access `Astro.session` in your components, any defined
keys will be typed correctly:

###
[`v5.4.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#540)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.1...astro@5.4.0)

##### Minor Changes

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Exposes
extra APIs for scripting and testing.

##### Config helpers

Two new helper functions exported from `astro/config`:

- `mergeConfig()` allows users to merge partially defined Astro
configurations on top of a base config while following the merge rules
of `updateConfig()` available for integrations.
- `validateConfig()` allows users to validate that a given value is a
valid Astro configuration and fills in default values as necessary.

These helpers are particularly useful for integration authors and for
developers writing scripts that need to manipulate Astro configurations
programmatically.

##### Programmatic build

The `build` API now receives a second optional `BuildOptions` argument
where users can specify:

- `devOutput` (default `false`): output a development-based build
similar to code transformed in `astro dev`.
- `teardownCompiler` (default `true`): teardown the compiler WASM
instance after build.

These options provide more control when running Astro builds
programmatically, especially for testing scenarios or custom build
pipelines.

-
[#&#8203;13278](https://redirect.github.com/withastro/astro/pull/13278)
[`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new configuration option `server.allowedHosts` and CLI option
`--allowed-hosts`.

Now you can specify the hostnames that the dev and preview servers are
allowed to respond to. This is useful for allowing additional
subdomains, or running the dev server in a web container.

`allowedHosts` checks the Host header on HTTP requests from browsers and
if it doesn't match, it will reject the request to prevent CSRF and XSS
attacks.

    ```shell
    astro dev --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```shell
    astro preview --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      server: {
        allowedHosts: ['foo.bar.example.com', 'bar.example.com'],
      },
    });
    ```

This feature is the same as [Vite's `server.allowHosts`
configuration](https://vite.dev/config/server-options.html#server-allowedhosts).

-
[#&#8203;13254](https://redirect.github.com/withastro/astro/pull/13254)
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
the ability to process and optimize remote images in Markdown files

Previously, Astro only allowed local images to be optimized when
included using `![]()` syntax in plain Markdown files. Astro's image
service could only display remote images without any processing.

Now, Astro's image service can also optimize remote images written in
standard Markdown syntax. This allows you to enjoy the benefits of
Astro's image processing when your images are stored externally, for
example in a CMS or digital asset manager.

No additional configuration is required to use this feature! Any
existing remote images written in Markdown will now automatically be
optimized. To opt-out of this processing, write your images in Markdown
using the HTML `<img>` tag instead. Note that images located in your
`public/` folder are still never processed.

##### Patch Changes

-
[#&#8203;13256](https://redirect.github.com/withastro/astro/pull/13256)
[`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
experimental responsive image support in Markdown

Previously, the `experimental.responsiveImages` feature could only
provide responsive images when using the `<Image />` and `<Picture />`
components.

Now, images written with the `![]()` Markdown syntax in Markdown and MDX
files will generate responsive images by default when using this
experimental feature.

To try this experimental feature, set `experimental.responsiveImages` to
true in your `astro.config.mjs` file:

    ```js
    {
       experimental: {
          responsiveImages: true,
       },
    }
    ```

Learn more about using this feature in the [experimental responsive
images feature
reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/).

For a complete overview, and to give feedback on this experimental API,
see the [Responsive Images
RFC](https://redirect.github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md).

-
[#&#8203;13323](https://redirect.github.com/withastro/astro/pull/13323)
[`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Updates `esbuild` and `vite` to the latest to avoid false positives
audits warnings caused by `esbuild`.

-
[#&#8203;13313](https://redirect.github.com/withastro/astro/pull/13313)
[`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where a form field named "attributes" shadows the
form.attributes property.

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Fixes
incorrect config update when calling `updateConfig` from
`astro:build:setup` hook.

The function previously called a custom update config function made for
merging an Astro config. Now it calls the appropriate `mergeConfig()`
utility exported by Vite that updates functional options correctly.

-
[#&#8203;13303](https://redirect.github.com/withastro/astro/pull/13303)
[`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the dev server was applying second decoding of the
URL of the incoming request, causing issues for certain URLs.

- Updated dependencies
\[[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b),
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.0
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.0

###
[`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.0...astro@5.3.1)

##### Patch Changes

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when
using `base` and `trailingSlash` options.

-
[#&#8203;13003](https://redirect.github.com/withastro/astro/pull/13003)
[`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879)
Thanks [@&#8203;chaegumi](https://redirect.github.com/chaegumi)! - Fixes
a bug that caused the `vite.base` value to be ignored when running
`astro dev`

-
[#&#8203;13299](https://redirect.github.com/withastro/astro/pull/13299)
[`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`tinyglobby` for globbing files

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures that `Astro.url`/`ctx.url` is correctly updated with the
`base` path after rewrites.

This change fixes an issue where `Astro.url`/`ctx.url` did not include
the configured base path after Astro.rewrite was called. Now, the base
path is correctly reflected in Astro.url.

Previously, any rewrites performed through `Astro.rewrite`/`ctx.rewrite`
failed to append the base path to `Astro.url`/`ctx.rewrite`, which could
lead to incorrect URL handling in downstream logic. By fixing this, we
ensure that all routes remain consistent and predictable after a
rewrite.

If you were relying on the work around of including the base path in
astro.rewrite you can now remove it from the path.

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTkuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE5OS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-03-14 01:54:53 +01:00
TrueCharts Bot 4ab0a5c481 fix(website): update prettier 3.5.1 → 3.5.3 (#32800)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [prettier](https://prettier.io)
([source](https://redirect.github.com/prettier/prettier)) | dependencies
| patch | [`3.5.1` ->
`3.5.3`](https://renovatebot.com/diffs/npm/prettier/3.5.1/3.5.3) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.5.3`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#353)

[Compare
Source](https://redirect.github.com/prettier/prettier/compare/3.5.2...3.5.3)


[diff](https://redirect.github.com/prettier/prettier/compare/3.5.2...3.5.3)

##### Flow: Fix missing parentheses in `ConditionalTypeAnnotation`
([#&#8203;17196](https://redirect.github.com/prettier/prettier/pull/17196)
by [@&#8203;fisker](https://redirect.github.com/fisker))

<!-- prettier-ignore -->

```jsx
// Input
type T<U> = 'a' | ('b' extends U ? 'c' : empty);
type T<U> = 'a' & ('b' extends U ? 'c' : empty);

// Prettier 3.5.2
type T<U> = "a" | "b" extends U ? "c" : empty;
type T<U> = "a" & "b" extends U ? "c" : empty;

// Prettier 3.5.3
type T<U> = "a" | ("b" extends U ? "c" : empty);
type T<U> = "a" & ("b" extends U ? "c" : empty);
```

###
[`v3.5.2`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#352)

[Compare
Source](https://redirect.github.com/prettier/prettier/compare/3.5.1...3.5.2)


[diff](https://redirect.github.com/prettier/prettier/compare/3.5.1...3.5.2)

##### Remove `module-sync` condition
([#&#8203;17156](https://redirect.github.com/prettier/prettier/pull/17156)
by [@&#8203;fisker](https://redirect.github.com/fisker))

In Prettier 3.5.0, [we added `module-sync` condition to
`package.json`](https://prettier.io/blog/2025/02/09/3.5.0#use-esm-entrypoint-for-requireesm-16958-by-tats-u),
so that `require("prettier")` can use ESM version, but turns out it
doesn't work if CommonJS and ESM plugins both imports builtin plugins.
To solve this problem, we decide simply remove the `module-sync`
condition, so `require("prettier")` will still use the CommonJS version,
we'll revisit until `require(ESM)` feature is more stable.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODIuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-03-03 07:16:58 +01:00
TrueCharts Bot c97b66b0f1 fix(website): update astro 5.2.6 → 5.4.1 (#32730) 2025-03-01 01:33:53 +01:00
TrueCharts Bot cc8111a47e fix(website): update typescript 5.7.3 → 5.8.2 (#32731)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [typescript](https://www.typescriptlang.org/)
([source](https://redirect.github.com/microsoft/TypeScript)) |
dependencies | minor | [`5.7.3` ->
`5.8.2`](https://renovatebot.com/diffs/npm/typescript/5.7.3/5.8.2) |

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>microsoft/TypeScript (typescript)</summary>

###
[`v5.8.2`](https://redirect.github.com/microsoft/TypeScript/releases/tag/v5.8.2):
TypeScript 5.8

[Compare
Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)

For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/).

- [fixed issues query for Typescript 5.8.0
(Beta)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.8.1
(RC)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.8.2
(Stable)](https://redirect.github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.2%22+is%3Aclosed+).

Downloads are available on:

-   [npm](https://www.npmjs.com/package/typescript)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODIuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-03-01 01:33:50 +01:00
TrueCharts Bot 3cd66ce08f fix(website): update astro 5.2.6 → 5.4.0 (#32662)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.3.1` ->
`5.4.0`](https://renovatebot.com/diffs/npm/astro/5.2.6/5.4.0) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.4.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#540)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.1...astro@5.4.0)

##### Minor Changes

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Exposes
extra APIs for scripting and testing.

##### Config helpers

Two new helper functions exported from `astro/config`:

- `mergeConfig()` allows users to merge partially defined Astro
configurations on top of a base config while following the merge rules
of `updateConfig()` available for integrations.
- `validateConfig()` allows users to validate that a given value is a
valid Astro configuration and fills in default values as necessary.

These helpers are particularly useful for integration authors and for
developers writing scripts that need to manipulate Astro configurations
programmatically.

##### Programmatic build

The `build` API now receives a second optional `BuildOptions` argument
where users can specify:

- `devOutput` (default `false`): output a development-based build
similar to code transformed in `astro dev`.
- `teardownCompiler` (default `true`): teardown the compiler WASM
instance after build.

These options provide more control when running Astro builds
programmatically, especially for testing scenarios or custom build
pipelines.

-
[#&#8203;13278](https://redirect.github.com/withastro/astro/pull/13278)
[`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new configuration option `server.allowedHosts` and CLI option
`--allowed-hosts`.

Now you can specify the hostnames that the dev and preview servers are
allowed to respond to. This is useful for allowing additional
subdomains, or running the dev server in a web container.

`allowedHosts` checks the Host header on HTTP requests from browsers and
if it doesn't match, it will reject the request to prevent CSRF and XSS
attacks.

    ```shell
    astro dev --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```shell
    astro preview --allowed-hosts=foo.bar.example.com,bar.example.com
    ```

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      server: {
        allowedHosts: ['foo.bar.example.com', 'bar.example.com'],
      },
    });
    ```

This feature is the same as [Vite's `server.allowHosts`
configuration](https://vite.dev/config/server-options.html#server-allowedhosts).

-
[#&#8203;13254](https://redirect.github.com/withastro/astro/pull/13254)
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
the ability to process and optimize remote images in Markdown files

Previously, Astro only allowed local images to be optimized when
included using `![]()` syntax in plain Markdown files. Astro's image
service could only display remote images without any processing.

Now, Astro's image service can also optimize remote images written in
standard Markdown syntax. This allows you to enjoy the benefits of
Astro's image processing when your images are stored externally, for
example in a CMS or digital asset manager.

No additional configuration is required to use this feature! Any
existing remote images written in Markdown will now automatically be
optimized. To opt-out of this processing, write your images in Markdown
using the HTML `<img>` tag instead. Note that images located in your
`public/` folder are still never processed.

##### Patch Changes

-
[#&#8203;13256](https://redirect.github.com/withastro/astro/pull/13256)
[`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc)
Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds
experimental responsive image support in Markdown

Previously, the `experimental.responsiveImages` feature could only
provide responsive images when using the `<Image />` and `<Picture />`
components.

Now, images written with the `![]()` Markdown syntax in Markdown and MDX
files will generate responsive images by default when using this
experimental feature.

To try this experimental feature, set `experimental.responsiveImages` to
true in your `astro.config.mjs` file:

    ```js
    {
       experimental: {
          responsiveImages: true,
       },
    }
    ```

Learn more about using this feature in the [experimental responsive
images feature
reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/).

For a complete overview, and to give feedback on this experimental API,
see the [Responsive Images
RFC](https://redirect.github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md).

-
[#&#8203;13323](https://redirect.github.com/withastro/astro/pull/13323)
[`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Updates `esbuild` and `vite` to the latest to avoid false positives
audits warnings caused by `esbuild`.

-
[#&#8203;13313](https://redirect.github.com/withastro/astro/pull/13313)
[`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue where a form field named "attributes" shadows the
form.attributes property.

-
[#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052)
[`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f)
Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Fixes
incorrect config update when calling `updateConfig` from
`astro:build:setup` hook.

The function previously called a custom update config function made for
merging an Astro config. Now it calls the appropriate `mergeConfig()`
utility exported by Vite that updates functional options correctly.

-
[#&#8203;13303](https://redirect.github.com/withastro/astro/pull/13303)
[`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the dev server was applying second decoding of the
URL of the incoming request, causing issues for certain URLs.

- Updated dependencies
\[[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b),
[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.0
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.0

###
[`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.0...astro@5.3.1)

##### Patch Changes

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when
using `base` and `trailingSlash` options.

-
[#&#8203;13003](https://redirect.github.com/withastro/astro/pull/13003)
[`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879)
Thanks [@&#8203;chaegumi](https://redirect.github.com/chaegumi)! - Fixes
a bug that caused the `vite.base` value to be ignored when running
`astro dev`

-
[#&#8203;13299](https://redirect.github.com/withastro/astro/pull/13299)
[`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`tinyglobby` for globbing files

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures that `Astro.url`/`ctx.url` is correctly updated with the
`base` path after rewrites.

This change fixes an issue where `Astro.url`/`ctx.url` did not include
the configured base path after Astro.rewrite was called. Now, the base
path is correctly reflected in Astro.url.

Previously, any rewrites performed through `Astro.rewrite`/`ctx.rewrite`
failed to append the base path to `Astro.url`/`ctx.rewrite`, which could
lead to incorrect URL handling in downstream logic. By fixing this, we
ensure that all routes remain consistent and predictable after a
rewrite.

If you were relying on the work around of including the base path in
astro.rewrite you can now remove it from the path.

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzkuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3OS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-02-27 20:20:03 +01:00
TrueCharts Bot ef61ff9cab fix(website): update astro 5.2.6 → 5.3.1 (#32544)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.3.0` ->
`5.3.1`](https://renovatebot.com/diffs/npm/astro/5.2.6/5.3.1) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.0...astro@5.3.1)

##### Patch Changes

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when
using `base` and `trailingSlash` options.

-
[#&#8203;13003](https://redirect.github.com/withastro/astro/pull/13003)
[`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879)
Thanks [@&#8203;chaegumi](https://redirect.github.com/chaegumi)! - Fixes
a bug that caused the `vite.base` value to be ignored when running
`astro dev`

-
[#&#8203;13299](https://redirect.github.com/withastro/astro/pull/13299)
[`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses
`tinyglobby` for globbing files

-
[#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233)
[`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Ensures that `Astro.url`/`ctx.url` is correctly updated with the
`base` path after rewrites.

This change fixes an issue where `Astro.url`/`ctx.url` did not include
the configured base path after Astro.rewrite was called. Now, the base
path is correctly reflected in Astro.url.

Previously, any rewrites performed through `Astro.rewrite`/`ctx.rewrite`
failed to append the base path to `Astro.url`/`ctx.rewrite`, which could
lead to incorrect URL handling in downstream logic. By fixing this, we
ensure that all routes remain consistent and predictable after a
rewrite.

If you were relying on the work around of including the base path in
astro.rewrite you can now remove it from the path.

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-02-25 02:04:53 +01:00
TrueCharts Bot c8f1ca1219 fix(website): update astro 5.2.5 → 5.3.0 (#32136)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.2.6` ->
`5.3.0`](https://renovatebot.com/diffs/npm/astro/5.2.5/5.3.0) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

###
[`v5.2.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#526)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.5...astro@5.2.6)

##### Patch Changes

-
[#&#8203;13188](https://redirect.github.com/withastro/astro/pull/13188)
[`7bc8256`](https://redirect.github.com/withastro/astro/commit/7bc825649bfb790a0206abd31df1676513a03b22)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes the wording of the an error message

-
[#&#8203;13205](https://redirect.github.com/withastro/astro/pull/13205)
[`9d56602`](https://redirect.github.com/withastro/astro/commit/9d5660223b46e024b4e8c8eafead8a4e20e28ec5)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes and issue where a server island component returns 404 when `base`
is configured in i18n project.

-
[#&#8203;13212](https://redirect.github.com/withastro/astro/pull/13212)
[`fb38840`](https://redirect.github.com/withastro/astro/commit/fb3884074f261523cd89fe6e1745a0e9c01198f2)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- An additional has been added during the build command to add clarity
around output and buildOutput.

-
[#&#8203;13213](https://redirect.github.com/withastro/astro/pull/13213)
[`6bac644`](https://redirect.github.com/withastro/astro/commit/6bac644241bc42bb565730955ffd575878a0e41b)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Allows readonly arrays to be passed to the `paginate()` function

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled because a matching PR was automerged
previously.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-02-18 21:20:45 +01:00
TrueCharts Bot 45f4b56675 fix(website): update astro 5.2.5 → 5.2.6 (#32122) 2025-02-15 20:28:12 +01:00
TrueCharts Bot 2301667441 fix(website): update astro 5.2.5 → 5.3.0 (#32111) 2025-02-15 09:28:18 +01:00
TrueCharts Bot 38cc89be4a fix(website): update astro 5.2.5 → 5.2.6 (#32045) 2025-02-15 01:18:46 +01:00
TrueCharts Bot 048d64cf1d fix(website): update starlight-links-validator 0.14.2 → 0.14.3 (#32039)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[starlight-links-validator](https://redirect.github.com/HiDeoo/starlight-links-validator)
([source](https://redirect.github.com/HiDeoo/starlight-links-validator/tree/HEAD/packages/starlight-links-validator))
| dependencies | patch | [`0.14.2` ->
`0.14.3`](https://renovatebot.com/diffs/npm/starlight-links-validator/0.14.2/0.14.3)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>HiDeoo/starlight-links-validator
(starlight-links-validator)</summary>

###
[`v0.14.3`](https://redirect.github.com/HiDeoo/starlight-links-validator/blob/HEAD/packages/starlight-links-validator/CHANGELOG.md#0143)

[Compare
Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/starlight-links-validator@0.14.2...starlight-links-validator@0.14.3)

##### Patch Changes

-
[#&#8203;91](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/91)
[`1ef31b8`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/1ef31b81e7c5321a7481df6111d9161c4608fd4e)
Thanks [@&#8203;DaniFoldi](https://redirect.github.com/DaniFoldi)! -
Moves `mdast-util-mdx-jsx` package to non-dev dependencies to prevent
issues in monorepos with hoisting disabled.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-02-14 19:18:16 +01:00
TrueCharts Bot 6e370efb58 fix(website): update astro 5.2.5 → 5.3.0 (#32042) 2025-02-14 19:17:24 +01:00
TrueCharts Bot 56c2e8eca5 fix(website): update astro 5.2.5 → 5.2.6 (#32035) 2025-02-14 13:16:36 +01:00
TrueCharts Bot 8138b1677b fix(website): update astro 5.2.5 → 5.3.0 (#32030) 2025-02-14 07:16:01 +01:00
TrueCharts Bot 4e335a03a0 fix(website): update astro 5.2.5 → 5.2.6 (#32025) 2025-02-14 01:17:26 +01:00
TrueCharts Bot 1cfd002f1c fix(website): update prettier 3.4.2 → 3.5.1 (#32022)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [prettier](https://prettier.io)
([source](https://redirect.github.com/prettier/prettier)) | dependencies
| minor | [`3.5.0` ->
`3.5.1`](https://renovatebot.com/diffs/npm/prettier/3.4.2/3.5.1) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.5.1`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#351)

[Compare
Source](https://redirect.github.com/prettier/prettier/compare/3.5.0...3.5.1)


[diff](https://redirect.github.com/prettier/prettier/compare/3.5.0...3.5.1)

##### Fix CLI crash when cache for old version exists
([#&#8203;17100](https://redirect.github.com/prettier/prettier/pull/17100)
by [@&#8203;sosukesuzuki](https://redirect.github.com/sosukesuzuki))

Prettier 3.5 uses a different cache format than previous versions,
Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1
fixed the problem.

##### Support dockercompose and github-actions-workflow in VSCode
([#&#8203;17101](https://redirect.github.com/prettier/prettier/pull/17101)
by [@&#8203;remcohaszing](https://redirect.github.com/remcohaszing))

Prettier now supports the `dockercompose` and `github-actions-workflow`
languages in Visual Studio Code.

###
[`v3.5.0`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#350)

[Compare
Source](https://redirect.github.com/prettier/prettier/compare/3.4.2...3.5.0)


[diff](https://redirect.github.com/prettier/prettier/compare/3.4.2...3.5.0)

🔗 [Release Notes](https://prettier.io/blog/2025/02/09/3.5.0.html)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-02-13 19:19:13 +01:00
TrueCharts Bot 960730ad67 fix(website): update astro 5.2.5 → 5.3.0 (#32021)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.2.6` ->
`5.3.0`](https://renovatebot.com/diffs/npm/astro/5.2.5/5.3.0) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.6...astro@5.3.0)

##### Minor Changes

-
[#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210)
[`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da)
Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! -
Handle `HEAD` requests to an endpoint when a handler is not defined.

If an endpoint defines a handler for `GET`, but does not define a
handler for `HEAD`, Astro will call the `GET` handler and return the
headers and status but an empty body.

-
[#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195)
[`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536)
Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)!
- Improves SSR performance for synchronous components by avoiding the
use of Promises. With this change, SSR rendering of on-demand pages can
be up to 4x faster.

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds
support for adapters auto-configuring experimental session storage
drivers.

Adapters can now configure a default session storage driver when the
`experimental.session` flag is enabled. If a hosting platform has a
storage primitive that can be used for session storage, the adapter can
automatically configure the session storage using that driver. This
allows Astro to provide a more seamless experience for users who want to
use sessions without needing to manually configure the session storage.

##### Patch Changes

-
[#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145)
[`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
⚠️ **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** ⚠️

Changes the `experimental.session` option to a boolean flag and moves
session config to a top-level value. This change is to allow the new
automatic session driver support. You now need to separately enable the
`experimental.session` flag, and then configure the session driver using
the top-level `session` key if providing manual configuration.

    ```diff
    defineConfig({
      // ...
      experimental: {
    -    session: {
    -      driver: 'upstash',
    -    },
    +    session: true,
      },
    +  session: {
    +    driver: 'upstash',
    +  },
    });
    ```

You no longer need to configure a session driver if you are using an
adapter that supports automatic session driver configuration and wish to
use its default settings.

    ```diff
    defineConfig({
      adapter: node({
        mode: "standalone",
      }),
      experimental: {
    -    session: {
    -      driver: 'fs',
    -      cookie: 'astro-cookie',
    -    },
    +    session: true,
      },
    +  session: {
    +    cookie: 'astro-cookie',
    +  },
    });
    ```

However, you can still manually configure additional driver options or
choose a non-default driver to use with your adapter with the new
top-level `session` config option. For more information, see the
[experimental session
docs](https://docs.astro.build/en/reference/experimental-flags/sessions/).

-
[#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101)
[`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2)
Thanks
[@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)!
- Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered
pages were incorrectly rejected with 403 FORBIDDEN

###
[`v5.2.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#526)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.5...astro@5.2.6)

##### Patch Changes

-
[#&#8203;13188](https://redirect.github.com/withastro/astro/pull/13188)
[`7bc8256`](https://redirect.github.com/withastro/astro/commit/7bc825649bfb790a0206abd31df1676513a03b22)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes the wording of the an error message

-
[#&#8203;13205](https://redirect.github.com/withastro/astro/pull/13205)
[`9d56602`](https://redirect.github.com/withastro/astro/commit/9d5660223b46e024b4e8c8eafead8a4e20e28ec5)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes and issue where a server island component returns 404 when `base`
is configured in i18n project.

-
[#&#8203;13212](https://redirect.github.com/withastro/astro/pull/13212)
[`fb38840`](https://redirect.github.com/withastro/astro/commit/fb3884074f261523cd89fe6e1745a0e9c01198f2)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- An additional has been added during the build command to add clarity
around output and buildOutput.

-
[#&#8203;13213](https://redirect.github.com/withastro/astro/pull/13213)
[`6bac644`](https://redirect.github.com/withastro/astro/commit/6bac644241bc42bb565730955ffd575878a0e41b)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Allows readonly arrays to be passed to the `paginate()` function

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-02-13 19:17:59 +01:00
TrueCharts Bot 40d22f2271 fix(website): update astro 5.2.5 → 5.2.6 (#32003)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.2.5` ->
`5.2.6`](https://renovatebot.com/diffs/npm/astro/5.2.5/5.2.6) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.2.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#526)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.5...astro@5.2.6)

##### Patch Changes

-
[#&#8203;13188](https://redirect.github.com/withastro/astro/pull/13188)
[`7bc8256`](https://redirect.github.com/withastro/astro/commit/7bc825649bfb790a0206abd31df1676513a03b22)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes the wording of the an error message

-
[#&#8203;13205](https://redirect.github.com/withastro/astro/pull/13205)
[`9d56602`](https://redirect.github.com/withastro/astro/commit/9d5660223b46e024b4e8c8eafead8a4e20e28ec5)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes and issue where a server island component returns 404 when `base`
is configured in i18n project.

-
[#&#8203;13212](https://redirect.github.com/withastro/astro/pull/13212)
[`fb38840`](https://redirect.github.com/withastro/astro/commit/fb3884074f261523cd89fe6e1745a0e9c01198f2)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- An additional has been added during the build command to add clarity
around output and buildOutput.

-
[#&#8203;13213](https://redirect.github.com/withastro/astro/pull/13213)
[`6bac644`](https://redirect.github.com/withastro/astro/commit/6bac644241bc42bb565730955ffd575878a0e41b)
Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)!
- Allows readonly arrays to be passed to the `paginate()` function

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2025-02-12 19:22:53 +01:00
TrueCharts Bot 56fb82e404 fix(website): update prettier 3.4.2 → 3.5.0 (#31872)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [prettier](https://prettier.io)
([source](https://redirect.github.com/prettier/prettier)) | dependencies
| minor | [`3.4.2` ->
`3.5.0`](https://renovatebot.com/diffs/npm/prettier/3.4.2/3.5.0) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.5.0`](https://redirect.github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#350)

[Compare
Source](https://redirect.github.com/prettier/prettier/compare/3.4.2...3.5.0)


[diff](https://redirect.github.com/prettier/prettier/compare/3.4.2...3.5.0)

🔗 [Release Notes](https://prettier.io/blog/2025/02/09/3.5.0.html)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
2025-02-09 18:24:43 +00:00
TrueCharts Bot 12c63f5c34 fix(website): update astro 5.2.3 → 5.2.5 (#31652)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | patch | [`5.2.3` ->
`5.2.5`](https://renovatebot.com/diffs/npm/astro/5.2.3/5.2.5) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.2.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#525)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.4...astro@5.2.5)

##### Patch Changes

-
[#&#8203;13133](https://redirect.github.com/withastro/astro/pull/13133)
[`e76aa83`](https://redirect.github.com/withastro/astro/commit/e76aa8391eb9d81c1a52fb2f9f21ede4790bd793)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where Astro was failing to build an external redirect when
the middleware was triggered

-
[#&#8203;13119](https://redirect.github.com/withastro/astro/pull/13119)
[`ac43580`](https://redirect.github.com/withastro/astro/commit/ac4358052af2c1817dec999598bc4e3d8fd0bdaf)
Thanks [@&#8203;Hacksore](https://redirect.github.com/Hacksore)! - Adds
extra guidance in the terminal when using the `astro add tailwind` CLI
command

Now, users are given a friendly reminder to import the stylesheet
containing their Tailwind classes into any pages where they want to use
Tailwind. Commonly, this is a shared layout component so that Tailwind
styling can be used on multiple pages.

###
[`v5.2.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#524)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.3...astro@5.2.4)

##### Patch Changes

-
[#&#8203;13130](https://redirect.github.com/withastro/astro/pull/13130)
[`b71bd10`](https://redirect.github.com/withastro/astro/commit/b71bd10989c0070847cecb101afb8278d5ef7091)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused duplicate slashes inside query params to be collapsed

-
[#&#8203;13131](https://redirect.github.com/withastro/astro/pull/13131)
[`d60c742`](https://redirect.github.com/withastro/astro/commit/d60c74243f639761ad735d66d814e627f8f847a2)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Ignores trailing slashes for endpoints with file extensions in the route

- Updated dependencies
\[[`b71bd10`](https://redirect.github.com/withastro/astro/commit/b71bd10989c0070847cecb101afb8278d5ef7091)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).5.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Ni4xIiwidXBkYXRlZEluVmVyIjoiMzkuODYuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19-->
2025-02-05 03:16:54 +01:00
TrueCharts Bot be14e2f11f fix(website): update astro 5.1.10 → 5.2.3 (#31461)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astro](https://astro.build)
([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro))
| dependencies | minor | [`5.1.10` ->
`5.2.3`](https://renovatebot.com/diffs/npm/astro/5.1.10/5.2.3) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/astro (astro)</summary>

###
[`v5.2.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#523)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.2...astro@5.2.3)

##### Patch Changes

-
[#&#8203;13113](https://redirect.github.com/withastro/astro/pull/13113)
[`3a26e45`](https://redirect.github.com/withastro/astro/commit/3a26e4541764085faa499bc63549b24d194146a6)
Thanks
[@&#8203;unprintable123](https://redirect.github.com/unprintable123)! -
Fixes the bug that rewrite will pass encoded url to the dynamic routing
and cause params mismatch.

-
[#&#8203;13111](https://redirect.github.com/withastro/astro/pull/13111)
[`23978dd`](https://redirect.github.com/withastro/astro/commit/23978ddfe127bbc3762b6209b42d049588e52a14)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused injected endpoint routes to return not found when
trailingSlash was set to always

-
[#&#8203;13112](https://redirect.github.com/withastro/astro/pull/13112)
[`0fa5c82`](https://redirect.github.com/withastro/astro/commit/0fa5c82977de73872ddeffffea48fddafba47398)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a bug where the i18n middleware was blocking a server island
request when the `prefixDefaultLocale` option is set to `true`

###
[`v5.2.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#522)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.1...astro@5.2.2)

##### Patch Changes

-
[#&#8203;13106](https://redirect.github.com/withastro/astro/pull/13106)
[`187c4d3`](https://redirect.github.com/withastro/astro/commit/187c4d3244a27c9b4e7e3cbe6307b01161140ca1)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused peer dependency errors when running `astro add
tailwind`

###
[`v5.2.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#521)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.2.0...astro@5.2.1)

##### Patch Changes

-
[#&#8203;13095](https://redirect.github.com/withastro/astro/pull/13095)
[`740eb60`](https://redirect.github.com/withastro/astro/commit/740eb6019f405781a3918941d3bfb34a7bda1a3d)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes
a bug that caused some dev server asset requests to return 404 when
trailingSlash was set to "always"

###
[`v5.2.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#520)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.1.10...astro@5.2.0)

##### Minor Changes

-
[#&#8203;12994](https://redirect.github.com/withastro/astro/pull/12994)
[`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Redirects trailing slashes for on-demand pages

When the `trailingSlash` option is set to `always` or `never`, on-demand
rendered pages will now redirect to the correct URL when the trailing
slash doesn't match the configuration option. This was previously the
case for static pages, but now works for on-demand pages as well.

Now, it doesn't matter whether your visitor navigates to `/about/`,
`/about`, or even `/about///`. In production, they'll always end up on
the correct page. For GET requests, the redirect will be a 301
(permanent) redirect, and for all other request methods, it will be a
308 (permanent, and preserve the request method) redirect.

In development, you'll see a helpful 404 page to alert you of a trailing
slash mismatch so you can troubleshoot routes.

-
[#&#8203;12979](https://redirect.github.com/withastro/astro/pull/12979)
[`e621712`](https://redirect.github.com/withastro/astro/commit/e621712109b79313b24924ec4f0ba4f8ab6201c2)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds support for redirecting to external sites with the
[`redirects`](https://docs.astro.build/en/reference/configuration-reference/#redirects)
configuration option.

Now, you can redirect routes either internally to another path or
externally by providing a URL beginning with `http` or `https`:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';

    export default defineConfig({
      redirects: {
        '/blog': 'https://example.com/blog',
        '/news': {
          status: 302,
          destination: 'https://example.com/news',
        },
      },
    });
    ```

-
[#&#8203;13084](https://redirect.github.com/withastro/astro/pull/13084)
[`0f3be31`](https://redirect.github.com/withastro/astro/commit/0f3be3104e62d5b50dabfb15023f97954a160b8e)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Adds a new experimental virtual module `astro:config` that exposes a
type-safe subset of your `astro.config.mjs` configuration

The virtual module exposes two sub-paths for controlled access to your
configuration:

- `astro:config/client`: exposes config information that is safe to
expose to the client.
- `astro:config/server`: exposes additional information that is safe to
expose to the server, such as file/dir paths.

To enable this new virtual module, add the
`experimental.serializeManifest` feature flag to your Astro config:

    ```js
    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    export default defineConfig({
      experimental: {
        serializeManifest: true,
      },
    });
    ```

Then, you can access the module in any file inside your project to
import and use values from your Astro config:

    ```js
    // src/utils.js
    import { trailingSlash } from 'astro:config/client';

    function addForwardSlash(path) {
      if (trailingSlash === 'always') {
        return path.endsWith('/') ? path : path + '/';
      } else {
        return path;
      }
    }
    ```

For a complete overview, and to give feedback on this experimental API,
see the [Serialized Manifest
RFC](https://redirect.github.com/withastro/roadmap/blob/feat/serialised-config/proposals/0051-serialized-manifest.md).

##### Patch Changes

-
[#&#8203;13049](https://redirect.github.com/withastro/astro/pull/13049)
[`2ed4bd9`](https://redirect.github.com/withastro/astro/commit/2ed4bd90f25a3e5a183d0bc862e3b359b8289b93)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Updates `astro add tailwind` to add the `@tailwindcss/vite` plugin
instead of the `@astrojs/tailwind` integration

-
[#&#8203;12994](https://redirect.github.com/withastro/astro/pull/12994)
[`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Returns a more helpful 404 page in dev if there is a trailing slash
mismatch between the route requested and the `trailingSlash`
configuration

-
[#&#8203;12666](https://redirect.github.com/withastro/astro/pull/12666)
[`037495d`](https://redirect.github.com/withastro/astro/commit/037495d437d2328bf10ffadc22cc114ccf474c65)
Thanks [@&#8203;Thodor12](https://redirect.github.com/Thodor12)! - Added
additional generated typings for the content layer

- Updated dependencies
\[[`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879),
[`db252e0`](https://redirect.github.com/withastro/astro/commit/db252e0692a0addf7239bfefc0220c525d63337d)]:
-
[@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).5.0
-
[@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Ni4xIiwidXBkYXRlZEluVmVyIjoiMzkuODYuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
2025-02-01 04:19:25 +01:00
TrueCharts Bot 8f09e73569 fix(website): update starlight-links-validator 0.14.1 → 0.14.2 (#31450)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[starlight-links-validator](https://redirect.github.com/HiDeoo/starlight-links-validator)
([source](https://redirect.github.com/HiDeoo/starlight-links-validator/tree/HEAD/packages/starlight-links-validator))
| dependencies | patch | [`0.14.1` ->
`0.14.2`](https://renovatebot.com/diffs/npm/starlight-links-validator/0.14.1/0.14.2)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>HiDeoo/starlight-links-validator
(starlight-links-validator)</summary>

###
[`v0.14.2`](https://redirect.github.com/HiDeoo/starlight-links-validator/blob/HEAD/packages/starlight-links-validator/CHANGELOG.md#0142)

[Compare
Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/starlight-links-validator@0.14.1...starlight-links-validator@0.14.2)

##### Patch Changes

-
[#&#8203;85](https://redirect.github.com/HiDeoo/starlight-links-validator/pull/85)
[`57fdb1b`](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/57fdb1b2f85f023e4b053480fd9ea5adb69a9e2a)
Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Improves
error message for invalid links to custom pages.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Ni4xIiwidXBkYXRlZEluVmVyIjoiMzkuODYuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19-->
2025-02-01 04:09:23 +01:00