Skip to content

feat(Dom2Image): update SnapDOM to v3.7.1 - #1275

Merged
ArgoZhang merged 2 commits into
masterfrom
dev-snapdom
Nov 4, 2026
Merged

ArgoZhang merged 2 commits into
masterfrom
dev-snapdom

Conversation

@ArgoZhang

@ArgoZhang ArgoZhang commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Link issues

fixes #1274

Summary By Copilot

Update the bundled SnapDOM module from v3.7.0 to the official v3.7.1 release.

Regression?

  • Yes
  • No

Browser regression testing has not been run.

Risk

  • High
  • Medium
  • Low

Only the upstream JavaScript bundle changes; the wrapper API and asset path are unchanged.

Verification

  • Manual (required)

  • Automated

  • node --input-type=module -e "import('./src/components/BootstrapBlazor.Dom2Image/wwwroot/lib/snapdom.mjs').then(m => { if (typeof m.snapdom !== 'function') process.exit(1); })" — passed.

  • dotnet build 'src\components\BootstrapBlazor.Dom2Image\BootstrapBlazor.Dom2Image.csproj' --no-restore — passed.

  • git diff --check — passed.

Packaging changes reviewed?

  • Yes
  • No
  • N/A

The existing static asset path and MIT license header are preserved; no package metadata changes.

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Merge the latest code from the main branch

Summary by Sourcery

Enhancements:

  • Update the bundled SnapDOM dependency to the official v3.7.1 release while preserving the existing wrapper integration and static asset packaging.

@sourcery-ai

sourcery-ai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This PR upgrades the bundled SnapDOM dependency to v3.7.1 by replacing only the generated module content, with no wrapper, packaging, or asset-path changes. Review the upstream bundle diff for unintended generated changes; the documented import check, .NET build, and whitespace validation passed, but browser regression testing was not run.

File-Level Changes

Change Details Files
Replace the bundled SnapDOM runtime with the official v3.7.1 distribution while preserving the existing integration contract.
  • Update generated upstream JavaScript bundle from v3.7.0 to v3.7.1.
  • Keep the snapdom module export, static asset path, MIT license header, and wrapper API unchanged.
src/components/BootstrapBlazor.Dom2Image/wwwroot/lib/snapdom.mjs

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@bb-auto bb-auto Bot added the enhancement New feature or request label Nov 4, 2026
@bb-auto bb-auto Bot added this to the v10.0.0 milestone Nov 4, 2026
bb-auto[bot]
bb-auto Bot previously approved these changes Nov 4, 2026

@bb-auto bb-auto Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved by bb-auto

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@bb-auto bb-auto Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved by bb-auto

@ArgoZhang
ArgoZhang merged commit 5703795 into master Nov 4, 2026
3 checks passed
@ArgoZhang
ArgoZhang deleted the dev-snapdom branch November 4, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(Dom2Image): update SnapDOM to v3.7.1

1 participant