2018-12-09 15:19:25 -08:00
|
|
|
# Changes
|
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## Unreleased
|
2022-03-15 19:43:06 +00:00
|
|
|
|
2024-05-11 17:39:34 +01:00
|
|
|
- Minimum supported Rust version (MSRV) is now 1.70.
|
|
|
|
|
2024-01-30 21:16:42 +00:00
|
|
|
## 0.5.2
|
|
|
|
|
2023-07-17 03:05:39 +01:00
|
|
|
- Minimum supported Rust version (MSRV) is now 1.65.
|
2022-03-15 19:43:06 +00:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.5.1
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2024-01-30 21:16:42 +00:00
|
|
|
- Logs emitted now use the `tracing` crate with `log` compatibility.
|
2022-03-02 16:40:11 +00:00
|
|
|
- Minimum supported Rust version (MSRV) is now 1.49.
|
2021-11-05 01:05:51 +00:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.5.0
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2024-01-30 21:16:42 +00:00
|
|
|
- Updated `tokio-util` dependency to `0.7.0`.
|
2022-02-15 01:47:27 +00:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.4.2
|
2021-12-31 08:08:14 +00:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- No significant changes since `0.4.1`.
|
2021-12-31 08:08:14 +00:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.4.1
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2024-01-30 21:16:42 +00:00
|
|
|
- Added `LinesCodec`.
|
|
|
|
- `Framed::poll_ready` flushes when the buffer is full.
|
2020-12-28 03:24:43 +00:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.4.0
|
2021-04-21 11:08:43 +01:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- No significant changes since v0.4.0-beta.1.
|
2021-04-21 11:08:43 +01:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.4.0-beta.1
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2024-01-30 21:16:42 +00:00
|
|
|
- Replace `pin-project` with `pin-project-lite`.
|
|
|
|
- Upgrade `tokio` dependency to `1`.
|
|
|
|
- Upgrade `tokio-util` dependency to `0.6`.
|
|
|
|
- Upgrade `bytes` dependency to `1`.
|
2020-12-28 03:24:43 +00:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.3.0
|
2020-08-24 09:18:37 +01:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- No changes from beta 2.
|
2020-12-28 03:24:43 +00:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.3.0-beta.2
|
2020-08-20 00:30:26 +01:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Remove unused type parameter from `Framed::replace_codec`.
|
2020-12-28 03:24:43 +00:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.3.0-beta.1
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Use `.advance()` instead of `.split_to()`.
|
|
|
|
- Upgrade `tokio-util` to `0.3`.
|
|
|
|
- Improve `BytesCodec::encode()` performance.
|
|
|
|
- Simplify `BytesCodec::decode()`.
|
|
|
|
- Rename methods on `Framed` to better describe their use.
|
|
|
|
- Add method on `Framed` to get a pinned reference to the underlying I/O.
|
|
|
|
- Add method on `Framed` check emptiness of read buffer.
|
2019-12-19 09:50:31 +06:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.2.0
|
2019-12-11 10:18:11 +06:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Use specific futures dependencies.
|
2019-12-09 21:50:36 +06:00
|
|
|
|
2020-12-28 03:24:43 +00:00
|
|
|
## 0.2.0-alpha.4
|
2019-12-09 21:50:36 +06:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Fix buffer remaining capacity calculation.
|
2019-12-05 13:11:56 +06:00
|
|
|
|
2020-12-28 03:24:43 +00:00
|
|
|
## 0.2.0-alpha.3
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Use tokio 0.2.
|
|
|
|
- Fix low/high watermark for write/read buffers.
|
2019-12-05 01:36:31 +06:00
|
|
|
|
2020-12-28 03:24:43 +00:00
|
|
|
## 0.2.0-alpha.2
|
2019-12-02 22:30:09 +06:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Migrated to `std::future`.
|
2019-03-27 17:30:37 -07:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.1.2
|
2019-03-27 17:30:37 -07:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Added `Framed::map_io()` method.
|
2019-03-06 22:53:55 -08:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.1.1
|
2019-03-06 22:53:55 -08:00
|
|
|
|
2023-03-03 22:36:13 +00:00
|
|
|
- Added `FramedParts::with_read_buffer()` method.
|
2018-12-09 15:19:25 -08:00
|
|
|
|
2023-09-17 20:25:58 +01:00
|
|
|
## 0.1.0
|
2023-03-03 22:36:13 +00:00
|
|
|
|
2021-12-18 02:49:23 +00:00
|
|
|
- Move codec to separate crate.
|