Files
charts/website
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`](3a26e45417)
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`](23978ddfe1)
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`](0fa5c82977)
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`](187c4d3244)
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`](740eb6019f)
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`](536175528d)
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`](e621712109)
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`](0f3be3104e)
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`](2ed4bd90f2)
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`](536175528d)
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`](037495d437)
Thanks [@&#8203;Thodor12](https://redirect.github.com/Thodor12)! - Added
additional generated typings for the content layer

- Updated dependencies
\[[`5361755`](536175528d),
[`db252e0`](db252e0692)]:
-
[@&#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
..
2024-10-19 15:18:05 +02:00
2025-01-30 14:07:15 +01:00
2025-01-30 15:03:14 +01: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.