diff --git a/unicode-data-core/Changelog.md b/unicode-data-core/Changelog.md index 57acc022..208c12b9 100644 --- a/unicode-data-core/Changelog.md +++ b/unicode-data-core/Changelog.md @@ -1,6 +1,15 @@ # Changelog -## 0.4.0 (September 2022) +## 15.0.0 (October 2022) + +- Rename package from `unicode-data` to `unicode-data-core`. + [`unicode-data`](https://hackage.haskell.org/package/unicode-data) is now + an all-in-one package with heavier dependencies. +- New version scheme: `U.B.M`, where `U` is the Unicode standard major version + number, `B` marks a breaking change and `M` a non-breaking change per + [PVP](https://pvp.haskell.org/). + +## 0.4.0 (October 2022) - Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/). diff --git a/unicode-data-names/Changelog.md b/unicode-data-names/Changelog.md index bc43a162..0830ba3c 100644 --- a/unicode-data-names/Changelog.md +++ b/unicode-data-names/Changelog.md @@ -1,6 +1,12 @@ # Changelog -## 0.2.0 (September 2022) +## 15.0.0 (October 2022) + +- New version scheme: `U.B.M`, where `U` is the Unicode standard major version + number, `B` marks a breaking change and `M` a non-breaking change per + [PVP](https://pvp.haskell.org/). + +## 0.2.0 (October 2022) - Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/). diff --git a/unicode-data-scripts/Changelog.md b/unicode-data-scripts/Changelog.md index b1f518c5..c28f34c5 100644 --- a/unicode-data-scripts/Changelog.md +++ b/unicode-data-scripts/Changelog.md @@ -1,6 +1,12 @@ # Changelog -## 0.2.0 (September 2022) +## 15.0.0 (October 2022) + +- New version scheme: `U.B.M`, where `U` is the Unicode standard major version + number, `B` marks a breaking change and `M` a non-breaking change per + [PVP](https://pvp.haskell.org/). + +## 0.2.0 (October 2022) - Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/). diff --git a/unicode-data-security/Changelog.md b/unicode-data-security/Changelog.md index 95028d8f..147197d2 100644 --- a/unicode-data-security/Changelog.md +++ b/unicode-data-security/Changelog.md @@ -1,6 +1,12 @@ # Changelog -## 0.2.0 (September 2022) +## 15.0.0 (October 2022) + +- New version scheme: `U.B.M`, where `U` is the Unicode standard major version + number, `B` marks a breaking change and `M` a non-breaking change per + [PVP](https://pvp.haskell.org/). + +## 0.2.0 (October 2022) - Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/). diff --git a/unicode-data/Changelog.md b/unicode-data/Changelog.md index f579376f..b184adfe 100644 --- a/unicode-data/Changelog.md +++ b/unicode-data/Changelog.md @@ -1,5 +1,104 @@ # Changelog -## 15.0.0 +## 15.0.0 (October 2022) -Initial release +### New version scheme + +`U.B.M`, where `U` is the Unicode standard major version +number, `B` marks a breaking change and `M` a non-breaking change per +[PVP](https://pvp.haskell.org/). + +### All-in-one package + +__WARNING:__ `unicode-data` is now an all-in-one package with heavier +dependencies. You should use +[`unicode-data-core`](https://hackage.haskell.org/package/unicode-data-core) +if you only need modules from previous version. + +- Previous modules are now re-exported from the package + [`unicode-data-core`](https://hackage.haskell.org/package/unicode-data-core). +- Re-export + [`unicode-data-names`](https://hackage.haskell.org/package/unicode-data-names). +- Re-export + [`unicode-data-scripts`](https://hackage.haskell.org/package/unicode-data-scripts). +- Re-export + [`unicode-data-security`](https://hackage.haskell.org/package/unicode-data-security). + +## 0.4.0 (October 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 diff --git a/unicode-data/README.md b/unicode-data/README.md index 7c2eee01..4e9057a6 100644 --- a/unicode-data/README.md +++ b/unicode-data/README.md @@ -4,8 +4,10 @@ character database. [Performance](#performance) is the primary goal in the design of this package. -`unicode-data` is an _all-in-one_ package that re-exports -all the `unicode-data-*` package familly. +From version `15.0.0` `unicode-data` is an _all-in-one_ package that re-exports +all the `unicode-data-*` package familly. You should use +[`unicode-data-core`](https://hackage.haskell.org/package/unicode-data-core) +if you only need the core modules. The Haskell data structures are generated programmatically from the [Unicode character database](https://www.unicode.org/ucd/) (UCD) files. diff --git a/unicode-data/unicode-data.cabal b/unicode-data/unicode-data.cabal index 398318a8..db8ee813 100644 --- a/unicode-data/unicode-data.cabal +++ b/unicode-data/unicode-data.cabal @@ -10,6 +10,11 @@ description: The Haskell data structures are generated programmatically from the UCD files. The latest Unicode version supported by this library is @@. + . + __WARNING:__ from version @15.0.0@, @unicode-data@ is an all-in-one package + with heavier dependencies. You should use + + if you only need core modules. homepage: http://github.com/composewell/unicode-data bug-reports: https://github.com/composewell/unicode-data/issues license: Apache-2.0