Skip to content

Update hayro-jpeg2000 to 0.5 - #607

Merged
onuralpszr merged 1 commit into
mainfrom
hayro-0.5
Nov 3, 2026
Merged

onuralpszr merged 1 commit into
mainfrom
hayro-0.5

Conversation

@onuralpszr

@onuralpszr onuralpszr commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Bumps hayro-jpeg2000 from 0.4.1 to 0.5.0, which needs Rust 1.92 (our floor) and fixes several JPEG 2000 decoding panics, and RGB and gray .jp2 files still decode with the same detections as the JPEG.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Updated the Rust JPEG 2000 decoder dependency from hayro-jpeg2000 0.4.1 to 0.5.0 to include its JPEG 2000 decoding fixes.

📊 Key Changes

  • Changed the hayro-jpeg2000 requirement in Cargo.toml from ^0.4.1 to ^0.5.
  • Updated Cargo.lock to reflect the dependency change.
  • Kept the existing image feature and disabled default features.

🎯 Purpose & Impact

  • The PR context reports that version 0.5.0 fixes several JPEG 2000 decoding panics; RGB and grayscale .jp2 images retain the same detections as JPEG images.
📋 Skipped 1 file (lock files, generated, images, etc.)
  • Cargo.lock

Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
@UltralyticsAssistant UltralyticsAssistant added bug Something isn't working dependencies Dependency-related topics labels Nov 3, 2026
@UltralyticsAssistant

Copy link
Copy Markdown
Member

👋 Hello @onuralpszr, thank you for submitting a ultralytics/inference 🚀 PR! This automated message confirms your contribution was received, and an Ultralytics engineer will assist with the review. To ensure a seamless integration of your work, please review the following checklist:

  • ✅ Define a Purpose: Clearly explain the purpose of your fix or feature in your PR description, and link to any relevant issues. Ensure your commit messages are clear, concise, and adhere to the project's conventions.
  • ✅ Synchronize with Source: Confirm your PR is synchronized with the ultralytics/inference main branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull and git merge main locally.
  • ✅ Ensure CI Checks Pass: Verify all Ultralytics Continuous Integration (CI) checks are passing. If any checks fail, please address the issues.
  • ✅ Update Documentation: Update the relevant documentation for any new or modified features.
  • ✅ Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • ✅ Sign the CLA: Please ensure you have signed our Contributor License Agreement if this is your first Ultralytics PR; the CLA check will comment with signing instructions if needed.
  • ✅ Minimize Changes: Limit your changes to the minimum necessary for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee

For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀

@UltralyticsAssistant UltralyticsAssistant left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 PR Review

Made with ❤️ by Ultralytics Actions

Reviewed the hayro-jpeg2000 dependency bump in Cargo.toml. No concrete regression found; LGTM.

📋 Skipped 1 file (lock files, generated, images, etc.)
  • Cargo.lock

@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@onuralpszr
onuralpszr merged commit a858ea3 into main Nov 3, 2026
19 checks passed
@onuralpszr
onuralpszr deleted the hayro-0.5 branch November 3, 2026 16:19
@UltralyticsAssistant

Copy link
Copy Markdown
Member

🎉 This PR has been merged—thank you, @onuralpszr, for updating the Rust JPEG 2000 decoder dependency.

“Nothing will work unless you do.” — Maya Angelou

This dependency update brings JPEG 2000 decoding fixes, addressing reported panics while preserving the same detections for RGB and grayscale .jp2 images as for JPEG images.

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

Labels

bug Something isn't working dependencies Dependency-related topics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants