| 1 |
# Changes |
| 2 |
|
| 3 |
## Unreleased |
| 4 |
|
| 5 |
## 0.5.4 |
| 6 |
|
| 7 |
- Relaxed `Framed::new` bounds to support separate read and write halves with decoder-only and encoder-only codecs. |
| 8 |
|
| 9 |
## 0.5.3 |
| 10 |
|
| 11 |
- Added `LinesCodec::new_with_max_length` to enforce a maximum line length and mitigate potential unbounded-buffer DoS when handling untrusted input. |
| 12 |
- Improved performance of `LinesCodec`. |
| 13 |
- Minimum supported Rust version (MSRV) is now 1.88. |
| 14 |
|
| 15 |
## 0.5.2 |
| 16 |
|
| 17 |
- Minimum supported Rust version (MSRV) is now 1.65. |
| 18 |
|
| 19 |
## 0.5.1 |
| 20 |
|
| 21 |
- Logs emitted now use the `tracing` crate with `log` compatibility. |
| 22 |
- Minimum supported Rust version (MSRV) is now 1.49. |
| 23 |
|
| 24 |
## 0.5.0 |
| 25 |
|
| 26 |
- Updated `tokio-util` dependency to `0.7.0`. |
| 27 |
|
| 28 |
## 0.4.2 |
| 29 |
|
| 30 |
- No significant changes since `0.4.1`. |
| 31 |
|
| 32 |
## 0.4.1 |
| 33 |
|
| 34 |
- Added `LinesCodec`. |
| 35 |
- `Framed::poll_ready` flushes when the buffer is full. |
| 36 |
|
| 37 |
## 0.4.0 |
| 38 |
|
| 39 |
- No significant changes since v0.4.0-beta.1. |
| 40 |
|
| 41 |
## 0.4.0-beta.1 |
| 42 |
|
| 43 |
- Replace `pin-project` with `pin-project-lite`. |
| 44 |
- Upgrade `tokio` dependency to `1`. |
| 45 |
- Upgrade `tokio-util` dependency to `0.6`. |
| 46 |
- Upgrade `bytes` dependency to `1`. |
| 47 |
|
| 48 |
## 0.3.0 |
| 49 |
|
| 50 |
- No changes from beta 2. |
| 51 |
|
| 52 |
## 0.3.0-beta.2 |
| 53 |
|
| 54 |
- Remove unused type parameter from `Framed::replace_codec`. |
| 55 |
|
| 56 |
## 0.3.0-beta.1 |
| 57 |
|
| 58 |
- Use `.advance()` instead of `.split_to()`. |
| 59 |
- Upgrade `tokio-util` to `0.3`. |
| 60 |
- Improve `BytesCodec::encode()` performance. |
| 61 |
- Simplify `BytesCodec::decode()`. |
| 62 |
- Rename methods on `Framed` to better describe their use. |
| 63 |
- Add method on `Framed` to get a pinned reference to the underlying I/O. |
| 64 |
- Add method on `Framed` check emptiness of read buffer. |
| 65 |
|
| 66 |
## 0.2.0 |
| 67 |
|
| 68 |
- Use specific futures dependencies. |
| 69 |
|
| 70 |
## 0.2.0-alpha.4 |
| 71 |
|
| 72 |
- Fix buffer remaining capacity calculation. |
| 73 |
|
| 74 |
## 0.2.0-alpha.3 |
| 75 |
|
| 76 |
- Use tokio 0.2. |
| 77 |
- Fix low/high watermark for write/read buffers. |
| 78 |
|
| 79 |
## 0.2.0-alpha.2 |
| 80 |
|
| 81 |
- Migrated to `std::future`. |
| 82 |
|
| 83 |
## 0.1.2 |
| 84 |
|
| 85 |
- Added `Framed::map_io()` method. |
| 86 |
|
| 87 |
## 0.1.1 |
| 88 |
|
| 89 |
- Added `FramedParts::with_read_buffer()` method. |
| 90 |
|
| 91 |
## 0.1.0 |
| 92 |
|
| 93 |
- Move codec to separate crate. |