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

推荐订阅源

博客园 - Franky
N
Netflix TechBlog - Medium
Google Online Security Blog
Google Online Security Blog
月光博客
月光博客
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
V2EX
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
M
MIT News - Artificial intelligence
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
The Cloudflare Blog
Blog — PlanetScale
Blog — PlanetScale
F
Full Disclosure
G
Google Developers Blog
罗磊的独立博客
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
A
About on SuperTechFans
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
GbyAI
GbyAI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
The Register - Security
The Register - Security
U
Unit 42
D
Docker
Martin Fowler
Martin Fowler
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
阮一峰的网络日志
阮一峰的网络日志
C
Cybersecurity and Infrastructure Security Agency CISA
博客园_首页
Google DeepMind News
Google DeepMind News

Release notes from astro-paper

Release v6.1.0 · satnaing/astro-paper Release v5.5.1 · satnaing/astro-paper Release v5.5.0 · satnaing/astro-paper Release v5.4.3 · satnaing/astro-paper Release v5.4.2 · satnaing/astro-paper Release v5.4.1 · satnaing/astro-paper Release v5.4.0 · satnaing/astro-paper Release v5.3.0 · satnaing/astro-paper Release v5.2.0 · satnaing/astro-paper Release v5.1.1 · satnaing/astro-paper
Release v6.0.0 · satnaing/astro-paper
2026-05-31 · via Release notes from astro-paper

AstroPaper v6.0.0

AstroPaper v6 is a complete rewrite built on Astro v6, Tailwind CSS v4, and TypeScript v6. The internals have been rebuilt around Astro's new stable primitives while keeping the same minimal, clean look.

AstroPaper-v6

Read the full writeup: AstroPaper 6.0 blog post


⚠️ Breaking Changes

  • Config restructuredSITE / constants.ts replaced by a single astro-paper.config.ts at the project root using defineAstroPaperConfig() for full IntelliSense
  • Content directory changed — blog posts moved from src/data/blog/ to src/content/posts/; standalone pages moved to src/content/pages/
  • Collection APIdefineCollection with type: "content" replaced by Astro's glob() loader in src/content.config.ts
  • Several utility exports and component names updated

🆕 What's New

Astro v6 & ecosystem upgrades

  • Ships with Astro v6.3, Tailwind CSS v4, and TypeScript v6
  • Stable Content Layer API — glob() loader replaces the old collection pattern
  • Stable Fonts API — experimental.fonts graduated to a top-level fonts key (#632)

New unified config system (#631)

All configuration — site metadata, pagination, feature flags, social links, share links — lives in one file:

// astro-paper.config.ts
export default defineAstroPaperConfig({
  site: { url, title, description, author, lang, timezone },
  posts: { perPage, perIndex, scheduledPostMargin },
  features: { lightAndDarkMode, dynamicOgImage, showArchives, showBackButton, editPost, search },
  socials: [...],
  shareLinks: [...],
});

MDX support (#631, closes #131)

Posts can now use .mdx — embed components, JSX expressions, and imports. Both .md and .mdx are picked up automatically.

Base path / subdirectory deploy support (#631, closes #493)

All internal links go through getRelativeLocaleUrl() and withBase helpers. Deploying to a subdirectory (e.g. /astro-paper) works out of the box.

i18n string layer (#631)

All UI strings extracted to src/i18n/lang/en.ts. Adding a new language requires only a new file under src/i18n/lang/.

Design token system

Color palette extended from 5 to 7 tokens in src/styles/theme.css, registered to Tailwind v4 via @theme inline. Two new tokens: --accent-foreground and --muted-foreground.

Other features in this release

  • ResponsiveTable component for wrapping tables in MDX posts (#634)
  • Google Sans Code via Astro Fonts API (#602)

🐛 Bug Fixes

  • Fix back-to-top button DOM placement (#641)
  • Decouple ClientRouter from lightAndDarkMode feature flag (#631)
  • Adjust icon button alignment in mobile header (#631)
  • Improve muted-foreground color contrast for a11y (#631)
  • Slugify now supports better acronyms and preserves non-latin characters (#606)
  • Add autofocus in search bar and update search result title style (#603)

🔧 Other Changes

  • Optimize theme script to prevent render-blocking (#601)
  • _components/ scoping — post-specific components live under pages/posts/[...slug]/_components/
  • Adjacent post navigation (prev/next) computed once in getStaticPaths, not per page
  • PostLayout.astro handles SEO/structured data only; post page logic lives in the page file

Full Changelog: v5.5.1...v6.0.0