Skip to content

Commit dcb1eca

Browse files
fix(deps): update astro monorepo (#393)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@astrojs/node](https://docs.astro.build/en/guides/integrations-guide/node/) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/node)) | [`9.0.0` -> `9.1.2`](https://renovatebot.com/diffs/npm/@astrojs%2fnode/9.0.0/9.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2fnode/9.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@astrojs%2fnode/9.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@astrojs%2fnode/9.0.0/9.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2fnode/9.0.0/9.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@astrojs/react](https://docs.astro.build/en/guides/integrations-guide/react/) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/react)) | [`4.1.1` -> `4.2.1`](https://renovatebot.com/diffs/npm/@astrojs%2freact/4.1.1/4.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2freact/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@astrojs%2freact/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@astrojs%2freact/4.1.1/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2freact/4.1.1/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@astrojs/tailwind](https://docs.astro.build/en/guides/integrations-guide/tailwind/) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind)) | [`5.1.3` -> `5.1.5`](https://renovatebot.com/diffs/npm/@astrojs%2ftailwind/5.1.3/5.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@astrojs%2ftailwind/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@astrojs%2ftailwind/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@astrojs%2ftailwind/5.1.3/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@astrojs%2ftailwind/5.1.3/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | [`5.0.9` -> `5.4.1`](https://renovatebot.com/diffs/npm/astro/5.0.9/5.4.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/astro/5.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/astro/5.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/astro/5.0.9/5.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/astro/5.0.9/5.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>withastro/astro (@&#8203;astrojs/node)</summary> ### [`v9.1.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/node/CHANGELOG.md#912) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - Updated dependencies \[[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]: - [@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.0 ### [`v9.1.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/node/CHANGELOG.md#911) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;13190](https://redirect.github.com/withastro/astro/pull/13190) [`c6bf6b3`](https://redirect.github.com/withastro/astro/commit/c6bf6b3b210d3cfd7a23d42815b1b5c58099736f) Thanks [@&#8203;lee-arnold](https://redirect.github.com/lee-arnold)! - Fixes the image endpoint entrypoint ### [`v9.1.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/node/CHANGELOG.md#910) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Minor Changes - [#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Automatically configures filesystem storage when experimental session enabled If the `experimental.session` flag is enabled when using the Node adapter, Astro will automatically configure session storage using the filesystem driver. You can still manually configure session storage if you need to use a different driver or want to customize the session storage configuration. See [the experimental session docs](https://docs.astro.build/en/reference/experimental-flags/sessions/) for more information on configuring session storage. ### [`v9.0.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/node/CHANGELOG.md#903) ##### Patch Changes - [#&#8203;13223](https://redirect.github.com/withastro/astro/pull/13223) [`23094a1`](https://redirect.github.com/withastro/astro/commit/23094a1f48d0dfb12c5866a3713f52106ef927dd) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused incorrect redirects for static files with numbers in the file extension ### [`v9.0.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/node/CHANGELOG.md#902) ##### Patch Changes - [#&#8203;514](https://redirect.github.com/withastro/adapters/pull/514) [`ea4297b`](https://redirect.github.com/withastro/adapters/commit/ea4297b7bdb72ef0202e9f547625e7fa71a6a73e) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused the preview server to ignore wildcard host options ### [`v9.0.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/node/CHANGELOG.md#901) ##### Patch Changes - [#&#8203;454](https://redirect.github.com/withastro/adapters/pull/454) [`83cedad`](https://redirect.github.com/withastro/adapters/commit/83cedad780bf7a23ae9f6ca0c44a7b7f1c1767e1) Thanks [@&#8203;alexanderniebuhr](https://redirect.github.com/alexanderniebuhr)! - Improves Astro 5 support </details> <details> <summary>withastro/astro (@&#8203;astrojs/react)</summary> ### [`v4.2.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#421) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;13323](https://redirect.github.com/withastro/astro/pull/13323) [`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`. ### [`v4.2.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#420) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Minor Changes - [#&#8203;13036](https://redirect.github.com/withastro/astro/pull/13036) [`3c90d8f`](https://redirect.github.com/withastro/astro/commit/3c90d8f3e0baba1463a9022c2e8c777204ad2250) Thanks [@&#8203;artmsilva](https://redirect.github.com/artmsilva)! - Adds experimental support for disabling streaming This is useful to support libraries that are not compatible with streaming such as some CSS-in-JS libraries. To disable streaming for all React components in your project, set `experimentalDisableStreaming: true` as a configuration option for `@astrojs/react`: ```diff // astro.config.mjs import { defineConfig } from 'astro/config'; import react from '@&#8203;astrojs/react'; export default defineConfig({ integrations: [ react({ + experimentalDisableStreaming: true, }), ], }); ``` ### [`v4.1.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#416) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;12996](https://redirect.github.com/withastro/astro/pull/12996) [`80c6801`](https://redirect.github.com/withastro/astro/commit/80c6801b4f2b9da44ed69d6da7e4dbd4d65aae69) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Removes hardcoded `ssr.external: ['react-dom/server', 'react-dom/client']` config that causes issues with adapters that bundle all dependencies (e.g. Cloudflare). These externals should already be inferred by default by Vite when deploying to a server environment. - [#&#8203;13011](https://redirect.github.com/withastro/astro/pull/13011) [`cf30880`](https://redirect.github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Upgrades Vite ### [`v4.1.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#415) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;12887](https://redirect.github.com/withastro/astro/pull/12887) [`ea603ae`](https://redirect.github.com/withastro/astro/commit/ea603aec80531205d38fed11c525b3faa0271903) Thanks [@&#8203;louisescher](https://redirect.github.com/louisescher)! - Adds a warning message when multiple JSX-based UI frameworks are being used without either the `include` or `exclude` property being set on the integration. ### [`v4.1.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#414) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;12923](https://redirect.github.com/withastro/astro/pull/12923) [`c7642fb`](https://redirect.github.com/withastro/astro/commit/c7642fb80b2a2b4d1ec18369b37700ff28b4c041) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Removes react-specific entrypoints in `optimizeDeps.include` and rely on `@vitejs/plugin-react` to add ### [`v4.1.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#413) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;12948](https://redirect.github.com/withastro/astro/pull/12948) [`51ab7b5`](https://redirect.github.com/withastro/astro/commit/51ab7b5722acecce722fb404ca6bc152a109c9e5) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Supports checking for React 19 components ### [`v4.1.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/react/CHANGELOG.md#412) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;12799](https://redirect.github.com/withastro/astro/pull/12799) [`739dbfb`](https://redirect.github.com/withastro/astro/commit/739dbfba4214107cf8fc40c702834dad33eed3b0) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Upgrades Vite to pin esbuild </details> <details> <summary>withastro/astro (@&#8203;astrojs/tailwind)</summary> ### [`v5.1.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#515) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;13011](https://redirect.github.com/withastro/astro/pull/13011) [`cf30880`](https://redirect.github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Upgrades Vite ### [`v5.1.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/integrations/tailwind/CHANGELOG.md#514) [Compare Source](https://redirect.github.com/withastro/astro/compare/@astrojs/[email protected]...@astrojs/[email protected]) ##### Patch Changes - [#&#8203;12799](https://redirect.github.com/withastro/astro/pull/12799) [`739dbfb`](https://redirect.github.com/withastro/astro/commit/739dbfba4214107cf8fc40c702834dad33eed3b0) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Upgrades Vite to pin esbuild </details> <details> <summary>withastro/astro (astro)</summary> ### [`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/[email protected]@5.4.1) ##### Patch Changes - [#&#8203;13336](https://redirect.github.com/withastro/astro/pull/13336) [`8f632ef`](https://redirect.github.com/withastro/astro/commit/8f632efe9934fbe7547d890fd01b3892d14c8189) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes a regression where some asset utilities were move across monorepo, and not re-exported anymore. - [#&#8203;13320](https://redirect.github.com/withastro/astro/pull/13320) [`b5dabe9`](https://redirect.github.com/withastro/astro/commit/b5dabe9878510237ceb603ebd3e004da6e965a26) Thanks [@&#8203;{](https://redirect.github.com/{)! - Adds support for typing experimental session data You can add optional types to your session data by creating a `src/env.d.ts` file in your project that extends the global `App.SessionData` interface. For example: ```ts declare namespace App { interface SessionData { id: string; email: string; }; lastLogin: Date; } } ``` Any keys not defined in this interface will be treated as `any`. Then when you access `Astro.session` in your components, any defined keys will be typed correctly: ### [`v5.4.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#540) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.4.0) ##### Minor Changes - [#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Exposes extra APIs for scripting and testing. ##### Config helpers Two new helper functions exported from `astro/config`: - `mergeConfig()` allows users to merge partially defined Astro configurations on top of a base config while following the merge rules of `updateConfig()` available for integrations. - `validateConfig()` allows users to validate that a given value is a valid Astro configuration and fills in default values as necessary. These helpers are particularly useful for integration authors and for developers writing scripts that need to manipulate Astro configurations programmatically. ##### Programmatic build The `build` API now receives a second optional `BuildOptions` argument where users can specify: - `devOutput` (default `false`): output a development-based build similar to code transformed in `astro dev`. - `teardownCompiler` (default `true`): teardown the compiler WASM instance after build. These options provide more control when running Astro builds programmatically, especially for testing scenarios or custom build pipelines. - [#&#8203;13278](https://redirect.github.com/withastro/astro/pull/13278) [`4a43c4b`](https://redirect.github.com/withastro/astro/commit/4a43c4b743affb78b1502801c797157b626c77a1) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Adds a new configuration option `server.allowedHosts` and CLI option `--allowed-hosts`. Now you can specify the hostnames that the dev and preview servers are allowed to respond to. This is useful for allowing additional subdomains, or running the dev server in a web container. `allowedHosts` checks the Host header on HTTP requests from browsers and if it doesn't match, it will reject the request to prevent CSRF and XSS attacks. ```shell astro dev --allowed-hosts=foo.bar.example.com,bar.example.com ``` ```shell astro preview --allowed-hosts=foo.bar.example.com,bar.example.com ``` ```js // astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ server: { allowedHosts: ['foo.bar.example.com', 'bar.example.com'], }, }); ``` This feature is the same as [Vite's `server.allowHosts` configuration](https://vite.dev/config/server-options.html#server-allowedhosts). - [#&#8203;13254](https://redirect.github.com/withastro/astro/pull/13254) [`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b) Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds the ability to process and optimize remote images in Markdown files Previously, Astro only allowed local images to be optimized when included using `![]()` syntax in plain Markdown files. Astro's image service could only display remote images without any processing. Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager. No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the HTML `<img>` tag instead. Note that images located in your `public/` folder are still never processed. ##### Patch Changes - [#&#8203;13256](https://redirect.github.com/withastro/astro/pull/13256) [`509fa67`](https://redirect.github.com/withastro/astro/commit/509fa671a137515bd1818c81ee78de439a27e5dc) Thanks [@&#8203;p0lyw0lf](https://redirect.github.com/p0lyw0lf)! - Adds experimental responsive image support in Markdown Previously, the `experimental.responsiveImages` feature could only provide responsive images when using the `<Image />` and `<Picture />` components. Now, images written with the `![]()` Markdown syntax in Markdown and MDX files will generate responsive images by default when using this experimental feature. To try this experimental feature, set `experimental.responsiveImages` to true in your `astro.config.mjs` file: ```js { experimental: { responsiveImages: true, }, } ``` Learn more about using this feature in the [experimental responsive images feature reference](https://docs.astro.build/en/reference/experimental-flags/responsive-images/). For a complete overview, and to give feedback on this experimental API, see the [Responsive Images RFC](https://redirect.github.com/withastro/roadmap/blob/responsive-images/proposals/0053-responsive-images.md). - [#&#8203;13323](https://redirect.github.com/withastro/astro/pull/13323) [`80926fa`](https://redirect.github.com/withastro/astro/commit/80926fadc06492fcae55f105582b9dc8279da6b3) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Updates `esbuild` and `vite` to the latest to avoid false positives audits warnings caused by `esbuild`. - [#&#8203;13313](https://redirect.github.com/withastro/astro/pull/13313) [`9e7c71d`](https://redirect.github.com/withastro/astro/commit/9e7c71d19c89407d9b27ded85d8c0fde238ce16c) Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Fixes an issue where a form field named "attributes" shadows the form.attributes property. - [#&#8203;12052](https://redirect.github.com/withastro/astro/pull/12052) [`5be12b2`](https://redirect.github.com/withastro/astro/commit/5be12b2bc9f359d3ecfa29b766f13ed2aabd119f) Thanks [@&#8203;Fryuni](https://redirect.github.com/Fryuni)! - Fixes incorrect config update when calling `updateConfig` from `astro:build:setup` hook. The function previously called a custom update config function made for merging an Astro config. Now it calls the appropriate `mergeConfig()` utility exported by Vite that updates functional options correctly. - [#&#8203;13303](https://redirect.github.com/withastro/astro/pull/13303) [`5f72a58`](https://redirect.github.com/withastro/astro/commit/5f72a58935d9bdd5237bdf86d2e94bcdc544c7b3) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where the dev server was applying second decoding of the URL of the incoming request, causing issues for certain URLs. - Updated dependencies \[[`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b), [`1e11f5e`](https://redirect.github.com/withastro/astro/commit/1e11f5e8b722b179e382f3c792cd961b2b51f61b)]: - [@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).6.0 - [@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).2.0 ### [`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.3.1) ##### Patch Changes - [#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)! - Ensures consistent behaviour of `Astro.rewrite`/`ctx.rewrite` when using `base` and `trailingSlash` options. - [#&#8203;13003](https://redirect.github.com/withastro/astro/pull/13003) [`ea79054`](https://redirect.github.com/withastro/astro/commit/ea790542e186b0d2d2e828cb3ebd23bde4d04879) Thanks [@&#8203;chaegumi](https://redirect.github.com/chaegumi)! - Fixes a bug that caused the `vite.base` value to be ignored when running `astro dev` - [#&#8203;13299](https://redirect.github.com/withastro/astro/pull/13299) [`2e1321e`](https://redirect.github.com/withastro/astro/commit/2e1321e9d5b27da3e86bc4021e4136661a8055aa) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Uses `tinyglobby` for globbing files - [#&#8203;13233](https://redirect.github.com/withastro/astro/pull/13233) [`32fafeb`](https://redirect.github.com/withastro/astro/commit/32fafeb874cc4b6312eb50d54d9f0ca6b83aedbc) Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)! - Ensures that `Astro.url`/`ctx.url` is correctly updated with the `base` path after rewrites. This change fixes an issue where `Astro.url`/`ctx.url` did not include the configured base path after Astro.rewrite was called. Now, the base path is correctly reflected in Astro.url. Previously, any rewrites performed through `Astro.rewrite`/`ctx.rewrite` failed to append the base path to `Astro.url`/`ctx.rewrite`, which could lead to incorrect URL handling in downstream logic. By fixing this, we ensure that all routes remain consistent and predictable after a rewrite. If you were relying on the work around of including the base path in astro.rewrite you can now remove it from the path. ### [`v5.3.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#530) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.3.0) ##### Minor Changes - [#&#8203;13210](https://redirect.github.com/withastro/astro/pull/13210) [`344e9bc`](https://redirect.github.com/withastro/astro/commit/344e9bc480a075161a7811b7733593556e7560da) Thanks [@&#8203;VitaliyR](https://redirect.github.com/VitaliyR)! - Handle `HEAD` requests to an endpoint when a handler is not defined. If an endpoint defines a handler for `GET`, but does not define a handler for `HEAD`, Astro will call the `GET` handler and return the headers and status but an empty body. - [#&#8203;13195](https://redirect.github.com/withastro/astro/pull/13195) [`3b66955`](https://redirect.github.com/withastro/astro/commit/3b669555d7ab9da5427e7b7037699d4f905d3536) Thanks [@&#8203;MatthewLymer](https://redirect.github.com/MatthewLymer)! - Improves SSR performance for synchronous components by avoiding the use of Promises. With this change, SSR rendering of on-demand pages can be up to 4x faster. - [#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds support for adapters auto-configuring experimental session storage drivers. Adapters can now configure a default session storage driver when the `experimental.session` flag is enabled. If a hosting platform has a storage primitive that can be used for session storage, the adapter can automatically configure the session storage using that driver. This allows Astro to provide a more seamless experience for users who want to use sessions without needing to manually configure the session storage. ##### Patch Changes - [#&#8203;13145](https://redirect.github.com/withastro/astro/pull/13145) [`8d4e566`](https://redirect.github.com/withastro/astro/commit/8d4e566f5420c8a5406e1e40e8bae1c1f87cbe37) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - :warning: **BREAKING CHANGE FOR EXPERIMENTAL SESSIONS ONLY** :warning: Changes the `experimental.session` option to a boolean flag and moves session config to a top-level value. This change is to allow the new automatic session driver support. You now need to separately enable the `experimental.session` flag, and then configure the session driver using the top-level `session` key if providing manual configuration. ```diff defineConfig({ // ... experimental: { - session: { - driver: 'upstash', - }, + session: true, }, + session: { + driver: 'upstash', + }, }); ``` You no longer need to configure a session driver if you are using an adapter that supports automatic session driver configuration and wish to use its default settings. ```diff defineConfig({ adapter: node({ mode: "standalone", }), experimental: { - session: { - driver: 'fs', - cookie: 'astro-cookie', - }, + session: true, }, + session: { + cookie: 'astro-cookie', + }, }); ``` However, you can still manually configure additional driver options or choose a non-default driver to use with your adapter with the new top-level `session` config option. For more information, see the [experimental session docs](https://docs.astro.build/en/reference/experimental-flags/sessions/). - [#&#8203;13101](https://redirect.github.com/withastro/astro/pull/13101) [`2ed67d5`](https://redirect.github.com/withastro/astro/commit/2ed67d5dc5c8056f9ab1e29e539bf086b93c60c2) Thanks [@&#8203;corneliusroemer](https://redirect.github.com/corneliusroemer)! - Fixes a bug where `HEAD` and `OPTIONS` requests for non-prerendered pages were incorrectly rejected with 403 FORBIDDEN ### [`v5.2.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#526) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.6) ##### Patch Changes - [#&#8203;13188](https://redirect.github.com/withastro/astro/pull/13188) [`7bc8256`](https://redirect.github.com/withastro/astro/commit/7bc825649bfb790a0206abd31df1676513a03b22) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes the wording of the an error message - [#&#8203;13205](https://redirect.github.com/withastro/astro/pull/13205) [`9d56602`](https://redirect.github.com/withastro/astro/commit/9d5660223b46e024b4e8c8eafead8a4e20e28ec5) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes and issue where a server island component returns 404 when `base` is configured in i18n project. - [#&#8203;13212](https://redirect.github.com/withastro/astro/pull/13212) [`fb38840`](https://redirect.github.com/withastro/astro/commit/fb3884074f261523cd89fe6e1745a0e9c01198f2) Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)! - An additional has been added during the build command to add clarity around output and buildOutput. - [#&#8203;13213](https://redirect.github.com/withastro/astro/pull/13213) [`6bac644`](https://redirect.github.com/withastro/astro/commit/6bac644241bc42bb565730955ffd575878a0e41b) Thanks [@&#8203;joshmkennedy](https://redirect.github.com/joshmkennedy)! - Allows readonly arrays to be passed to the `paginate()` function ### [`v5.2.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#525) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.5) ##### Patch Changes - [#&#8203;13133](https://redirect.github.com/withastro/astro/pull/13133) [`e76aa83`](https://redirect.github.com/withastro/astro/commit/e76aa8391eb9d81c1a52fb2f9f21ede4790bd793) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where Astro was failing to build an external redirect when the middleware was triggered - [#&#8203;13119](https://redirect.github.com/withastro/astro/pull/13119) [`ac43580`](https://redirect.github.com/withastro/astro/commit/ac4358052af2c1817dec999598bc4e3d8fd0bdaf) Thanks [@&#8203;Hacksore](https://redirect.github.com/Hacksore)! - Adds extra guidance in the terminal when using the `astro add tailwind` CLI command Now, users are given a friendly reminder to import the stylesheet containing their Tailwind classes into any pages where they want to use Tailwind. Commonly, this is a shared layout component so that Tailwind styling can be used on multiple pages. ### [`v5.2.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#524) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.4) ##### Patch Changes - [#&#8203;13130](https://redirect.github.com/withastro/astro/pull/13130) [`b71bd10`](https://redirect.github.com/withastro/astro/commit/b71bd10989c0070847cecb101afb8278d5ef7091) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused duplicate slashes inside query params to be collapsed - [#&#8203;13131](https://redirect.github.com/withastro/astro/pull/13131) [`d60c742`](https://redirect.github.com/withastro/astro/commit/d60c74243f639761ad735d66d814e627f8f847a2) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Ignores trailing slashes for endpoints with file extensions in the route - Updated dependencies \[[`b71bd10`](https://redirect.github.com/withastro/astro/commit/b71bd10989c0070847cecb101afb8278d5ef7091)]: - [@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).5.1 ### [`v5.2.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#523) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.3) ##### Patch Changes - [#&#8203;13113](https://redirect.github.com/withastro/astro/pull/13113) [`3a26e45`](https://redirect.github.com/withastro/astro/commit/3a26e4541764085faa499bc63549b24d194146a6) Thanks [@&#8203;unprintable123](https://redirect.github.com/unprintable123)! - Fixes the bug that rewrite will pass encoded url to the dynamic routing and cause params mismatch. - [#&#8203;13111](https://redirect.github.com/withastro/astro/pull/13111) [`23978dd`](https://redirect.github.com/withastro/astro/commit/23978ddfe127bbc3762b6209b42d049588e52a14) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused injected endpoint routes to return not found when trailingSlash was set to always - [#&#8203;13112](https://redirect.github.com/withastro/astro/pull/13112) [`0fa5c82`](https://redirect.github.com/withastro/astro/commit/0fa5c82977de73872ddeffffea48fddafba47398) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where the i18n middleware was blocking a server island request when the `prefixDefaultLocale` option is set to `true` ### [`v5.2.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#522) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.2) ##### Patch Changes - [#&#8203;13106](https://redirect.github.com/withastro/astro/pull/13106) [`187c4d3`](https://redirect.github.com/withastro/astro/commit/187c4d3244a27c9b4e7e3cbe6307b01161140ca1) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused peer dependency errors when running `astro add tailwind` ### [`v5.2.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#521) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.1) ##### Patch Changes - [#&#8203;13095](https://redirect.github.com/withastro/astro/pull/13095) [`740eb60`](https://redirect.github.com/withastro/astro/commit/740eb6019f405781a3918941d3bfb34a7bda1a3d) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused some dev server asset requests to return 404 when trailingSlash was set to "always" ### [`v5.2.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#520) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.2.0) ##### Minor Changes - [#&#8203;12994](https://redirect.github.com/withastro/astro/pull/12994) [`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Redirects trailing slashes for on-demand pages When the `trailingSlash` option is set to `always` or `never`, on-demand rendered pages will now redirect to the correct URL when the trailing slash doesn't match the configuration option. This was previously the case for static pages, but now works for on-demand pages as well. Now, it doesn't matter whether your visitor navigates to `/about/`, `/about`, or even `/about///`. In production, they'll always end up on the correct page. For GET requests, the redirect will be a 301 (permanent) redirect, and for all other request methods, it will be a 308 (permanent, and preserve the request method) redirect. In development, you'll see a helpful 404 page to alert you of a trailing slash mismatch so you can troubleshoot routes. - [#&#8203;12979](https://redirect.github.com/withastro/astro/pull/12979) [`e621712`](https://redirect.github.com/withastro/astro/commit/e621712109b79313b24924ec4f0ba4f8ab6201c2) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Adds support for redirecting to external sites with the [`redirects`](https://docs.astro.build/en/reference/configuration-reference/#redirects) configuration option. Now, you can redirect routes either internally to another path or externally by providing a URL beginning with `http` or `https`: ```js // astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ redirects: { '/blog': 'https://example.com/blog', '/news': { status: 302, destination: 'https://example.com/news', }, }, }); ``` - [#&#8203;13084](https://redirect.github.com/withastro/astro/pull/13084) [`0f3be31`](https://redirect.github.com/withastro/astro/commit/0f3be3104e62d5b50dabfb15023f97954a160b8e) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Adds a new experimental virtual module `astro:config` that exposes a type-safe subset of your `astro.config.mjs` configuration The virtual module exposes two sub-paths for controlled access to your configuration: - `astro:config/client`: exposes config information that is safe to expose to the client. - `astro:config/server`: exposes additional information that is safe to expose to the server, such as file/dir paths. To enable this new virtual module, add the `experimental.serializeManifest` feature flag to your Astro config: ```js // astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ experimental: { serializeManifest: true, }, }); ``` Then, you can access the module in any file inside your project to import and use values from your Astro config: ```js // src/utils.js import { trailingSlash } from 'astro:config/client'; function addForwardSlash(path) { if (trailingSlash === 'always') { return path.endsWith('/') ? path : path + '/'; } else { return path; } } ``` For a complete overview, and to give feedback on this experimental API, see the [Serialized Manifest RFC](https://redirect.github.com/withastro/roadmap/blob/feat/serialised-config/proposals/0051-serialized-manifest.md). ##### Patch Changes - [#&#8203;13049](https://redirect.github.com/withastro/astro/pull/13049) [`2ed4bd9`](https://redirect.github.com/withastro/astro/commit/2ed4bd90f25a3e5a183d0bc862e3b359b8289b93) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Updates `astro add tailwind` to add the `@tailwindcss/vite` plugin instead of the `@astrojs/tailwind` integration - [#&#8203;12994](https://redirect.github.com/withastro/astro/pull/12994) [`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Returns a more helpful 404 page in dev if there is a trailing slash mismatch between the route requested and the `trailingSlash` configuration - [#&#8203;12666](https://redirect.github.com/withastro/astro/pull/12666) [`037495d`](https://redirect.github.com/withastro/astro/commit/037495d437d2328bf10ffadc22cc114ccf474c65) Thanks [@&#8203;Thodor12](https://redirect.github.com/Thodor12)! - Added additional generated typings for the content layer - Updated dependencies \[[`5361755`](https://redirect.github.com/withastro/astro/commit/536175528dbbe75aa978d615ba2517b64bad7879), [`db252e0`](https://redirect.github.com/withastro/astro/commit/db252e0692a0addf7239bfefc0220c525d63337d)]: - [@&#8203;astrojs/internal-helpers](https://redirect.github.com/astrojs/internal-helpers)[@&#8203;0](https://redirect.github.com/0).5.0 - [@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).1.0 ### [`v5.1.10`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5110) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.10) ##### Patch Changes - [#&#8203;13058](https://redirect.github.com/withastro/astro/pull/13058) [`1a14b53`](https://redirect.github.com/withastro/astro/commit/1a14b53678525379211c4a7cbcbc34a04c0e4f8d) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes broken type declaration - [#&#8203;13059](https://redirect.github.com/withastro/astro/pull/13059) [`e36837f`](https://redirect.github.com/withastro/astro/commit/e36837f91437a66d5c50eb1c399b3d812743251d) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused tsconfig path aliases to break if there was more than one wildcard pattern - [#&#8203;13045](https://redirect.github.com/withastro/astro/pull/13045) [`c7f1366`](https://redirect.github.com/withastro/astro/commit/c7f1366413692091bb8d62d901745a77fa663b18) Thanks [@&#8203;mtwilliams-code](https://redirect.github.com/mtwilliams-code)! - Fixes a bug where the some utility functions of the `astro:i18n` virtual module would return an incorrect result when `trailingSlash` is set to `never` ### [`v5.1.9`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#519) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.9) ##### Patch Changes - [#&#8203;12986](https://redirect.github.com/withastro/astro/pull/12986) [`8911bda`](https://redirect.github.com/withastro/astro/commit/8911bdacabb7fffb82bb3b3628467731ea233187) Thanks [@&#8203;wetheredge](https://redirect.github.com/wetheredge)! - Updates types and dev toolbar for ARIA 1.2 attributes and roles - [#&#8203;12892](https://redirect.github.com/withastro/astro/pull/12892) [`8f520f1`](https://redirect.github.com/withastro/astro/commit/8f520f1cc67db51feb966c710e72490a05b88954) Thanks [@&#8203;louisescher](https://redirect.github.com/louisescher)! - Adds a more descriptive error when a content collection entry has an invalid ID. - [#&#8203;13031](https://redirect.github.com/withastro/astro/pull/13031) [`f576519`](https://redirect.github.com/withastro/astro/commit/f5765196e9cd5c582da04ae3bceb4ee1d62b7eae) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Updates the server islands encoding logic to only escape the script end tag open delimiter and opening HTML comment syntax - [#&#8203;13026](https://redirect.github.com/withastro/astro/pull/13026) [`1d272f6`](https://redirect.github.com/withastro/astro/commit/1d272f6a5a3af16ad2ab9af41b7193ce67964b69) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a regression that prevented the import of Markdown files as raw text or URLs. ### [`v5.1.8`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#518) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.8) ##### Patch Changes - [#&#8203;12998](https://redirect.github.com/withastro/astro/pull/12998) [`9ce0038`](https://redirect.github.com/withastro/astro/commit/9ce003802109f704cc1f081759f3d2af2c1ea2c2) Thanks [@&#8203;Kynson](https://redirect.github.com/Kynson)! - Fixes the issue that audit incorrectly flag images as above the fold when the scrolling container is not body - [#&#8203;12990](https://redirect.github.com/withastro/astro/pull/12990) [`2e12f1d`](https://redirect.github.com/withastro/astro/commit/2e12f1d7526f12fa0e1e63482f100bbb81a8b36e) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused references to be incorrectly reported as invalid - [#&#8203;12984](https://redirect.github.com/withastro/astro/pull/12984) [`2d259cf`](https://redirect.github.com/withastro/astro/commit/2d259cf4abf27a4f0a067bedb32d0459c4fce507) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug in dev where files would stop being watched if the Astro config file was edited - [#&#8203;12984](https://redirect.github.com/withastro/astro/pull/12984) [`2d259cf`](https://redirect.github.com/withastro/astro/commit/2d259cf4abf27a4f0a067bedb32d0459c4fce507) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug where the content layer would use an outdated version of the Astro config if it was edited in dev - [#&#8203;12982](https://redirect.github.com/withastro/astro/pull/12982) [`429aa75`](https://redirect.github.com/withastro/astro/commit/429aa7547572915b5f7f9a4146529e704069128b) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Fixes an issue where server islands do not work in projects that use an adapter but only have prerendered pages. If an adapter is added, the server island endpoint will now be added by default. - [#&#8203;12995](https://redirect.github.com/withastro/astro/pull/12995) [`78fd73a`](https://redirect.github.com/withastro/astro/commit/78fd73a0dfbfab120111d5f1d1eaecd563bc82a6) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where `astro:actions` types would not work when using `src/actions.ts` - [#&#8203;13011](https://redirect.github.com/withastro/astro/pull/13011) [`cf30880`](https://redirect.github.com/withastro/astro/commit/cf3088060d45227dcb48e041c4ed5e0081d71398) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Upgrades Vite - [#&#8203;12733](https://redirect.github.com/withastro/astro/pull/12733) [`bbf1d88`](https://redirect.github.com/withastro/astro/commit/bbf1d8894e6ce5d2ebe45452a27072b9929053a8) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused the dev server to return an error if requesting "//" - [#&#8203;13001](https://redirect.github.com/withastro/astro/pull/13001) [`627aec3`](https://redirect.github.com/withastro/astro/commit/627aec3f04de424ec144cefac4a5a3b70d9ba0fb) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused Astro to attempt to inject environment variables into non-source files, causing performance problems and broken builds ### [`v5.1.7`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#517) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.7) ##### Patch Changes - [#&#8203;12361](https://redirect.github.com/withastro/astro/pull/12361) [`3d89e62`](https://redirect.github.com/withastro/astro/commit/3d89e6282235a8da45d9ddfe02bcf7ec78056941) Thanks [@&#8203;LunaticMuch](https://redirect.github.com/LunaticMuch)! - Upgrades the `esbuild` version to match `vite` - [#&#8203;12980](https://redirect.github.com/withastro/astro/pull/12980) [`1a026af`](https://redirect.github.com/withastro/astro/commit/1a026afb427cd4b472c8f1174a08f10086f4fb89) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where setting the status of a page to `404` in development would show the default 404 page (or custom one if provided) instead of using the current page - [#&#8203;12182](https://redirect.github.com/withastro/astro/pull/12182) [`c30070b`](https://redirect.github.com/withastro/astro/commit/c30070b9271e4c494e7cbf3a1c45515782034911) Thanks [@&#8203;braden-w](https://redirect.github.com/braden-w)! - Improves matching of 404 and 500 routes - Updated dependencies \[[`3d89e62`](https://redirect.github.com/withastro/astro/commit/3d89e6282235a8da45d9ddfe02bcf7ec78056941)]: - [@&#8203;astrojs/markdown-remark](https://redirect.github.com/astrojs/markdown-remark)[@&#8203;6](https://redirect.github.com/6).0.2 ### [`v5.1.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#516) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.6) ##### Patch Changes - [#&#8203;12956](https://redirect.github.com/withastro/astro/pull/12956) [`3aff68a`](https://redirect.github.com/withastro/astro/commit/3aff68a4195a608e92dc6299610a4b06e7bb96f1) Thanks [@&#8203;kaytwo](https://redirect.github.com/kaytwo)! - Removes encryption of empty props to allow server island cacheability - [#&#8203;12977](https://redirect.github.com/withastro/astro/pull/12977) [`80067c0`](https://redirect.github.com/withastro/astro/commit/80067c032f9ce5852f3315d1046b2d0c220ddcd5) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where accessing `astro:env` APIs or `import.meta.env` inside the content config file would not work - [#&#8203;12839](https://redirect.github.com/withastro/astro/pull/12839) [`57be349`](https://redirect.github.com/withastro/astro/commit/57be3494e2bdc178d073243c8cbfa10edb85b049) Thanks [@&#8203;mtwilliams-code](https://redirect.github.com/mtwilliams-code)! - Fix Astro.currentLocale returning the incorrect locale when using fallback rewrites in SSR mode - [#&#8203;12962](https://redirect.github.com/withastro/astro/pull/12962) [`4b7a2ce`](https://redirect.github.com/withastro/astro/commit/4b7a2ce9e743a5624617563022635678a5ba6051) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Skips updating content layer files if content is unchanged - [#&#8203;12942](https://redirect.github.com/withastro/astro/pull/12942) [`f00c2dd`](https://redirect.github.com/withastro/astro/commit/f00c2ddc31b5285d14c2f0808c01eafaaf31f5c9) Thanks [@&#8203;liruifengv](https://redirect.github.com/liruifengv)! - Improves the session error messages - [#&#8203;12966](https://redirect.github.com/withastro/astro/pull/12966) [`d864e09`](https://redirect.github.com/withastro/astro/commit/d864e0991e05438d4bdb5e14fab4f7f75efe2a1f) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Ensures old content collection entry is deleted if a markdown frontmatter slug is changed in dev ### [`v5.1.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#515) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.5) ##### Patch Changes - [#&#8203;12934](https://redirect.github.com/withastro/astro/pull/12934) [`673a518`](https://redirect.github.com/withastro/astro/commit/673a518b011e2df35a099f8205611d98a223a92a) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes a regression where the Astro Container didn't work during the build, using `pnpm` - [#&#8203;12955](https://redirect.github.com/withastro/astro/pull/12955) [`db447f2`](https://redirect.github.com/withastro/astro/commit/db447f2816836b635355cc2b0a73678facd155a5) Thanks [@&#8203;martrapp](https://redirect.github.com/martrapp)! - Lets TypeScript know about the "blocking" and "disabled" attributes of the `<link>` element. - [#&#8203;12922](https://redirect.github.com/withastro/astro/pull/12922) [`faf74af`](https://redirect.github.com/withastro/astro/commit/faf74af522f4499ab95531b24a0a1c14070abe8b) Thanks [@&#8203;adamchal](https://redirect.github.com/adamchal)! - Improves performance of static asset generation by fixing a bug that caused image transforms to be performed serially. This fix ensures that processing uses all CPUs when running in a multi-core environment. - [#&#8203;12947](https://redirect.github.com/withastro/astro/pull/12947) [`3c2292f`](https://redirect.github.com/withastro/astro/commit/3c2292f2f0accf1974b30dbe32f040c56413e731) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused empty content collections when running dev with NODE_ENV set ### [`v5.1.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#514) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.4) ##### Patch Changes - [#&#8203;12927](https://redirect.github.com/withastro/astro/pull/12927) [`ad2a752`](https://redirect.github.com/withastro/astro/commit/ad2a752662946e3a80849605f073812b06adf632) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where Astro attempted to decode a request URL multiple times, resulting in an unexpected behaviour when decoding the character `%` - [#&#8203;12912](https://redirect.github.com/withastro/astro/pull/12912) [`0c0c66b`](https://redirect.github.com/withastro/astro/commit/0c0c66bf0df23ab5a9bd2f147e303d8397d3222e) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Improves the config error for invalid combinations of `context` and `access` properties under `env.schema` - [#&#8203;12935](https://redirect.github.com/withastro/astro/pull/12935) [`3d47e6b`](https://redirect.github.com/withastro/astro/commit/3d47e6baff7a17d3ef09630b0d90362baef41f97) Thanks [@&#8203;AirBorne04](https://redirect.github.com/AirBorne04)! - Fixes an issue where `Astro.locals` coming from an adapter weren't available in the `404.astro`, when using the `astro dev` command, - [#&#8203;12925](https://redirect.github.com/withastro/astro/pull/12925) [`44841fc`](https://redirect.github.com/withastro/astro/commit/44841fc281f8920b32f4b4a94deefeb3ad069cf3) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Ensures image styles are not imported unless experimental responsive images are enabled - [#&#8203;12926](https://redirect.github.com/withastro/astro/pull/12926) [`8e64bb7`](https://redirect.github.com/withastro/astro/commit/8e64bb727f78f24b26fd1c0b1289ab1ccd611114) Thanks [@&#8203;oliverlynch](https://redirect.github.com/oliverlynch)! - Improves remote image cache efficiency by separating image data and metadata into a binary and sidecar JSON file. - [#&#8203;12920](https://redirect.github.com/withastro/astro/pull/12920) [`8b9d530`](https://redirect.github.com/withastro/astro/commit/8b9d53037879cd7ca7bee4d20b4e6f08e984a7df) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Processes markdown with empty body as remark and rehype plugins may add additional content or frontmatter - [#&#8203;12918](https://redirect.github.com/withastro/astro/pull/12918) [`fd12a26`](https://redirect.github.com/withastro/astro/commit/fd12a26ac6012c6b8a26f5a178e1bb46092a1806) Thanks [@&#8203;lameuler](https://redirect.github.com/lameuler)! - Fixes a bug where the logged output path does not match the actual output path when using `build.format: 'preserve'` - [#&#8203;12676](https://redirect.github.com/withastro/astro/pull/12676) [`2ffc0fc`](https://redirect.github.com/withastro/astro/commit/2ffc0fcab78b658a6ee73a8f8b291802093dce5e) Thanks [@&#8203;koyopro](https://redirect.github.com/koyopro)! - Allows configuring Astro modules TypeScript compilation with the `vite.esbuild` config - [#&#8203;12938](https://redirect.github.com/withastro/astro/pull/12938) [`dbb04f3`](https://redirect.github.com/withastro/astro/commit/dbb04f3c04ce868b5c985c848a2c40a3761a6dad) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug where content collections would sometimes appear empty when first running astro dev - [#&#8203;12937](https://redirect.github.com/withastro/astro/pull/12937) [`30edb6d`](https://redirect.github.com/withastro/astro/commit/30edb6d9d0aaf28bea1fec73879f63fe134507d0) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where users could use `Astro.request.headers` during a rewrite inside prerendered routes. This an invalid behaviour, and now Astro will show a warning if this happens. - [#&#8203;12937](https://redirect.github.com/withastro/astro/pull/12937) [`30edb6d`](https://redirect.github.com/withastro/astro/commit/30edb6d9d0aaf28bea1fec73879f63fe134507d0) Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where the use of `Astro.rewrite` would trigger the invalid use of `Astro.request.headers` ### [`v5.1.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#513) [Compare Source](https://redirect.github.com/withastro/astro/compare/[email protected]@5.1.3) ##### Patch Changes - [#&#8203;12877](https://redirect.github.com/withastro/astro/pull/12877) [`73a0788`](https://redirect.github.com/withastro/astro/commit/73a078835eb92a05c3f681ee025c93d6db85b907) Thanks [@&#8203;bluwy](https://redirect.github.com/bluwy)! - Fixes sourcemap warning generated by the `astro:server-islands` Vite plugin - [#&#8203;12906](https://redirect.github.com/withastro/astro/pull/12906) [`2d89492`](https://redirect.github.com/withastro/astro/commit/2d89492d73142ed5c7cea9448d841a9892e66598) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes a bug that caused pages that return an empty array from getStaticPath to match every path - [`011fa0f`](https://redirect.github.com/withastro/astro/commit/011fa0f00ce457cb6b582d36b6b5b17aa89f0a70) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where `astro:content` types would be erased when restarting the dev server - [#&#8203;12907](https://redirect.github.com/withastro/astro/pull/12907) [`dbf1275`](https://redirect.github.com/withastro/astro/commit/dbf1275987d4d9724eab471f1600fba9a50aefb8) Thanks [@&#8203;florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a regression around the server islands route, which was not passed to the adapters `astro:build:done` hook - [#&#8203;12818](https://redirect.github.com/withastro/astro/pull/12818) [`579bd93`](https://redirect.github.com/withastro/astro/commit/579bd93794b787485479aa3b16554409a0504ed2) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Fixes race condition where dev server would attempt to load collections before the content had loaded - [#&#8203;12883](https://redirect.github.com/withastro/astro/pull/12883) [`fbac92f`](https://redirect.github.com/withastro/astro/commit/fbac92f8bdbb5ee1312726b2a535a81271b3f7d6) Thanks [@&#8203;kaytwo](https://redirect.github.com/kaytwo)! - Fixes a bug where responses can be returned before session data is saved - [#&#8203;12815](https://redirect.github.com/withastro/astro/pull/12815) [`3acc654`](https://redirect.github.com/withastro/astro/commit/3acc65444c27d87b6f2d61bdfa7df0e0db4e2686) Thanks [@&#8203;ericswpark](https://redirect.github.com/ericswpark)! - Some non-index files that were incorrectly being treated as index files are now excluded - [#&#8203;12884](https://redirect.github.com/withastro/astro/pull/12884) [`d7e97a7`](https://redirect.github.com/withastro/astro/commit/d7e97a775dda7a851bfc10b06161f9a1d3631ed3) Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! - Adds `render()` to stub content types - [#&#8203;12883](https://redirect.github.com/withastro/astro/pull/12883) [`fbac92f`](https://redirect.github.com/withastro/astro/commit/fbac92f8bdbb5ee1312726b2a535a81271b3f7d6) Thanks [@&#8203;kaytwo](https://redirect.github.com/kaytwo)! - Fixes a bug where session data could be corrupted if it is changed after calling .set() - [#&#8203;12827](https://redirect.github.com/withastro/astro/pull/12827) [`7b5dc6f`](https://redir </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/creatorsgarten/contentsgarten). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent e64a34e commit dcb1eca

File tree

1 file changed

+409
-465
lines changed

1 file changed

+409
-465
lines changed

0 commit comments

Comments
 (0)