Skip to content

Update nalgebra requirement from 0.23.0 to 0.29.0 - #113

Closed
dependabot[bot] wants to merge 1 commit into
developmentfrom
dependabot/cargo/nalgebra-0.29.0
Closed

dependabot[bot] wants to merge 1 commit into
developmentfrom
dependabot/cargo/nalgebra-0.29.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 9, 2021

Copy link
Copy Markdown
Contributor

Updates the requirements on nalgebra to permit the latest version.

Changelog

Sourced from nalgebra's changelog.

[0.29.0]

Breaking changes

  • We updated to the version 0.6 of simba. This means that the trait bounds T: na::RealField, na::ComplexField, na::SimdRealField, na:SimdComplexField no imply that T: Copy (they only imply that T: Clone). This may affect generic code.
  • The closure given to apply, zip_apply, zip_zip_apply must now modify the first argument inplace, instead of returning a new value. This makes these methods more versatile, and avoid useless clones when using non-Copy scalar types.
  • The Allocator trait signature has been significantly modified in order to handle uninitialized matrices in a sound way.

Modified

  • Orthographic3::from_matrix_unchecked is now const fn.
  • Perspective3::from_matrix_unchecked is now const fn.
  • Rotation::from_matrix_unchecked is now const fn.
  • The Scalar is now automatically implemented for most 'static + Clone types. Type that implement Clone but not Copy are now much safer to work with thanks to the refactoring of the Allocator system.

Added

  • The conversion traits form the bytemuck crates are now implemented for the geometric types too.
  • Added operator overloading for Transform * UnitComplex, UnitComplex * Transform, Transform ×= UnitComplex, Transform ÷= UnitComplex.
  • Added Reflection::bias() to retrieve the bias of the reflection.
  • Added Reflection1..Reflection6 aliases for 1D to 6D reflections.
  • Added implementation of From and Into for converting between nalgebra types and types from glam 0.16 and glam 0.17. These can be enabled by enabling the convert-glam016, and/or convert-glam017 cargo features.

[0.28.0]

Added

  • Implement Hash for Transform.
  • Implement Borrow and BorrowMut for contiguous slices.

Modified

  • The OPoint<T, D> type has been added. It takes the dimension number as a type-level integer (e.g. Const<3>) instead of a const-generic. The type Point<T, const D: usize> is now an alias for OPoint. This changes doesn't affect any of the existing code using Point. However, it will allow the use OPoint in a generic context where the dimension cannot be easily expressed as a const-generic (because of the current limitation of const-generics in Rust).
  • Several clippy warnings were fixed. This results in some method signature changes (e.g. taking self instead of &self) but this should not have any practical infulances on existing codebase.
  • The Point::new constructors are no longer const-fn. This is due to some limitations in const-fn not allowing custom trait-bounds. Use the point! macro instead to build points in const environments.
  • Dynamic::new and Unit::new_unchecked are now const-fn.
  • Methods returning Result<(), ()> now return bool instead.

Fixed

  • Fixed a potential unsoundess issue when converting a mutable slice to a &mut[T].

[0.27.1]

... (truncated)

Commits
  • d1d7422 Bump the version of nalgebra-glm, nalgebra-lapack, and nalgebra-sparse.
  • db63f6c Release v0.29.0
  • e3d67e7 Merge pull request #965 from dimforge/glam-up
  • 154579c More Changelog update.
  • bd9e0fb Add support for conversion with glam 0.16 and 0.17
  • 79ab3c3 Update the Changelog
  • dd4df88 Merge pull request #964 from dimforge/unit_complex_axis_angle
  • a9ed6cb Fix wrong sign in UnitComplex::axis_angle
  • 1bc919e Merge pull request #962 from dimforge/non-copy-types
  • 6165ac8 Fix nalgebra-glm tests.
  • Additional commits viewable in compare view

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 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 [nalgebra](https://github.com/dimforge/nalgebra) to permit the latest version.
- [Release notes](https://github.com/dimforge/nalgebra/releases)
- [Changelog](https://github.com/dimforge/nalgebra/blob/dev/CHANGELOG.md)
- [Commits](dimforge/nalgebra@v0.23.0...v0.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 9, 2021
@dependabot @github

dependabot Bot commented on behalf of github Jan 3, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #125.

@dependabot dependabot Bot closed this Jan 3, 2022
@dependabot
dependabot Bot deleted the dependabot/cargo/nalgebra-0.29.0 branch January 3, 2022 15:13
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