Debian Codegraph @

third_party/rust/generic-array/CHANGELOG.md

raw
1 * **`0.14.6`**
2 * Add an optional `Zeroize` impl for `GenericArray` (#126 and #112)
3 * Cleanup some unsafe (#125) and typos (#114)
4 * Use `include` in `Cargo.toml` to reduce package size
5
6 * **`0.14.5`**
7 * Fix unsoundness behavior in `GenericArrayIter::clone` ([#120](https://github.com/fizyk20/generic-array/pull/120))
8
9 * **`0.14.4`**
10 * Update `typenum` to `1.12.0`
11 * Make `Drop` a no-op when the inner type does not require `Drop` (using `core::mem::needs_drop`)
12
13 * **`0.14.3`**
14 * Improve behavior of `GenericArray::from_exact_iter` to assume `ExactIterator`s can lie.
15 * Fix alignment of zero-length `GenericArray`s
16 * Implement `From<&[T; N]> for &GenericArray<T, N>` and its mutable variant
17
18 * **`0.14.2`**
19 * Lower MSRV to `1.36.0` without `From<[T; N]>` implementations.
20
21 * **`0.14.1`**
22 * Fix element conversions in `arr!` macro.
23
24 * **`0.14.0`**
25 * Replace `Into` implementations with the more general `From`.
26 * Requires minumum Rust version of 1.41.0
27 * Fix unsoundness in `arr!` macro.
28 * Fix meta variable misuse
29 * Fix Undefined Behavior across the crate by switching to `MaybeUninit`
30 * Improve some documentation and doctests
31 * Add `AsRef<[T; N]>` and `AsMut<[T; N]>` impls to `GenericArray<T, N>`
32 * Add `Split` impl for `&GenericArray` and `&mut GenericArray`
33
34 * **`0.13.2`**
35 * Add feature `more_lengths`, which adds more `From`/`Into` implementations for arrays of various lengths.
36
37 * **`0.13.1`**
38 * Mark `GenericArray` as `#[repr(transparent)]`
39 * Implement `Into<[T; N]>` for `GenericArray<T, N>` up to N=32
40
41 * **`0.13.0`**
42 * Allow `arr!` to be imported with use syntax.
43 * Requires minumum Rust version of 1.30.1
44
45 * **`0.12.2`**
46 * Implement `FusedIterator` for `GenericArrayIter`
47
48 * **`0.12.1`**
49 * Use internal iteration where possible and provide more efficient internal iteration methods.
50
51 * **`0.12.0`**
52 * Allow trailing commas in `arr!` macro.
53 * **BREAKING**: Serialize `GenericArray` using `serde` tuples, instead of variable-length sequences. This may not be compatible with old serialized data.
54
55 * **`0.11.0`**
56 * **BREAKING** Redesign `GenericSequence` with an emphasis on use in generic type parameters.
57 * Add `MappedGenericSequence` and `FunctionalSequence`
58 * Implements optimized `map`, `zip` and `fold` for `GenericArray`, `&GenericArray` and `&mut GenericArray`
59 * **BREAKING** Remove `map_ref`, `zip_ref` and `map_slice`
60 * `map_slice` is now equivalent to `GenericArray::from_iter(slice.iter().map(...))`
61 * **`0.10.0`**
62 * Add `GenericSequence`, `Lengthen`, `Shorten`, `Split` and `Concat` traits.
63 * Redefine `transmute` to avert errors.
64 * **`0.9.0`**
65 * Rewrite construction methods to be well-defined in panic situations, correctly dropping elements.
66 * `NoDrop` crate replaced by `ManuallyDrop` as it became stable in Rust core.
67 * Add optimized `map`/`map_ref` and `zip`/`zip_ref` methods to `GenericArray`
68 * **`0.8.0`**
69 * Implement `AsRef`, `AsMut`, `Borrow`, `BorrowMut`, `Hash` for `GenericArray`
70 * Update `serde` to `1.0`
71 * Update `typenum`
72 * Make macro `arr!` non-cloning
73 * Implement `From<[T; N]>` up to `N=32`
74 * Fix #45
75 * **`0.7.0`**
76 * Upgrade `serde` to `0.9`
77 * Make `serde` with `no_std`
78 * Implement `PartialOrd`/`Ord` for `GenericArray`
79 * **`0.6.0`**
80 * Fixed #30
81 * Implement `Default` for `GenericArray`
82 * Implement `LowerHex` and `UpperHex` for `GenericArray<u8, N>`
83 * Use `precision` formatting field in hex representation
84 * Add `as_slice`, `as_mut_slice`
85 * Remove `GenericArray::new` in favor of `Default` trait
86 * Add `from_slice` and `from_mut_slice`
87 * `no_std` and `core` for crate.
88 * **`0.5.0`**
89 * Update `serde`
90 * remove `no_std` feature, fixed #19
91 * **`0.4.0`**
92 * Re-export `typenum`
93 * **`0.3.0`**
94 * Implement `IntoIter` for `GenericArray`
95 * Add `map` method
96 * Add optional `serde` (de)serialization support feature.
97 * **`< 0.3.0`**
98 * Initial implementation in late 2015