Skip to content

Commit c9c6112

Browse files
Changelog for v0.13 (#702)
* Start (slowly) to fill in the changelog * Use proper links * 2 out of 3 pages of PRs. * Move the rayon news * Complete! * Address comments
1 parent e56ca71 commit c9c6112

File tree

1 file changed

+76
-5
lines changed

1 file changed

+76
-5
lines changed

RELEASES.md

+76-5
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,81 @@ Version 0.13.0 (in development)
44
New features
55
------------
66

7+
- `ndarray-parallel` is merged into `ndarray`. Use the `rayon` feature-flag to get access to parallel iterators and
8+
other parallelized methods.
9+
([#563](https://github.com/rust-ndarray/ndarray/pull/563/files) by [@bluss])
710
- Add `logspace` and `geomspace` constructors
8-
([#617](https://github.com/rust-ndarray/ndarray/pull/617) by @JP-Ellis)
9-
- Implement approx traits for `ArrayBase`
10-
([#581](https://github.com/rust-ndarray/ndarray/pull/581) by @jturner314)
11+
([#617](https://github.com/rust-ndarray/ndarray/pull/617) by [@JP-Ellis])
12+
- Implement approx traits for `ArrayBase`. They can be enabled using the `approx` feature-flag.
13+
([#581](https://github.com/rust-ndarray/ndarray/pull/581) by [@jturner314])
14+
- Add `mean` method
15+
([#580](https://github.com/rust-ndarray/ndarray/pull/580) by [@LukeMathWalker])
16+
- Add `Zip::all` to check if all elements of an iterator satisfy a predicate
17+
([#615](https://github.com/rust-ndarray/ndarray/pull/615) by [@mneumann])
18+
- Add `CowArray`, `C`lone `o`n `write` array
19+
([#632](https://github.com/rust-ndarray/ndarray/pull/632) by [@jturner314] and [@andrei-papou])
20+
- Add `as_contiguous` to `ArrayBase`: it takes an array by reference and returns a `CoWArray` in standard layout
21+
([#616](https://github.com/rust-ndarray/ndarray/pull/616) by [@jturner314] and [@andrei-papou])
22+
- Add `Array2::from_diag` method to create 2D arrays from a diagonal
23+
([#673](https://github.com/rust-ndarray/ndarray/pull/673) by [@rth])
24+
- Add `fold` method to `Zip`
25+
([#684](https://github.com/rust-ndarray/ndarray/pull/684) by [@jturner314])
26+
- Add `nth_back` method to `ndarray`'s iterators
27+
([#686](https://github.com/rust-ndarray/ndarray/pull/686) by [@jturner314])
28+
- Add `split_at` method to `AxisChunksIter/Mut`
29+
([#691](https://github.com/rust-ndarray/ndarray/pull/691) by [@jturner314])
30+
- Add `into_scalar` method to `ArrayView0` and `ArrayViewMut0`
31+
([#700](https://github.com/rust-ndarray/ndarray/pull/700) by [@LukeMathWalker])
1132

1233
Enhancements
1334
------------
35+
- Improve performance for matrix multiplications when using the pure-Rust backend thanks to `matrix-multiply:v0.2`
36+
(leverage SIMD instructions on x86-64 with runtime feature detection)
37+
([#556](https://github.com/rust-ndarray/ndarray/pull/556) by [@bluss])
38+
- Improve performance of `fold` for iterators
39+
([#574](https://github.com/rust-ndarray/ndarray/pull/574) by [@jturner314])
40+
- Improve performance of iterators for 1-d arrays
41+
([#614](https://github.com/rust-ndarray/ndarray/pull/614) by [@andrei-papou])
42+
- Better formatting for arrays when using the `Debug` formatter
43+
([#606](https://github.com/rust-ndarray/ndarray/pull/606) by [@andrei-papou] and [@LukeMathWalker])
44+
- Arithmetic operations between arrays with different element types are now allowed when there is a scalar equivalent
45+
([#588](https://github.com/rust-ndarray/ndarray/pull/588) by [@jturner314])
46+
- `.map_axis/_mut` won't panic on 0-length `axis`
47+
([#579](https://github.com/rust-ndarray/ndarray/pull/612) by [@andrei-papou])
48+
- Various documentation improvements (by [@jturner314], [@JP-Ellis])
1449

1550
API changes
1651
-----------
1752
- The `into_slice` method on ArrayView is deprecated and renamed to `to_slice`
18-
([#646](https://github.com/rust-ndarray/ndarray/pull/646) by @max-sixty)
53+
([#646](https://github.com/rust-ndarray/ndarray/pull/646) by [@max-sixty])
54+
- `RcArray` is deprecated in favour of `ArcArray`
55+
([#560](https://github.com/rust-ndarray/ndarray/pull/560) by [@bluss])
56+
- `into_slice` is renamed to `to_slice`. `into_slice` is now deprecated
57+
([#646](https://github.com/rust-ndarray/ndarray/pull/646) by [@max-sixty])
58+
- `from_vec` is deprecated in favour of using the `From` to convert a `Vec` into an `Array`
59+
([#648](https://github.com/rust-ndarray/ndarray/pull/648) by [@max-sixty])
60+
- `mean_axis` returns `Option<A>` instead of `A`, to avoid panicking when invoked on a 0-length axis
61+
([#580](https://github.com/rust-ndarray/ndarray/pull/580) by [@LukeMathWalker])
62+
- Remove `rustc-serialize` feature-flag. `serde` is the recommended feature-flag for serialization
63+
([#557](https://github.com/rust-ndarray/ndarray/pull/557) by [@bluss])
64+
- `rows`/`cols` are renamed to `nrows`/`ncols`. `rows`/`cols` are now deprecated
65+
([#701](https://github.com/rust-ndarray/ndarray/pull/701) by [@bluss])
1966

2067
Bug fixes
2168
---------
22-
69+
- Prevent overflow when computing strides in `do_slice`
70+
([#575](https://github.com/rust-ndarray/ndarray/pull/575) by [@jturner314])
71+
- Fix issue with BLAS matrix-vector multiplication for array with only 1 non-trivial dimension
72+
([#585](https://github.com/rust-ndarray/ndarray/pull/585) by [@sebasv])
73+
- Fix offset computation to avoid UB/panic when slicing in some edge cases
74+
([#636](https://github.com/rust-ndarray/ndarray/pull/636) by [@jturner314])
75+
- Fix issues with axis iterators
76+
([#669](https://github.com/rust-ndarray/ndarray/pull/669) by [@jturner314])
77+
78+
Other changes
79+
-------------
80+
- Various improvements to `ndarray`'s CI pipeline (`clippy`, `cargo fmt`, etc. by [@max-sixty] and [@termoshtt])
81+
2382

2483
Version 0.12.1 (2018-11-21)
2584
===========================
@@ -796,3 +855,15 @@ Earlier releases
796855

797856
- First release on crates.io
798857
- Starting point for evolution to come
858+
859+
860+
[@bluss]: https://github.com/bluss
861+
[@jturner314]: https://github.com/jturner314
862+
[@LukeMathWalker]: https://github.com/LukeMathWalker
863+
[@max-sixty]: https://github.com/max-sixty
864+
[@JP-Ellis]: https://github.com/JP-Ellis
865+
[@sebasv]: https://github.com/sebasv
866+
[@andrei-papou]: https://github.com/sebasv
867+
[@mneumann]: https://github.com/mneumann
868+
[@termoshtt]: https://github.com/termoshtt
869+
[@rth]: https://github.com/rth

0 commit comments

Comments
 (0)