Skip to content

feat(Html2Pdf): update PuppeteerSharp to v26.0.0 - #1410

Merged
ArgoZhang merged 1 commit into
masterfrom
feat-pdf
Dec 4, 2026
Merged

ArgoZhang merged 1 commit into
masterfrom
feat-pdf

Conversation

@ArgoZhang

@ArgoZhang ArgoZhang commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Link issues

fixes #1409

Summary By Copilot

Update Html2Pdf's PuppeteerSharp dependency from 25.19.0 to 26.0.0 and bump the Html2Pdf package version from 11.0.4 to 11.0.5. The net6.0 and net7.0 targets keep the pinned 20.2.6 reference; net8.0 through net11.0 use the shared PuppeteerSharpVersion property. PuppeteerSharp 26.0.0 keeps the same target frameworks (netstandard2.0, net8.0, net10.0). Its marked breaking changes (Keyboard key casing, Target/Extension exposure, InstallExtensionAsync return type, element handle click checks) do not touch the APIs used by DefaultPdfService, so no code adaptation was needed.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

This updates the dependency and package version; existing Html2Pdf implementation code is unchanged.

Verification

  • Manual (required)
  • Automated

Commands run:

  • dotnet build src/components/BootstrapBlazor.Html2Pdf — passed for net6.0 through net11.0, with 0 warnings and 0 errors.
  • git diff --check — passed.

No test project specific to Html2Pdf was found; tests were not run.

Packaging changes reviewed?

  • Yes
  • No
  • N/A

☑️ 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

Update the Html2Pdf package and PuppeteerSharp dependency to their new versions.

@sourcery-ai

sourcery-ai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Update the Html2Pdf package version and PuppeteerSharp dependency version in the project file.

  • src/components/BootstrapBlazor.Html2Pdf/BootstrapBlazor.Html2Pdf.csproj L4, L14

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 Dec 4, 2026
@bb-auto bb-auto Bot added this to the v11.0.0 milestone Dec 4, 2026

@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 fc3cbfd into master Dec 4, 2026
3 checks passed
@ArgoZhang
ArgoZhang deleted the feat-pdf branch December 4, 2026 01:25
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(Html2Pdf): update PuppeteerSharp to v26.0.0

1 participant