From 96fd5e6ff12559294c1b28167d25990b514156d5 Mon Sep 17 00:00:00 2001 From: Pierre Le Marre Date: Fri, 21 Jun 2024 13:21:30 +0200 Subject: [PATCH] Bump versions & update changelogs --- experimental/icu/icu.cabal | 2 +- experimental/unicode-data-text/unicode-data-text.cabal | 8 ++++---- unicode-data-names/Changelog.md | 4 +++- unicode-data-names/unicode-data-names.cabal | 4 ++-- unicode-data-scripts/Changelog.md | 4 +++- .../lib/Unicode/Internal/Char/Scripts/Version.hs | 2 +- unicode-data-scripts/unicode-data-scripts.cabal | 2 +- unicode-data-security/Changelog.md | 4 +++- .../lib/Unicode/Internal/Char/Security/Version.hs | 2 +- unicode-data-security/unicode-data-security.cabal | 4 ++-- unicode-data/Changelog.md | 4 +++- unicode-data/unicode-data.cabal | 2 +- 12 files changed, 25 insertions(+), 17 deletions(-) diff --git a/experimental/icu/icu.cabal b/experimental/icu/icu.cabal index 2678c32..e011fbe 100644 --- a/experimental/icu/icu.cabal +++ b/experimental/icu/icu.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: icu -version: 0.1.0 +version: 0.2.0 synopsis: ICU binding description: ICU binding to ICU for characters names and aliases (internal library). diff --git a/experimental/unicode-data-text/unicode-data-text.cabal b/experimental/unicode-data-text/unicode-data-text.cabal index 11f3981..6eb458b 100644 --- a/experimental/unicode-data-text/unicode-data-text.cabal +++ b/experimental/unicode-data-text/unicode-data-text.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: unicode-data-text -version: 0.1.0 +version: 0.2.0 synopsis: Unicode features for “text” package description: @unicode-data-text@ provides Unicode features from @@ -68,7 +68,7 @@ library build-depends: base >= 4.7 && < 4.21, text >= 1.2.4 && < 2.2, - unicode-data >= 0.3 && < 0.5 + unicode-data >= 0.5 && < 0.6 test-suite test import: default-extensions, compile-options @@ -82,7 +82,7 @@ test-suite test base >= 4.7 && < 4.21, hspec >= 2.0 && < 2.12, text >= 1.2.4 && < 2.2, - unicode-data >= 0.3 && < 0.5, + unicode-data >= 0.5 && < 0.6, unicode-data-text build-tool-depends: hspec-discover:hspec-discover >= 2.0 && < 2.12 @@ -98,7 +98,7 @@ benchmark bench tasty-bench >= 0.2.5 && < 0.4, tasty >= 1.4.1 && < 1.6, text >= 1.2.4 && < 2.2, - unicode-data >= 0.3 && < 0.5, + unicode-data >= 0.5 && < 0.6, unicode-data-text -- [NOTE] Recommendation of tasty-bench to reduce garbage collection noisiness ghc-options: -O2 -fdicts-strict -rtsopts -with-rtsopts=-A32m diff --git a/unicode-data-names/Changelog.md b/unicode-data-names/Changelog.md index 580cb7c..e933392 100644 --- a/unicode-data-names/Changelog.md +++ b/unicode-data-names/Changelog.md @@ -1,6 +1,6 @@ # Changelog -## 0.3.0 TBD +## 0.3.0 (June 2024) - Improve performance. - Added opional support for `ByteString` API. @@ -8,6 +8,8 @@ - Added opional support for `Text` API. Use the package flag `has-text` to enable it. - Add `unicodeVersion` to `Unicode.Char.General.Names`. +- Fix the inlining of `Addr#` literals and reduce their size. This results in + a sensible decrease of the executable size. ## 0.2.0 (September 2022) diff --git a/unicode-data-names/unicode-data-names.cabal b/unicode-data-names/unicode-data-names.cabal index c7b9d7d..675a430 100644 --- a/unicode-data-names/unicode-data-names.cabal +++ b/unicode-data-names/unicode-data-names.cabal @@ -130,7 +130,7 @@ test-suite test build-depends: base >= 4.7 && < 4.21 , hspec >= 2.0 && < 2.12 - , unicode-data >= 0.4 && < 0.5 + , unicode-data >= 0.5 && < 0.6 , unicode-data-names if flag(has-text) cpp-options: -DHAS_TEXT @@ -175,7 +175,7 @@ benchmark bench deepseq >= 1.1 && < 1.6, tasty-bench >= 0.2.5 && < 0.4, tasty >= 1.4.1 && < 1.6, - unicode-data >= 0.4 && < 0.5, + unicode-data >= 0.5 && < 0.6, unicode-data-names if flag(has-text) cpp-options: -DHAS_TEXT diff --git a/unicode-data-scripts/Changelog.md b/unicode-data-scripts/Changelog.md index 3eb5927..2490cae 100644 --- a/unicode-data-scripts/Changelog.md +++ b/unicode-data-scripts/Changelog.md @@ -1,8 +1,10 @@ # Changelog -## 0.2.1 TBD +## 0.3.0 (June 2024) - Add `unicodeVersion` and `scriptShortName` to `Unicode.Char.General.Scripts`. +- Fix the inlining of `Addr#` literals and reduce their size. This results in + a sensible decrease of the executable size. - Remove `unicode-data` dependency. ## 0.2.0.1 (December 2022) diff --git a/unicode-data-scripts/lib/Unicode/Internal/Char/Scripts/Version.hs b/unicode-data-scripts/lib/Unicode/Internal/Char/Scripts/Version.hs index 3d941ec..6dcfdfe 100644 --- a/unicode-data-scripts/lib/Unicode/Internal/Char/Scripts/Version.hs +++ b/unicode-data-scripts/lib/Unicode/Internal/Char/Scripts/Version.hs @@ -15,6 +15,6 @@ import Data.Version (Version, makeVersion) -- | Version of the Unicode standard used by this package: -- [15.0.0](https://www.unicode.org/versions/Unicode15.0.0/). -- --- @since 0.2.1 +-- @since 0.3.0 unicodeVersion :: Version unicodeVersion = makeVersion [15,0,0] diff --git a/unicode-data-scripts/unicode-data-scripts.cabal b/unicode-data-scripts/unicode-data-scripts.cabal index dbd8aab..4a0534c 100644 --- a/unicode-data-scripts/unicode-data-scripts.cabal +++ b/unicode-data-scripts/unicode-data-scripts.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: unicode-data-scripts -version: 0.2.1 +version: 0.3.0 synopsis: Unicode characters scripts description: @unicode-data-scripts@ provides Haskell APIs to access the Unicode diff --git a/unicode-data-security/Changelog.md b/unicode-data-security/Changelog.md index 29403a9..2c7de0c 100644 --- a/unicode-data-security/Changelog.md +++ b/unicode-data-security/Changelog.md @@ -1,10 +1,12 @@ # Changelog -## 0.2.1 TBD +## 0.3.0 (Just 2024) - Changed the type of `confusablePrototype` and `intentionalConfusables` from `Char -> Maybe String` to `Char -> String`. - Add `unicodeVersion` to `Unicode.Char.Identifiers.Security`. +- Fix the inlining of `Addr#` literals and reduce their size. This results in + a sensible decrease of the executable size. ## 0.2.0 (September 2022) diff --git a/unicode-data-security/lib/Unicode/Internal/Char/Security/Version.hs b/unicode-data-security/lib/Unicode/Internal/Char/Security/Version.hs index eebe7b0..bd8aa8c 100644 --- a/unicode-data-security/lib/Unicode/Internal/Char/Security/Version.hs +++ b/unicode-data-security/lib/Unicode/Internal/Char/Security/Version.hs @@ -15,6 +15,6 @@ import Data.Version (Version, makeVersion) -- | Version of the Unicode standard used by this package: -- [15.0.0](https://www.unicode.org/versions/Unicode15.0.0/). -- --- @since 0.2.1 +-- @since 0.3.0 unicodeVersion :: Version unicodeVersion = makeVersion [15,0,0] diff --git a/unicode-data-security/unicode-data-security.cabal b/unicode-data-security/unicode-data-security.cabal index c469f57..904499e 100644 --- a/unicode-data-security/unicode-data-security.cabal +++ b/unicode-data-security/unicode-data-security.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: unicode-data-security -version: 0.2.1 +version: 0.3.0 synopsis: Unicode security mechanisms database description: @unicode-data-security@ provides Haskell APIs to access the @@ -84,7 +84,7 @@ library hs-source-dirs: lib build-depends: base >= 4.7 && < 4.21 - , unicode-data >= 0.4 && < 0.5 + , unicode-data >= 0.5 && < 0.6 -- Support for raw string literals unpacking is included in base ≥ 4.15 if impl(ghc < 9.0.0) build-depends: diff --git a/unicode-data/Changelog.md b/unicode-data/Changelog.md index 654da28..e479b3c 100644 --- a/unicode-data/Changelog.md +++ b/unicode-data/Changelog.md @@ -1,7 +1,9 @@ # Changelog -## TBD +## 0.5.0 (June 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) diff --git a/unicode-data/unicode-data.cabal b/unicode-data/unicode-data.cabal index 4ccfdc4..801a5bf 100644 --- a/unicode-data/unicode-data.cabal +++ b/unicode-data/unicode-data.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: unicode-data -version: 0.4.0.1 +version: 0.5.0 synopsis: Access Unicode Character Database (UCD) description: @unicode-data@ provides Haskell APIs to efficiently access the