Files
truecharts/website
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
..
2024-10-19 15:18:05 +02:00
2024-10-19 15:18:05 +02:00

Chart Docs

News

  • To add new authors, add their username in the authors.ts file in src/content/docs/news/authors.ts.
  • News Posts must have these fields in the frontmatter:
    • title
    • slug (must start with news/)
    • date
    • authors (The key in the authors object in src/content/docs/news/authors.ts)

Supported Code Block Languages

Check upstream docs

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:4321
npm run dev-windows Starts local dev server on windows machines
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

Starlight looks for .md or .mdx files in the src/content/docs/ directory. Each file is exposed as a route based on its file name.

Images can be added to src/assets/ and embedded in Markdown with a relative link.

Static assets, like favicons, can be placed in the public/ directory.

👀 Want to learn more?

Check out Starlights docs, read the Astro documentation, or jump into the Astro Discord server.