2019-12-07 04:59:39 +01:00
|
|
|
# Changes
|
|
|
|
|
2022-03-02 17:40:11 +01:00
|
|
|
## Unreleased - 2022-xx-xx
|
2022-07-23 01:51:12 +02:00
|
|
|
- Minimum supported Rust version (MSRV) is now 1.57.
|
2022-11-07 21:16:46 +01:00
|
|
|
- Add `ByteString::slice_ref` which can safely slice a `ByteString` into a new one with zero copy. [#470]
|
2022-06-11 14:41:11 +02:00
|
|
|
|
2022-11-07 21:16:46 +01:00
|
|
|
[#470]: https://github.com/actix/actix-net/pull/470
|
2022-06-11 14:41:11 +02:00
|
|
|
|
|
|
|
## 1.1.0 - 2022-06-11
|
|
|
|
- Implement `From<Box<str>>` for `ByteString`. [#458]
|
|
|
|
- Implement `Into<String>` for `ByteString`. [#458]
|
2022-03-02 17:40:11 +01:00
|
|
|
- Minimum supported Rust version (MSRV) is now 1.49.
|
2022-06-11 05:22:34 +02:00
|
|
|
|
|
|
|
[#458]: https://github.com/actix/actix-net/pull/458
|
2020-12-30 23:11:50 +01:00
|
|
|
|
2020-03-30 07:54:40 +02:00
|
|
|
|
2020-12-31 03:20:49 +01:00
|
|
|
## 1.0.0 - 2020-12-31
|
2021-12-18 03:49:23 +01:00
|
|
|
- Update `bytes` dependency to `1`.
|
|
|
|
- Add array and slice of `u8` impls of `TryFrom` up to 32 in length.
|
|
|
|
- Rename `get_ref` to `as_bytes` and rename `into_inner` to `into_bytes`.
|
|
|
|
- `ByteString::new` is now a `const fn`.
|
|
|
|
- Crate is now `#[no_std]` compatible.
|
2020-12-31 03:20:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
## 0.1.5 - 2020-03-30
|
2021-12-18 03:49:23 +01:00
|
|
|
- Serde support
|
2020-03-30 07:54:40 +02:00
|
|
|
|
2020-01-15 00:06:02 +01:00
|
|
|
|
2020-12-31 03:20:49 +01:00
|
|
|
## 0.1.4 - 2020-01-14
|
2021-12-18 03:49:23 +01:00
|
|
|
- Fix `AsRef<str>` impl
|
2020-01-15 00:06:02 +01:00
|
|
|
|
2020-01-13 06:58:31 +01:00
|
|
|
|
2020-12-31 03:20:49 +01:00
|
|
|
## 0.1.3 - 2020-01-13
|
2021-12-18 03:49:23 +01:00
|
|
|
- Add `PartialEq<T: AsRef<str>>`, `AsRef<[u8]>` impls
|
2020-01-13 06:58:31 +01:00
|
|
|
|
2019-12-22 13:24:28 +01:00
|
|
|
|
2020-12-31 03:20:49 +01:00
|
|
|
## 0.1.2 - 2019-12-22
|
2021-12-18 03:49:23 +01:00
|
|
|
- Fix `new()` method
|
|
|
|
- Make `ByteString::from_static()` and `ByteString::from_bytes_unchecked()` methods const.
|
2019-12-22 13:24:28 +01:00
|
|
|
|
2019-12-07 06:51:47 +01:00
|
|
|
|
2020-12-31 03:20:49 +01:00
|
|
|
## 0.1.1 - 2019-12-07
|
2021-12-18 03:49:23 +01:00
|
|
|
- Fix hash impl
|
2019-12-07 06:51:47 +01:00
|
|
|
|
2019-12-07 04:59:39 +01:00
|
|
|
|
2020-12-31 03:20:49 +01:00
|
|
|
## 0.1.0 - 2019-12-07
|
2021-12-18 03:49:23 +01:00
|
|
|
- Initial release
|