b76aec97803fb047d2cefcba92ab5bbf06015638
291 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
4b1b47e12c | chore(clustertool): move more things to OCI (mirrors) and remove unused registries | ||
|
|
432122817b | chore: repo cleanup | ||
|
|
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 ([#​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=--> |
||
|
|
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=--> |
||
|
|
2c1c662cec |
fix(website): update @playform/compress 0.1.7 → 0.1.9 (#34058)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@playform/compress](https://redirect.github.com/PlayForm/Compress) | dependencies | patch | [`0.1.9` -> `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 (@​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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=--> |
||
|
|
80332f81d3 |
fix(clustertool) memory request kube-prometheus-stack (#34017)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> With new Clustertool Beta 2, upstream `kube-prometheus-stack` takes a memory request of: 2000Mi. It would like to deploy 2x a POD so a total of 4000Mi. My test cluster have memory of 8Gb. It cannot deploy this 2nd pod as the request of a standard clustertool without this second pod is already 98.2%. Will also block all other deployments. Also the webpage manual changed. Hopefully this is a good fix? ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [x] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> Own cluster **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [x] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl> Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl> |
||
|
|
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=--> |
||
|
|
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=--> |
||
|
|
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 ([#​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=--> |
||
|
|
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 (@​astrojs/sitemap)</summary> ### [`v3.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#330) ##### Minor Changes - [#​13448](https://redirect.github.com/withastro/astro/pull/13448) [`91c9503`](https://redirect.github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@​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 - [#​13519](https://redirect.github.com/withastro/astro/pull/13519) [`3323f5c`](https://redirect.github.com/withastro/astro/commit/3323f5c554a3af966463cc95a42d7ca789ba678b) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Refactors some internals to improve Rolldown compatibility - [#​13545](https://redirect.github.com/withastro/astro/pull/13545) [`a7aff41`](https://redirect.github.com/withastro/astro/commit/a7aff41681f9235719c03f97650db288f9f5f71a) Thanks [@​stramel](https://redirect.github.com/stramel)! - Prevent empty attributes from appearing in the SVG output - [#​13552](https://redirect.github.com/withastro/astro/pull/13552) [`9cd0fd4`](https://redirect.github.com/withastro/astro/commit/9cd0fd432634ed664a820ac78c6a3033684c7a83) Thanks [@​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 - [#​13403](https://redirect.github.com/withastro/astro/pull/13403) [`dcb9526`](https://redirect.github.com/withastro/astro/commit/dcb9526c6ece3b716c677205fb99b483c95bfa7d) Thanks [@​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). - [#​13482](https://redirect.github.com/withastro/astro/pull/13482) [`ff257df`](https://redirect.github.com/withastro/astro/commit/ff257df4e1a7f3e29e9bf7f92d52bf72f7b595a4) Thanks [@​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. - [#​13405](https://redirect.github.com/withastro/astro/pull/13405) [`21e7e80`](https://redirect.github.com/withastro/astro/commit/21e7e8077d6f0c9ad14fe1876d87bb445f5584b1) Thanks [@​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> ``` - [#​13482](https://redirect.github.com/withastro/astro/pull/13482) [`ff257df`](https://redirect.github.com/withastro/astro/commit/ff257df4e1a7f3e29e9bf7f92d52bf72f7b595a4) Thanks [@​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 - [#​13539](https://redirect.github.com/withastro/astro/pull/13539) [`c43bf8c`](https://redirect.github.com/withastro/astro/commit/c43bf8cd0513c2260d4ba32b5beffe97306e2e09) Thanks [@​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/). - [#​13488](https://redirect.github.com/withastro/astro/pull/13488) [`d777420`](https://redirect.github.com/withastro/astro/commit/d7774207b11d042711ec310f2ad46d15246482f0) Thanks [@​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 - [#​13429](https://redirect.github.com/withastro/astro/pull/13429) [`06de673`](https://redirect.github.com/withastro/astro/commit/06de673375f2339eb1bf8eda03d79177598979a9) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - The `ActionAPIContext.rewrite` method is deprecated and will be removed in a future major version of Astro - [#​13524](https://redirect.github.com/withastro/astro/pull/13524) [`82cd583`](https://redirect.github.com/withastro/astro/commit/82cd5832860d70ea7524473ae927db0cc2682b12) Thanks [@​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`. - [#​13526](https://redirect.github.com/withastro/astro/pull/13526) [`ff9d69e`](https://redirect.github.com/withastro/astro/commit/ff9d69e3443c80059c54f6296d19f66bb068ead3) Thanks [@​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 - [#​13510](https://redirect.github.com/withastro/astro/pull/13510) [`5b14d33`](https://redirect.github.com/withastro/astro/commit/5b14d33f81cdac0f7ac77186113dcce4369d848d) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where `astro:env` secrets used in actions would not be available - [#​13485](https://redirect.github.com/withastro/astro/pull/13485) [`018fbe9`](https://redirect.github.com/withastro/astro/commit/018fbe90f4030bbc2b2db7589d750e5392f38e59) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused cookies to ignore custom decode function if has() had been called before - [#​13505](https://redirect.github.com/withastro/astro/pull/13505) [`a98ae5b`](https://redirect.github.com/withastro/astro/commit/a98ae5b8f5c33900379012e9e253a755c0a8927e) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Updates the dependency `vite` to the latest. - [#​13483](https://redirect.github.com/withastro/astro/pull/13483) [`fc2dcb8`](https://redirect.github.com/withastro/astro/commit/fc2dcb83543d88af9e0920b90a035652d6db5166) Thanks [@​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 - [#​13457](https://redirect.github.com/withastro/astro/pull/13457) [`968e713`](https://redirect.github.com/withastro/astro/commit/968e713c268e1b2176c9265b6c438c56105c2730) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Sets correct response status text for custom error pages - [#​13447](https://redirect.github.com/withastro/astro/pull/13447) [`d80ba2b`](https://redirect.github.com/withastro/astro/commit/d80ba2b27d33d2972ffa3242330fb00d0fc58ba9) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where `site` was added to the generated redirects. - [#​13481](https://redirect.github.com/withastro/astro/pull/13481) [`e9e9245`](https://redirect.github.com/withastro/astro/commit/e9e9245c7c0ad6e3bda2b7600ff2bd845921a19d) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Makes server island work with the client router again. - [#​13484](https://redirect.github.com/withastro/astro/pull/13484) [`8b5e4dc`](https://redirect.github.com/withastro/astro/commit/8b5e4dc733bccce7d77defdbb973204aa9b8126b) Thanks [@​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 - [#​13437](https://redirect.github.com/withastro/astro/pull/13437) [`013fa87`](https://redirect.github.com/withastro/astro/commit/013fa87982ea92675e899d2f71a200e5298db608) Thanks [@​Vardhaman619](https://redirect.github.com/Vardhaman619)! - Handle server.allowedHosts when the value is true without attempting to push it into an array. - [#​13324](https://redirect.github.com/withastro/astro/pull/13324) [`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Upgrade to shiki v3 - [#​13372](https://redirect.github.com/withastro/astro/pull/13372) [`7783dbf`](https://redirect.github.com/withastro/astro/commit/7783dbf8117650c60d7633b43f0d42da487aa2b1) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused some very large data stores to save incomplete data. - [#​13358](https://redirect.github.com/withastro/astro/pull/13358) [`8c21663`](https://redirect.github.com/withastro/astro/commit/8c21663c4a6363765f2caa5705a93a41492a95c9) Thanks [@​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. - [#​13426](https://redirect.github.com/withastro/astro/pull/13426) [`565583b`](https://redirect.github.com/withastro/astro/commit/565583bd6c99163ce5d9475b26075149cc8c155b) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused the `astro add` command to ignore the `--yes` flag for third-party integrations - [#​13428](https://redirect.github.com/withastro/astro/pull/13428) [`9cac9f3`](https://redirect.github.com/withastro/astro/commit/9cac9f314277def0ee584e45d4937bac0235738a) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent bad value in x-forwarded-host from crashing request - [#​13432](https://redirect.github.com/withastro/astro/pull/13432) [`defad33`](https://redirect.github.com/withastro/astro/commit/defad33140dccde324b9357bc6331f7e5cdec266) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13415](https://redirect.github.com/withastro/astro/pull/13415) [`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2) Thanks [@​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. - [#​13420](https://redirect.github.com/withastro/astro/pull/13420) [`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7) Thanks [@​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 - [#​13413](https://redirect.github.com/withastro/astro/pull/13413) [`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f) Thanks [@​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 - [#​13402](https://redirect.github.com/withastro/astro/pull/13402) [`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3) Thanks [@​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/). - [#​13352](https://redirect.github.com/withastro/astro/pull/13352) [`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7) Thanks [@​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 '@​astrojs/markdown-remark'; import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source'; export default defineConfig({ markdown: { rehypePlugins: [ [rehypeHeadingIds, { experimentalHeadingIdCompat: true }], otherPluginThatReliesOnHeadingIDs, ], }, }); ``` - [#​13311](https://redirect.github.com/withastro/astro/pull/13311) [`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e) Thanks [@​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 - [#​13404](https://redirect.github.com/withastro/astro/pull/13404) [`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071) Thanks [@​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 - [#​13379](https://redirect.github.com/withastro/astro/pull/13379) [`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f) Thanks [@​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. - [#​13393](https://redirect.github.com/withastro/astro/pull/13393) [`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e) Thanks [@​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. - [#​13374](https://redirect.github.com/withastro/astro/pull/13374) [`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec) Thanks [@​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. - [#​13380](https://redirect.github.com/withastro/astro/pull/13380) [`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where astro:page-load fires before all scripts are executed - [#​13407](https://redirect.github.com/withastro/astro/pull/13407) [`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13381](https://redirect.github.com/withastro/astro/pull/13381) [`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c) Thanks [@​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. - [#​13367](https://redirect.github.com/withastro/astro/pull/13367) [`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to various utility functions used for remote image services - [#​13347](https://redirect.github.com/withastro/astro/pull/13347) [`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e) Thanks [@​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. - [#​13388](https://redirect.github.com/withastro/astro/pull/13388) [`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where `astro:config/server` and `astro:config/client` had incorrect types. - [#​13355](https://redirect.github.com/withastro/astro/pull/13355) [`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to the assets utilities for remote service images. - [#​13395](https://redirect.github.com/withastro/astro/pull/13395) [`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `package-manager-detector` to detect the package manager used in the project - [#​13363](https://redirect.github.com/withastro/astro/pull/13363) [`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.1 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​12985](https://redirect.github.com/withastro/astro/pull/12985) [`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent re-executing scripts in client router - [#​13349](https://redirect.github.com/withastro/astro/pull/13349) [`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Correctly escapes attributes in Markdown images - [#​13262](https://redirect.github.com/withastro/astro/pull/13262) [`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7) Thanks [@​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 - [#​13336](https://redirect.github.com/withastro/astro/pull/13336) [`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore. - [#​13320](https://redirect.github.com/withastro/astro/pull/13320) [`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26) Thanks [@​{](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 - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13278](https://redirect.github.com/withastro/astro/pull/13278) [`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1) Thanks [@​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). - [#​13254](https://redirect.github.com/withastro/astro/pull/13254) [`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@​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 - [#​13256](https://redirect.github.com/withastro/astro/pull/13256) [`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc) Thanks [@​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). - [#​13323](https://redirect.github.com/withastro/astro/pull/13323) [`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`. - [#​13313](https://redirect.github.com/withastro/astro/pull/13313) [`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where a form field named "attributes" shadows the form.attributes property. - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13303](https://redirect.github.com/withastro/astro/pull/13303) [`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.0 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​joshmkennedy](https://redirect.github.com/joshmkennedy)! - Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when using `base` and `trailingSlash` options. - [#​13003](https://redirect.github.com/withastro/astro/pull/13003) [`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879) Thanks [@​chaegumi](https://redirect.github.com/chaegumi)! - Fixes a bug that caused the `vite.base` value to be ignored when running `astro dev` - [#​13299](https://redirect.github.com/withastro/astro/pull/13299) [`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `tinyglobby` for globbing files - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​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 - [#​13210](https://redirect.github.com/withastro/astro/pull/13210) [`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da) Thanks [@​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. - [#​13195](https://redirect.github.com/withastro/astro/pull/13195) [`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536) Thanks [@​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. - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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 - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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/). - [#​13101](https://redirect.github.com/withastro/astro/pull/13101) [`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2) Thanks [@​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=--> |
||
|
|
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 (@​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=--> |
||
|
|
ad5503debe | docs(website): ensure nginx internal is set to watch ingresses without class set | ||
|
|
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 (@​astrojs/sitemap)</summary> ### [`v3.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#330) ##### Minor Changes - [#​13448](https://redirect.github.com/withastro/astro/pull/13448) [`91c9503`](https://redirect.github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@​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 - [#​13429](https://redirect.github.com/withastro/astro/pull/13429) [`06de673`](https://redirect.github.com/withastro/astro/commit/06de673375f2339eb1bf8eda03d79177598979a9) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - The `ActionAPIContext.rewrite` method is deprecated and will be removed in a future major version of Astro - [#​13524](https://redirect.github.com/withastro/astro/pull/13524) [`82cd583`](https://redirect.github.com/withastro/astro/commit/82cd5832860d70ea7524473ae927db0cc2682b12) Thanks [@​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`. - [#​13526](https://redirect.github.com/withastro/astro/pull/13526) [`ff9d69e`](https://redirect.github.com/withastro/astro/commit/ff9d69e3443c80059c54f6296d19f66bb068ead3) Thanks [@​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 - [#​13510](https://redirect.github.com/withastro/astro/pull/13510) [`5b14d33`](https://redirect.github.com/withastro/astro/commit/5b14d33f81cdac0f7ac77186113dcce4369d848d) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where `astro:env` secrets used in actions would not be available - [#​13485](https://redirect.github.com/withastro/astro/pull/13485) [`018fbe9`](https://redirect.github.com/withastro/astro/commit/018fbe90f4030bbc2b2db7589d750e5392f38e59) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused cookies to ignore custom decode function if has() had been called before - [#​13505](https://redirect.github.com/withastro/astro/pull/13505) [`a98ae5b`](https://redirect.github.com/withastro/astro/commit/a98ae5b8f5c33900379012e9e253a755c0a8927e) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Updates the dependency `vite` to the latest. - [#​13483](https://redirect.github.com/withastro/astro/pull/13483) [`fc2dcb8`](https://redirect.github.com/withastro/astro/commit/fc2dcb83543d88af9e0920b90a035652d6db5166) Thanks [@​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 - [#​13457](https://redirect.github.com/withastro/astro/pull/13457) [`968e713`](https://redirect.github.com/withastro/astro/commit/968e713c268e1b2176c9265b6c438c56105c2730) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Sets correct response status text for custom error pages - [#​13447](https://redirect.github.com/withastro/astro/pull/13447) [`d80ba2b`](https://redirect.github.com/withastro/astro/commit/d80ba2b27d33d2972ffa3242330fb00d0fc58ba9) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where `site` was added to the generated redirects. - [#​13481](https://redirect.github.com/withastro/astro/pull/13481) [`e9e9245`](https://redirect.github.com/withastro/astro/commit/e9e9245c7c0ad6e3bda2b7600ff2bd845921a19d) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Makes server island work with the client router again. - [#​13484](https://redirect.github.com/withastro/astro/pull/13484) [`8b5e4dc`](https://redirect.github.com/withastro/astro/commit/8b5e4dc733bccce7d77defdbb973204aa9b8126b) Thanks [@​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 - [#​13437](https://redirect.github.com/withastro/astro/pull/13437) [`013fa87`](https://redirect.github.com/withastro/astro/commit/013fa87982ea92675e899d2f71a200e5298db608) Thanks [@​Vardhaman619](https://redirect.github.com/Vardhaman619)! - Handle server.allowedHosts when the value is true without attempting to push it into an array. - [#​13324](https://redirect.github.com/withastro/astro/pull/13324) [`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Upgrade to shiki v3 - [#​13372](https://redirect.github.com/withastro/astro/pull/13372) [`7783dbf`](https://redirect.github.com/withastro/astro/commit/7783dbf8117650c60d7633b43f0d42da487aa2b1) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused some very large data stores to save incomplete data. - [#​13358](https://redirect.github.com/withastro/astro/pull/13358) [`8c21663`](https://redirect.github.com/withastro/astro/commit/8c21663c4a6363765f2caa5705a93a41492a95c9) Thanks [@​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. - [#​13426](https://redirect.github.com/withastro/astro/pull/13426) [`565583b`](https://redirect.github.com/withastro/astro/commit/565583bd6c99163ce5d9475b26075149cc8c155b) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused the `astro add` command to ignore the `--yes` flag for third-party integrations - [#​13428](https://redirect.github.com/withastro/astro/pull/13428) [`9cac9f3`](https://redirect.github.com/withastro/astro/commit/9cac9f314277def0ee584e45d4937bac0235738a) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent bad value in x-forwarded-host from crashing request - [#​13432](https://redirect.github.com/withastro/astro/pull/13432) [`defad33`](https://redirect.github.com/withastro/astro/commit/defad33140dccde324b9357bc6331f7e5cdec266) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13415](https://redirect.github.com/withastro/astro/pull/13415) [`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2) Thanks [@​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. - [#​13420](https://redirect.github.com/withastro/astro/pull/13420) [`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7) Thanks [@​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 - [#​13413](https://redirect.github.com/withastro/astro/pull/13413) [`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f) Thanks [@​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 - [#​13402](https://redirect.github.com/withastro/astro/pull/13402) [`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3) Thanks [@​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/). - [#​13352](https://redirect.github.com/withastro/astro/pull/13352) [`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7) Thanks [@​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 '@​astrojs/markdown-remark'; import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source'; export default defineConfig({ markdown: { rehypePlugins: [ [rehypeHeadingIds, { experimentalHeadingIdCompat: true }], otherPluginThatReliesOnHeadingIDs, ], }, }); ``` - [#​13311](https://redirect.github.com/withastro/astro/pull/13311) [`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e) Thanks [@​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 - [#​13404](https://redirect.github.com/withastro/astro/pull/13404) [`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071) Thanks [@​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 - [#​13379](https://redirect.github.com/withastro/astro/pull/13379) [`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f) Thanks [@​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. - [#​13393](https://redirect.github.com/withastro/astro/pull/13393) [`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e) Thanks [@​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. - [#​13374](https://redirect.github.com/withastro/astro/pull/13374) [`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec) Thanks [@​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. - [#​13380](https://redirect.github.com/withastro/astro/pull/13380) [`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where astro:page-load fires before all scripts are executed - [#​13407](https://redirect.github.com/withastro/astro/pull/13407) [`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13381](https://redirect.github.com/withastro/astro/pull/13381) [`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c) Thanks [@​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. - [#​13367](https://redirect.github.com/withastro/astro/pull/13367) [`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to various utility functions used for remote image services - [#​13347](https://redirect.github.com/withastro/astro/pull/13347) [`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e) Thanks [@​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. - [#​13388](https://redirect.github.com/withastro/astro/pull/13388) [`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where `astro:config/server` and `astro:config/client` had incorrect types. - [#​13355](https://redirect.github.com/withastro/astro/pull/13355) [`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to the assets utilities for remote service images. - [#​13395](https://redirect.github.com/withastro/astro/pull/13395) [`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `package-manager-detector` to detect the package manager used in the project - [#​13363](https://redirect.github.com/withastro/astro/pull/13363) [`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.1 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​12985](https://redirect.github.com/withastro/astro/pull/12985) [`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent re-executing scripts in client router - [#​13349](https://redirect.github.com/withastro/astro/pull/13349) [`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Correctly escapes attributes in Markdown images - [#​13262](https://redirect.github.com/withastro/astro/pull/13262) [`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7) Thanks [@​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 - [#​13336](https://redirect.github.com/withastro/astro/pull/13336) [`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore. - [#​13320](https://redirect.github.com/withastro/astro/pull/13320) [`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26) Thanks [@​{](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 - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13278](https://redirect.github.com/withastro/astro/pull/13278) [`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1) Thanks [@​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). - [#​13254](https://redirect.github.com/withastro/astro/pull/13254) [`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@​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 - [#​13256](https://redirect.github.com/withastro/astro/pull/13256) [`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc) Thanks [@​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). - [#​13323](https://redirect.github.com/withastro/astro/pull/13323) [`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`. - [#​13313](https://redirect.github.com/withastro/astro/pull/13313) [`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where a form field named "attributes" shadows the form.attributes property. - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13303](https://redirect.github.com/withastro/astro/pull/13303) [`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.0 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​joshmkennedy](https://redirect.github.com/joshmkennedy)! - Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when using `base` and `trailingSlash` options. - [#​13003](https://redirect.github.com/withastro/astro/pull/13003) [`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879) Thanks [@​chaegumi](https://redirect.github.com/chaegumi)! - Fixes a bug that caused the `vite.base` value to be ignored when running `astro dev` - [#​13299](https://redirect.github.com/withastro/astro/pull/13299) [`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `tinyglobby` for globbing files - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​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 - [#​13210](https://redirect.github.com/withastro/astro/pull/13210) [`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da) Thanks [@​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. - [#​13195](https://redirect.github.com/withastro/astro/pull/13195) [`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536) Thanks [@​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. - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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 - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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/). - [#​13101](https://redirect.github.com/withastro/astro/pull/13101) [`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2) Thanks [@​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=--> |
||
|
|
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 (@​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=--> |
||
|
|
a69cd569f8 |
docs(team-list): add Boemeltrein (#33721)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [x] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [x] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ |
||
|
|
6962020f85 |
fix(docs): Meet the team update (#33698)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ |
||
|
|
1217b788db | add public kubernetes cluster | ||
|
|
999e814f24 | add example icon urls to team cards | ||
|
|
dfd09a1c7c | Fix alfi naming | ||
|
|
a87cb31d72 | remove wip from project leads | ||
|
|
4d525b73bf | cleanup names | ||
|
|
42460b4ed1 | add content to people | ||
|
|
38916160ac | puffin example website | ||
|
|
d0be6050bb | include names | ||
|
|
cfd670c604 | add more team members to page | ||
|
|
bbe4274a50 | add meet-the-team page and remove merch store | ||
|
|
df0b1966ee |
docs(node-failure): Add new doc about node failure (#33652)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [x] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl> Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl> |
||
|
|
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 (@​astrojs/sitemap)</summary> ### [`v3.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#330) ##### Minor Changes - [#​13448](https://redirect.github.com/withastro/astro/pull/13448) [`91c9503`](https://redirect.github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@​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 - [#​13457](https://redirect.github.com/withastro/astro/pull/13457) [`968e713`](https://redirect.github.com/withastro/astro/commit/968e713c268e1b2176c9265b6c438c56105c2730) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Sets correct response status text for custom error pages - [#​13447](https://redirect.github.com/withastro/astro/pull/13447) [`d80ba2b`](https://redirect.github.com/withastro/astro/commit/d80ba2b27d33d2972ffa3242330fb00d0fc58ba9) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where `site` was added to the generated redirects. - [#​13481](https://redirect.github.com/withastro/astro/pull/13481) [`e9e9245`](https://redirect.github.com/withastro/astro/commit/e9e9245c7c0ad6e3bda2b7600ff2bd845921a19d) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Makes server island work with the client router again. - [#​13484](https://redirect.github.com/withastro/astro/pull/13484) [`8b5e4dc`](https://redirect.github.com/withastro/astro/commit/8b5e4dc733bccce7d77defdbb973204aa9b8126b) Thanks [@​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 - [#​13437](https://redirect.github.com/withastro/astro/pull/13437) [`013fa87`](https://redirect.github.com/withastro/astro/commit/013fa87982ea92675e899d2f71a200e5298db608) Thanks [@​Vardhaman619](https://redirect.github.com/Vardhaman619)! - Handle server.allowedHosts when the value is true without attempting to push it into an array. - [#​13324](https://redirect.github.com/withastro/astro/pull/13324) [`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Upgrade to shiki v3 - [#​13372](https://redirect.github.com/withastro/astro/pull/13372) [`7783dbf`](https://redirect.github.com/withastro/astro/commit/7783dbf8117650c60d7633b43f0d42da487aa2b1) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused some very large data stores to save incomplete data. - [#​13358](https://redirect.github.com/withastro/astro/pull/13358) [`8c21663`](https://redirect.github.com/withastro/astro/commit/8c21663c4a6363765f2caa5705a93a41492a95c9) Thanks [@​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. - [#​13426](https://redirect.github.com/withastro/astro/pull/13426) [`565583b`](https://redirect.github.com/withastro/astro/commit/565583bd6c99163ce5d9475b26075149cc8c155b) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused the `astro add` command to ignore the `--yes` flag for third-party integrations - [#​13428](https://redirect.github.com/withastro/astro/pull/13428) [`9cac9f3`](https://redirect.github.com/withastro/astro/commit/9cac9f314277def0ee584e45d4937bac0235738a) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent bad value in x-forwarded-host from crashing request - [#​13432](https://redirect.github.com/withastro/astro/pull/13432) [`defad33`](https://redirect.github.com/withastro/astro/commit/defad33140dccde324b9357bc6331f7e5cdec266) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13415](https://redirect.github.com/withastro/astro/pull/13415) [`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2) Thanks [@​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. - [#​13420](https://redirect.github.com/withastro/astro/pull/13420) [`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7) Thanks [@​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 - [#​13413](https://redirect.github.com/withastro/astro/pull/13413) [`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f) Thanks [@​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 - [#​13402](https://redirect.github.com/withastro/astro/pull/13402) [`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3) Thanks [@​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/). - [#​13352](https://redirect.github.com/withastro/astro/pull/13352) [`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7) Thanks [@​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 '@​astrojs/markdown-remark'; import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source'; export default defineConfig({ markdown: { rehypePlugins: [ [rehypeHeadingIds, { experimentalHeadingIdCompat: true }], otherPluginThatReliesOnHeadingIDs, ], }, }); ``` - [#​13311](https://redirect.github.com/withastro/astro/pull/13311) [`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e) Thanks [@​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 - [#​13404](https://redirect.github.com/withastro/astro/pull/13404) [`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071) Thanks [@​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 - [#​13379](https://redirect.github.com/withastro/astro/pull/13379) [`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f) Thanks [@​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. - [#​13393](https://redirect.github.com/withastro/astro/pull/13393) [`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e) Thanks [@​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. - [#​13374](https://redirect.github.com/withastro/astro/pull/13374) [`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec) Thanks [@​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. - [#​13380](https://redirect.github.com/withastro/astro/pull/13380) [`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where astro:page-load fires before all scripts are executed - [#​13407](https://redirect.github.com/withastro/astro/pull/13407) [`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13381](https://redirect.github.com/withastro/astro/pull/13381) [`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c) Thanks [@​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. - [#​13367](https://redirect.github.com/withastro/astro/pull/13367) [`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to various utility functions used for remote image services - [#​13347](https://redirect.github.com/withastro/astro/pull/13347) [`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e) Thanks [@​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. - [#​13388](https://redirect.github.com/withastro/astro/pull/13388) [`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where `astro:config/server` and `astro:config/client` had incorrect types. - [#​13355](https://redirect.github.com/withastro/astro/pull/13355) [`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to the assets utilities for remote service images. - [#​13395](https://redirect.github.com/withastro/astro/pull/13395) [`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `package-manager-detector` to detect the package manager used in the project - [#​13363](https://redirect.github.com/withastro/astro/pull/13363) [`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.1 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​12985](https://redirect.github.com/withastro/astro/pull/12985) [`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent re-executing scripts in client router - [#​13349](https://redirect.github.com/withastro/astro/pull/13349) [`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Correctly escapes attributes in Markdown images - [#​13262](https://redirect.github.com/withastro/astro/pull/13262) [`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7) Thanks [@​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 - [#​13336](https://redirect.github.com/withastro/astro/pull/13336) [`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore. - [#​13320](https://redirect.github.com/withastro/astro/pull/13320) [`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26) Thanks [@​{](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 - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13278](https://redirect.github.com/withastro/astro/pull/13278) [`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1) Thanks [@​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). - [#​13254](https://redirect.github.com/withastro/astro/pull/13254) [`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@​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 - [#​13256](https://redirect.github.com/withastro/astro/pull/13256) [`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc) Thanks [@​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). - [#​13323](https://redirect.github.com/withastro/astro/pull/13323) [`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`. - [#​13313](https://redirect.github.com/withastro/astro/pull/13313) [`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where a form field named "attributes" shadows the form.attributes property. - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13303](https://redirect.github.com/withastro/astro/pull/13303) [`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.0 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​joshmkennedy](https://redirect.github.com/joshmkennedy)! - Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when using `base` and `trailingSlash` options. - [#​13003](https://redirect.github.com/withastro/astro/pull/13003) [`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879) Thanks [@​chaegumi](https://redirect.github.com/chaegumi)! - Fixes a bug that caused the `vite.base` value to be ignored when running `astro dev` - [#​13299](https://redirect.github.com/withastro/astro/pull/13299) [`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `tinyglobby` for globbing files - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​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 - [#​13210](https://redirect.github.com/withastro/astro/pull/13210) [`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da) Thanks [@​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. - [#​13195](https://redirect.github.com/withastro/astro/pull/13195) [`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536) Thanks [@​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. - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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 - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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/). - [#​13101](https://redirect.github.com/withastro/astro/pull/13101) [`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2) Thanks [@​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=--> |
||
|
|
a9fd127c96 |
fix(docs): add trash-guides + small fix (#33432)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [x] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ |
||
|
|
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 (@​astrojs/sitemap)</summary> ### [`v3.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/sitemap/CHANGELOG.md#330) ##### Minor Changes - [#​13448](https://redirect.github.com/withastro/astro/pull/13448) [`91c9503`](https://redirect.github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@​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 - [#​13437](https://redirect.github.com/withastro/astro/pull/13437) [`013fa87`](https://redirect.github.com/withastro/astro/commit/013fa87982ea92675e899d2f71a200e5298db608) Thanks [@​Vardhaman619](https://redirect.github.com/Vardhaman619)! - Handle server.allowedHosts when the value is true without attempting to push it into an array. - [#​13324](https://redirect.github.com/withastro/astro/pull/13324) [`ea74336`](https://redirect.github.com/withastro/astro/commit/ea7433666e0cc7e1301e638e80f90323f20db3e1) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Upgrade to shiki v3 - [#​13372](https://redirect.github.com/withastro/astro/pull/13372) [`7783dbf`](https://redirect.github.com/withastro/astro/commit/7783dbf8117650c60d7633b43f0d42da487aa2b1) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused some very large data stores to save incomplete data. - [#​13358](https://redirect.github.com/withastro/astro/pull/13358) [`8c21663`](https://redirect.github.com/withastro/astro/commit/8c21663c4a6363765f2caa5705a93a41492a95c9) Thanks [@​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. - [#​13426](https://redirect.github.com/withastro/astro/pull/13426) [`565583b`](https://redirect.github.com/withastro/astro/commit/565583bd6c99163ce5d9475b26075149cc8c155b) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused the `astro add` command to ignore the `--yes` flag for third-party integrations - [#​13428](https://redirect.github.com/withastro/astro/pull/13428) [`9cac9f3`](https://redirect.github.com/withastro/astro/commit/9cac9f314277def0ee584e45d4937bac0235738a) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent bad value in x-forwarded-host from crashing request - [#​13432](https://redirect.github.com/withastro/astro/pull/13432) [`defad33`](https://redirect.github.com/withastro/astro/commit/defad33140dccde324b9357bc6331f7e5cdec266) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13415](https://redirect.github.com/withastro/astro/pull/13415) [`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2) Thanks [@​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. - [#​13420](https://redirect.github.com/withastro/astro/pull/13420) [`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7) Thanks [@​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 - [#​13413](https://redirect.github.com/withastro/astro/pull/13413) [`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f) Thanks [@​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 - [#​13402](https://redirect.github.com/withastro/astro/pull/13402) [`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3) Thanks [@​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/). - [#​13352](https://redirect.github.com/withastro/astro/pull/13352) [`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7) Thanks [@​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 '@​astrojs/markdown-remark'; import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source'; export default defineConfig({ markdown: { rehypePlugins: [ [rehypeHeadingIds, { experimentalHeadingIdCompat: true }], otherPluginThatReliesOnHeadingIDs, ], }, }); ``` - [#​13311](https://redirect.github.com/withastro/astro/pull/13311) [`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e) Thanks [@​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 - [#​13404](https://redirect.github.com/withastro/astro/pull/13404) [`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071) Thanks [@​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 - [#​13379](https://redirect.github.com/withastro/astro/pull/13379) [`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f) Thanks [@​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. - [#​13393](https://redirect.github.com/withastro/astro/pull/13393) [`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e) Thanks [@​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. - [#​13374](https://redirect.github.com/withastro/astro/pull/13374) [`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec) Thanks [@​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. - [#​13380](https://redirect.github.com/withastro/astro/pull/13380) [`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where astro:page-load fires before all scripts are executed - [#​13407](https://redirect.github.com/withastro/astro/pull/13407) [`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13381](https://redirect.github.com/withastro/astro/pull/13381) [`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c) Thanks [@​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. - [#​13367](https://redirect.github.com/withastro/astro/pull/13367) [`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to various utility functions used for remote image services - [#​13347](https://redirect.github.com/withastro/astro/pull/13347) [`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e) Thanks [@​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. - [#​13388](https://redirect.github.com/withastro/astro/pull/13388) [`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where `astro:config/server` and `astro:config/client` had incorrect types. - [#​13355](https://redirect.github.com/withastro/astro/pull/13355) [`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to the assets utilities for remote service images. - [#​13395](https://redirect.github.com/withastro/astro/pull/13395) [`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `package-manager-detector` to detect the package manager used in the project - [#​13363](https://redirect.github.com/withastro/astro/pull/13363) [`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.1 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​12985](https://redirect.github.com/withastro/astro/pull/12985) [`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent re-executing scripts in client router - [#​13349](https://redirect.github.com/withastro/astro/pull/13349) [`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Correctly escapes attributes in Markdown images - [#​13262](https://redirect.github.com/withastro/astro/pull/13262) [`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7) Thanks [@​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 - [#​13336](https://redirect.github.com/withastro/astro/pull/13336) [`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore. - [#​13320](https://redirect.github.com/withastro/astro/pull/13320) [`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26) Thanks [@​{](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 - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13278](https://redirect.github.com/withastro/astro/pull/13278) [`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1) Thanks [@​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). - [#​13254](https://redirect.github.com/withastro/astro/pull/13254) [`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@​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 - [#​13256](https://redirect.github.com/withastro/astro/pull/13256) [`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc) Thanks [@​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). - [#​13323](https://redirect.github.com/withastro/astro/pull/13323) [`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`. - [#​13313](https://redirect.github.com/withastro/astro/pull/13313) [`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where a form field named "attributes" shadows the form.attributes property. - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13303](https://redirect.github.com/withastro/astro/pull/13303) [`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.0 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​joshmkennedy](https://redirect.github.com/joshmkennedy)! - Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when using `base` and `trailingSlash` options. - [#​13003](https://redirect.github.com/withastro/astro/pull/13003) [`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879) Thanks [@​chaegumi](https://redirect.github.com/chaegumi)! - Fixes a bug that caused the `vite.base` value to be ignored when running `astro dev` - [#​13299](https://redirect.github.com/withastro/astro/pull/13299) [`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `tinyglobby` for globbing files - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​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 - [#​13210](https://redirect.github.com/withastro/astro/pull/13210) [`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da) Thanks [@​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. - [#​13195](https://redirect.github.com/withastro/astro/pull/13195) [`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536) Thanks [@​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. - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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 - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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/). - [#​13101](https://redirect.github.com/withastro/astro/pull/13101) [`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2) Thanks [@​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=--> |
||
|
|
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 - [#​13415](https://redirect.github.com/withastro/astro/pull/13415) [`be866a1`](https://redirect.github.com/withastro/astro/commit/be866a1d1db12793e0953b228d0b2dc1c00929e2) Thanks [@​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. - [#​13420](https://redirect.github.com/withastro/astro/pull/13420) [`2f039b9`](https://redirect.github.com/withastro/astro/commit/2f039b927a3a1334948adc7788b1f24c074dfac7) Thanks [@​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 - [#​13413](https://redirect.github.com/withastro/astro/pull/13413) [`65903c9`](https://redirect.github.com/withastro/astro/commit/65903c995408397c63c911e184218c0206e5853f) Thanks [@​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 - [#​13402](https://redirect.github.com/withastro/astro/pull/13402) [`3e7b498`](https://redirect.github.com/withastro/astro/commit/3e7b498dce52648484bb4deb04bf9e960c3d08e3) Thanks [@​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/). - [#​13352](https://redirect.github.com/withastro/astro/pull/13352) [`cb886dc`](https://redirect.github.com/withastro/astro/commit/cb886dcde6c28acca286a66be46228a4d4cc52e7) Thanks [@​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 '@​astrojs/markdown-remark'; import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source'; export default defineConfig({ markdown: { rehypePlugins: [ [rehypeHeadingIds, { experimentalHeadingIdCompat: true }], otherPluginThatReliesOnHeadingIDs, ], }, }); ``` - [#​13311](https://redirect.github.com/withastro/astro/pull/13311) [`a3327ff`](https://redirect.github.com/withastro/astro/commit/a3327ffbe6373228339824684eaa6f340a20a32e) Thanks [@​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 - [#​13404](https://redirect.github.com/withastro/astro/pull/13404) [`4e78b4d`](https://redirect.github.com/withastro/astro/commit/4e78b4d10d2214c94752a1fef74db325053cf071) Thanks [@​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 - [#​13379](https://redirect.github.com/withastro/astro/pull/13379) [`d59eb22`](https://redirect.github.com/withastro/astro/commit/d59eb227334b788289533bac41f015b498179a2f) Thanks [@​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. - [#​13393](https://redirect.github.com/withastro/astro/pull/13393) [`6b8fdb8`](https://redirect.github.com/withastro/astro/commit/6b8fdb8a113b6f76448b41beb990c33fafb09b3e) Thanks [@​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. - [#​13374](https://redirect.github.com/withastro/astro/pull/13374) [`7b75bc5`](https://redirect.github.com/withastro/astro/commit/7b75bc5c36bc338bcef5ef41502e87c184c117ec) Thanks [@​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. - [#​13380](https://redirect.github.com/withastro/astro/pull/13380) [`9bfa6e6`](https://redirect.github.com/withastro/astro/commit/9bfa6e6d8b95424436be405a80d5df3f2e2e72df) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where astro:page-load fires before all scripts are executed - [#​13407](https://redirect.github.com/withastro/astro/pull/13407) [`0efdc22`](https://redirect.github.com/withastro/astro/commit/0efdc22b182f6cec4155a972f0dde1da686c5453) Thanks [@​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)]: - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13381](https://redirect.github.com/withastro/astro/pull/13381) [`249d52a`](https://redirect.github.com/withastro/astro/commit/249d52a3ff17f792c451ea0e42b97a209667290c) Thanks [@​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. - [#​13367](https://redirect.github.com/withastro/astro/pull/13367) [`3ce4ad9`](https://redirect.github.com/withastro/astro/commit/3ce4ad965f576f2f4c53b5f2b876d449ed60c023) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to various utility functions used for remote image services - [#​13347](https://redirect.github.com/withastro/astro/pull/13347) [`d83f92a`](https://redirect.github.com/withastro/astro/commit/d83f92a20403ffc8d088cfd13d2806e0f4f1a11e) Thanks [@​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. - [#​13388](https://redirect.github.com/withastro/astro/pull/13388) [`afadc70`](https://redirect.github.com/withastro/astro/commit/afadc702d7d928e7b650d3c071cca3d21e14333f) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where `astro:config/server` and `astro:config/client` had incorrect types. - [#​13355](https://redirect.github.com/withastro/astro/pull/13355) [`042d1de`](https://redirect.github.com/withastro/astro/commit/042d1de901fd9aa66157ce078b28bcd9786e1373) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Adds documentation to the assets utilities for remote service images. - [#​13395](https://redirect.github.com/withastro/astro/pull/13395) [`6d1c63f`](https://redirect.github.com/withastro/astro/commit/6d1c63fa46a624b1c4981d4324ebabf37cc2b958) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `package-manager-detector` to detect the package manager used in the project - [#​13363](https://redirect.github.com/withastro/astro/pull/13363) [`a793636`](https://redirect.github.com/withastro/astro/commit/a793636928d0014a7faa4431afdfb9404e9ea819) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.1 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​12985](https://redirect.github.com/withastro/astro/pull/12985) [`84e94cc`](https://redirect.github.com/withastro/astro/commit/84e94cc85cc0f4ea9b5dba2009dc89e83a798f59) Thanks [@​matthewp](https://redirect.github.com/matthewp)! - Prevent re-executing scripts in client router - [#​13349](https://redirect.github.com/withastro/astro/pull/13349) [`50e2e0b`](https://redirect.github.com/withastro/astro/commit/50e2e0b3749d6dba3d301ea1a0a3a33a273e7a81) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Correctly escapes attributes in Markdown images - [#​13262](https://redirect.github.com/withastro/astro/pull/13262) [`0025df3`](https://redirect.github.com/withastro/astro/commit/0025df37af4dcd390d41c9b175fbdb3edd87edf7) Thanks [@​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 - [#​13336](https://redirect.github.com/withastro/astro/pull/13336) [`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore. - [#​13320](https://redirect.github.com/withastro/astro/pull/13320) [`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26) Thanks [@​{](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 - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13278](https://redirect.github.com/withastro/astro/pull/13278) [`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1) Thanks [@​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). - [#​13254](https://redirect.github.com/withastro/astro/pull/13254) [`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@​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 - [#​13256](https://redirect.github.com/withastro/astro/pull/13256) [`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc) Thanks [@​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). - [#​13323](https://redirect.github.com/withastro/astro/pull/13323) [`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`. - [#​13313](https://redirect.github.com/withastro/astro/pull/13313) [`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where a form field named "attributes" shadows the form.attributes property. - [#​12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@​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. - [#​13303](https://redirect.github.com/withastro/astro/pull/13303) [`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3) Thanks [@​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)]: - [@​astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@​0](https://redirect.github.com/0).6.0 - [@​astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@​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 - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​joshmkennedy](https://redirect.github.com/joshmkennedy)! - Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when using `base` and `trailingSlash` options. - [#​13003](https://redirect.github.com/withastro/astro/pull/13003) [`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879) Thanks [@​chaegumi](https://redirect.github.com/chaegumi)! - Fixes a bug that caused the `vite.base` value to be ignored when running `astro dev` - [#​13299](https://redirect.github.com/withastro/astro/pull/13299) [`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Uses `tinyglobby` for globbing files - [#​13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@​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 - [#​13210](https://redirect.github.com/withastro/astro/pull/13210) [`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da) Thanks [@​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. - [#​13195](https://redirect.github.com/withastro/astro/pull/13195) [`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536) Thanks [@​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. - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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 - [#​13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@​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/). - [#​13101](https://redirect.github.com/withastro/astro/pull/13101) [`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2) Thanks [@​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=--> |
||
|
|
e4c6acec57 |
fix(docs): Update guides for traefik & nginx (#33187)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [x] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl> Signed-off-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com> Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl> |
||
|
|
e229c3298b |
fix(docs): fix-links (#33121)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [x] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ |
||
|
|
1110e82836 | add nginx ip whitelist example | ||
|
|
440286ea0d | add traefik guide placeholders | ||
|
|
17b4666dc4 | Add install guide for NGINX | ||
|
|
f230724f3f | add annoation examples to nginx | ||
|
|
ca8ab1fb0f | feat(website): add bigger ingress guides section | ||
|
|
feb2964081 | fix(website): dont load crds for crd-only prometheus install | ||
|
|
39b57de35d | fix(website): provide a more viable prometheus config default | ||
|
|
f934f8aa69 | fix(website): fix automatic oopsie | ||
|
|
9396c05355 | chore(website): update quickstart guide | ||
|
|
458076b339 |
fix(docs) - Quickstart Cloudnative ref. (#33067)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Is this reference not better? The original one is most of the part only about a sandbox, not any information regarding chart version or values. ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ Signed-off-by: Boemeltrein <130394941+Boemeltrein@users.noreply.github.com> |
||
|
|
eaa6472295 |
fix(docs) quickstart small correction (#33052)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [x] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ Signed-off-by: Boemeltrein <130394941+Boemeltrein@users.noreply.github.com> |
||
|
|
4e63ca3927 |
Commit daily changes
Signed-off-by: TrueCharts-Bot <bot@truecharts.org> |
||
|
|
a4880a7b29 |
docs(add-storage): fix add storage guide and add nfs (#33017)
**Description** Fixes tabbing on add storage guide and adds an NFS example. ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [X] 📜 Documentation Changes **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [X] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ |
||
|
|
8996d665bc |
Update 2025-03-08-recent-changes.md (#33016)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ Signed-off-by: Alfred Göppel <43101280+alfi0812@users.noreply.github.com> |
||
|
|
b8e21adc5f |
docs(news): Add news-article (#33008)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl> Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl> |
||
|
|
cccc6218e2 |
chore(charts): archive prometheus, prometheus-operator & cert-manager (#33009)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes # <!--(issue)--> **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [ ] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl> Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl> |
||
|
|
a51662bdfe |
fix(docs): Quick start guide (#33006)
**Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> ⚒️ Fixes https://github.com/truecharts/public/issues/32174 ⚒️ Fixes https://github.com/truecharts/public/issues/29000 ⚒️ Fixes https://github.com/truecharts/public/issues/33004 **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [x] 📜 Documentation Changes **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> **📃 Notes:** <!-- Please enter any other relevant information here --> **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [x] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl> Co-authored-by: Kjeld Schouten <info@kjeldschouten.nl> |