Skip to content

build(deps): bump github.com/davidbyttow/govips/v2 from 2.18.0 to 2.19.0 - #987

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/davidbyttow/govips/v2-2.19.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/github.com/davidbyttow/govips/v2-2.19.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 28, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

v2.19.0

Highlights

  • Streaming I/O: new LoadImageFromReader, SaveToWriter, and TranscodeStream for working with io.Reader/io.Writer instead of whole buffers (#539). Stream loads sniff the file signature, so sub-formats like AVIF vs HEIF are still reported correctly (#540)
  • NewImageFromMemory: build an ImageRef from a raw pixel buffer (#528)
  • WebP TargetSize: new option on WebpExportParams, requires libvips 8.17.4+ (#535)
  • Kill flag: SetKill exposes libvips' image evaluation kill flag, for cancelling long-running work (#537)
  • BigTIFF image type detection (#527)

Fixes

Several of these are memory-safety bugs that could crash a process. Upgrading is recommended.

  • Fix SIGSEGV after a failed DrawRect: the error path unref'd the caller's image, so the later Close() or GC finalizer was a double-unref. Reachable from truncated JPEGs (#547, #549)
  • Fix input double-unref in Join, which caused intermittent use-after-free crashes at unrelated call sites (#531)
  • Fix SetBlob: it passed the slice header to C instead of the backing array and panicked under cgocheck on any non-empty input (#545, #549)
  • Fix a C string leak on every ExportMagick call (#546, #549)
  • Keep ImageRef arguments alive across cgo calls in two-image ops (Composite, Insert, Join, ArrayJoin, BandJoin, Mapim, Maplut, Add, Subtract, Multiply, Divide), closing a GC finalization hazard (#543)
  • Fix background colors on 1 and 2-band greyscale images for Embed and friends (#534, #538)

Housekeeping

  • Add AGENTS.md with contributor and agent guidance: cgo/memory rules, testing conventions, known local quirks (#541, #542)
  • CI installs the libheif HEVC plugin so HEIC fixtures run (#529)
  • Bump golang.org/x/image to 0.41.0 and golang.org/x/net to 0.55.0 (#533, #532)
  • Bump sharp in examples/tiff (#536, #548)

Thanks to @​antst, @​alon-ne, @​goodmartian, and @​joecorall for patches, and to @​svkoskin and @​OvOhao for detailed bug reports.

Commits
  • f1d8d53 Fix three cgo memory bugs: DrawRect double-unref, SetBlob pointer, magick for...
  • f005cdb Bump sharp from 0.35.0 to 0.35.4 in /examples/tiff (#548)
  • ea03fac Add runtime.KeepAlive for ImageRef arguments in two-image ops (#543)
  • 1159365 Correct AGENTS.md on ImageRef locking (#542)
  • 67c3214 Add AGENTS.md with agent/contributor guidance (#541)
  • 33bd986 Sniff stream signature to preserve sub-format detection (#540)
  • 78f9044 Add streaming I/O: LoadImageFromReader, SaveToWriter, TranscodeStream (#539)
  • 6a7b264 Bump golang.org/x/image from 0.38.0 to 0.41.0 (#533)
  • ef9141c Fix background colors for 1/2-band greyscale images (#538)
  • f181186 Bump golang.org/x/net from 0.52.0 to 0.55.0 (#532)
  • Additional 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 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.18.0 to 2.19.0.
- [Release notes](https://github.com/davidbyttow/govips/releases)
- [Commits](davidbyttow/govips@v2.18.0...v2.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies for dependabot :) label Sep 28, 2026
@codecov

codecov Bot commented Sep 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.18%. Comparing base (b254974) to head (efe6acf).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #987   +/-   ##
=======================================
  Coverage   51.18%   51.18%           
=======================================
  Files         105      105           
  Lines        2831     2831           
=======================================
  Hits         1449     1449           
  Misses       1382     1382           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies for dependabot :)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants