Skip to content

All versions since v2.2.0

v2.2.0

2.2.0 (2026-03-17)

[!IMPORTANT] Astro 5 is still supported, but due to Deno limitations, the version required by this package is astro^6.0.0. However, we only use Astro for types now, so it won’t break the build if you use a different version.

If you use Astro 5 with the npm package, I recommend upgrading astro-snapshot to v2.2.1 to fix this issue.

If you use Astro 5 with the JSR package, you can either:

  1. do nothing (this may result in 2 versions of Astro being downloaded)
  2. pin astro^5.0.0 to force the integration to use that version
  3. upgrade to Astro 6

Features

Bug Fixes

  • replace Astro preview with sirv to prevent config mismatches between Astro versions (#34) (b773028)

v2.2.1

2.2.1 (2026-03-30)

[!NOTE] The previous release required astro^6.0.0 and specified it as a production dependency, potentially forcing Astro 6 to be downloaded in your project. This patch fixes that.

In the npm release, Astro is now specified as a peer dependency supporting both Astro 5 & 6, so the integration will use whatever version of Astro you’re using. The JSR release is unchanged.

Bug Fixes

  • astro specified as a regular dependency instead of a peer dependency in npm build (#40) (2b7a247)

v2.3.0 Latest

2.3.0 (2026-04-21)

Features

  • add support for screenshotting remote sites (#60) (e5d0022)
  • eager config validation (#59) (2941f59)

Bug Fixes

  • JSR release missing README.md (#41) (700f144)
  • output paths ending in .jpg throw type error (#55) (dbf8c2f)
  • uppercase file extensions for output images cause the build to fail (#56) (f7201c5)
  • zero width/height falls back to default values (#57) (8b9e0fe)