| 1 | ## [0.4.1] - 2025-02-20 |
| 2 | |
| 3 | ### Fixed |
| 4 | |
| 5 | - Fixed the documentation on docs.rs. No code change. |
| 6 | ([#27](https://github.com/asomers/divbuf/pull/27)) |
| 7 | |
| 8 | ## [0.4.0] - 2025-01-18 |
| 9 | ### Added |
| 10 | - `DivBufInaccessible` has neither read nor write access, but it is `Clone`, |
| 11 | and can be upgraded to an accessible buffer. It's useful for recreating a |
| 12 | `DivBufMut` that must be thrown away. |
| 13 | ([#15](https://github.com/asomers/divbuf/pull/15)) |
| 14 | |
| 15 | - `DivBufShared::uninitialized` creates a DivBufShared with an uninitialized |
| 16 | buffer. It is gated by the `experimental` feature, and won't likely remain |
| 17 | in its current form indefinitely. |
| 18 | ([#6](https://github.com/asomers/divbuf/pull/6)) |
| 19 | |
| 20 | - `impl TryFrom<DivBufShared> for Vec<u8>` to extract the backing Vec from a |
| 21 | `DivBufShared` if there are no other DivBufs for the same `DivBufShared`. |
| 22 | ([#17](https://github.com/asomers/divbuf/pull/17)) |
| 23 | |
| 24 | ### Changed |
| 25 | - MSRV has been raised to 1.40.0 |
| 26 | ([#8](https://github.com/asomers/divbuf/pull/8)) |
| 27 | ([#10](https://github.com/asomers/divbuf/pull/10)) |
| 28 | ([#17](https://github.com/asomers/divbuf/pull/17)) |
| 29 | |
| 30 | ### Fixed |
| 31 | - Eliminated usage of `compare_and_swap`, deprecated in Rust 1.50.0. |
| 32 | ([#8](https://github.com/asomers/divbuf/pull/8)) |
| 33 | |
| 34 | - All public methods now return error tyeps that implement `std::error::Error`. |
| 35 | ([#12](https://github.com/asomers/divbuf/pull/12)) |
| 36 | |
| 37 | ## [0.3.1] - 2018-12-08 |
| 38 | ### Changed |
| 39 | - `DivBufShared::try` has been replaced with `try_const` since `try` is a |
| 40 | reserved word in Rust 2018. |
| 41 | https://github.com/asomers/divbuf/pull/5 |
| 42 | |
| 43 | ## [0.3.0] - 2018-10-27 |
| 44 | ### Added |
| 45 | - `DivBuf`s and `DivBufMut`s now share ownership of the data, so they can live |
| 46 | even after the original `DivBufShared` has been dropped. |
| 47 | https://github.com/asomers/divbuf/pull/1 |
| 48 | |
| 49 | ### Changed |
| 50 | - Better Debug formatting for `DivBufShared` |
| 51 | https://github.com/asomers/divbuf/pull/2 |
| 52 | |
| 53 | ## [0.2.0] - 2018-07-01 |
| 54 | ### Added |
| 55 | - Implemented `Borrow` and `BorrowMut` for `DivBuf` and `DivBufMut` |
| 56 | - Added {DivBuf,DivBufMut}::into_chunks |
| 57 | - Implemented Eq, Ord, PartialEq, and PartialOrd on `DivBuf` and `DivBufMut`. |
| 58 | - Implemented `std::io::Write` for `DivBufMut` |
| 59 | - Added `DivBufMut::try_resize` |
| 60 | - Implemented `Send` and `Sync` for all `DivBuf` variants. |
| 61 | |
| 62 | ### Changed |
| 63 | |
| 64 | ### Fixed |
| 65 | - Don't double-panic during Drop |
| 66 | |
| 67 | ### Removed |