bech32 1.1.1 → 1.1.2
raw patch · 4 files changed
+9/−2 lines, 4 filessetup-changedPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +5/−0
- Setup.hs +2/−0
- app/Main.hs +1/−1
- bech32.cabal +1/−1
ChangeLog.md view
@@ -1,6 +1,11 @@ # Changelog <!-- This ChangeLog follows a format specified by: https://keepachangelog.com/en/1.0.0/ -->+## [1.1.2] - 2021-11-05++### Fixed++- Strip whitespaces from bech32 stdin to satisfy Windows `echo` command. ## [1.1.1] - 2021-06-11
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
app/Main.hs view
@@ -144,7 +144,7 @@ run cmd = case cmd of VersionCmd -> putStrLn $ showVersion version RunCmd {prefix} -> do- source <- T.decodeUtf8 . B8.filter (/= '\n') <$> B8.hGetContents stdin+ source <- T.strip . T.decodeUtf8 <$> B8.hGetContents stdin case prefix of Nothing -> runDecode source Just hrp -> runEncode hrp source
bech32.cabal view
@@ -1,5 +1,5 @@ name: bech32-version: 1.1.1+version: 1.1.2 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.