Repository navigation
v7.0.0
Highlights
AstroPaper v7 runs on Astro v7 (7.4.2).
No new theme features in this one. It's the Astro upgrade plus a few fixes.
Breaking changes
If you haven't customized the theme much, you probably don't need to do anything except checking your Node version.
- Node.js
>=22.23.4is required (Astro 7.4 needs it).
Check the Node version on your host too. eg: setNODE_VERSION=24in Cloudflare Pages. - Whitespace between inline elements is stripped by default (Astro's new
compressHTML: 'jsx').
The theme's own components are fixed (Breadcrumb.astro,src/pages/index.astro). If you've added your own, check for missing spaces and add{" "}where needed. - Astro's new compiler is stricter. Unclosed HTML tags now fail the build.
See Astro's v7 upgrade guide for the full list.
Fixes
- Prev/next post links now point the right way (#674 by @LazyEngineer99)
- Markdown table column alignment works (#668 by @LazyEngineer99)
- Skip-to-content moves focus to the main content (#665 by @hazuki-keatsu)
- No more duplicate
view-transition-namewhen posts share the same title (#662 by @WXY-V1hZ)
Others
- Grouped Dependabot updates (#699)
What's Changed
- feat: astro v7 upgrade by @satnaing in #664
- fix: duplicate view-transition-name when posts share the same title by @WXY-V1hZ in #662
- fix: prev/next post links point the wrong direction by @LazyEngineer99 in #674
- fix: respect markdown table column alignment by @LazyEngineer99 in #668
- build(deps): bump @astrojs/rss from 4.0.18 to 4.0.19 by @dependabot[bot] in #672
- fix: resolve the failure of skip-to-content button by @hazuki-keatsu in #665
- build(deps): bump astro to 7.4.2 and add grouped dependabot config by @satnaing in #699
- build(deps): bump the actions group with 3 updates by @dependabot[bot] in #700
- build(deps): bump satori from 0.26.0 to 0.33.5 in the security group across 1 directory by @dependabot[bot] in #701
New Contributors
- @WXY-V1hZ made their first contribution in #662
- @LazyEngineer99 made their first contribution in #674
Full Changelog: v6.1.0...v7.0.0