Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2025

Updated PdfPig from 0.1.10 to 0.1.11.

Release notes

Sourced from PdfPig's releases.

0.1.11

Welcome to version 0.1.11. The changes in this version have mainly focused on stability. There is a breaking API change.

We have also started to run tests against a larger corpus of documents from Common Crawl allowing us to find bugs and malformed files proactively. This release is screened against 6000 additional files.

  • Improvements to content and font parsing detected by fuzzing inputs.
  • Improvements and resiliency for finding the startxref location when parsing a file..
  • Adds build and tests for Mac OS as well as retrieving system fonts on iPad (Mac Catalyst).
  • Support clipping when rendering XObjects.
  • Prevent malformed files leading to an out-of-memory when decompressing streams.
  • Make IGraphicsStateOperationFactory and ReflectionGraphicsStateOperationFactory public.
  • Softmask support for images.
  • Performance improvements using Span and ReadOnlyMemory where available.
  • Handle corrupt files where the stream contains comment tokens.
  • Improvements to copying from existing files when using PdfDocumentBuilder, fixes some bugs with copying fonts and dictionary tokens referenced indirectly.
  • Handle corrupt files with double endstream definitions.
  • More tolerant parsing for a number of invalid PDFs, including invalid USC2 input, CMAP formats, CFF fonts, missing font subtypes, invalid xref table positions, missing /FirstChar entry for font dictionaries and corrupt ASCII 85 encoded data.
  • Fix an issue where adding content to an existing PDF using PdfDocumentBuilder could result in upside-down or wrongly positioned text due to global transforms in the source PDF.
  • New option to completely skip annotations when building a document.
  • Prevent infinite loops in certain documents #​1096.
  • Improved performance when tokenizing numbers, this should provide a minor speed improvement.
  • When adding a page from an existing PDF to a PdfDocumentBuilder any external link annotations should be preserved.

Breaking changes

The method on PdfDocumentBuilder:

public PdfPageBuilder AddPage(PdfDocument document, int pageNumber, Func<PdfAction, PdfAction?>? copyLink)

Has been changed to wrap the copyLink parameter in an options object to support the KeepAnnotations option:

public PdfPageBuilder AddPage(PdfDocument document, int pageNumber, AddPageOptions options)

You can just set the CopyLinkFunc property in the options object if you need to access this functionality.

Auto generated change log

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps PdfPig from 0.1.10 to 0.1.11

---
updated-dependencies:
- dependency-name: PdfPig
  dependency-version: 0.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jul 29, 2025
Copy link
Owner

@JaCraig JaCraig left a comment

Choose a reason for hiding this comment

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

Approving this pull request because it includes a patch or minor update

@JaCraig JaCraig merged commit 717e932 into master Jul 29, 2025
4 checks passed
@JaCraig JaCraig deleted the dependabot/nuget/FileCurator/dependencies-ee2564c198 branch July 29, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants