fix(website): update astro 5.2.6 → 5.3.1 (#32544)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | dependencies | minor | [`5.3.0` -> `5.3.1`](https://renovatebot.com/diffs/npm/astro/5.2.6/5.3.1) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>withastro/astro (astro)</summary> ### [`v5.3.1`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#531) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.3.0...astro@5.3.1) ##### Patch Changes - [#​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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"@astrojs/starlight-tailwind": "3.0.0",
|
||||
"@astrojs/tailwind": "5.1.5",
|
||||
"@playform/compress": "0.1.7",
|
||||
"astro": "5.3.0",
|
||||
"astro": "5.3.1",
|
||||
"astro-better-image-service": "2.1.2",
|
||||
"astro-integration-lottie": "0.3.2",
|
||||
"astro-robots-txt": "1.0.0",
|
||||
|
||||
Reference in New Issue
Block a user