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

推荐订阅源

有赞技术团队
有赞技术团队
AWS News Blog
AWS News Blog
P
Privacy & Cybersecurity Law Blog
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
G
GRAHAM CLULEY
NISL@THU
NISL@THU
K
Kaspersky official blog
Security Latest
Security Latest
L
LINUX DO - 热门话题
C
CERT Recently Published Vulnerability Notes
P
Palo Alto Networks Blog
Spread Privacy
Spread Privacy
Simon Willison's Weblog
Simon Willison's Weblog
A
Arctic Wolf
C
Cisco Blogs
C
CXSECURITY Database RSS Feed - CXSecurity.com
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
T
Tor Project blog
T
Threat Research - Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
I
InfoQ
P
Privacy International News Feed
Project Zero
Project Zero
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Martin Fowler
Martin Fowler
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
U
Unit 42
M
MIT News - Artificial intelligence
Latest news
Latest news
I
Intezer
MyScale Blog
MyScale Blog
Google DeepMind News
Google DeepMind News
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
The Last Watchdog
The Last Watchdog
Microsoft Security Blog
Microsoft Security Blog
美团技术团队
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
N
News | PayPal Newsroom
Google Online Security Blog
Google Online Security Blog
V
Vulnerabilities – Threatpost

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 What's new in Astro - July 2025 Astro 5.12 Starlight 0.35 Astro 5.11 What's new in Astro - June 2025 Live Content Collections: A Deep Dive Introducing… Astro Mart Astro Solstice Festival Astro 5.10 Astro 5.9 What's new in Astro - May 2025 Astro 5.8 What's new in Astro - April 2025 2025 Technical Steering Committee Starlight April Update Astro 5.7 Astro Agency Partner Program Astro 5.6 What's new in Astro - March 2025 Astro 5.5 What's new in Astro - February 2025 Astro 5.4 Starlight 0.32 Astro 5.3 What's new in Astro - January 2025 Astro 5.2 2024 year in review What's new in Astro - December 2024 Astro 5.1 Astro 5.0 Google IDX: Our Official Online Editor Partner What's new in Astro - November 2024 What's new in Astro - October 2024 Astro x Cloudinary SDK What's new in Astro - September 2024 Community Loaders for Astro Content Layer Astro x Hygraph: Content Loader Astro x Cloudinary: Content Loader Astro x Storyblok: Content Loader Content Layer: A Deep Dive Starlight 0.28 Astro 5.0 Beta Release The $100,000 Astro Ecosystem Fund Fall Update Goodbye Studio, Hello DB What's new in Astro - August 2024 Astro 4.15 Astro 4.14 Astro 4.13 What's new in Astro - July 2024 Astro 4.12: Server Islands Netlify: Our Official Deployment Partner What's new in Astro - June 2024 Astro 4.11 Astro Together 2024 Server Islands The Astro Content Layer Zero-JavaScript View Transitions Astro 4.10 Starlight turns one year old! What's new in Astro - May 2024 Astro 4.9 Astro 4.8 What's new in Astro - April 2024 Astro 4.6 What's new in Astro - March 2024 Migrating 500+ tests from Mocha to Node.js Astro DB: A Deep Dive The Astro Developer Portal Astro DB Astro 4.5
Astro 4.7
Erika, Emanuele Stoppa, Matthew Phillips, Nate Moore, Bjorn Lu, · 2024-04-25 · via The Astro Blog

Astro 4.7 is now available! This release includes extensive improvements to the API for making toolbar apps, more ways to keep your Astro project up to date, and more.

Full release highlights include:

  • Significant improvements to the Dev Toolbar API
  • Update checker
  • allowJs: true for strictest TypeScript preset

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

Astro 4.7 includes considerable improvements to the API for making toolbar apps. One of our main goal this release was to make it easier to build and maintain toolbar apps, and we are excited to bring you:

  • a defineToolbarApp() helper that makes it easier to define toolbar apps. This pattern should feel familiar as it is similar to defineConfig() in your Astro config and defineMiddleware() for defining middleware.
  • new app and server helpers to make it easier to send and receive messages between the toolbar and the server.
  • a brand new starter project for building toolbar apps. This will help you get started building your own toolbar apps in no time. Run npm create astro@latest -- --template toolbar-app and start building your toolbar app.
  • a recipe guiding you step-by-step through building your own toolbar app from scratch, including how to build your app using JSX frameworks like React or Preact.
  • revamped documentation of the Dev Toolbar App API, with all examples updated to show using the new methods.

We hope you’ll enjoy these improvements and we can’t wait to see what you build with them!

Update checker

Starting from this release, Astro will now check for updates when you run the dev server. If a new version is available, you’ll see a message in the terminal with instructions on how to update and in the dev toolbar.

A screenshot of the message that Astro shows in the terminal when an update is available: update > New version of Astro available: 4.6.3. Run npx @astrojs/upgrade to update.

To avoid spamming you with too many update messages, Astro will only check for updates once every 10 days and will only show the message if you’re multiple versions behind. You can disable this feature by running astro preferences disable checkUpdates or setting the ASTRO_DISABLE_UPDATE_CHECK environment variable to false.

allowJs: true for strictest TypeScript preset

Our strictest TypeScript preset previously included allowJs: false, to disable the use of .js files completely. This proved to be a bit too strict for the average user and often caused confusion. We’ve now changed this to allowJs: true, which allows you to use .js files in your project.

This should not be a breaking change, but if you’re using the strictest preset and would like to still disable .js files, set allowJs: false manually in your tsconfig.json.

Bug Fixes

As usual, Astro 4.7 includes more bug fixes and smaller improvements that couldn’t make it into this post! Check out the full release notes to learn more.