All versions since v1.0.0
v1.0.0
1.0.0 (2025-11-08)
Features
Bug Fixes
v2.0.0
2.0.0 (2025-11-19)
⚠ BREAKING CHANGES
- A new
overwriteoption has been added. The default setting isfalse, meaning images will be skipped if they already exist. To get back the previous functionality (always overwrite), set theoverwriteoption totrue - 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
v2.1.0
2.1.0 (2025-11-27)
Features
- add a
setViewportOptionsoption for passing config directly to Puppeteer’spage.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-snapshotto v2.2.1 to fix this issue.If you use Astro 5 with the JSR package, you can either:
- do nothing (this may result in 2 versions of Astro being downloaded)
- pin
astro^5.0.0to force the integration to use that version- upgrade to Astro 6
Features
Bug Fixes
v2.2.1
2.2.1 (2026-03-30)
[!NOTE] The previous release required
astro^6.0.0and 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.