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 opencv requirement from 0.91.2 to 0.92.0 #35

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2024

Updates the requirements on opencv to permit the latest version.

Changelog

Sourced from opencv's changelog.

  • 0.92.0

    • Add DoubleEndedIterator impl for Vector and simplify trait bounds.
    • Type aliases for Vector (VectorOf...), Ptr and Tuple are now deprecated.
    • Add missing Mat_ methods, speed up Mat::at*() and Mat_::at*() methods slightly. Allow calling at() method on a Mat with more than 2 dimensions.
    • Improved typedef generation that led to changing of some typedef names, e.g. va_displayVADisplay. Typedefed types are now also preserved in function signatures.
    • Fix several cases where returned objects were not usable and led to a segfault, e.g. SparseMap::hdr().
    • Add a helper to accommodate calling OpenCV functions that can modify a Mat in place, use modify_inplace() method.
  • 0.91.3

  • 0.91.2

    • Generate functions for converting DirectX objects to OpenCL.
    • Allow creation of Vector<BoxedRef<T>> and using it as ToInputArray (fixes twistedfall/opencv-rust#555).
  • 0.91.1

    • Add TryFrom<i32> impls for enums to allow easy fallible conversions from i32.
  • 0.91.0

    • Multiple improvements for InputArray/OutputArray/InputOutputArray handling:
      • It's now possible to use the following types as InputArray: &[u8]/[u8; N], Vector<bool> Vector<GpuMat> and the following as InputArray, OutputArray or InputOutputArray: Vector<Mat> and Vector<UMat>.
      • InputArray/OutputArray/InputOutputArray constructors now return BoxedRef/BoxedRefMut to express the borrowing semantics.
      • Some constructors have received _mut suffix where appropriate.
    • Unsafe Mat constructors (*_with_data) have received _unsafe suffix and safe versions have been introduced that return BoxedRef/BoxedRefMut. Consequently, Mat::from_slice_rows_cols was replaced by Mat::new_rows_cols_with_data, note the different order and types of the arguments.
    • MatSize::new is now unsafe and accepts a pointer.
  • 0.90.0

    • Automatically generate default constructors for classes where possible.
    • Backwards-incompatible changes:
      • LayerParams::default() can no longer fail, so it returns Self without Result.
      • GpuMat::default() is now GpuMat::new_def().
      • Automatically named functions (*_1) in features2d module were given proper names.
      • Generate bindings to float16_t and hfloat types to fix the build with the current OpenCV master.
  • 0.89.0

    • All functions accepting classes now take impl ClassTrait instead of Class directly. This allows passing other objects that implement the same trait. This change should be backwards compatible.
    • Some functions, notably Mat::roi(), now return a BoxedRef<Mat> wrapper instead of seemingly independent Mat. This fixes old soundness hole because the returned Mat was actually a view into the source Mat and you could easily end up with 2 mutable references to the same memory. An additional *_mut() is generated for each of such function to return a mutable BoxedRefMut<Mat>. To get 2 mutable references to the same Mat for the non-intersecting regions use the new Mat::roi_2_mut() function.
    • Slice detection improved, slice arguments in more functions are now generated automatically.
    • Some slices in function arguments are now references to arrays of particular size. To migrate call .try_into() to convert

... (truncated)

Commits
  • c5bfa08 chore: Release
  • a7bfb42 Update changelog and docs
  • 3f699de Add in-place modification helper
  • 587e166 Fix handling boxed classes returned by reference
  • acd1922 Improve typedef generation, preserve typedef names more
  • 83f5fa8 Add missing Mat_ methods, speed up at*() methods slightly
  • bd395b1 Deprecate type aliases for Vector, Ptr and Tuple
  • b5726b3 Improve Vector: simplify trait bounds, add DoubleEndedIterator impl
  • 0469db8 Rework OpenCVType traits
  • 2b3712c Cleanup
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [opencv](https://github.com/twistedfall/opencv-rust) to permit the latest version.
- [Changelog](https://github.com/twistedfall/opencv-rust/blob/master/CHANGES.md)
- [Commits](twistedfall/opencv-rust@v0.91.2...v0.92.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 1, 2024
@jimexist jimexist closed this in #40 Jul 28, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 28, 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/opencv-0.92.0 branch July 28, 2024 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants