packages feed

base62 0.1.1.1 → 0.1.1.2

raw patch · 3 files changed

+21/−10 lines, 3 filesdep ~natural-arithmeticdep ~textPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: natural-arithmetic, text

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for base62 +## 0.1.1.2 -- 2024-02-06++* Restore import statement for `liftA2` to fix build for GHC 9.4.+* Bump `text` upper bound to 2.2 to fix build for GHC 9.8.+ ## 0.1.1.1 -- 2024-02-01  * Update package metadata.
base62.cabal view
@@ -1,6 +1,6 @@ cabal-version:   2.2 name:            base62-version:         0.1.1.1+version:         0.1.1.2 synopsis:        Base62 encoding and decoding description:     Encode and decode using the base62 encoding scheme. homepage:        https://github.com/byteverse/base62@@ -12,9 +12,15 @@ copyright:       2019 Andrew Martin category:        Data extra-doc-files: CHANGELOG.md+tested-with:     GHC ==9.4.8 || ==9.6.3 || ==9.8.1 +common build-settings+  default-language: Haskell2010+  ghc-options:      -Wall -Wunused-packages+ library-  exposed-modules:  Data.Word.Base62+  import:          build-settings+  exposed-modules: Data.Word.Base62   build-depends:     , base                >=4.17    && <5     , bytebuild           >=0.3.4   && <0.4@@ -22,19 +28,18 @@     , bytestring          >=0.11.4  && <0.12     , natural-arithmetic  >=0.1     && <0.2     , primitive           >=0.7     && <0.10-    , text                >=2.0.2   && <2.1+    , text                >=2.0.2   && <2.2     , text-short          >=0.1.5   && <0.2     , wide-word           >=0.1.0.8 && <0.2 -  hs-source-dirs:   src-  default-language: Haskell2010-  ghc-options:      -Wall -O2+  hs-source-dirs:  src+  ghc-options:     -O2  test-suite test-  default-language: Haskell2010-  type:             exitcode-stdio-1.0-  hs-source-dirs:   test-  main-is:          Main.hs+  import:         build-settings+  type:           exitcode-stdio-1.0+  hs-source-dirs: test+  main-is:        Main.hs   build-depends:     , base              >=4.12.0.0 && <5     , base62
test/Main.hs view
@@ -1,6 +1,7 @@ {-# LANGUAGE LambdaCase #-} {-# OPTIONS_GHC -fno-warn-orphans #-} +-- liftA2 is needed by GHC 9.4 import Control.Applicative (liftA2) import Data.Bits ((.&.)) import Data.Char (chr)