Skip to content

All versions since v1.0.0

v1.0.0

1.0.0 (2025-11-08)

Features

  • add experimental astro-snapshot integration (e5eacaf)
  • add SocialImageMetadata component (de18a1e)

Bug Fixes

  • incorrect import file extension in utils.ts (8e1e17c)
  • typo in jsr.json (1fab545)

v2.0.0

2.0.0 (2025-11-19)

⚠ BREAKING CHANGES

  • A new overwrite option has been added. The default setting is false, meaning images will be skipped if they already exist. To get back the previous functionality (always overwrite), set the overwrite option to true
  • package.json is no longer exported by the package. Stay on v1.0.0 if you need access to this file

Features

  • add overwrite option to enable overwriting existing images (#19) (8d26383)
  • improve log styling (#18) (16fc4b7)

Build System

  • remove package.json from exports (#16) (4b07718)

v2.1.0

2.1.0 (2025-11-27)

Features

  • add a setViewportOptions option for passing config directly to Puppeteer’s page.setViewport() method (#25) (a4b82d8)

Bug Fixes

  • npm package has broken exports due to unexpected folder structure (#21)

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)