| 1 |
# Changelog |
| 2 |
|
| 3 |
## 1.9 |
| 4 |
|
| 5 |
* Adds a `latest_stable_rust` cargo feature, which will automatically pull in |
| 6 |
other cargo features related to the latest Stable version of rust. |
| 7 |
* Adds `ArrayVec::try_from_array_len` |
| 8 |
* Adds `TinyVec::into_vec` and `TinyVec::into_boxed_slice` |
| 9 |
* Adds support for `generic-array` crate |
| 10 |
* Adds support for the `borsh` crate |
| 11 |
|
| 12 |
## 1.8.1 |
| 13 |
|
| 14 |
* [e00E](https://github.com/e00E) updated the rustc features so that they all |
| 15 |
correctly depend on the lower version feature. |
| 16 |
[pr 199](https://github.com/Lokathor/tinyvec/pull/199) |
| 17 |
|
| 18 |
## 1.8 |
| 19 |
|
| 20 |
* [Fuuzetsu](https://github.com/Fuuzetsu) added the `ArrayVec::as_inner` method. |
| 21 |
[pr 197](https://github.com/Lokathor/tinyvec/pull/197) |
| 22 |
|
| 23 |
## 1.7 |
| 24 |
|
| 25 |
* [Fuuzetsu](https://github.com/Fuuzetsu) added the `rustc_1_61` cargo feature, which adds the `retain_mut` method. |
| 26 |
[pr 198](https://github.com/Lokathor/tinyvec/pull/198) |
| 27 |
|
| 28 |
## 1.6.1 |
| 29 |
|
| 30 |
* [e00E](https://github.com/e00E) fixed the Arbitrary impl to work on Stable |
| 31 |
without using a feature gate. |
| 32 |
[pr 180](https://github.com/Lokathor/tinyvec/pull/180) |
| 33 |
|
| 34 |
## 1.6.0 |
| 35 |
|
| 36 |
* [i509VCB](https://github.com/i509VCB) added the `try_` functions for fallable reallocation. |
| 37 |
[pr 158](https://github.com/Lokathor/tinyvec/pull/158) |
| 38 |
* [ajtribick](https://github.com/ajtribick) added more error impls to `TryFromSliceError`. |
| 39 |
[pr 160](https://github.com/Lokathor/tinyvec/pull/160) |
| 40 |
* The `std` feature now automatically enables the `alloc` feature as well. |
| 41 |
|
| 42 |
## 1.5.1 |
| 43 |
|
| 44 |
* [madsmtm](https://github.com/madsmtm) fixed an error with the `alloc` feature on very old rustc versions. |
| 45 |
[pr 154](https://github.com/Lokathor/tinyvec/pull/154) |
| 46 |
|
| 47 |
## 1.5.0 |
| 48 |
|
| 49 |
* [eeeebbbbrrrr](https://github.com/eeeebbbbrrrr) added an impl for [std::io::Write](https://doc.rust-lang.org/std/io/trait.Write.html) to `TinyVec` when the element type is `u8`. |
| 50 |
This is gated behind the new `std` feature. |
| 51 |
[pr 152](https://github.com/Lokathor/tinyvec/pull/152) |
| 52 |
|
| 53 |
## 1.4.0 |
| 54 |
|
| 55 |
* [saethlin](https://github.com/saethlin) stabilized the usage of const generics and array map with the `rustc_1_55` feature. |
| 56 |
[pr 149](https://github.com/Lokathor/tinyvec/pull/149) |
| 57 |
|
| 58 |
## 1.3.1 |
| 59 |
|
| 60 |
* Improved the performance of the `clone_from` method [pr 144](https://github.com/Lokathor/tinyvec/pull/144) |
| 61 |
|
| 62 |
## 1.3.0 |
| 63 |
|
| 64 |
* [jeffa5](https://github.com/jeffa5) added arbitrary implementations for `TinyVec` and `ArrayVec` [pr 146](https://github.com/Lokathor/tinyvec/pull/146). |
| 65 |
* [elomatreb](https://github.com/elomatreb) implemented `DoubleEndedIterator` for `TinyVecIterator` [pr 145](https://github.com/Lokathor/tinyvec/pull/145). |
| 66 |
|
| 67 |
## 1.2.0 |
| 68 |
|
| 69 |
* [Cryptjar](https://github.com/Cryptjar) removed the `A:Array` bound on the struct of `ArrayVec<A:Array>`, |
| 70 |
and added the `from_array_empty` method, which is a `const fn` constructor |
| 71 |
[pr 141](https://github.com/Lokathor/tinyvec/pull/141). |
| 72 |
|
| 73 |
## 1.1.1 |
| 74 |
|
| 75 |
* [saethlin](https://github.com/saethlin) contributed many PRs ( |
| 76 |
[127](https://github.com/Lokathor/tinyvec/pull/127), |
| 77 |
[128](https://github.com/Lokathor/tinyvec/pull/128), |
| 78 |
[129](https://github.com/Lokathor/tinyvec/pull/129), |
| 79 |
[131](https://github.com/Lokathor/tinyvec/pull/131), |
| 80 |
[132](https://github.com/Lokathor/tinyvec/pull/132) |
| 81 |
) to help in several benchmarks. |
| 82 |
|
| 83 |
## 1.1.0 |
| 84 |
|
| 85 |
* [slightlyoutofphase](https://github.com/slightlyoutofphase) |
| 86 |
added "array splat" style syntax to the `array_vec!` and `tiny_vec!` macros. |
| 87 |
You can now write `array_vec![true; 5]` and get a length 5 array vec full of `true`, |
| 88 |
just like normal array initialization allows. Same goes for `tiny_vec!`. |
| 89 |
([pr 118](https://github.com/Lokathor/tinyvec/pull/118)) |
| 90 |
* [not-a-seagull](https://github.com/not-a-seagull) |
| 91 |
added `ArrayVec::into_inner` so that you can get the array out of an `ArrayVec`. |
| 92 |
([pr 124](https://github.com/Lokathor/tinyvec/pull/124)) |
| 93 |
|
| 94 |
## 1.0.2 |
| 95 |
|
| 96 |
* Added license files for the MIT and Apache-2.0 license options. |
| 97 |
|
| 98 |
## 1.0.1 |
| 99 |
|
| 100 |
* Display additional features in the [docs.rs/tinyvec](https://docs.rs/tinyvec) documentation. |
| 101 |
|
| 102 |
## 1.0.0 |
| 103 |
|
| 104 |
Initial Stable Release. |