Skip to content

Bump github.com/davidbyttow/govips/v2 from 2.19.0 to 2.20.0 - #32

Merged
hra42 merged 1 commit into
mainfrom
dependabot/go_modules/github.com/davidbyttow/govips/v2-2.20.0
Oct 26, 2026
Merged

hra42 merged 1 commit into
mainfrom
dependabot/go_modules/github.com/davidbyttow/govips/v2-2.20.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 23, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/davidbyttow/govips/v2 from 2.19.0 to 2.20.0.

Release notes

Sourced from github.com/davidbyttow/govips/v2's releases.

v2.20.0

Highlights

  • Keep export option: every format-specific *ExportParams struct gains a Keep ForeignKeep field wired to libvips's keep save option (libvips 8.15+). Where StripMetadata is all-or-nothing, Keep is a bitmask: ForeignKeepExif | ForeignKeepIcc retains just those, ForeignKeepNone strips everything, ForeignKeepAll keeps whatever the running libvips supports. Unset means no change; set, it takes precedence over StripMetadata. On libvips older than 8.15 a set Keep returns a clear error (#551)

Behavior changes

  • WebP exports now keep the source ICC profile when StripMetadata is false, matching JPEG, PNG and TIFF. Previously webpsave was always given profile="none", so WebP output silently lost the profile. Files from sources with an embedded profile grow by roughly the profile's size (about 3 KB for sRGB). To get the old output back, set StripMetadata: true or a Keep without ForeignKeepIcc (#552, #556)

Fixes

Animated and multi-page images had several transforms that treated the stacked frames as one tall image:

  • Rotate(Angle90/Angle270) failed with "bad grid geometry" unless every page was loaded. Pages() is the page count of the file, not the loaded count (#553, #555)
  • Rotate(Angle180) and Flip(DirectionVertical) reversed the frame order. Both now operate per frame (#554, #558)
  • Zoom left the page height stale, so a 2× zoom read as twice as many half-height frames (#554, #558)
  • Resize collapsed frames into one tall image whenever pageHeight × scale wasn't a whole number, the #350 "toilet roll" again. The vertical scale is now chosen so the strip is exactly frames × newPageHeight, as vips_thumbnail does. Output is unchanged when the rounding already agreed (#554, #558)

Housekeeping

  • CI actions bumped to actions/checkout@v7 and actions/setup-go@v7 (#550)

Thanks to @​diego-choi for Keep and the WebP fix, and to @​ailintom for the Rotate fix and the thorough #554 report.

Commits
  • 7952188 Keep animated frames intact in Flip, Rotate 180, Zoom and Resize (#558)
  • 91a192b Keep the source ICC profile in WebP exports (#556)
  • f6b10df Count loaded pages in Rotate (#555)
  • c551487 Add Keep option to format-specific ExportParams (#551)
  • 4344c88 ci: bump actions/checkout and actions/setup-go to v7 (#550)
  • See full diff 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 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)

Bumps [github.com/davidbyttow/govips/v2](https://github.com/davidbyttow/govips) from 2.19.0 to 2.20.0.
- [Release notes](https://github.com/davidbyttow/govips/releases)
- [Commits](davidbyttow/govips@v2.19.0...v2.20.0)

---
updated-dependencies:
- dependency-name: github.com/davidbyttow/govips/v2
  dependency-version: 2.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 23, 2026
@dokploy-2026-08-17-2bph2p

Copy link
Copy Markdown

🚨 Preview Deployment Blocked - Security Protection

Your pull request was blocked from triggering preview deployments

Why was this blocked?

  • User: dependabot[bot]
  • Repository: image-optimizer
  • Permission Level: none
  • Required Level: write, maintain, or admin

How to resolve this:

Option 1: Get Collaborator Access (Recommended)
Ask a repository maintainer to invite you as a collaborator with write permissions or higher.

Option 2: Request Permission Override
Ask a repository administrator to disable security validation for this specific application if appropriate.

For Repository Administrators:

To disable this security check (⚠️ not recommended for public repositories):
Enter to preview settings and disable the security check.


This security measure protects against malicious code execution in preview deployments. Only trusted collaborators should have the ability to trigger deployments.

🛡️ Learn more about this security feature

This protection prevents unauthorized users from:

  • Executing malicious code on the deployment server
  • Accessing environment variables and secrets
  • Potentially compromising the infrastructure

Preview deployments are powerful but require trust. Only users with repository write access can trigger them.

@hra42
hra42 merged commit 609d796 into main Oct 26, 2026
4 checks passed
@hra42
hra42 deleted the dependabot/go_modules/github.com/davidbyttow/govips/v2-2.20.0 branch October 26, 2026 09:03
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant