astro-minimax 0.8.1 is a maintenance release that fixes several issues discovered in 0.8.0.
Bug Fixes
Mermaid Theme Adaptation
Fixed an issue where Mermaid diagrams wouldn’t update colors when switching between light/dark themes. Diagrams now correctly re-render with the appropriate color scheme on theme change.
Impact: All blog pages using Mermaid diagrams
Cloudflare Pages Deployment
Fixed a build failure caused by top-level await in functions/api/chat.ts. Vector index loading is now lazy-loaded, initializing only on first request.
Impact: All users deploying to Cloudflare Pages
OG Image Paths
Fixed incorrect path for dynamically generated OG images (/posts/SLUG/index.png → /posts/SLUG.png), resolving 404 errors when copying share images.
Impact: All articles using dynamic OG images
OG Image QR Code URLs
Fixed QR codes in OG images pointing to incorrect URLs (file paths instead of article paths). QR codes now correctly point to /zh/posts/SLUG or /en/posts/SLUG.
Impact: All dynamically generated OG images
Documentation Links
Fixed multiple broken links pointing to a non-existent color customization document.
Changes
- Removed misleading “dual version support” phrasing from documentation, consistently using “Astro v6”
- Removed
ogImagefields from several posts to enable dynamic OG image generation with QR codes
Upgrade Guide
If you’re using 0.8.0, simply update dependencies:
pnpm update @astro-minimax/core @astro-minimax/ai @astro-minimax/cli @astro-minimax/notifybashAcknowledgments
Thanks to all users who reported issues!
评论区
文明评论,共建和谐社区