|
1 | 1 | Recent Changes (arrayvec)
|
2 |
| -------------------------- |
3 |
| - |
4 |
| -- 0.5.2 |
5 |
| - |
6 |
| - - Add `is_empty` methods for ArrayVec and ArrayString by @nicbn |
7 |
| - - Implement `TryFrom<Slice>` for ArrayVec by @paulkernfeld |
8 |
| - - Add `unstable-const-fn` to make `new` methods const by @m-ou-se |
9 |
| - - Run miri in CI and a few related fixes by @RalfJung |
10 |
| - - Fix outdated comment by @Phlosioneer |
11 |
| - - Move changelog to a separate file by @Luro02 |
12 |
| - - Remove deprecated `Error::description` by @AnderEnder |
13 |
| - - Use pointer method `add` by @hbina |
14 |
| - |
15 |
| -- 0.5.1 |
16 |
| - |
17 |
| - - Add `as_ptr`, `as_mut_ptr` accessors directly on the `ArrayVec` by @tbu- |
18 |
| - (matches the same addition to `Vec` which happened in Rust 1.37). |
19 |
| - - Add method `ArrayString::len` (now available directly, not just through deref to str). |
20 |
| - - Use raw pointers instead of `&mut [u8]` for encoding chars into `ArrayString` |
21 |
| - (uninit best practice fix). |
22 |
| - - Use raw pointers instead of `get_unchecked_mut` where the target may be |
23 |
| - uninitialized everywhere relevant in the ArrayVec implementation |
24 |
| - (uninit best practice fix). |
25 |
| - - Changed inline hints on many methods, mainly removing inline hints |
26 |
| - - `ArrayVec::dispose` is now deprecated (it has no purpose anymore) |
27 |
| - |
28 |
| -- 0.4.12 |
29 |
| - |
30 |
| - - Use raw pointers instead of `get_unchecked_mut` where the target may be |
31 |
| - uninitialized everywhere relevant in the ArrayVec implementation. |
32 |
| - |
33 |
| -- 0.5.0 |
34 |
| - |
35 |
| - - Use `MaybeUninit` (now unconditionally) in the implementation of |
36 |
| - `ArrayVec` |
37 |
| - - Use `MaybeUninit` (now unconditionally) in the implementation of |
38 |
| - `ArrayString` |
39 |
| - - The crate feature for serde serialization is now named `serde`. |
40 |
| - - Updated the `Array` trait interface, and it is now easier to use for |
41 |
| - users outside the crate. |
42 |
| - - Add `FromStr` impl for `ArrayString` by @despawnerer |
43 |
| - - Add method `try_extend_from_slice` to `ArrayVec`, which is always |
44 |
| - effecient by @Thomasdezeeuw. |
45 |
| - - Add method `remaining_capacity` by @Thomasdezeeuw |
46 |
| - - Improve performance of the `extend` method. |
47 |
| - - The index type of zero capacity vectors is now itself zero size, by |
48 |
| - @clarfon |
49 |
| - - Use `drop_in_place` for truncate and clear methods. This affects drop order |
50 |
| - and resume from panic during drop. |
51 |
| - - Use Rust 2018 edition for the implementation |
52 |
| - - Require Rust 1.36 or later, for the unconditional `MaybeUninit` |
53 |
| - improvements. |
| 2 | +========================= |
| 3 | + |
| 4 | +## 0.6.0 |
| 5 | + |
| 6 | +- The **const generics** release 🎉. Arrayvec finally implements what it |
| 7 | + wanted to implement all along, since its first version; a vector backed by |
| 8 | + and array, with generic parameters for the arbitrary element type |
| 9 | + and backing array capacity. |
| 10 | + |
| 11 | + New type syntax is `ArrayVec<T, CAP>` where CAP is the arrayvec capacity. |
| 12 | + For arraystring the syntax is `ArrayString<CAP>`. |
| 13 | + By @bluss. |
| 14 | + |
| 15 | +- Arrayvec's `.extend()` and `FromIterator`/`.collect()` to arrayvec now |
| 16 | + **panic** if the capacity of the arrayvec is exceeded. By @bluss. |
| 17 | + |
| 18 | +- Arraystring now implements `TryFrom<&str>` and `TryFrom<fmt::Arguments>` by |
| 19 | + @c410-f3r |
| 20 | + |
| 21 | +- Minimum supported rust version is Rust 1.51 |
| 22 | + |
| 23 | +## 0.5.2 |
| 24 | + |
| 25 | +- Add `is_empty` methods for ArrayVec and ArrayString by @nicbn |
| 26 | +- Implement `TryFrom<Slice>` for ArrayVec by @paulkernfeld |
| 27 | +- Add `unstable-const-fn` to make `new` methods const by @m-ou-se |
| 28 | +- Run miri in CI and a few related fixes by @RalfJung |
| 29 | +- Fix outdated comment by @Phlosioneer |
| 30 | +- Move changelog to a separate file by @Luro02 |
| 31 | +- Remove deprecated `Error::description` by @AnderEnder |
| 32 | +- Use pointer method `add` by @hbina |
| 33 | + |
| 34 | +## 0.5.1 |
| 35 | + |
| 36 | +- Add `as_ptr`, `as_mut_ptr` accessors directly on the `ArrayVec` by @tbu- |
| 37 | + (matches the same addition to `Vec` which happened in Rust 1.37). |
| 38 | +- Add method `ArrayString::len` (now available directly, not just through deref to str). |
| 39 | +- Use raw pointers instead of `&mut [u8]` for encoding chars into `ArrayString` |
| 40 | + (uninit best practice fix). |
| 41 | +- Use raw pointers instead of `get_unchecked_mut` where the target may be |
| 42 | + uninitialized everywhere relevant in the ArrayVec implementation |
| 43 | + (uninit best practice fix). |
| 44 | +- Changed inline hints on many methods, mainly removing inline hints |
| 45 | +- `ArrayVec::dispose` is now deprecated (it has no purpose anymore) |
| 46 | + |
| 47 | +## 0.4.12 |
| 48 | + |
| 49 | +- Use raw pointers instead of `get_unchecked_mut` where the target may be |
| 50 | + uninitialized everywhere relevant in the ArrayVec implementation. |
| 51 | + |
| 52 | +## 0.5.0 |
| 53 | + |
| 54 | +- Use `MaybeUninit` (now unconditionally) in the implementation of |
| 55 | + `ArrayVec` |
| 56 | +- Use `MaybeUninit` (now unconditionally) in the implementation of |
| 57 | + `ArrayString` |
| 58 | +- The crate feature for serde serialization is now named `serde`. |
| 59 | +- Updated the `Array` trait interface, and it is now easier to use for |
| 60 | + users outside the crate. |
| 61 | +- Add `FromStr` impl for `ArrayString` by @despawnerer |
| 62 | +- Add method `try_extend_from_slice` to `ArrayVec`, which is always |
| 63 | + effecient by @Thomasdezeeuw. |
| 64 | +- Add method `remaining_capacity` by @Thomasdezeeuw |
| 65 | +- Improve performance of the `extend` method. |
| 66 | +- The index type of zero capacity vectors is now itself zero size, by |
| 67 | + @clarfon |
| 68 | +- Use `drop_in_place` for truncate and clear methods. This affects drop order |
| 69 | + and resume from panic during drop. |
| 70 | +- Use Rust 2018 edition for the implementation |
| 71 | +- Require Rust 1.36 or later, for the unconditional `MaybeUninit` |
| 72 | + improvements. |
54 | 73 |
|
55 | 74 | - 0.4.11
|
56 | 75 |
|
|
0 commit comments