Upgrading nalgebra 0.16 to 0.17
Breaking0.16.14 → 0.17.3Breaking3Deprecated2New25Changed2
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- The names of the matrix storage types have changed, so code using the old names must be updated.
- For these wrapper types, the method to get the inner value is now called into_inner instead of unwrap.
- MatrixVec no longer automatically dereferences to its inner data, which may require explicit access in some code.
- The old way of building a point from coordinates is deprecated; use Point::from instead.
Must act 5 items need code or config changes
Adds pest ^2.0, pest_derive ^2.0, rand_xorshift ^0.1.
Installs 52 packages in all (was 46).
What you must change
Breaking3
Renames matrix storage types MatrixArray to ArrayStorage and MatrixVec to VecStorage.
MatrixArrayArrayStorageMatrixVecVecStorageRenames .unwrap() to .into_inner() for Unit, Transform, Orthographic3, Perspective3 and Rotation.
UnitTransformOrthographic3Perspective3Rotationunwrap()into_inner()Removes the Deref impl for MatrixVec to avoid hard-to-understand compilation errors.
DerefMatrixVecDeprecations to plan for
Deprecated2
Deprecates the Point::from_coordinates methods in favor of Point::from.
Point::from_coordinatesPoint::fromDeprecates several functions at the root of the crate, replaced by methods.