Skip to content

Release 0.22.5 — screenshot capture hardening rollout#132

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

Release 0.22.5 — screenshot capture hardening rollout#132
ronaldeddings merged 1 commit into
mainfrom
release/0.22.5

Conversation

@ronaldeddings

Copy link
Copy Markdown
Collaborator

Version bump to 0.22.5 for the public auto-update rollout of the screenshot capture hardening line: real render error messages for every error shape, per-tab CORS rule refcounting for concurrent captures, a bounded webp re-encode, an actionable error for renders past the browser canvas limit (instead of a silent 0-byte success), and region captures that crop at rasterize time so --region works on very tall pages. Community contribution by @atabisz (#130) plus maintainer follow-up; validated end to end on an installed test build before this rollout. Full details in the release commit message.

🤖 Generated with Claude Code

…rors, CORS refcount, oversized-render guard, region crop at rasterize time

Public auto-update rollout of the DOM-render screenshot hardening line
(community contribution — thanks @atabisz, #130), validated end to end in
the 0.22.4 install-test cycle:

- Render failures now surface a real message for every error shape (Error,
  DOM Event, string, opaque object) — never "dom render failed: undefined".
- The per-tab screenshot CORS DNR rule is refcounted, so concurrent
  captures of the same tab can't tear the rule down under each other's
  in-flight subresource fetches.
- The post-render webp re-encode is bounded by the same 30s guard as the
  render itself, so an oversized re-encode fails fast with a diagnostic
  instead of hanging past the CLI timeout.

Maintainer hardening on top: pages past the browser's canvas size limits
(e.g. hundreds of thousands of pixels 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 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.

Verified on the installed 0.22.4 pkg before this rollout: oversized page →
actionable error; --region and --target-max-long-edge on the same page →
valid captures; full/region/element/webp parity on normal pages;
concurrent same-tab captures byte-identical across interleavings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ronaldeddings ronaldeddings merged commit a42efe9 into main Jul 5, 2026
1 of 2 checks passed
@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@ronaldeddings, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 42 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0097046f-9a12-4aed-a8ae-bb5d35f2fb35

📥 Commits

Reviewing files that changed from the base of the PR and between b465248 and 51f5d73.

📒 Files selected for processing (3)
  • extension/dist-mv2/manifest.json
  • extension/manifest.json
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/0.22.5

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.

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