---
title: "nalgebra 0.35.0 Breaking Changes on crates.io | Since.dev"
description: "What each nalgebra release removed, renamed or changed: 260 breaking changes in 4 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/nalgebra
last_updated: 2026-12-04
---

# 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

Latest version `0.35.0`, released May 24, 2026. [Source repository](https://github.com/dimforge/nalgebra)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.30.0](#v-0-30-0) to [0.35.0](#v-0-35-0): 248 breaking changes in 3 versions.

## nalgebra 0.35.0 breaking changes

nalgebra 0.35.0, released May 24, 2026: 2 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](https://github.com/dimforge/nalgebra/blob/v0.35.0/CHANGELOG.md)
- **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](https://github.com/dimforge/nalgebra/blob/v0.35.0/CHANGELOG.md)

## nalgebra 0.34.0 breaking changes

nalgebra 0.34.0, released July 31, 2025: 3 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](https://crates.io/crates/nalgebra/0.34.0)
- **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](https://crates.io/crates/nalgebra/0.34.0)
- **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](https://crates.io/crates/nalgebra/0.34.0)

## nalgebra 0.33.0 breaking changes

nalgebra 0.33.0, released June 23, 2024: 243 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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)
- **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](https://crates.io/crates/nalgebra/0.33.0)

And 233 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## nalgebra 0.30.0 breaking changes

nalgebra 0.30.0, released January 2, 2022: 12 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](https://github.com/dimforge/nalgebra/blob/v0.30.0/CHANGELOG.md)
- **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](https://github.com/dimforge/nalgebra/blob/v0.30.0/CHANGELOG.md)
- **Behavior changed** `SVD`  

Singular values are sorted in increasing order by default. Use SVD::new_unordered to keep the previous unsorted behavior. [github.com](https://github.com/dimforge/nalgebra/blob/v0.30.0/CHANGELOG.md)
- **Signature changed** `Dim`  

Code that implements the Dim trait must now mark its implementation as unsafe. [github.com](https://github.com/dimforge/nalgebra/blob/v0.30.0/CHANGELOG.md)
- **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](https://crates.io/crates/nalgebra/0.30.0)
- **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](https://crates.io/crates/nalgebra/0.30.0)
- **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](https://crates.io/crates/nalgebra/0.30.0)
- **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](https://crates.io/crates/nalgebra/0.30.0)
- **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](https://crates.io/crates/nalgebra/0.30.0)
- **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](https://crates.io/crates/nalgebra/0.30.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
