Skip to content

Commit

Permalink
Fix changelogs and add a warning for unicode-data
Browse files Browse the repository at this point in the history
  • Loading branch information
wismill committed Oct 13, 2022
1 parent 5f13ce6 commit e8bcb1b
Show file tree
Hide file tree
Showing 7 changed files with 141 additions and 8 deletions.
11 changes: 10 additions & 1 deletion unicode-data-core/Changelog.md
Original file line number Diff line number Diff line change
@@ -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/).

Expand Down
8 changes: 7 additions & 1 deletion unicode-data-names/Changelog.md
Original file line number Diff line number Diff line change
@@ -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/).

Expand Down
8 changes: 7 additions & 1 deletion unicode-data-scripts/Changelog.md
Original file line number Diff line number Diff line change
@@ -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/).

Expand Down
8 changes: 7 additions & 1 deletion unicode-data-security/Changelog.md
Original file line number Diff line number Diff line change
@@ -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/).

Expand Down
103 changes: 101 additions & 2 deletions unicode-data/Changelog.md
Original file line number Diff line number Diff line change
@@ -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
6 changes: 4 additions & 2 deletions unicode-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 5 additions & 0 deletions unicode-data/unicode-data.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
@<https://www.unicode.org/versions/Unicode15.0.0/ 15.0.0>@.
.
__WARNING:__ from version @15.0.0@, @unicode-data@ is an all-in-one package
with heavier dependencies. You should use
<https://hackage.haskell.org/package/unicode-data-core unicode-data-core>
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
Expand Down

0 comments on commit e8bcb1b

Please sign in to comment.