Debian Codegraph @

.cargo/vendor/num-complex/RELEASES.md

raw
1 # Release 0.4.5 (2024-02-06)
2
3 - [Relaxed `T` bounds on `serde::Deserialize` for `Complex<T>`.][119]
4
5 **Contributors**: @cuviper, @WalterSmuts
6
7 [119]: https://github.com/rust-num/num-complex/pull/119
8
9 # Release 0.4.4 (2023-08-13)
10
11 - [Fixes NaN value for `powc` of zero][116]
12
13 **Contributors**: @cuviper, @domna
14
15 [116]: https://github.com/rust-num/num-complex/pull/116
16
17 # Release 0.4.3 (2023-01-19)
18
19 - [`Complex` now optionally supports `bytecheck` 0.6 and `rkyv` 0.7][110].
20
21 **Contributors**: @cuviper, @zyansheep
22
23 [110]: https://github.com/rust-num/num-complex/pull/110
24
25 # Release 0.4.2 (2022-06-17)
26
27 - [The new `ComplexFloat` trait][95] provides a generic abstraction between
28 floating-point `T` and `Complex<T>`.
29 - [`Complex::exp` now handles edge cases with NaN and infinite parts][104].
30
31 **Contributors**: @cuviper, @JorisDeRidder, @obsgolem, @YakoYakoYokuYoku
32
33 [95]: https://github.com/rust-num/num-complex/pull/95
34 [104]: https://github.com/rust-num/num-complex/pull/104
35
36 # Release 0.4.1 (2022-04-29)
37
38 - [`Complex::from_str_radix` now returns an error for radix > 18][90], because
39 'i' and 'j' as digits are ambiguous with _i_ or _j_ imaginary parts.
40 - [`Complex<T>` now implements `bytemuck` traits when `T` does][100].
41 - [`Complex::cis` creates a complex with the given phase][101], _e_<sup>_i_ θ</sup>.
42
43 **Contributors**: @bluss, @bradleyharden, @cuviper, @rayhem
44
45 [90]: https://github.com/rust-num/num-complex/pull/90
46 [100]: https://github.com/rust-num/num-complex/pull/100
47 [101]: https://github.com/rust-num/num-complex/pull/101
48
49 # Release 0.4.0 (2021-03-05)
50
51 - `rand` support has been updated to 0.8, requiring Rust 1.36.
52
53 **Contributors**: @cuviper
54
55 # Release 0.3.1 (2020-10-29)
56
57 - Clarify the license specification as "MIT OR Apache-2.0".
58
59 **Contributors**: @cuviper
60
61 # Release 0.3.0 (2020-06-13)
62
63 ### Enhancements
64
65 - [The new "libm" feature passes through to `num-traits`][73], enabling `Float`
66 features on no-`std` builds.
67
68 ### Breaking Changes
69
70 - `num-complex` now requires Rust 1.31 or greater.
71 - The "i128" opt-in feature was removed, now always available.
72 - [Updated public dependences][65]:
73 - `rand` support has been updated to 0.7, requiring Rust 1.32.
74 - [Methods for `T: Float` now take values instead of references][82], most
75 notably affecting the constructor `from_polar`.
76
77 **Contributors**: @cuviper, @SOF3, @vks
78
79 [65]: https://github.com/rust-num/num-complex/pull/65
80 [73]: https://github.com/rust-num/num-complex/pull/73
81 [82]: https://github.com/rust-num/num-complex/pull/82
82
83 # Release 0.2.4 (2020-01-09)
84
85 - [`Complex::new` is now a `const fn` for Rust 1.31 and later][63].
86 - [Updated the `autocfg` build dependency to 1.0][68].
87
88 **Contributors**: @burrbull, @cuviper, @dingelish
89
90 [63]: https://github.com/rust-num/num-complex/pull/63
91 [68]: https://github.com/rust-num/num-complex/pull/68
92
93 # Release 0.2.3 (2019-06-11)
94
95 - [`Complex::sqrt()` is now more accurate for negative reals][60].
96 - [`Complex::cbrt()` computes the principal cube root][61].
97
98 **Contributors**: @cuviper
99
100 [60]: https://github.com/rust-num/num-complex/pull/60
101 [61]: https://github.com/rust-num/num-complex/pull/61
102
103 # Release 0.2.2 (2019-06-10)
104
105 - [`Complex::l1_norm()` computes the Manhattan distance from the origin][43].
106 - [`Complex::fdiv()` and `finv()` use floating-point for inversion][41], which
107 may avoid overflows for some inputs, at the cost of trigonometric rounding.
108 - [`Complex` now implements `num_traits::MulAdd` and `MulAddAssign`][44].
109 - [`Complex` now implements `Zero::set_zero` and `One::set_one`][57].
110 - [`Complex` now implements `num_traits::Pow` and adds `powi` and `powu`][56].
111
112 **Contributors**: @adamnemecek, @cuviper, @ignatenkobrain, @Schultzer
113
114 [41]: https://github.com/rust-num/num-complex/pull/41
115 [43]: https://github.com/rust-num/num-complex/pull/43
116 [44]: https://github.com/rust-num/num-complex/pull/44
117 [56]: https://github.com/rust-num/num-complex/pull/56
118 [57]: https://github.com/rust-num/num-complex/pull/57
119
120 # Release 0.2.1 (2018-10-08)
121
122 - [`Complex` now implements `ToPrimitive`, `FromPrimitive`, `AsPrimitive`, and `NumCast`][33].
123
124 **Contributors**: @cuviper, @termoshtt
125
126 [33]: https://github.com/rust-num/num-complex/pull/33
127
128 # Release 0.2.0 (2018-05-24)
129
130 ### Enhancements
131
132 - [`Complex` now implements `num_traits::Inv` and `One::is_one`][17].
133 - [`Complex` now implements `Sum` and `Product`][11].
134 - [`Complex` now supports `i128` and `u128` components][27] with Rust 1.26+.
135 - [`Complex` now optionally supports `rand` 0.5][28], implementing the
136 `Standard` distribution and [a generic `ComplexDistribution`][30].
137 - [`Rem` with a scalar divisor now avoids `norm_sqr` overflow][25].
138
139 ### Breaking Changes
140
141 - [`num-complex` now requires rustc 1.15 or greater][16].
142 - [There is now a `std` feature][22], enabled by default, along with the
143 implication that building *without* this feature makes this a `#![no_std]`
144 crate. A few methods now require `FloatCore`, and the remaining methods
145 based on `Float` are only supported with `std`.
146 - [The `serde` dependency has been updated to 1.0][7], and `rustc-serialize`
147 is no longer supported by `num-complex`.
148
149 **Contributors**: @clarcharr, @cuviper, @shingtaklam1324, @termoshtt
150
151 [7]: https://github.com/rust-num/num-complex/pull/7
152 [11]: https://github.com/rust-num/num-complex/pull/11
153 [16]: https://github.com/rust-num/num-complex/pull/16
154 [17]: https://github.com/rust-num/num-complex/pull/17
155 [22]: https://github.com/rust-num/num-complex/pull/22
156 [25]: https://github.com/rust-num/num-complex/pull/25
157 [27]: https://github.com/rust-num/num-complex/pull/27
158 [28]: https://github.com/rust-num/num-complex/pull/28
159 [30]: https://github.com/rust-num/num-complex/pull/30
160
161
162 # Release 0.1.43 (2018-03-08)
163
164 - [Fix a usage typo in README.md][20].
165
166 **Contributors**: @shingtaklam1324
167
168 [20]: https://github.com/rust-num/num-complex/pull/20
169
170
171 # Release 0.1.42 (2018-02-07)
172
173 - [num-complex now has its own source repository][num-356] at [rust-num/num-complex][home].
174
175 **Contributors**: @cuviper
176
177 [home]: https://github.com/rust-num/num-complex
178 [num-356]: https://github.com/rust-num/num/pull/356
179
180
181 # Prior releases
182
183 No prior release notes were kept. Thanks all the same to the many
184 contributors that have made this crate what it is!
185