Skip to content

fix(deps): update go modules (non-major) - #14

Open
renovate-orgmentem[bot] wants to merge 1 commit into
mainfrom
renovate/go-modules-(non-major)
Open

fix(deps): update go modules (non-major)#14
renovate-orgmentem[bot] wants to merge 1 commit into
mainfrom
renovate/go-modules-(non-major)

Conversation

@renovate-orgmentem

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/pdfcpu/pdfcpu v0.13.0v0.14.0 age confidence
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2v6.0.3 age confidence
golang.org/x/net v0.55.0v0.57.0 age confidence
modernc.org/sqlite v1.54.0v1.56.0 age confidence

Release Notes

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

v0.14.0

Compare Source

Safer Processing, Clearer Errors

Changes since v0.14.0-rc.1

Shared custom font directories (#​1454)

Installed font metrics are now world-readable (0644).
Calling api.InstallFonts(nil) reloads existing fonts without modifying the font directory,
allowing fonts installed by one user to be shared safely with other users that have read-only access.

Error handling

The github.com/pkg/errors dependency is gone.
Error handling has been migrated throughout the codebase to standard Go patterns.

Errors now retain useful operation and input context, and exported sentinel errors make failures easier to classify with errors.Is and errors.As.

Public API boundaries now validate nil and invalid arguments instead of risking panics. Multi-input operations return joined
errors where appropriate, while the CLI presents concise errors without exposing stack traces by default.

File operations are safer as well: output is staged before replacement, existing files and permissions are preserved on
failure, filesystem aliases and output collisions are detected, and temporary-file cleanup has been hardened across
platforms.

CLI

CLI users should see clearer and more complete diagnostics, particularly for batch validation, merging, attachments,
encryption, certificates, fonts, and page operations.

Other notable changes include:

  • JSON output for certificate listing.
  • Support for the OneColumn page layout.
  • Optional installed-font selection for fonts cheatsheet.
  • Improved attachment glob handling.
  • Stricter validation of ordered, unique page split points.
  • Clearer certificate-import and replacement behavior.
  • Improved reporting when one or more inputs in a batch fail.

API

The public API now offers more consistent reader/writer and file-based entry points, along with exported errors that callers
can inspect without parsing error strings.

New and expanded API support includes:

  • Grid operations.
  • Raw signature validation.
  • Machine-readable certificate listing.
  • List-oriented bookmark, box, form-field, image, property, permission, and viewer-preference operations.
  • Explicit handling policies for unsupported resources during extraction.
  • Transactional certificate and TrueType collection installation.

Callers that compare complete error strings should migrate to errors.Is or errors.As, as many errors now include
additional operation and source context.

Security, signatures, and dependencies

Signature, timestamp, PKCS#7, certificate-chain, and revocation processing received substantial hardening. This area remains
under active development, and further work on signature creation, validation, revocation, and interoperability is ongoing.

Remote image fetching for create and form inputs now rejects private and local destinations, including redirects and DNS
results. Access to private revocation endpoints must be explicitly allowed through allowedRevocationHosts.

The external github.com/hhrutter/lzw and github.com/hhrutter/pkcs7 dependencies have been replaced by internal
implementations. Remaining dependencies have been updated.

Windows 7

The experimental Windows 7 build is being discontinued because the request for community testing received no response.
It relied on an unofficial patched Go toolchain and could not be tested on Windows 7 in CI.
Official Go releases require Windows 10 or Windows Server 2016 or later.

Additional fixes

This release also includes numerous fixes across parsing, validation, forms, fonts, attachments, merging, page trees,
annotations, images, encryption, and digital signatures, backed by substantially expanded regression and error-path
coverage.

Thanks

Many of the fixes in this release began with reports from you - the pdfcpu users.
Thanks everyone who opened issues, provided reproducible examples, tested fixes, and helped identify difficult PDF edge cases. Your feedback directly improves pdfcpu's reliability.

Changelog

santhosh-tekuri/jsonschema (github.com/santhosh-tekuri/jsonschema/v6)

v6.0.3

Compare Source

bugfixes:

  • empty instLocation for propetyNames and contentSchema
  • fix intLocation for items and additionalItems validation
  • check invalid floats NaN/Inf
  • fix closing quote check in email validation
  • ensure both are numbers in equals validation

features

  • ef59f39: ref like property in custom vocab
cznic/sqlite (modernc.org/sqlite)

v1.56.0

Compare Source

v1.55.0

Compare Source


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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Mend Renovate.

@renovate-orgmentem

Copy link
Copy Markdown
Contributor Author

ℹ️ 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/mattn/go-runewidth v0.0.24 -> v0.0.27
golang.org/x/crypto v0.52.0 -> v0.54.0
golang.org/x/image v0.43.0 -> v0.44.0
golang.org/x/text v0.39.0 -> v0.40.0
modernc.org/libc v1.74.1 -> v1.74.4

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