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