packages feed

bech32 1.1.2 → 1.1.3

raw patch · 5 files changed

+12/−8 lines, 5 filesdep ~optparse-applicativesetup-changedPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: optparse-applicative

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,6 +1,12 @@ # Changelog  <!-- This ChangeLog follows a format specified by: https://keepachangelog.com/en/1.0.0/ -->+## [1.1.3] - 2023-06-06++### Fixed++- Specify supported version bounds for `optparse-applicative`.+ ## [1.1.2] - 2021-11-05  ### Fixed
LICENSE view
@@ -186,7 +186,7 @@       same "printed page" as the copyright notice for easier       identification within third-party archives. -   Copyright © 2019-2020 IOHK+   Copyright © 2019-2023 IOHK     Licensed under the Apache License, Version 2.0 (the "License");    you may not use this file except in compliance with the License.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
bech32.cabal view
@@ -1,11 +1,11 @@ name:          bech32-version:       1.1.2+version:       1.1.3 synopsis:      Implementation of the Bech32 cryptocurrency address format (BIP 0173). description:   Implementation of the Bech32 cryptocurrency address format documented in the                BIP (Bitcoin Improvement Proposal) 0173. author:        IOHK Engineering Team maintainer:    operations@iohk.io, erikd@mega-nerd.com, jonathan.knowles@iohk.io-copyright:     2017 Marko Bencun, 2019-2020 IOHK+copyright:     2017 Marko Bencun, 2019-2023 IOHK license:       Apache-2.0 license-file:  LICENSE homepage:      https://github.com/input-output-hk/bech32@@ -65,7 +65,7 @@     , bytestring     , extra     , memory-    , optparse-applicative+    , optparse-applicative >= 0.17.0.0 && < 0.18     , text   ghc-options:       -Wall -Wcompat -fwarn-redundant-constraints
test/Codec/Binary/Bech32Spec.hs view
@@ -52,7 +52,7 @@ import Data.List     ( intercalate ) import Data.Maybe-    ( catMaybes, fromMaybe, isJust )+    ( fromMaybe, isJust, mapMaybe ) import Data.Set     ( Set ) import Data.Text@@ -689,7 +689,7 @@         return hrp     shrink hrp         | T.null chars = []-        | otherwise = catMaybes $ eitherToMaybe . humanReadablePartFromText <$>+        | otherwise = mapMaybe (eitherToMaybe . humanReadablePartFromText)             [ T.take (T.length chars `div` 2) chars             , T.drop 1 chars             ]