Skip to content

Commit d808c80

Browse files
committed
Fix changelogs and add a warning for new unicode-data
1 parent db77d88 commit d808c80

File tree

7 files changed

+141
-8
lines changed

7 files changed

+141
-8
lines changed

unicode-data-core/Changelog.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
# Changelog
22

3+
## 15.0.0 (February 2023)
4+
5+
- Rename package from `unicode-data` to `unicode-data-core`.
6+
[`unicode-data`](https://hackage.haskell.org/package/unicode-data) is now
7+
an all-in-one package with heavier dependencies.
8+
- New version scheme: `U.B.M`, where `U` is the Unicode standard major version
9+
number, `B` marks a breaking change and `M` a non-breaking change per
10+
[PVP](https://pvp.haskell.org/).
11+
312
## 0.4.0.1 (December 2022)
413

514
- Fix [Unicode blocks handling on big-endian architectures](https://github.com/composewell/unicode-data/issues/97).
615

7-
## 0.4.0 (September 2022)
16+
## 0.4.0 (October 2022)
817

918
- Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/).
1019

unicode-data-names/Changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

3-
## 0.2.0 (September 2022)
3+
## 15.0.0 (February 2023)
4+
5+
- New version scheme: `U.B.M`, where `U` is the Unicode standard major version
6+
number, `B` marks a breaking change and `M` a non-breaking change per
7+
[PVP](https://pvp.haskell.org/).
8+
9+
## 0.2.0 (October 2022)
410

511
- Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/).
612

unicode-data-scripts/Changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Changelog
22

3+
## 15.0.0 (February 2023)
4+
5+
- New version scheme: `U.B.M`, where `U` is the Unicode standard major version
6+
number, `B` marks a breaking change and `M` a non-breaking change per
7+
[PVP](https://pvp.haskell.org/).
8+
39
## 0.2.0.1 (December 2022)
410

511
- Fix [Unicode scripts handling on big-endian architectures](https://github.com/composewell/unicode-data/issues/97).
612

7-
## 0.2.0 (September 2022)
13+
## 0.2.0 (October 2022)
814

915
- Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/).
1016

unicode-data-security/Changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

3-
## 0.2.0 (September 2022)
3+
## 15.0.0 (February 2023)
4+
5+
- New version scheme: `U.B.M`, where `U` is the Unicode standard major version
6+
number, `B` marks a breaking change and `M` a non-breaking change per
7+
[PVP](https://pvp.haskell.org/).
8+
9+
## 0.2.0 (October 2022)
410

511
- Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/).
612

unicode-data/Changelog.md

Lines changed: 101 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,104 @@
11
# Changelog
22

3-
## 15.0.0
3+
## 15.0.0 (February 2023)
44

5-
Initial release
5+
### New version scheme
6+
7+
`U.B.M`, where `U` is the Unicode standard major version
8+
number, `B` marks a breaking change and `M` a non-breaking change per
9+
[PVP](https://pvp.haskell.org/).
10+
11+
### All-in-one package
12+
13+
__WARNING:__ `unicode-data` is now an all-in-one package with heavier
14+
dependencies. You should use
15+
[`unicode-data-core`](https://hackage.haskell.org/package/unicode-data-core)
16+
if you only need modules from previous version.
17+
18+
- Previous modules are now re-exported from the package
19+
[`unicode-data-core`](https://hackage.haskell.org/package/unicode-data-core).
20+
- Re-export
21+
[`unicode-data-names`](https://hackage.haskell.org/package/unicode-data-names).
22+
- Re-export
23+
[`unicode-data-scripts`](https://hackage.haskell.org/package/unicode-data-scripts).
24+
- Re-export
25+
[`unicode-data-security`](https://hackage.haskell.org/package/unicode-data-security).
26+
27+
## 0.4.0 (October 2022)
28+
29+
- Update to [Unicode 15.0.0](https://www.unicode.org/versions/Unicode15.0.0/).
30+
31+
## 0.3.1 (September 2022)
32+
33+
- Added full case conversions to `Unicode.Char.Case`:
34+
35+
- Case folding: `caseFoldMapping` and `toCaseFoldString`.
36+
- Lower case: `lowerCaseMapping` and `toLowerString`.
37+
- Upper case: `upperCaseMapping` and `toUpperString`.
38+
- Title case: `titleCaseMapping` and `toTitleString`.
39+
- Stream mechanism: `Unfold` and `Step`.
40+
41+
- Added `isNumeric`, `numericValue` and `integerValue`
42+
to `Unicode.Char.Numeric`.
43+
- Added the module `Unicode.Char.General.Blocks`.
44+
- Add compatibility module:
45+
46+
- `Unicode.Char.Numeric.Compat`
47+
48+
### Deprecations
49+
50+
- `Unicode.Char.Numeric.isNumber`: it will be replaced by `isNumeric`
51+
in a _future_ version of this package.
52+
Use the function in `Unicode.Char.Numeric.Compat` instead.
53+
54+
## 0.3.0 (December 2021)
55+
56+
- Support for big-endian architectures.
57+
- Added `unicodeVersion`.
58+
- Added `GeneralCategory` data type and corresponding `generalCategoryAbbr`,
59+
`generalCategory` functions.
60+
- Added the following functions to `Unicode.Char.General`:
61+
`isAlphabetic`, `isAlphaNum`,
62+
`isControl`, `isMark`, `isPrint`, `isPunctuation`, `isSeparator`,
63+
`isSymbol` and `isWhiteSpace`.
64+
- Added the module `Unicode.Char.Numeric`.
65+
- Add compatibility modules:
66+
67+
- `Unicode.Char.General.Compat`
68+
- `Unicode.Char.Case.Compat`
69+
70+
These modules are compatible with `base:Data.Char`.
71+
- Re-export some functions from `Data.Char` in order to make `Unicode.Char`
72+
a drop-in replacement in a _future_ version of this package.
73+
- Drop support for GHC 7.10.3
74+
75+
### Deprecations
76+
77+
- In `Unicode.Char.Case`:
78+
79+
- `isUpper`: use `isUpperCase` instead.
80+
- `isLower`: use `isLowerCase` instead.
81+
82+
- In `Unicode.Char.General`:
83+
84+
- `isLetter`: use `isAlphabetic` instead.
85+
- `isSpace`: use `isWhiteSpace` instead.
86+
87+
- In `Unicode.Char`: same as hereinabove. These functions will be replaced in a
88+
_future_ release with the functions with the same names from
89+
`Unicode.Char.Case.Compat` and `Unicode.Char.General.Compat`.
90+
91+
## 0.2.0 (November 2021)
92+
93+
* Update to [Unicode 14.0.0](https://www.unicode.org/versions/Unicode14.0.0/).
94+
* Add `Unicode.Char.Identifiers` supporting Unicode Identifier and Pattern
95+
Syntax.
96+
97+
## 0.1.0.1 (Jul 2021)
98+
99+
* Workaround to avoid incorrect display of dependencies on Hackage by moving
100+
build-depends of ucd2haskell executable under a build flag conditional.
101+
102+
## 0.1.0 (Jul 2021)
103+
104+
* Initial release

unicode-data/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
character database. [Performance](#performance) is the primary goal in the
55
design of this package.
66

7-
`unicode-data` is an _all-in-one_ package that re-exports
8-
all the `unicode-data-*` package familly.
7+
From version `15.0.0` `unicode-data` is an _all-in-one_ package that re-exports
8+
all the `unicode-data-*` package familly. You should use
9+
[`unicode-data-core`](https://hackage.haskell.org/package/unicode-data-core)
10+
if you only need the core modules.
911

1012
The Haskell data structures are generated programmatically from the
1113
[Unicode character database](https://www.unicode.org/ucd/) (UCD) files.

unicode-data/unicode-data.cabal

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ description:
1010
The Haskell data structures are generated programmatically from the UCD files.
1111
The latest Unicode version supported by this library is
1212
@<https://www.unicode.org/versions/Unicode15.0.0/ 15.0.0>@.
13+
.
14+
__WARNING:__ from version @15.0.0@, @unicode-data@ is an all-in-one package
15+
with heavier dependencies. You should use
16+
<https://hackage.haskell.org/package/unicode-data-core unicode-data-core>
17+
if you only need core modules.
1318
homepage: http://github.com/composewell/unicode-data
1419
bug-reports: https://github.com/composewell/unicode-data/issues
1520
license: Apache-2.0

0 commit comments

Comments
 (0)