NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #1428 most downloaded on crates.io
PyO3-based Rust bindings of the NumPy C-API
Latest stable
0.30.0
Last release 1 months ago
15 Oct 2026
Ships fairly regularly
a new release about every 2 months
Most releases are documented
notes for 33 of 46 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
48 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
fix: report dtype/ndim error when extracting PyReadonlyArray/PyReadwriteArray by @flying-sheep in https://github.com/PyO3/rust-numpy/pull/562
PyReadonlyArray/PyReadwriteArray by @flying-sheep in https://github.com/PyO3/rust-numpy/pull/562c_str! macro with c-string literals by @Icxolu in https://github.com/PyO3/rust-numpy/pull/569Full Changelog: https://github.com/PyO3/rust-numpy/compare/v0.29.0...v0.30.0
Fix PyArray_DTypeMeta definition when Py_LIMITED_API is disabled by @mattiapenati in https://github.com/PyO3/rust-numpy/pull/532
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/PyO3/rust-numpy/compare/v0.28.0...v0.29.0
remove deprecated extension-module feature from docs and examples by @Icxolu in https://github.com/PyO3/rust-numpy/pull/519
extension-module feature from docs and examples by @Icxolu in https://github.com/PyO3/rust-numpy/pull/519readonly and readwrite by @jakelishman in https://github.com/PyO3/rust-numpy/pull/524as_slice by @jakelishman in https://github.com/PyO3/rust-numpy/pull/525numpy to 0.28.0 by @Icxolu in https://github.com/PyO3/rust-numpy/pull/531Full Changelog: https://github.com/PyO3/rust-numpy/compare/v0.27.1...v0.28.0
Bumped ndarray to 0.17. by @bangconghuynh in https://github.com/PyO3/rust-numpy/pull/516
Full Changelog: https://github.com/PyO3/rust-numpy/compare/v0.27.0...v0.27.1
ci: configure trusted publishing by @Icxolu in https://github.com/PyO3/rust-numpy/pull/507
Full Changelog: https://github.com/PyO3/rust-numpy/compare/v0.26.0...v0.27.0
Bumps to PyO3 0.26 and MSRV 1.74.
Bumps to PyO3 0.26 and MSRV 1.74.
Thanks to @Icxolu for the update!
This release bumps the PyO3 dependency to 0.25.0.
This release bumps the PyO3 dependency to 0.25.0.
Thank you to @bschoenmaeckers and @mejrs for the update!
This release bumps the PyO3 dependency to 0.24.0.
This release bumps the PyO3 dependency to 0.24.0.
It also adds support for the free-threaded build of Python 3.13+.
Thank you to @bschoenmaeckers, @tuxu, @davidhewitt, @Icxolu and @ngoldbaum for the improvements!
This release bumps PyO3 to 0.23.0. As part of this change many trait bounds have changed to require the new IntoPyObject trait, and types implementing
This release bumps PyO3 to 0.23.0. As part of this change many trait bounds have changed to require the new IntoPyObject trait, and types implementing the Element trait are now required to be Sync.
Additionally, the rustc-hash dependency has been bumped to 2 and the nalgebra optional dependency has had the accepted range widened to allow version 0.33.
Thank you to @Icxolu, @kli6891 and @jonaspleyer for the improvements.
This release fixes support for 32-bit Windows, and adds PyReadWriteArray::make_nonwriteable .
This release fixes support for 32-bit Windows, and adds PyReadWriteArray::make_nonwriteable.
Thanks to @jakelishman for the improvements!
This long-overdue release bumps PyO3 version to 0.22.0, bringing Python 3.13 support. Also included is support for numpy 2.0 as well as ndarray 0.16.
This long-overdue release bumps PyO3 version to 0.22.0, bringing Python 3.13 support. Also included is support for numpy 2.0 as well as ndarray 0.16.
Thank you to the long list of contributors who made this happen, including:
@adamreichold
@aMarcireau
@bschoenmaeckers
@davidhewitt
@euanwm
@itamarst
@JRRudy1
@maffoo
@magnusuMET
This release matches PyO3 version 0.21.0 and thanks to the tireless work of @Icxolu migrates to the new Bound API which unlocks pervasive performance
This release matches PyO3 version 0.21.0 and thanks to the tireless work of @Icxolu migrates to the new Bound API which unlocks pervasive performance improvements. It also adds a prelude module to simplify imports and extends the documentation to cover some surprising behaviours.
This release matches PyO3 version 0.20.0 and follows its MSRV increase to Rust 1.56. It adds support for fixed size string-like elements via PyFixedSt
This release matches PyO3 version 0.20.0 and follows its MSRV increase to Rust 1.56. It adds support for fixed size string-like elements via PyFixedString and PyFixedUnicode, adds support for the bfloat16 element type often added to NumPy by third-party packages and introduces the PyArrayLike receiver type to provide flexible yet efficient array-based API.
This release matches PyO3 version 0.19.0. It introduces PyUntypedArray which allows safe inspection of an array before committing to an element type.
This release matches PyO3 version 0.19.0. It introduces PyUntypedArray which allows safe inspection of an array before committing to an element type.
…provided by the `nalgebra` crate, drops the deprecated wrappers around NumPy's iterators and makes the dynamic borrow checking work across multiple ex…
This release matches PyO3 version 0.18.0, adds basic conversions to and from the types provided by the nalgebra crate, drops the deprecated wrappers around NumPy's iterators and makes the dynamic borrow checking work across multiple extensions and potentially language boundaries.
This release fixes unsound aliasing into Box<[T]> when converting these into PyArray via the IntoPyArray trait.
This release fixes unsound aliasing into Box<[T]> when converting these into PyArray<T, D> via the IntoPyArray trait.
This release fixes a use-after-free bug in how the methods PyArray::resize, PyArray::reshape and PyArray::reshape_with_order call into the NumPy C-API
This release fixes a use-after-free bug in how the methods PyArray::resize, PyArray::reshape and PyArray::reshape_with_order call into the NumPy C-API.
Due to this breaking memory safety and being easy to hit in release builds, the previous release 0.17.0 was yanked from crates.io.
This release matches PyO3 version 0.17.0. It introduces dynamic borrow checking for PyArray and adds support for NumPy's float16, datetime64 and timed
This release matches PyO3 version 0.17.0. It introduces dynamic borrow checking for PyArray and adds support for NumPy's float16, datetime64 and timedelta64 data types. The complete changelog lists further fixes and enhancements.
This release fixes builds on platforms where c_char is unsigned, for example Linux/AArch64.
This release fixes builds on platforms where c_char is unsigned, for example Linux/AArch64.
This release contains a bugfix to make this crate compatible again with PyO3's multiple-pymethods feature.
This release contains a bugfix to make this crate compatible again with PyO3's multiple-pymethods feature.
PyArray , contains a large overhaul of the dtype-related API, i.e. PyArrayDescr, by @aldanor and deprecates the npyiter module in favour of ndarray's…
This release matches PyO3 version 0.16.0, adds support for object arrays, i.e. PyArray<PyObject, D>, contains a large overhaul of the dtype-related API, i.e. PyArrayDescr, by @aldanor and deprecates the npyiter module in favour of ndarray's iteration facilities. Smaller fixes and improvements are listed in the complete changelog.
Mainly consisting of security fixes by @adamreichold. Thanks!
Remove resolver from Cargo.toml
Also, this version includes some documentation fixes: #206, #210, and #214. Thanks!
- v0.14.1 - Fix MSRV support
- v0.14 - Bump PyO3 to 0.14 - Fix conversion bug
Nothing published for this version
Allow ndarray >=0.13, < 0.15 to work with Rust 1.41.1.
>=0.13, < 0.15 to work with Rust 1.41.1.Drop support for Python 3.5 (as it is now end-of-life).
python3 featureUse more restricted versions for PyO3 and ndarray
Fixes a compilation error with Rust 1.39 (also, please use pyo3 >= 0.12.2 for Rust 1.39)
pyo3 >= 0.12.2 for Rust 1.39)This version includes two additional wrappers: for dtype and nditer. PyArrayDescr is introduced as a wrapper of array.dtype in Python. Also, we added
This version includes two additional wrappers: for dtype and nditer.
PyArrayDescr is introduced as a wrapper of array.dtype in Python.
Also, we added wrappers of nditer as two types: NpySingleIter and NpyMultiIter.
Both iterators have a nice, flexible builders, thanks @PTNobel!
Introduce PyArray::get_owned and PyReadonlyArray::get.
PyArray::get is now unsafe.PyArray::get_owned and PyReadonlyArray::get.I want to note that there are two important changes in this version. One is that rust-numpy works on stable Rust as per PyO3 0.11, and the other is Py
I want to note that there are two important changes in this version. One is that rust-numpy works on stable Rust as per PyO3 0.11, and the other is PyReadonlyArray.
To prevent undefined behavior, PyArray::as_slice and families are unsafe now. Please use the safe PyReadonlyArray::as_slice instead.
ErrorKind and introduce some concrete error typesPyArray::as_slice, PyArray::as_slice_mut, PyArray::as_array, and PyArray::as_array_mut is now unsafe.PyArray::as_cell_slice, PyArray::to_vec, and PyArray::to_owned_arrayTypeNum trait Element, and NpyDataType DataTypeNothing published for this version
- Update PyO3 to 0.9.0 - Fix SliceBox initialization
Nothing published for this version
- Update PyO3 to 0.7 - Drop Python2 support
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.