Skip to content

Release 0.22.4 — screenshot render hardening#131

Merged
ronaldeddings merged 1 commit into
mainfrom
release/0.22.4
Jul 5, 2026
Merged

Release 0.22.4 — screenshot render hardening#131
ronaldeddings merged 1 commit into
mainfrom
release/0.22.4

Conversation

@ronaldeddings

@ronaldeddings ronaldeddings commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Version bump to 0.22.4 covering the PR #130 adoption (screenshot render hardening, thanks @atabisz) plus the maintainer follow-up: oversized-render guard (no more silent size:0 captures) and raster-time region cropping (--region works past the browser canvas limit). Details in the release commit message.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Bumped the release version to 0.22.4 across the extension and package metadata.

…unt, oversized-render guard

DOM-render screenshot hardening (community contribution — thanks @atabisz,
#130): render failures now surface a real message for every error shape
(Error, DOM Event, string, opaque object) instead of a possible
"dom render failed: undefined"; the per-tab screenshot CORS DNR rule is
refcounted so concurrent same-tab captures can't tear it down under each
other; and the post-render webp re-encode is bounded by the same 30s guard
as the render itself.

Maintainer hardening on top: pages past the browser's canvas size limits
(e.g. 300,000px tall) used to return success with a silent 0-byte image —
toDataURL() yields "data:," when the backing store fails to allocate. That
is now an actionable error naming --region, --target-max-long-edge, and
--scale. And --region is now a real remedy there: region captures crop at
rasterize time (crop-sized canvas, offset draw of the decoded SVG), so they
work far past the canvas limit and skip the old full-render-then-re-encode
crop step.

Live-verified end to end: huge page → actionable error; --region on the
same page → valid capture; full/region/element/webp parity on normal
pages; concurrent same-tab race harness byte-identical across 3
interleavings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bf3c2df6-fc87-4f2e-a573-add8df5faf67

📥 Commits

Reviewing files that changed from the base of the PR and between af3666e and fbdc6ae.

📒 Files selected for processing (3)
  • extension/dist-mv2/manifest.json
  • extension/manifest.json
  • package.json

📝 Walkthrough

Walkthrough

Version numbers were incremented from 0.22.3 to 0.22.4 in extension/manifest.json, extension/dist-mv2/manifest.json, and package.json. No other changes were made to these files.

Changes

Version Bump

Layer / File(s) Summary
Version field updates
package.json, extension/manifest.json, extension/dist-mv2/manifest.json
The version field is updated from 0.22.3 to 0.22.4 in all three files.

Estimated code review effort: 1 (Trivial) | ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/0.22.4

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ronaldeddings ronaldeddings merged commit b465248 into main Jul 5, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant