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

推荐订阅源

博客园 - 聂微东
GbyAI
GbyAI
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
Visual Studio Blog
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
B
Blog
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
雷峰网
雷峰网
爱范儿
爱范儿
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
Microsoft Security Blog
Microsoft Security Blog
Jina AI
Jina AI
P
Proofpoint News Feed
A
About on SuperTechFans
I
InfoQ
F
Fortinet All Blogs
L
LangChain Blog
T
Tailwind CSS Blog

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 0.25 Release Notes
Fred Schott, Ben Holmes · 2022-03-27 · via The Astro Blog

Astro v0.25.0 ha been released with some exciting new updates to share:

  • New: Astro Integrations
  • New: astro add command
  • Improved Build CLI Output
  • Astro + Shiki Syntax Highligher

Oh, and stay tuned tomorrow for another, VERY exciting announcement…

New: Astro Integrations

There are a few undeniable truths about the world: The sun will rise. Pizza tastes delicious. Developers love to customize their build tools.

We can’t do anything about the first two, but we can make Astro even easier for you to customize. You should be able to bring your frameworks (React vs. Svelte, go!), CSS tools (Tailwind vs. Sass, go!), and packages into Astro with just a few keystrokes.

Astro Integrations are a brand new concept to make this dream a reality. Integrations unlock a whole galaxy of features in a few lines of code.

We’ll share a lot more on this over the next two weeks, but you can start exploring the new API today on our docs site.. To migrate an existing Astro project to this new API, read through our migration guide.

import lit from '@astrojs/lit';

import react from '@astrojs/react';

export default {

renderers: ['@astrojs/renderer-lit', '@astrojs/renderer-react'],

integrations: [lit(), react()],

}

New: astro add command

To make integrations even easier to use, Astro v0.25 includes a new, experimental CLI command: astro add 🚀

astro add wizard to 1. enable frameworks 2. select other integrations 3. update your config 4. install all dependencies

Running astro add will walk you through adding new integrations to your project. Once you’ve selected the integrations to add, Astro will automatically make the necessary changes to your config file and install any new dependencies into your project.

Improved Build CLI Output

Until now, the astro build command refused to tell you more than 2 things:

  1. Your build has started.
  2. Your build has finished.

By testing Astro on larger-and-larger projects, we know first-hand that long blocks of silence are never very inspiring. Behind the scenes, there were countless details being reported about your build, but that were hidden away in debug logs.

Starting in Astro v0.25.0, those details are now front-and center in your build output, giving you helpful information about how your build is progressing.

Try running astro build in your project today to see the new, pretty output. 🚀

Astro + Shiki Syntax Highligher

We love to find sensible defaults that “just work” out-of-the-box. In Astro v0.25.0, we have migrated to Shiki as our new default syntax highlighter. Shiki is a super-powerful syntax highlighter that unlocks out-of-the-box support for popular VSCode themes and syntax highlighting in your frontend code blocks.

If you prefer to keep Prism as your syntax highlighter, don’t worry. You can set the syntaxHighlight option to 'prism' in your project configuration to keep the previous, v0.24.0 default behavior.

Check our new syntax highlighting docs for full details.


Thank you to every contributor and early preview tester who made this release possible. Follow Astro on Twitter for more updates and join us on Discord to get involved with everything Astro.