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

Update image requirement from 0.24 to 0.25 #12415

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 11, 2024

Updates the requirements on image to permit the latest version.

Changelog

Sourced from image's changelog.

Version 0.25.0

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.

Version 0.24.9

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.

Version 0.24.8

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.

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Updates the requirements on [image](https://github.com/image-rs/image) to permit the latest version.
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md)
- [Commits](image-rs/image@v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: image
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the C-Dependencies A change to the crates that Bevy depends on label Mar 11, 2024
@james7132 james7132 added the S-Adopt-Me The original PR author has no intent to complete this work. Pick me up! label Mar 11, 2024
@mnmaita
Copy link
Member

mnmaita commented Mar 13, 2024

I've opened a PR that attempts to fix the build error that the new version introduced. I'd really appreciate some guidance there as I'm not sure if I'm doing the right thing.

@james7132
Copy link
Member

Closing in favor of #12458.

@james7132 james7132 closed this Mar 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 18, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/image-0.25 branch March 18, 2024 03:44
github-merge-queue bot pushed a commit that referenced this pull request Mar 29, 2024
# Objective

- Closes #12415

## Solution

- Refactored code that was changed/deprecated in `image` 0.25.
- Please review this PR carefully since I'm just making the changes
without any context or deep knowledge of the module.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Dependencies A change to the crates that Bevy depends on S-Adopt-Me The original PR author has no intent to complete this work. Pick me up!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants