nalgebra breaking changes
nalgebra 0.35.0 (May 24, 2026) is its newest release with breaking changes, 2 of them. The first: Removed convert-glamXXX. Every breaking API change we have recorded in nalgebra on crates.io: 260 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.35.0, released May 24, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
nalgebra 0.35.0 breaking changes
- Removed
convert-glamXXX
The convert-glamXXX features for glam versions prior to 0.30 are gone. Code that enabled them must move to a supported glam version or drop the feature. github.com - Configuration changed
The minimum supported Rust compiler is now 1.89.0. Users on older toolchains must upgrade Rust before building this release. github.com
nalgebra 0.34.0 breaking changes
- Signature changed
nalgebra::base::OMatrix::new_random_generic
Was fn new_random_generic(nrows: R, ncols: C) -> Self where Standard: Distribution<T>,; now fn new_random_generic(nrows: R, ncols: C) -> Self where StandardUniform: Distribution<T>,. crates.io - Signature changed
nalgebra::geometry::Quaternion::cast
Was fn cast<To: Scalar>(self) -> Quaternion<To> where T: Scalar, To: SupersetOf<T>,; now fn cast<To>(self) -> Quaternion<To> where T: Scalar, To: Scalar + SupersetOf<T>,. crates.io - Signature changed
nalgebra::geometry::UnitQuaternion::cast
Was fn cast<To: Scalar>(self) -> UnitQuaternion<To> where To: SupersetOf<T>,; now fn cast<To>(self) -> UnitQuaternion<To> where To: Scalar + SupersetOf<T>,. crates.io
nalgebra 0.33.0 breaking changes
- Signature changed
nalgebra::AbstractRotation
Was trait AbstractRotation<T: Scalar, const D: usize>: PartialEq + ClosedMul + Clone; now trait AbstractRotation<T: Scalar, const D: usize>: PartialEq + ClosedMulAssign + Clone. crates.io - Signature changed
nalgebra::base::allocator::Allocator
Was trait Allocator<T, R: Dim, C: Dim = U1>: Any + Sized; now trait Allocator<R: Dim, C: Dim = U1>: Any + Sized. crates.io - Signature changed
nalgebra::base::allocator::Allocator::allocate_from_iterator
Was fn allocate_from_iterator<I: IntoIterator<Item = T>>(nrows: R, ncols: C, iter: I) -> Self::Buffer; now fn allocate_from_iterator<T: Scalar, I: IntoIterator<Item = T>>(nrows: R, ncols: C, iter: I) -> Self::Buffer<T>. crates.io - Signature changed
nalgebra::base::allocator::Allocator::allocate_from_row_iterator
Was fn allocate_from_row_iterator<I: IntoIterator<Item = T>>(nrows: R, ncols: C, iter: I) -> Self::Buffer; now fn allocate_from_row_iterator<T: Scalar, I: IntoIterator<Item = T>>(nrows: R, ncols: C, iter: I) -> Self::Buffer<T>. crates.io - Signature changed
nalgebra::base::allocator::Allocator::allocate_uninit
Was fn allocate_uninit(nrows: R, ncols: C) -> Self::BufferUninit; now fn allocate_uninit<T: Scalar>(nrows: R, ncols: C) -> Self::BufferUninit<T>. crates.io - Signature changed
nalgebra::base::allocator::Allocator::assume_init
Was unsafe fn assume_init(uninit: Self::BufferUninit) -> Self::Buffer; now unsafe fn assume_init<T: Scalar>(uninit: Self::BufferUninit<T>) -> Self::Buffer<T>. crates.io - Signature changed
nalgebra::base::allocator::Allocator::Buffer
Was type Buffer: StorageMut<T, R, C> + IsContiguous + Clone + Debug; now type Buffer<T: Scalar>: StorageMut<T, R, C> + IsContiguous + Clone + Debug. crates.io - Signature changed
nalgebra::base::allocator::Allocator::BufferUninit
Was type BufferUninit: RawStorageMut<MaybeUninit<T>, R, C> + IsContiguous; now type BufferUninit<T: Scalar>: RawStorageMut<MaybeUninit<T>, R, C> + IsContiguous. crates.io - Signature changed
nalgebra::base::allocator::Reallocator
Was trait Reallocator<T: Scalar, RFrom: Dim, CFrom: Dim, RTo: Dim, CTo: Dim>: Allocator<T, RFrom, CFrom> + Allocator<T, RTo, CTo>; now trait Reallocator<T: Scalar, RFrom: Dim, CFrom: Dim, RTo: Dim, CTo: Dim>: Allocator<RFrom, CFrom> +... crates.io - Signature changed
nalgebra::base::allocator::Reallocator::reallocate_copy
Was unsafe fn reallocate_copy(nrows: RTo, ncols: CTo, buf: <Self as Allocator<T, RFrom, CFrom>>::Buffer) -> <Self as Allocator<T, RTo, CTo>>::BufferUninit; now unsafe fn reallocate_copy(nrows: RTo, ncols: CTo, buf: <Self as... crates.io
And 233 more in this version. Sign up to see every change
nalgebra 0.30.0 breaking changes
- Behavior changed
Matrix.pow
Negative exponents are no longer allowed. To compute them, invert the matrix first and call pow with the absolute value of the exponent. github.com - Behavior changed
Matrix.pow_mut
Negative exponents are no longer allowed. To compute them, invert the matrix first and call pow_mut with the absolute value of the exponent. github.com - Behavior changed
SVD
Singular values are sorted in increasing order by default. Use SVD::new_unordered to keep the previous unsorted behavior. github.com - Signature changed
Dim
Code that implements the Dim trait must now mark its implementation as unsafe. github.com - Signature changed
nalgebra::base::Dim
Was trait Dim: Any + Debug + Copy + PartialEq + Send + Sync; now unsafe trait Dim: Any + Debug + Copy + PartialEq + Send + Sync. crates.io - Signature changed
nalgebra::base::dimension::Dim
Was trait Dim: Any + Debug + Copy + PartialEq + Send + Sync; now unsafe trait Dim: Any + Debug + Copy + PartialEq + Send + Sync. crates.io - Signature changed
nalgebra::base::Matrix::pow
Was fn pow<I: PrimInt + DivAssign>(&self, e: I) -> Option<OMatrix<T, D, D>>; now fn pow(&self, exp: u32) -> OMatrix<T, D, D>. crates.io - Signature changed
nalgebra::base::Matrix::pow_mut
Was fn pow_mut<I: PrimInt + DivAssign>(&mut self, mut e: I) -> bool; now fn pow_mut(&mut self, mut exp: u32). crates.io - Signature changed
nalgebra::base::Matrix::svd
Was fn svd(self, compute_u: bool, compute_v: bool) -> SVD<T, R, C> where R: DimMin<C>, DimMinimum<R, C>: DimSub<U1>, // for Bidiagonal. DefaultAllocator: Allocator<T, R, C> + Allocator<T, C> + Allocator<T, R> + Allocator<T... crates.io - Signature changed
nalgebra::base::Matrix::try_svd
Was fn try_svd(self, compute_u: bool, compute_v: bool, eps: T::RealField, max_niter: usize) -> Option<SVD<T, R, C>> where R: DimMin<C>, DimMinimum<R, C>: DimSub<U1>, // for Bidiagonal. DefaultAllocator: Allocator<T, R, C> + Allocator<T, C>... crates.io
And 2 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.