tray-icon icon indicating copy to clipboard operation
tray-icon copied to clipboard

chore(deps): update rust crate png to 0.18

Open renovate[bot] opened this issue 3 months ago • 2 comments

This PR contains the following updates:

Package Type Update Change
png dependencies minor 0.17 -> 0.18

Release Notes

image-rs/image-png (png)

v0.18.0

API Breaking Changes
  • Removed deprecated Info::encode and Encoder::set_srgb methods.
  • Improved the compression settings API for encoding.
  • Decoder now requires a reader that implements Seek and BufRead traits.
  • Bump bitflags dependency to 2.0.
  • StreamingDecoder::update now takes a structured UnfilterBuf argument instead of a direct reference to a vector. This allows in-place decompression. There is a public constructor for UnfilterBuf.
  • The methods Decoder::output_buffer_size and output_line_size now return Option<usize> to reflect that these calculations no longer overflow on some targets where the required buffers can not be represented in the address space. They return the mathematically correct size where possible.
  • The Decoded enum returned from StreamingDecoder::update was simplified to no longer contains any chunk payload data. Instead, it now contains only chunk events where every chunk that was started will eventually be ended by ChunkComplete, BadAncillaryChunk or SkippedAncillaryChunk.
  • Ancillary chunks, i.e. those not critical to decoder interpretation of the file, which fail to parse are now terminated with a BadAncillaryChunk event but no longer returned a DecodingError. This includes text chunks as well as many metadata chunks (except for fcTL that we deem crucial to the parser's understanding of the image sequence in an APNG despite being technically ancillary).
Additions
  • Added Reader::read_row method.
  • Add support for parsing eXIf chunk.
  • Treat most auxiliary chunk errors as benign.
  • Added splat_interlaced_row, which implements an alternative method for merging Adam7 interlaced lines into the output buffer that is more suitable for the presentation of progressive states of the buffer.
  • Added Adam7Variant documenting the various methods for applying interlaced rows and to prepare an API to progressively read frames through Decoder.
Changes
  • The decoding of Adam7 interlaced data is now much faster.
  • The acTL chunk is now ignored when it is invalid, instead of producing errors while reading or decoding the following APNG chunks.
  • The requirement of the fcTL chunk for the default image to match the IHDR's indicate image size is now enforced.
  • More minor format errors in auxiliary chunks are now ignored by the decoder, instead disregarding the malformed chunk.
  • Adam7 Interlacing on 32-bit targets now handles some cases correctly that previously wrote some bytes to the wrong pixel indices due to overflows.

Configuration

📅 Schedule: 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[bot] avatar Aug 31 '25 09:08 renovate[bot]

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.18.0
error: failed to acquire package cache lock

Caused by:
  failed to open: /home/ubuntu/.cargo/.package-cache

Caused by:
  failed to create directory `/home/ubuntu/.cargo`

Caused by:
  File exists (os error 17)

renovate[bot] avatar Aug 31 '25 09:08 renovate[bot]

Package Changes Through c1bfcf569edd4e661f5085b9c6788a35531cff50

There are 1 changes which include tray-icon with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tray-icon 0.21.1 0.21.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

github-actions[bot] avatar Aug 31 '25 09:08 github-actions[bot]