fix(deps): update dependency astro to v5.2.2 #1002
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.1.10->5.2.2Release Notes
withastro/astro (astro)
v5.2.2Compare Source
Patch Changes
187c4d3Thanks @ascorbic! - Fixes a bug that caused peer dependency errors when runningastro add tailwindv5.2.1Compare Source
Patch Changes
740eb60Thanks @ascorbic! - Fixes a bug that caused some dev server asset requests to return 404 when trailingSlash was set to "always"v5.2.0Compare Source
Minor Changes
#12994
5361755Thanks @ascorbic! - Redirects trailing slashes for on-demand pagesWhen the
trailingSlashoption is set toalwaysornever, 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.
#12979
e621712Thanks @ematipico! - Adds support for redirecting to external sites with theredirectsconfiguration option.Now, you can redirect routes either internally to another path or externally by providing a URL beginning with
httporhttps:#13084
0f3be31Thanks @ematipico! - Adds a new experimental virtual moduleastro:configthat exposes a type-safe subset of yourastro.config.mjsconfigurationThe 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.serializeManifestfeature flag to your Astro config:Then, you can access the module in any file inside your project to import and use values from your Astro config:
For a complete overview, and to give feedback on this experimental API, see the Serialized Manifest RFC.
Patch Changes
#13049
2ed4bd9Thanks @florian-lefebvre! - Updatesastro add tailwindto add the@tailwindcss/viteplugin instead of the@astrojs/tailwindintegration#12994
5361755Thanks @ascorbic! - Returns a more helpful 404 page in dev if there is a trailing slash mismatch between the route requested and thetrailingSlashconfiguration#12666
037495dThanks @Thodor12! - Added additional generated typings for the content layerUpdated dependencies [
5361755,db252e0]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.