Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency astro to v5.2.5 #957

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
astro (source) 5.1.10 -> 5.2.5 age adoption passing confidence

Release Notes

withastro/astro (astro)

v5.2.5

Compare Source

Patch Changes
  • #​13133 e76aa83 Thanks @​ematipico! - Fixes a bug where Astro was failing to build an external redirect when the middleware was triggered

  • #​13119 ac43580 Thanks @​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

Compare Source

Patch Changes

v5.2.3

Compare Source

Patch Changes
  • #​13113 3a26e45 Thanks @​unprintable123! - Fixes the bug that rewrite will pass encoded url to the dynamic routing and cause params mismatch.

  • #​13111 23978dd Thanks @​ascorbic! - Fixes a bug that caused injected endpoint routes to return not found when trailingSlash was set to always

  • #​13112 0fa5c82 Thanks @​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

Compare Source

Patch Changes

v5.2.1

Compare Source

Patch Changes
  • #​13095 740eb60 Thanks @​ascorbic! - Fixes a bug that caused some dev server asset requests to return 404 when trailingSlash was set to "always"

v5.2.0

Compare Source

Minor Changes
  • #​12994 5361755 Thanks @​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.

  • #​12979 e621712 Thanks @​ematipico! - Adds support for redirecting to external sites with the redirects configuration option.

    Now, you can redirect routes either internally to another path or externally by providing a URL beginning with http or https:

    // 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',
        },
      },
    });
  • #​13084 0f3be31 Thanks @​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:

    // 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:

    // 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.

Patch Changes

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.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 2, 2025
Copy link

vercel bot commented Feb 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
emoji-blast ❌ Failed (Inspect) Feb 9, 2025 3:56pm

@renovate renovate bot enabled auto-merge (squash) February 2, 2025 14:41
Copy link

changeset-bot bot commented Feb 2, 2025

⚠️ No Changeset found

Latest commit: 916549e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from 6e1d7df to b44aee6 Compare February 2, 2025 18:30
@renovate renovate bot changed the title chore(deps): update dependency astro to v5.2.0 chore(deps): update dependency astro to v5.2.1 Feb 2, 2025
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from b44aee6 to 0288701 Compare February 3, 2025 16:19
@renovate renovate bot changed the title chore(deps): update dependency astro to v5.2.1 chore(deps): update dependency astro to v5.2.2 Feb 3, 2025
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from 0288701 to ad6d384 Compare February 3, 2025 19:15
@renovate renovate bot changed the title chore(deps): update dependency astro to v5.2.2 chore(deps): update dependency astro to v5.2.3 Feb 3, 2025
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from ad6d384 to b87673f Compare February 4, 2025 03:31
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from b87673f to a7be964 Compare February 6, 2025 23:04
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from a7be964 to 386bd17 Compare February 7, 2025 02:28
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from 386bd17 to dfbfc06 Compare February 7, 2025 06:15
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from dfbfc06 to aa5863c Compare February 7, 2025 10:51
@renovate renovate bot changed the title chore(deps): update dependency astro to v5.2.3 chore(deps): update dependency astro to v5.2.4 Feb 7, 2025
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from aa5863c to 4476242 Compare February 7, 2025 19:34
@renovate renovate bot changed the title chore(deps): update dependency astro to v5.2.4 chore(deps): update dependency astro to v5.2.5 Feb 7, 2025
@renovate renovate bot force-pushed the renovate/astro-5.x-lockfile branch from 4476242 to 916549e Compare February 9, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants