Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate image to 0.25.0 #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 13, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
image dependencies minor 0.24.7 -> 0.25.0

Release Notes

image-rs/image (image)

v0.25.2

Compare Source

Features:

  • Added the HDR encoder to supported formats in generic write methods with the
    hdr feature enabled. Supports 32-bit float RGB color only, for now.
  • When cloning ImageBuffer, DynamicImage and Frame the existing buffer
    will now be reused if possible.
  • Added image::ImageReader as an alias.
  • Implement ImageEncoder for HdrEncoder.

Structural changes

  • Switch from byteorder to byteorder-lite, consolidating some casting
    unsafety to bytemuck.
  • Many methods on DynamicImage and buffers gained #[must_use] indications.

Bug fixes:

  • Removed test data included in the crate archive.
  • The WebP animation decoder stops when reaching the indicate frame count.
  • Fixed bugs in the bmp decoder.
  • Format support gated on the exr feature now compiles in isolation.

v0.25.1

Compare Source

Bug fixes:

  • Fixed corrupt JPEG output when attempting to encode images containing an alpha
    channel.
  • Only accept ".ff" file extension for farbfeld images.
  • Correct farbfeld feature flag for ImageFormat::{reading_enabled, writing_enabled}.
  • Disable strict mode for JPEG decoder.
  • Add nasm feature to optionally enable faster AVIF encoding.

v0.25.0

Compare Source

Breaking changes:

  • Added BufRead + Seek bound on many decoders.
  • Use ExtendedColorType instead of ColorType when encoding.
  • Removed ImageOutputFormat, GenericImageView::bounds, and several other
    deprecated items.
  • Removed incremental decoding support and changed ImageDecoder so the trait
    is object safe.
  • Pixel types are now repr(transparent) rather than repr(C).
  • Made color_quant dependency optional.
  • Renamed some feature flags.

Structural changes:

  • Increased MSRV to 1.67.1

Codec changes:

  • Switched to image-webp for WebP encoding.
  • Switched to zune-jpeg for JPEG decoding.
  • Made the HDR decoder produce f32 images.
  • Removed DXT encoding and decoding support.

v0.24.9

Compare Source

Structural changes:

  • Relicense to MIT OR Apache-2.0
  • Increase MSRV 1.63.0

New features:

  • Support limits in PNG animation decoding.
  • Added offsets to SubImage to compensate for the now-deprecated bounds call
    from GenericImageView.

Bug fixes:

  • Correct limit tests for TIFF.
  • Avoid overflow in gif::Decoder::buffer_size.
  • Return error instead of using asssertion for Avif decoder unsupported or
    invalid bit depth.

v0.24.8

Compare Source

New features:

  • Added pure-Rust lossless WebP encoding.
  • Added DynamicImage::new method.
  • Added PngDecoder::gamma_value method.
  • Added ImageFormat::{reading_enabled, writing_enabled, all}.
  • TGA encoder now supports RLE encoding.
  • Add rayon parallel iterators behind an optional rayon feature.
  • Support CMYK TIFF images.
  • Implement From<DynamicImage> for all image types.

Bug fixes:

  • Fix decoding pngs with invalid text chunks.
  • Handle non-fatal error dav1d::Error::Again.
  • Do not round floats in interpolate.
  • PNM decoder now scales samples according to specified maximum.
  • Fix wrong implementation of unsharpen filter.
  • Fix GifDecoder::with_limits to raise an error when limits are exceeded.

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 renovate bot changed the title fix(deps): update rust crate image to 0.24.8 fix(deps): update rust crate image to 0.24.9 Feb 23, 2024
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.24.9 fix(deps): update rust crate image to 0.25.0 Mar 10, 2024
Copy link
Contributor Author

renovate bot commented Mar 10, 2024

⚠ 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 image@0.24.7 --precise 0.25.1
    Updating crates.io index
error: failed to select a version for the requirement `image = "^0.24"`
candidate versions found which didn't match: 0.25.1
location searched: crates.io index
required by package `notify-rust v4.10.0`
    ... which satisfies dependency `notify-rust = "^4.10.0"` (locked to 4.10.0) of package `cmus-notify v0.0.3 (/tmp/renovate/repos/github/0x61nas/cmus-notify)`
perhaps a crate was updated and forgotten to be re-vendored?

@renovate renovate bot changed the title fix(deps): update rust crate image to 0.25.0 fix(deps): update rust crate image to 0.25.1 Mar 31, 2024
@renovate renovate bot changed the title fix(deps): update rust crate image to 0.25.1 fix(deps): update rust crate image to 0.25.0 May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants