Skip to content

Releases: PyO3/rust-numpy

rust-numpy version 0.18.0

18 Jan 16:54

Choose a tag to compare

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.

rust-numpy version 0.17.2

16 Sep 18:00

Choose a tag to compare

This release fixes unsound aliasing into Box<[T]> when converting these into PyArray<T, D> via the IntoPyArray trait.

rust-numpy version 0.17.1

28 Aug 08:36
95e3bb5

Choose a tag to compare

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.

rust-numpy version 0.17.0

24 Aug 08:45

Choose a tag to compare

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.

rust-numpy version 0.16.2

18 Mar 08:24
9ec102d

Choose a tag to compare

This release fixes builds on platforms where c_char is unsigned, for example Linux/AArch64.

rust-numpy version 0.16.1

08 Mar 22:06
983514d

Choose a tag to compare

This release contains a bugfix to make this crate compatible again with PyO3's multiple-pymethods feature.

rust-numpy version 0.16.0

03 Mar 21:58
b9f01fa

Choose a tag to compare

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.

rust-numpy version 0.15.1

09 Jan 04:17
ccd2c69

Choose a tag to compare

Mainly consisting of security fixes by @adamreichold. Thanks!

  • Make arrays produced via IntoPyArray, i.e. those owning Rust data, writeable (#235)
  • Fix thread-safety in internal API globals (#222)

rust-numpy version 0.15.0

06 Nov 12:09
29f2737

Choose a tag to compare

Also, this version includes some documentation fixes: #206, #210, and #214. Thanks!

rust-numpy version 0.14.1

15 Jul 01:10
5dbad31

Choose a tag to compare