Skip to content

Update module github.com/pdfcpu/pdfcpu to v0.12.1#2409

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-pdfcpu-pdfcpu-0.x
Open

Update module github.com/pdfcpu/pdfcpu to v0.12.1#2409
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-pdfcpu-pdfcpu-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 18, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/pdfcpu/pdfcpu v0.11.1v0.12.1 age confidence

Release Notes

pdfcpu/pdfcpu (github.com/pdfcpu/pdfcpu)

v0.12.1

Compare Source

Bugfix Release

This is a fix for what was a miss on the decrypt command during the CLI Cobra migration.


🙏🏻 Thanks 🙏🏻

everybody for the bug reports.
Shoutouts 👏🏻 go to @​znbang for spending time on submitting a PR.


Changelog

v0.12.0

Compare Source

A Release Featuring Command Completion

Starting with this release, pdfcpu now offers shell command completion for CLI users.

Supported shells:

  • bash
  • zsh
  • fish
  • PowerShell

Big thanks to @​doronbehar for providing the Cobra integration 🙌

CLI Improvements

This release also refines how command flags work:

  • Clear distinction between short and long flags

    • Example: -f vs --full
  • Short flags can now be chained:

    pdfcpu signatures validate signed.pdf -af

    is equivalent to:

    pdfcpu signatures validate signed.pdf --all --full
Tradeoff

As a result of this cleanup:

  • Arbitrary abbreviation of commands and flags is no longer supported

However, the CLI is now more predictable and easier to use overall.

👉 Learn more:

pdfcpu completion --help

👉 For command help going forward:

pdfcpu <command> --help

🛠️ Stability & Ongoing Work

This release also represents a significant amount of work behind the scenes focused on overall stability and parser robustness. Many edge cases have been addressed to make pdfcpu more reliable when dealing with real-world PDF files.

Work on digital signature creation and validation is actively ongoing. These features will be released once the maintainers are confident they meet the expected standards for quality, correctness, and practical usefulness.


✂️ Removing Signatures (--rmsig)

This flag removes all signatures as part of processing.

Supported commands:

  • merge
  • optimize

There is also a dedicated command:

pdfcpu signatures remove inFile [outFile]

Flags:

  • --rmenc → also remove encryption
  • -h, --help → show help

🔓 Removing Encryption (--rmenc)

The --rmenc flag removes any existing encryption when writing a file.

Supported commands:

  • optimize
  • signatures remove

🔐 Encryption

pdfcpu now supports AES-256 GCM encryption (ISO/TS 32003).

  • The encrypt command defaults to AES-256 GCM
  • Supported consistently across relevant operations

🙏🏻 Thanks 🙏🏻

everybody for testing and feeding back your real world PDFs and bug reports.
Shoutouts 👏🏻 go to @​mdmcconnell, @​13rac1, @​doronbehar and @​joeyave for spending their time on submitting PR's.


Changelog


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner May 18, 2026 15:37
@renovate renovate Bot requested a review from adelowo May 18, 2026 15:37
@renovate renovate Bot requested review from matoszz and theopenlane-bender May 18, 2026 15:37
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 18, 2026

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/hhrutter/pkcs7 v0.2.0 -> v0.2.2
github.com/hhrutter/tiff v1.0.2 -> v1.0.3
github.com/clipperhouse/uax29/v2 v2.4.0 -> v2.7.0
golang.org/x/image v0.38.0 -> v0.39.0
github.com/mattn/go-runewidth v0.0.19 -> v0.0.23

@renovate renovate Bot changed the title fix(deps): update module github.com/pdfcpu/pdfcpu to v0.12.1 Update module github.com/pdfcpu/pdfcpu to v0.12.1 May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants