Files
truecharts/website
TrueCharts Bot 928ac0d4fe fix(website): update astro 4.16.1 → 4.16.6 by renovate (#27979)
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 | [`4.16.1` ->
`4.16.6`](https://renovatebot.com/diffs/npm/astro/4.16.1/4.16.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>

###
[`v4.16.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4166)

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

##### Patch Changes

-
[#&#8203;11823](https://redirect.github.com/withastro/astro/pull/11823)
[`a3d30a6`](https://redirect.github.com/withastro/astro/commit/a3d30a602aaa1755197c73f0b51cace61f9088b3)
Thanks [@&#8203;DerTimonius](https://redirect.github.com/DerTimonius)! -
fix: improve error message when inferSize is used in local images with
the Image component

-
[#&#8203;12227](https://redirect.github.com/withastro/astro/pull/12227)
[`8b1a641`](https://redirect.github.com/withastro/astro/commit/8b1a641be9de4baa9ae48dd0d045915fbbeffa8c)
Thanks
[@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)!
- Fixes a case where environment variables would not be refreshed when
using `astro:env`

-
[#&#8203;12239](https://redirect.github.com/withastro/astro/pull/12239)
[`2b6daa5`](https://redirect.github.com/withastro/astro/commit/2b6daa5840c18729c41f6cd8b4571b88d0cba119)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
**BREAKING CHANGE to the experimental Container API only**

Changes the default page rendering behavior of Astro components in
containers, and adds a new option `partial: false` to render full Astro
pages as before.

Previously, the Container API was rendering all Astro components as if
they were full Astro pages containing `<!DOCTYPE html>` by default. This
was not intended, and now by default, all components will render as
[page
partials](https://docs.astro.build/en/basics/astro-pages/#page-partials):
only the contents of the components without a page shell.

To render the component as a full-fledged Astro page, pass a new option
called `partial: false` to `renderToString()` and `renderToResponse()`:

    ```js
import { experimental_AstroContainer as AstroContainer } from
'astro/container';
    import Card from '../src/components/Card.astro';

    const container = AstroContainer.create();

await container.renderToString(Card); // the string will not contain
`<!DOCTYPE html>`
await container.renderToString(Card, { partial: false }); // the string
will contain `<!DOCTYPE html>`
    ```

###
[`v4.16.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4165)

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

##### Patch Changes

-
[#&#8203;12232](https://redirect.github.com/withastro/astro/pull/12232)
[`ff68ba5`](https://redirect.github.com/withastro/astro/commit/ff68ba5e1ca00f06d1afd5fbf89acea3092bb660)
Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes
an issue with cssesc in dev mode when setting `vite.ssr.noExternal:
true`

###
[`v4.16.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4164)

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

##### Patch Changes

-
[#&#8203;12223](https://redirect.github.com/withastro/astro/pull/12223)
[`79ffa5d`](https://redirect.github.com/withastro/astro/commit/79ffa5d9f75c16465134aa4ed4a3d1d59908ba8b)
Thanks
[@&#8203;ArmandPhilippot](https://redirect.github.com/ArmandPhilippot)!
- Fixes a false positive reported by the dev toolbar Audit app where a
label was considered missing when associated with a button

The `button` element can be [used with a
label](https://www.w3.org/TR/2011/WD-html5-author-20110809/forms.html#category-label)
(e.g. to create a switch) and should not be reported as an accessibility
issue when used as a child of a `label`.

-
[#&#8203;12199](https://redirect.github.com/withastro/astro/pull/12199)
[`c351352`](https://redirect.github.com/withastro/astro/commit/c3513523608f319b43c050e391be08e68b801329)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes a regression in the computation of `Astro.currentLocale`

-
[#&#8203;12222](https://redirect.github.com/withastro/astro/pull/12222)
[`fb55695`](https://redirect.github.com/withastro/astro/commit/fb5569583b11ef585cd0a79e97e7e9dc653f6afa)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Fixes an issue where the edge middleware couldn't correctly compute the
client IP address when calling `ctx.clientAddress()`

###
[`v4.16.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4163)

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

##### Patch Changes

-
[#&#8203;12220](https://redirect.github.com/withastro/astro/pull/12220)
[`b049359`](https://redirect.github.com/withastro/astro/commit/b0493596dc338377198d0a39efc813dad515b624)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Fixes
accidental internal `setOnSetGetEnv` parameter rename that caused
runtime errors

-
[#&#8203;12197](https://redirect.github.com/withastro/astro/pull/12197)
[`2aa2dfd`](https://redirect.github.com/withastro/astro/commit/2aa2dfd05dc7b7e6ad13451e6cc2afa9b1c92a32)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fix
a regression where a port was incorrectly added to the `Astro.url`

###
[`v4.16.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4162)

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

##### Patch Changes

-
[#&#8203;12206](https://redirect.github.com/withastro/astro/pull/12206)
[`12b0022`](https://redirect.github.com/withastro/astro/commit/12b00225067445629e5ae451d763d03f70065f88)
Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Reverts
[https://github.com/withastro/astro/pull/12173](https://redirect.github.com/withastro/astro/pull/12173)
which caused `Can't modify immutable headers` warnings and 500 errors on
Cloudflare 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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM4LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
2024-10-18 20:35:33 +02:00
..
2024-10-18 10:41:55 +00:00
2024-10-17 18:25:49 +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.