---
title: "ndarray 0.16.0 Breaking Changes on crates.io | Since.dev"
description: "What each ndarray release removed, renamed or changed: 190 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/ndarray
last_updated: 2026-12-04
---

# ndarray breaking changes

ndarray 0.16.0 (August 3, 2024) is its newest release with breaking changes, 190 of them. The first: Removed ndarray::ArrayBase::gencolumns. Every breaking API change we have recorded in ndarray on crates.io: 190 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.17.2`, released January 10, 2026. [Source repository](https://github.com/rust-ndarray/ndarray)

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

## ndarray 0.16.0 breaking changes

ndarray 0.16.0, released August 3, 2024: 190 breaking changes.

- **Removed** `ndarray::ArrayBase::gencolumns`  

ndarray::ArrayBase::gencolumns was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::ArrayBase::gencolumns_mut`  

ndarray::ArrayBase::gencolumns_mut was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::ArrayBase::genrows`  

ndarray::ArrayBase::genrows was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::ArrayBase::genrows_mut`  

ndarray::ArrayBase::genrows_mut was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::ArrayBase::maybe_uninit`  

Use uninit instead. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::ArrayBase::scalar_sum`  

Use sum instead. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::ArrayBase::uninitialized`  

ndarray::ArrayBase::uninitialized was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::ArrayBase::visit`  

ndarray::ArrayBase::visit was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::FixedInitializer`  

ndarray::FixedInitializer was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::prelude::ArrayBase::gencolumns`  

ndarray::prelude::ArrayBase::gencolumns was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::prelude::ArrayBase::gencolumns_mut`  

ndarray::prelude::ArrayBase::gencolumns_mut was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::prelude::ArrayBase::genrows`  

ndarray::prelude::ArrayBase::genrows was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::prelude::ArrayBase::genrows_mut`  

ndarray::prelude::ArrayBase::genrows_mut was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::prelude::ArrayBase::maybe_uninit`  

Use uninit instead. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::prelude::ArrayBase::scalar_sum`  

Use sum instead. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::prelude::ArrayBase::uninitialized`  

ndarray::prelude::ArrayBase::uninitialized was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::prelude::ArrayBase::visit`  

ndarray::prelude::ArrayBase::visit was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::stack_new_axis`  

ndarray::stack_new_axis was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Removed** `ndarray::stack_new_axis!`  

