|
4 | 4 |
|
5 | 5 | - Support for big-endian architectures. |
6 | 6 | - Added `unicodeVersion`. |
7 | | -- Added the module `Unicode.Char.Case.Compat`. |
8 | 7 | - Added `GeneralCategory` data type and corresponding `generalCategoryAbbr`, |
9 | 8 | `generalCategory` functions. |
10 | 9 | - Added the following functions to `Unicode.Char.General`: |
11 | 10 | `isAlphabetic`, `isAlphaNum`, |
12 | 11 | `isControl`, `isMark`, `isPrint`, `isPunctuation`, `isSeparator`, |
13 | 12 | `isSymbol` and `isWhiteSpace`. |
14 | 13 | - Added the module `Unicode.Char.Numeric`. |
15 | | -- **Breaking change:** Changed the behavior of `isLetter` and `isSpace` to match |
16 | | - `base`’s `Data.Char` behavior. Move these functions to the compatibility module |
17 | | - `Unicode.Char.General.Compat`. The previous behavior is obtained using |
18 | | - `isAlphabetic` and `isWhiteSpace` respectively. |
| 14 | +- Add compatibility modules: |
| 15 | + |
| 16 | + - `Unicode.Char.General.Compat` |
| 17 | + - `Unicode.Char.Case.Compat` |
| 18 | + |
| 19 | + These modules are compatible with `base:Data.Char`. |
19 | 20 | - Re-export some functions from `Data.Char` in order to make `Unicode.Char` |
20 | 21 | a drop-in replacement. |
21 | 22 | - Drop support for GHC 7.10.3 |
22 | 23 |
|
| 24 | +### Deprecations |
| 25 | + |
| 26 | +- In `Unicode.Char.General`. |
| 27 | + |
| 28 | + - `isLetter` |
| 29 | + - `isSpace` |
| 30 | + |
| 31 | + Preserve the behavior of these functions in `isAlphabetic` and `isWhiteSpace` |
| 32 | + respectively. |
| 33 | + |
23 | 34 | ## 0.2.0 (November 2021) |
24 | 35 |
|
25 | 36 | * Update to [Unicode 14.0.0](https://www.unicode.org/versions/Unicode14.0.0/). |
|
0 commit comments