Skip to content

feat(EmbedPdf): bump version 10.0.1#933

Merged
ArgoZhang merged 4 commits intomasterfrom
feat-embed-pdf
Feb 20, 2026
Merged

feat(EmbedPdf): bump version 10.0.1#933
ArgoZhang merged 4 commits intomasterfrom
feat-embed-pdf

Conversation

@ArgoZhang
Copy link
Member

Link issues

fixes #932

Summary By Copilot

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Verification

  • Manual (required)
  • Automated

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

Copilot AI review requested due to automatic review settings February 20, 2026 01:18
@bb-auto bb-auto bot added the enhancement New feature or request label Feb 20, 2026
@bb-auto bb-auto bot added this to the v9.2.0 milestone Feb 20, 2026
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @ArgoZhang, your pull request is larger than the review limit of 150000 diff characters

@ArgoZhang ArgoZhang merged commit 8fcd53d into master Feb 20, 2026
5 checks passed
@ArgoZhang ArgoZhang deleted the feat-embed-pdf branch February 20, 2026 01:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps BootstrapBlazor.EmbedPDF to 10.0.1 and refreshes the shipped EmbedPDF viewer JS assets, while improving enum XML docs with bilingual (zh/en) descriptions.

Changes:

  • Bump NuGet package version to 10.0.1
  • Refresh/minify/rename EmbedPDF JS asset entrypoints in wwwroot
  • Update enum XML documentation to include Chinese + English text

Reviewed changes

Copilot reviewed 8 out of 15 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/components/BootstrapBlazor.EmbedPDF/wwwroot/readme.txt Adds a local note pointing to upstream viewer releases.
src/components/BootstrapBlazor.EmbedPDF/wwwroot/embedpdf.js Updates re-export to point at the new hashed bundle file.
src/components/BootstrapBlazor.EmbedPDF/wwwroot/direct-engine-m4-HnUa2.js Removes an old hashed direct-engine bundle.
src/components/BootstrapBlazor.EmbedPDF/wwwroot/browser-awZxztMA-DP8ttsSz.js Removes an old hashed browser bundle.
src/components/BootstrapBlazor.EmbedPDF/wwwroot/browser-BISJ9naB-b_RbRYIt.js Adds a new hashed browser bundle referencing the new core bundle.
src/components/BootstrapBlazor.EmbedPDF/EmbedPDFTheme.cs Improves enum docs with bilingual <para> blocks.
src/components/BootstrapBlazor.EmbedPDF/EmbedPDFTabBarMode.cs Improves enum docs with bilingual <para> blocks.
src/components/BootstrapBlazor.EmbedPDF/EmbedPDFScrollStrategy.cs Improves enum docs with bilingual <para> blocks.
src/components/BootstrapBlazor.EmbedPDF/BootstrapBlazor.EmbedPDF.csproj Bumps version and excludes wwwroot/readme.txt from static-web-assets content.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +10 to +11
/// <para lang="zh">主题枚举</para>
/// <para lang="en">Theme enumeration</para>
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

XML documentation localization should use the standard "xml:lang" attribute rather than "lang" (which many doc tools ignore). Consider updating to xml:lang (e.g., / ) for better tooling support.

Copilot uses AI. Check for mistakes.
Comment on lines +10 to +11
/// <para lang="zh">标签模式枚举</para>
/// <para lang="en">Tab bar mode enumeration</para>
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

Same as above: use "xml:lang" instead of "lang" on XML doc elements to ensure localization metadata is recognized by documentation generators.

Copilot uses AI. Check for mistakes.
Comment on lines +10 to +11
/// <para lang="zh">滚动方向枚举</para>
/// <para lang="en">Scroll strategy enumeration</para>
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

Same as above: prefer "xml:lang" for localized XML documentation (many tools do not interpret a plain "lang" attribute).

Copilot uses AI. Check for mistakes.
Comment on lines +13 to +14
<Content Remove="wwwroot\readme.txt" />
<None Include="wwwroot\readme.txt" />
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

MSBuild generally tolerates backslashes, but using forward slashes in item paths is more consistently cross-platform and avoids edge cases in tooling. Consider changing to "wwwroot/readme.txt" for both entries.

Suggested change
<Content Remove="wwwroot\readme.txt" />
<None Include="wwwroot\readme.txt" />
<Content Remove="wwwroot/readme.txt" />
<None Include="wwwroot/readme.txt" />

Copilot uses AI. Check for mistakes.
@@ -0,0 +1 @@
https://github.com/embedpdf/embed-pdf-viewer/releases?wt.mc_id=DT-MVP-5004174 下载 snippet-dist 包
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

The URL includes a tracking/campaign query parameter (wt.mc_id). If this file is shared within the repo/package, it's better to avoid embedding tracking identifiers; consider linking to the clean releases URL without the query string.

Suggested change
https://github.com/embedpdf/embed-pdf-viewer/releases?wt.mc_id=DT-MVP-5004174 下载 snippet-dist 包
https://github.com/embedpdf/embed-pdf-viewer/releases 下载 snippet-dist 包

Copilot uses AI. Check for mistakes.
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(EmbedPdf): bump version 10.0.1

2 participants