Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2025

Updated PdfPig from 0.1.8 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

0.1.10

What's Changed

New Contributors

0.1.9

This will be the last release solely by the current maintainer, future releases can come from new co-maintainer(s) and you should audit your dependency upgrades on this basis.

This is the first major release in well over a year so it is not feasible to provide exhaustive release notes.

This release contains many performance improvements and bug-fixes. We also drop support for the following full framework versions:

  • .NET 4.5.1
  • .NET 4.5.2
  • .NET 4.6
  • .NET 4.6.1

If you are using full framework the newest version has additional dependencies:

The other major change is to use double instead of decimal package-wide. This should provide performance benefits and more closely matches the behavior in the official PDF specification. Where you were using decimal before you will need to switch to double.

Thanks to all the contributors!

Commits viewable in compare view.

You can trigger a rebase of this PR 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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Oct 1, 2025
---
updated-dependencies:
- dependency-name: PdfPig
  dependency-version: 0.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: PdfPig
  dependency-version: 0.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/nuget/src/Noted/multi-94fa84d599 branch from 631a130 to 54aed94 Compare October 2, 2025 13:12
@codito codito merged commit 97d6d0f into master Nov 1, 2025
3 checks passed
@codito codito deleted the dependabot/nuget/src/Noted/multi-94fa84d599 branch November 1, 2025 12:22
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