|
| 1 | +Version 1.0.0 (2019-08-26) |
| 2 | +========================== |
| 3 | + |
| 4 | +Breaking changes: |
| 5 | + |
| 6 | +* Change `AsciiChar.is_whitespace()` to also return true for '\0xb' (vertical tab) and '\0xc' (form feed). |
| 7 | +* Remove quickcheck feature. |
| 8 | +* Remove `AsciiStr::new()`. |
| 9 | +* Rename `AsciiChar::from()` and `AsciiChar::from_unchecked()` to `from_ascii()` and `from_ascii_unchecked()`. |
| 10 | +* Rename several `AsciiChar.is_xxx()` methods to `is_ascii_xxx()` (for comsistency with std). |
| 11 | +* Rename `AsciiChar::Null` to `Nul` (for consistency with eg. `CStr::from_bytes_with_nul()`). |
| 12 | +* Rename `AsciiStr.trim_left()` and `AsciiStr.trim_right()` to `trim_start()` and `trim_end()`. |
| 13 | +* Remove impls of the deprecated `std::ascii::AsciiExt` trait. |
| 14 | +* Change iterators `Chars`, `CharsMut` and `CharsRef` from type aliases to newtypes. |
| 15 | +* Return `impl Trait` from `AsciiStr.lines()` and `AsciiStr.split()`, and remove iterator types `Lines` and `Split`. |
| 16 | +* Add `slice_ascii_str()`, `get_ascii()` and `unwrap_ascii()` to the `AsAsciiStr` trait. |
| 17 | +* Add `slice_mut_ascii_str()` and `unwrap_ascii_mut()` to the `AsMutAsciiStr` trait. |
| 18 | +* Require Rust 1.33.0 for 1.0.\*, and allow later semver-compatible 1.y.0 releases to increase it. |
| 19 | + |
| 20 | +Additions: |
| 21 | + |
| 22 | +* Add `const fn` `AsciiChar::new()` which panicks on invalid values. |
| 23 | +* Make most `AsciiChar` methods `const fn`. |
| 24 | +* Add multiple `AsciiChar::is_[ascii_]xxx()` methods. |
| 25 | +* Implement `AsRef<AsciiStr>` for `AsciiChar`. |
| 26 | +* Make `AsciiString`'s `Extend` and `FromIterator` impl generic over all `AsRef<AsciiStr>`. |
| 27 | +* Implement inclusive range indexing for `AsciiStr` (and thereby `AsciiString`). |
| 28 | +* Mark `AsciiStr` and `AsciiString` `#[repr(transparent)]` (to `[AsciiChar]` and `Vec<AsciiChar>` respectively). |
| 29 | + |
1 | 30 | Version 0.9.3 (2019-08-26)
|
2 | 31 | ==========================
|
3 | 32 |
|
|
0 commit comments