Skip to content

Commit d7e87b2

Browse files
committed
Prepare to release version 0.21.0
1 parent c37c1a4 commit d7e87b2

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
- Unreleased
44

5+
- v0.21.0
6+
- Migrate to the new `Bound` API introduced by PyO3 0.21. ([#410](https://github.com/PyO3/rust-numpy/pull/410)) ([#411](https://github.com/PyO3/rust-numpy/pull/411)) ([#412](https://github.com/PyO3/rust-numpy/pull/412)) ([#415](https://github.com/PyO3/rust-numpy/pull/415)) ([#416](https://github.com/PyO3/rust-numpy/pull/416)) ([#418](https://github.com/PyO3/rust-numpy/pull/418)) ([#419](https://github.com/PyO3/rust-numpy/pull/419)) ([#420](https://github.com/PyO3/rust-numpy/pull/420)) ([#421](https://github.com/PyO3/rust-numpy/pull/421)) ([#422](https://github.com/PyO3/rust-numpy/pull/422))
7+
- Add a `prelude` module to simplify importing method traits required by the `Bound` API. ([#417](https://github.com/PyO3/rust-numpy/pull/417))
8+
- Extend documentation to cover some more surprising behaviours. ([#405](https://github.com/PyO3/rust-numpy/pull/405)) ([#414](https://github.com/PyO3/rust-numpy/pull/414))
9+
510
- v0.20.0
611
- Increase MSRV to 1.56 released in October 2021 and available in Debain 12, RHEL 9 and Alpine 3.17 following the same change for PyO3. ([#378](https://github.com/PyO3/rust-numpy/pull/378))
712
- Add support for ASCII (`PyFixedString<N>`) and Unicode (`PyFixedUnicode<N>`) string arrays, i.e. dtypes `SN` and `UN` where `N` is the number of characters. ([#378](https://github.com/PyO3/rust-numpy/pull/378))

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "numpy"
3-
version = "0.20.0"
3+
version = "0.21.0"
44
authors = [
55
"The rust-numpy Project Developers",
66
"PyO3 Project and Contributors <https://github.com/PyO3>"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ name = "rust_ext"
3838
crate-type = ["cdylib"]
3939

4040
[dependencies]
41-
pyo3 = { version = "0.20", features = ["extension-module"] }
42-
numpy = "0.20"
41+
pyo3 = { version = "0.21", features = ["extension-module"] }
42+
numpy = "0.21"
4343
```
4444

4545
```rust
@@ -93,8 +93,8 @@ fn rust_ext<'py>(_py: Python<'py>, m: &Bound<'py, PyModule>) -> PyResult<()> {
9393
name = "numpy-test"
9494

9595
[dependencies]
96-
pyo3 = { version = "0.20", features = ["auto-initialize"] }
97-
numpy = "0.20"
96+
pyo3 = { version = "0.21", features = ["auto-initialize"] }
97+
numpy = "0.21"
9898
```
9999

100100
```rust
@@ -132,7 +132,7 @@ on anything but that exact range. It can therefore be necessary to manually unif
132132
For example, if you specify the following dependencies
133133

134134
```toml
135-
numpy = "0.20"
135+
numpy = "0.21"
136136
ndarray = "0.13"
137137
```
138138

0 commit comments

Comments
 (0)