Skip to content

Add details about pinning Vite for Astro 6 upgrade.#13579

Closed
gregturn wants to merge 2 commits into
withastro:mainfrom
gregturn:astro-6-cloudflare
Closed

Add details about pinning Vite for Astro 6 upgrade.#13579
gregturn wants to merge 2 commits into
withastro:mainfrom
gregturn:astro-6-cloudflare

Conversation

@gregturn
Copy link
Copy Markdown

Add details in the Cloudflare-specific upgrade details about pinning Vite to a 7.x version.

Related: withastro/astro#16029

Description

When upgrading to Astro 6 on Cloudflare, there are some transitive dependencies that result in Vite 7.x and 8.x getting pulled in. Well, Vite 8.x isn't supported by Astro and this causes things to break. Pinning the version of Vite is a suitable workaround that should be documented to help people migrate and adopt Astro faster.

Add details in the Cloudflare-specific upgrade details about pinning Vite to a 7.x version.

Related: withastro/astro#16029
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 23, 2026

👷 Deploy Preview for astro-docs-2 processing.

Name Link
🔨 Latest commit 35c6943
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/69c1cbf634788600084fdc21

@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented Mar 23, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/integrations-guide/cloudflare.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@astrobot-houston
Copy link
Copy Markdown
Contributor

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any broken links you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I wasn't able to reproduce with the command available in the issue but I guess this can be useful for our user.
That's said I'm not sure the current wording/tone match our docs style so I left a suggestion. Feel free to improve the wording if it doesn't suit you, but I think something like this would be more appropriate in the docs.

Comment thread src/content/docs/en/guides/integrations-guide/cloudflare.mdx Outdated
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
@FredKSchott
Copy link
Copy Markdown
Member

Note that we're still chasing down a reproduction in withastro/astro#16029 so shouldn't merge anything here until we realize the scope of the issue

@yanthomasdev yanthomasdev added the help - confirm behaviour Walk through the example/issue and confirm this is a general behaviour, or a correct update to make. label Mar 24, 2026
@gregturn
Copy link
Copy Markdown
Author

gregturn commented Mar 25, 2026

withastro/astro#16062 (which produces a user-facing warning) supercedes a doc update. Withdrawing. Thanks everyone for working with me.

@gregturn gregturn closed this Mar 25, 2026
@gregturn gregturn deleted the astro-6-cloudflare branch March 26, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help - confirm behaviour Walk through the example/issue and confirm this is a general behaviour, or a correct update to make.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants