irc-core 2.7.1 → 2.7.2
raw patch · 3 files changed
+10/−5 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- irc-core.cabal +4/−4
- src/Irc/RawIrcMsg.hs +2/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for irc-core +## 2.7.2++* Replace empty, non-optional parameters with asterisk (`*`)+ ## 2.7.1 * Add `ircAuthenticates` and `AuthenticatePayload`
irc-core.cabal view
@@ -1,5 +1,5 @@ name: irc-core-version: 2.7.1+version: 2.7.2 synopsis: IRC core library for glirc description: IRC core library for glirc .@@ -32,12 +32,12 @@ Irc.UserInfo other-modules: View - build-depends: base >=4.11 && <4.13,+ build-depends: base >=4.11 && <4.14, base64-bytestring >= 1.0.0.1 && <1.1, attoparsec >=0.13 && <0.14, bytestring >=0.10 && <0.11,- hashable >=1.2 && <1.3,- primitive >=0.6 && <0.7,+ hashable >=1.2 && <1.4,+ primitive >=0.6 && <0.8, text >=1.2 && <1.3, time >=1.6 && <1.10, vector >=0.11 && <0.13
src/Irc/RawIrcMsg.hs view
@@ -263,7 +263,8 @@ | " " `Text.isInfixOf` x || ":" `Text.isPrefixOf` x || Text.null x = Builder.char8 ' ' <> Builder.char8 ':' <> Text.encodeUtf8Builder x buildParams (x:xs)- = Builder.char8 ' ' <> Text.encodeUtf8Builder x <> buildParams xs+ | Text.null x = Builder.char8 ' ' <> Text.encodeUtf8Builder "*" <> buildParams xs+ | otherwise = Builder.char8 ' ' <> Text.encodeUtf8Builder x <> buildParams xs buildParams [] = mempty -- | When the current input matches the given character parse