From 8aebbcab03d76b8bd5729609f9be4db5702cafff Mon Sep 17 00:00:00 2001 From: chessai Date: Wed, 11 Dec 2024 12:48:49 -0600 Subject: [PATCH] release 0.2.5.0 (#43) --- country/CHANGELOG.md | 6 ++++++ country/bench/Main.hs | 2 +- country/bench/Size.hs | 2 -- country/country.cabal | 5 ++--- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/country/CHANGELOG.md b/country/CHANGELOG.md index 93cde28..dd3e97b 100644 --- a/country/CHANGELOG.md +++ b/country/CHANGELOG.md @@ -1,5 +1,11 @@ # Revision history for country +## 0.2.5 -- 2024-12-11 +* Allow hashable-1.5 +* Add the official native name of Lithuania +* Switch from `gauge` (deprecated) to `criterion` in benchmarks. +* Remove unused `bytestring` dependency in benchmarks. + ## 0.2.4.2 -- 2024-02-15 * Update package metadata. diff --git a/country/bench/Main.hs b/country/bench/Main.hs index 483eb32..cde22fa 100644 --- a/country/bench/Main.hs +++ b/country/bench/Main.hs @@ -2,7 +2,7 @@ {-# LANGUAGE TypeApplications #-} import Data.Text (Text) -import Gauge.Main (bench, defaultMain, whnf) +import Criterion.Main (bench, defaultMain, whnf) import qualified Country import qualified Data.List as List diff --git a/country/bench/Size.hs b/country/bench/Size.hs index d708bf4..44581ca 100644 --- a/country/bench/Size.hs +++ b/country/bench/Size.hs @@ -5,9 +5,7 @@ import Country (hashMapUtf16, hashMapUtf8) import Data.Compact import Data.Foldable -import qualified Country import qualified Data.Bytes.HashMap.Word as Map -import qualified Data.List as List main :: IO () main = do diff --git a/country/country.cabal b/country/country.cabal index 8343b62..3ee99f0 100644 --- a/country/country.cabal +++ b/country/country.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: country -version: 0.2.4.2 +version: 0.2.5.0 synopsis: Country data type and functions description: The `country` library provides a data type for dealing with @@ -115,7 +115,7 @@ benchmark bench build-depends: , base , country - , gauge + , criterion , text >=1.2 ghc-options: -O2 @@ -128,7 +128,6 @@ benchmark bench-size build-depends: , base , bytehash - , bytestring , compact , country