惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
量子位
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
爱范儿
爱范儿
博客园 - 【当耐特】
Vercel News
Vercel News
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
博客园 - 叶小钗
博客园_首页
V
Visual Studio Blog
宝玉的分享
宝玉的分享
B
Blog
MyScale Blog
MyScale Blog
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
L
LangChain Blog
V
V2EX

The Astro Blog

Astro 6.4 Astro 6.3 Starlight 0.39 Astro 6.2 What's new in Astro - April 2026 What's new in Astro - March 2026 Astro 6.1 CloudCannon Joins Astro as an Official CMS Partner Astro 6.0 What's new in Astro - February 2026 What's new in Astro - January 2026 Astro 5.17 Supporting the future of Astro The Astro Technology Company joins Cloudflare Astro 6 Beta What's new in Astro - December 2025 What's new in Astro - November 2025 Astro 5.16 Stainless Sponsors Astro, Launches Astro-Powered Docs Platform What's new in Astro - October 2025 Astro 5.15 Spirit of Astro: meet the winning designs What's new in Astro - September 2025 Astro 5.14 Cloudflare Donates $150,000 to Support Astro's Open Source Mission Webflow Donates $150,000 to Support Astro's Open Source Mission Mux: Our Official Video Partner Unleashing creativity: How CodeTV built a video streaming platform with Astro and Mux | Astro What's new in Astro - August 2025 Astro 5.13
Astro 5.8
Matt Kane · 2025-05-19 · via The Astro Blog

Astro 5.8 is a Nodally fresh update which bumps the minimum required version of Node.js.

🔄 Keeping things up to date:

  • Updated minimum Node.js version to 18.20.8

To upgrade an existing project, use the automated @astrojs/upgrade CLI tool. Alternatively, upgrade manually by running the upgrade command for your package manager:

# Recommended:

npx @astrojs/upgrade

# Manual:

npm install astro@latest

pnpm upgrade astro --latest

yarn upgrade astro --latest

Updated minimum Node.js version to 18.20.8

Node.js 18 has now reached end-of-life and will no longer receive security updates or support. Therefore, Astro 5.8 now requires v20.3.0, v22.0.0 or higher. (v19 and v21 are not supported.) To help users upgrade, Astro will temporarily continue to support Node.js 18.20.8, which is the final LTS release of Node.js 18.

We will drop support for Node.js 18 entirely in a future release, so we recommend upgrading to Node.js 22 as soon as possible. See Astro’s Node.js support policy for more details about how and when we upgrade the minimum Maintenance LTS version.

You can check your current Node.js version by running:

You will need to update both your local development environment and any CI/CD environments to use Node.js 18.20.8 or one of the supported versions. You can check the docs for your deployment platform to see how to set the Node.js version. This might involve choosing an option in a dashboard, setting an environment variable, or adding a configuration file to your project. Many platforms will respect the NODE_VERSION environment variable or a .nvmrc file.

For example, to set the Node.js version to 22, you can create a .nvmrc file in your project root with the following content:

See the nvm docs for more details on how to use .nvmrc files.

Bug fixes

As always, we’ve been working hard on fixing issues since the 5.7 release. See the changelog for all the details.

The Astro core team is:

Ben Holmes , Caleb Jasik , Chris Swithinbank , Emanuele Stoppa , Erika , Florian Lefebvre , Fuzzy , HiDeoo , Luiz Ferraz , Matt Kane , Matthew Phillips , Nate Moore , Reuben Tier , Sarah Rainsberger , and Yan Thomas .

Thanks to all the other contributors who helped make Astro 5.8 possible, with code and docs additions and improvements, including:

Adam Matthiesen, Alan, Alex Carpenter, Alexey Zimarev, Angelo Verlain Shema, Ariel K, Armand Philippot, Augusto César Perin, Bugo, casungo, emily-shen, Federico Tibaldo, Felix Schneider, Giles Butler, Ginger, HAL, happydev, Hiromasa Fujimori, John Memmott, Jonathan Yeong, JP Wienekus, Juan Diaz, Julia March, Junseong Park, Katsuyuki Karasawa, knj, Leo Developer, Lofty-Brambles, Louis Escher, Luiz Gonzaga dos Santos Filho, Luan Rodrigues, Marcos Corrochano Arroyo, Martin Trapp, Matt Yoho, Matthew Justice, Max Chang, Michael Stramel, Murilo Silva, Ming-jun Lu, Niall O’Brien, Nils Haberkamp, Nin3, Paul Valladares, Petr Paločko, randomguy-2650, Roman Stetsyk, Sajjad Hashemian situ2001, Soufiane, Spencer Davies, Tanishq Manuja, Thomas Bonnet, Tillmann Hübner, vrabe, WP Infusion, Zev Ross, Игорь Теплостанский, , and /jb.

We look forward to seeing what you build with Astro 5.8! If you have questions, comments, or just want to say hi, drop by the Astro Discord.