Skip to content

Commit

Permalink
0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Nov 28, 2020
1 parent f51f3e4 commit fec35f7
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "ndarray"
version = "0.13.1"
version = "0.14.0"
edition = "2018"
authors = [
"bluss",
Expand Down
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ How to use with cargo
::

[dependencies]
ndarray = "0.13.0"
ndarray = "0.14.0"

How to enable blas integration. Depend on ``blas-src`` directly to pick a blas
provider. Depend on the same ``blas-src`` version as ``ndarray`` does, for the
Expand All @@ -81,15 +81,16 @@ provider::


[dependencies]
ndarray = { version = "0.13.0", features = ["blas"] }
blas-src = { version = "0.2.0", default-features = false, features = ["openblas"] }
openblas-src = { version = "0.6.0", default-features = false, features = ["cblas", "system"] }
ndarray = { version = "0.14.0", features = ["blas"] }
blas-src = { version = "0.6.1", default-features = false, features = ["openblas"] }
openblas-src = { version = "0.9", default-features = false, features = ["cblas", "system"] }

For official releases of ``ndarray``, the versions are:

=========== ============ ================
``ndarray`` ``blas-src`` ``openblas-src``
=========== ============ ================
0.14.0 0.6.1 0.9.0
0.13.0 0.2.0 0.6.0
0.12.\* 0.2.0 0.6.0
0.11.\* 0.1.2 0.5.0
Expand Down
69 changes: 68 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,67 @@
Version 0.14.0 (2020-11-28)
===========================

New features
------------

- `Zip::apply_collect` and `Zip::par_apply_collect` now supports general
elements (not just `Copy`)
https://github.com/rust-ndarray/ndarray/pull/817
- New function `stack` (new behaviour!) by [@andrei-papou]

Enhancements
------------

- Handle inhomogenous shape inputs better in Zip, in practice, guess better whether
to prefer c- or f-order for the inner loop by [@bluss]
https://github.com/rust-ndarray/ndarray/pull/809

API changes
-----------

- The **old function** `stack` has been renamed to `concatenate`.
A new function `stack` with numpy-like semantics have taken its place.
Old usages of `stack` should change to use `concatenate`.

`concatenate` produces an array with the same number of axes as the inputs.
`stack` produces an array that has one more axis than the inputs.

This change was unfortunately done without a deprecation period, due to the long period between releases.

- Enum ErrorKind is now properly non-exhaustive and has lost its old placeholder invalid variant. By [@Zuse64]
https://github.com/rust-ndarray/ndarray/pull/848

- Remove deprecated items:

- RcArray (deprecated alias for ArcArray)
- Removed `subview_inplace` use `collapse_axis`
- Removed `subview_mut` use `index_axis_mut`
- Removed `into_subview` use `index_axis_move`
- Removed `subview` use `index_axis`
- Removed `slice_inplace` use `slice_collapse`
- Undeprecate `remove_axis` because its replacement is hard to find out on your own.

- Update public external dependencies to new versions by [@Eijebong] and [@bluss]

- num-complex 0.3
- approx 0.4 (optional)
- blas-src 0.6.1 and openblas-src 0.9.0 (optional)

https://github.com/rust-ndarray/ndarray/pull/810
https://github.com/rust-ndarray/ndarray/pull/851


Other changes
-------------

- Minor doc fixes by [@acj]
https://github.com/rust-ndarray/ndarray/pull/834

- Minor doc fixes by [@xd009642]
https://github.com/rust-ndarray/ndarray/pull/847

- The minimum required rust version is Rust 1.42.

Version 0.13.1 (2020-04-21)
===========================

Expand Down Expand Up @@ -942,7 +1006,6 @@ Earlier releases
[@max-sixty]: https://github.com/max-sixty
[@JP-Ellis]: https://github.com/JP-Ellis
[@sebasv]: https://github.com/sebasv
[@andrei-papou]: https://github.com/sebasv
[@mneumann]: https://github.com/mneumann
[@termoshtt]: https://github.com/termoshtt
[@rth]: https://github.com/rth
Expand All @@ -953,3 +1016,7 @@ Earlier releases
[@mockersf]: https://github.com/mockersf
[@viniciusd]: https://github.com/viniciusd
[@lifuyang]: https://github.com/liufuyang
[@acj]: https://github.com/acj
[@Eijebong]: https://github.com/Eijebong
[@andrei-papou]: https://github.com/andrei-papou
[@xd009642]: https://github.com/xd009642
2 changes: 1 addition & 1 deletion ndarray-rand/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description = "Constructors for randomized arrays. `rand` integration for `ndarr
keywords = ["multidimensional", "matrix", "rand", "ndarray"]

[dependencies]
ndarray = { version = "0.13", path = ".." }
ndarray = { version = "0.14", path = ".." }
rand_distr = "0.2.1"
quickcheck = { version = "0.9", default-features = false, optional = true }

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![crate_name = "ndarray"]
#![doc(html_root_url = "https://docs.rs/ndarray/0.13/")]
#![doc(html_root_url = "https://docs.rs/ndarray/0.14/")]
#![allow(
clippy::many_single_char_names,
clippy::deref_addrof,
Expand Down

0 comments on commit fec35f7

Please sign in to comment.