Skip to content

v7.0.0

Choose a tag to compare

@satnaing satnaing released this 29 Oct 18:01
· 35 commits to main since this release

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.4 is required (Astro 7.4 needs it).
    Check the Node version on your host too. eg: set NODE_VERSION=24 in 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

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

Full Changelog: v6.1.0...v7.0.0