Skip to content

Commit 4021797

Browse files
committed
Update the changelog (descriptors rework)
1 parent fee612d commit 4021797

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@
55
- Support borrowing arrays that are part of other Python objects via `PyArray::borrow_from_array` ([#230](https://github.com/PyO3/rust-numpy/pull/216))
66
- `PyArray::new` is now `unsafe`, as it produces uninitialized arrays ([#220](https://github.com/PyO3/rust-numpy/pull/220))
77
- `rayon` feature is now removed, and directly specifying the feature via `ndarray` dependency is recommended ([#250](https://github.com/PyO3/rust-numpy/pull/250))
8+
- Descriptors rework and related changes ([#256](https://github.com/PyO3/rust-numpy/pull/256)):
9+
- Remove `DataType`
10+
- Add the top-level `dtype` function for easy access to registered dtypes
11+
- Add `PyArrayDescr::of`, `PyArrayDescr::into_dtype_ptr` and `PyArrayDescr::is_equiv_to`
12+
- `Element` trait has been simplified to just `IS_COPY` const and `get_dtype` method
13+
- `Element` is now implemented for `isize`
14+
- `c32` and `c64` aliases have been replaced with `Complex32` and `Complex64`
15+
- `ShapeError` has been split into `TypeError` and `DimensionalityError`
16+
- `i32`, `i64`, `u32` and `u64` are now guaranteed to map to
17+
`np.int32`, `np.int64`, `np.uint32` and `np.uint64` respectively
18+
- Remove `cfg_if` dependency
819

920
- v0.15.1
1021
- Make arrays produced via `IntoPyArray`, i.e. those owning Rust data, writeable ([#235](https://github.com/PyO3/rust-numpy/pull/235))

0 commit comments

Comments
 (0)