1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
|
# Changelog
## 0.6.0 (July 2024)
- Updated to [Unicode 15.1.0](https://www.unicode.org/versions/Unicode15.1.0/).
- Added `showCodePoint` to `Unicode.Char`.
- Added `intToDigiT` to `Unicode.Char.Numeric`.
### Removed
- Removed deprecated `isLetter` and `isSpace` from `Unicode.Char.General`.
Use the corresponding functions from `Unicode.Char.General.Compat` instead.
- Remove deprecated `isLower` and `isUpper` from `Unicode.Char.Case`.
Use the corresponding functions from `Unicode.Char.Case.Compat` instead.
- Removed deprecated `Unicode.Char.Numeric.isNumber`.
Use `Unicode.Char.Numeric.Compat.isNumber` instead.
### Deprecations
- `Unicode.Char.General.isAlphaNum`.
Use `Unicode.Char.General.Compat.isAlphaNum` instead.
## 0.5.0 (July 2024)
- Fix the inlining of `Addr#` literals and reduce their size. This results in
a sensible decrease of the executable size.
- Changed `integerValue` from `Char -> Maybe Int` to `(Integral a) => Char -> Maybe a`.
## 0.4.0.1 (December 2022)
- Fix [Unicode blocks handling on big-endian architectures](https://github.com/composewell/unicode-data/issues/97).
## 0.4.0 (September 2022)
- Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/).
## 0.3.1 (September 2022)
- Added full case conversions to `Unicode.Char.Case`:
- Case folding: `caseFoldMapping` and `toCaseFoldString`.
- Lower case: `lowerCaseMapping` and `toLowerString`.
- Upper case: `upperCaseMapping` and `toUpperString`.
- Title case: `titleCaseMapping` and `toTitleString`.
- Stream mechanism: `Unfold` and `Step`.
- Added `isNumeric`, `numericValue` and `integerValue`
to `Unicode.Char.Numeric`.
- Added the module `Unicode.Char.General.Blocks`.
- Add compatibility module:
- `Unicode.Char.Numeric.Compat`
### Deprecations
- `Unicode.Char.Numeric.isNumber`: it will be replaced by `isNumeric`
in a _future_ version of this package.
Use the function in `Unicode.Char.Numeric.Compat` instead.
## 0.3.0 (December 2021)
- Support for big-endian architectures.
- Added `unicodeVersion`.
- Added `GeneralCategory` data type and corresponding `generalCategoryAbbr`,
`generalCategory` functions.
- Added the following functions to `Unicode.Char.General`:
`isAlphabetic`, `isAlphaNum`,
`isControl`, `isMark`, `isPrint`, `isPunctuation`, `isSeparator`,
`isSymbol` and `isWhiteSpace`.
- Added the module `Unicode.Char.Numeric`.
- Add compatibility modules:
- `Unicode.Char.General.Compat`
- `Unicode.Char.Case.Compat`
These modules are compatible with `base:Data.Char`.
- Re-export some functions from `Data.Char` in order to make `Unicode.Char`
a drop-in replacement in a _future_ version of this package.
- Drop support for GHC 7.10.3
### Deprecations
- In `Unicode.Char.Case`:
- `isUpper`: use `isUpperCase` instead.
- `isLower`: use `isLowerCase` instead.
- In `Unicode.Char.General`:
- `isLetter`: use `isAlphabetic` instead.
- `isSpace`: use `isWhiteSpace` instead.
- In `Unicode.Char`: same as hereinabove. These functions will be replaced in a
_future_ release with the functions with the same names from
`Unicode.Char.Case.Compat` and `Unicode.Char.General.Compat`.
## 0.2.0 (November 2021)
* Update to [Unicode 14.0.0](https://www.unicode.org/versions/Unicode14.0.0/).
* Add `Unicode.Char.Identifiers` supporting Unicode Identifier and Pattern
Syntax.
## 0.1.0.1 (Jul 2021)
* Workaround to avoid incorrect display of dependencies on Hackage by moving
build-depends of ucd2haskell executable under a build flag conditional.
## 0.1.0 (Jul 2021)
* Initial release
|