ndarray::stack_new_axis! was removed in ndarray 0.16.0 [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Renamed** `ndarray::prelude::ShapeBuilder::into_shape`  

Use ndarray::prelude::ShapeBuilder::into_shape_with_order instead. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Renamed** `ndarray::ShapeBuilder::into_shape`  

Use ndarray::ShapeBuilder::into_shape_with_order instead. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Behavior changed** `CowArray`  

CowArray now uses owned storage rather than copy-on-write semantics, so code relying on the old behavior must be updated. [github.com](https://github.com/rust-ndarray/ndarray/releases/tag/0.16.0)
- **Behavior changed** `RawViewMut.from_shape_ptr`  

A debug assertion now checks for aliasing, so debug builds may panic on pointers that previously passed unchecked. [github.com](https://github.com/rust-ndarray/ndarray/releases/tag/0.16.0)
- **Signature changed** `axis_windows`  

The NdProducer Dim of axis_windows is changed to Ix1, which may affect code that names the producer's dimension type. [github.com](https://github.com/rust-ndarray/ndarray/releases/tag/0.16.0)
- **Signature changed** `into_shared`  

The into_shared method now requires the element type to implement Clone. [github.com](https://github.com/rust-ndarray/ndarray/releases/tag/0.16.0)
- **Signature changed** `ndarray::arr2`  

Was fn arr2\<A: Clone, V: FixedInitializer\<Elem = A>>(xs: &\[V\]) -> Array2\<A> where V: Clone,; now fn arr2\<A: Clone, const N: usize>(xs: &\[\[A; N\]\]) -> Array2\<A>. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::arr3`  

Was fn arr3\<A: Clone, V: FixedInitializer\<Elem = U>, U: FixedInitializer\<Elem = A>>(xs: &\[V\]) -> Array3\<A> where V: Clone, U: Clone,; now fn arr3\<A: Clone, const N: usize, const M: usize>(xs: &\[\[\[A; M\]; N\]\]) -> Array3\<A>. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::Array::push_column`  

Was fn push_column(&mut self, column: ArrayView\<A, Ix1>) -> Result<(), ShapeError> where A: Clone,; now fn push_column(&mut self, column: ArrayView\<A, Ix1>) -> Result<(), ShapeError> where A: Clone. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::Array::push_row`  

Was fn push_row(&mut self, row: ArrayView\<A, Ix1>) -> Result<(), ShapeError> where A: Clone,; now fn push_row(&mut self, row: ArrayView\<A, Ix1>) -> Result<(), ShapeError> where A: Clone. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase`  

Was struct ArrayBase\<S, D> where S: RawData,; now struct ArrayBase\<S, D> where S: RawData. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::as_mut_ptr`  

Was fn as_mut_ptr(&mut self) -> \*mut A where S: RawDataMut,; now fn as_mut_ptr(&mut self) -> \*mut A where S: RawDataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::as_slice`  

Was fn as_slice(&self) -> Option<&\[A\]> where S: Data,; now fn as_slice(&self) -> Option<&\[A\]> where S: Data. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::as_slice_memory_order`  

Was fn as_slice_memory_order(&self) -> Option<&\[A\]> where S: Data,; now fn as_slice_memory_order(&self) -> Option<&\[A\]> where S: Data. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::as_slice_memory_order_mut`  

Was fn as_slice_memory_order_mut(&mut self) -> Option<&mut \[A\]> where S: DataMut,; now fn as_slice_memory_order_mut(&mut self) -> Option<&mut \[A\]> where S: DataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::as_slice_mut`  

Was fn as_slice_mut(&mut self) -> Option<&mut \[A\]> where S: DataMut,; now fn as_slice_mut(&mut self) -> Option<&mut \[A\]> where S: DataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::axis_chunks_iter`  

Was fn axis_chunks_iter(&self, axis: Axis, size: usize) -> AxisChunksIter<'\_, A, D> where S: Data,; now fn axis_chunks_iter(&self, axis: Axis, size: usize) -> AxisChunksIter<'\_, A, D> where S: Data. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::axis_chunks_iter_mut`  

Was fn axis_chunks_iter_mut(&mut self, axis: Axis, size: usize) -> AxisChunksIterMut<'\_, A, D> where S: DataMut,; now fn axis_chunks_iter_mut(&mut self, axis: Axis, size: usize) -> AxisChunksIterMut<'\_, A, D> where S: DataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::axis_windows`  

Was fn axis_windows(&self, axis: Axis, window_size: usize) -> Windows<'\_, A, D> where S: Data,; now fn axis_windows(&self, axis: Axis, window_size: usize) -> AxisWindows<'\_, A, D> where S: Data. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::cell_view`  

Was fn cell_view(&mut self) -> ArrayView<'\_, MathCell\<A>, D> where S: DataMut,; now fn cell_view(&mut self) -> ArrayView<'\_, MathCell\<A>, D> where S: DataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::column`  

Was fn column(&self, index: Ix) -> ArrayView1<'\_, A> where S: Data,; now fn column(&self, index: Ix) -> ArrayView1<'\_, A> where S: Data. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::column_mut`  

Was fn column_mut(&mut self, index: Ix) -> ArrayViewMut1<'\_, A> where S: DataMut,; now fn column_mut(&mut self, index: Ix) -> ArrayViewMut1<'\_, A> where S: DataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::columns`  

Was fn columns(&self) -> Lanes<'\_, A, D::Smaller> where S: Data,; now fn columns(&self) -> Lanes<'\_, A, D::Smaller> where S: Data. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::columns_mut`  

Was fn columns_mut(&mut self) -> LanesMut<'\_, A, D::Smaller> where S: DataMut,; now fn columns_mut(&mut self) -> LanesMut<'\_, A, D::Smaller> where S: DataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::diag`  

Was fn diag(&self) -> ArrayView1<'\_, A> where S: Data,; now fn diag(&self) -> ArrayView1<'\_, A> where S: Data. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::diag_mut`  

Was fn diag_mut(&mut self) -> ArrayViewMut1<'\_, A> where S: DataMut,; now fn diag_mut(&mut self) -> ArrayViewMut1<'\_, A> where S: DataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::dot`  

Was fn dot\<Rhs>(&self, rhs: &Rhs) -> \<Self as Dot\<Rhs>>::Output where Self: Dot\<Rhs>,; now fn dot\<Rhs>(&self, rhs: &Rhs) -> \<Self as Dot\<Rhs>>::Output where Self: Dot\<Rhs>. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::first`  

Was fn first(&self) -> Option<&A> where S: Data,; now fn first(&self) -> Option<&A> where S: Data. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::first_mut`  

Was fn first_mut(&mut self) -> Option<&mut A> where S: DataMut,; now fn first_mut(&mut self) -> Option<&mut A> where S: DataMut. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::from_shape_vec`  

Was fn from_shape_vec\<Sh>(shape: Sh, v: Vec\<A>) -> Result\<Self, ShapeError> where Sh: Into\<StrideShape\<D>>,; now fn from_shape_vec\<Sh>(shape: Sh, v: Vec\<A>) -> Result\<Self, ShapeError> where Sh: Into\<StrideShape\<D>>. [crates.io](https://crates.io/crates/ndarray/0.16.0)
- **Signature changed** `ndarray::ArrayBase::from_shape_vec_unchecked`  

Was unsafe fn from_shape_vec_unchecked\<Sh>(shape: Sh, v: Vec\<A>) -> Self where Sh: Into\<StrideShape\<D>>,; now unsafe fn from_shape_vec_unchecked\<Sh>(shape: Sh, v: Vec\<A>) -> Self where Sh: Into\<StrideShape\<D>>. [crates.io](https://crates.io/crates/ndarray/0.16.0)

And 140 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.
