packages feed

irc-client 0.4.0.0 → 0.4.1.0

raw patch · 4 files changed

+10/−5 lines, 4 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

+ Network.IRC.Client.Types: [_password] :: InstanceConfig s -> Maybe Text
- Network.IRC.Client.Types: InstanceConfig :: Text -> Text -> Text -> [Text] -> Text -> [EventHandler s] -> [(Text, Maybe Text)] -> InstanceConfig s
+ Network.IRC.Client.Types: InstanceConfig :: Text -> Text -> Text -> Maybe Text -> [Text] -> Text -> [EventHandler s] -> [(Text, Maybe Text)] -> InstanceConfig s

Files

Network/IRC/Client.hs view
@@ -134,8 +134,9 @@   { _nick          = n   , _username      = n   , _realname      = n+  , _password      = Nothing   , _channels      = []-  , _ctcpVer       = "irc-client-0.3.0.0"+  , _ctcpVer       = "irc-client-0.4.1.0"   , _eventHandlers = defaultEventHandlers   , _ignore        = []   }
Network/IRC/Client/Internal.hs view
@@ -71,11 +71,13 @@   state <- ircState    -- Set the real- and user-name-  theUser <- _username <$> instanceConfig-  theReal <- _realname <$> instanceConfig+  theUser  <- _username <$> instanceConfig+  theReal  <- _realname <$> instanceConfig+  password <- _password <$> instanceConfig    -- Initialise the IRC session   let initialise = flip runReaderT state $ do+        mapM_ (\p -> sendBS $ rawMessage "PASS" [encodeUtf8 p]) password         sendBS $ rawMessage "USER" [encodeUtf8 theUser, "-", "-", encodeUtf8 theReal]         _onconnect =<< connectionConfig 
Network/IRC/Client/Types.hs view
@@ -139,6 +139,8 @@   -- ^ Client username   , _realname :: Text   -- ^ Client realname+  , _password :: Maybe Text+  -- ^ Client password   , _channels :: [Text]   -- ^ Current channels   , _ctcpVer  :: Text
irc-client.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             0.4.0.0+version:             0.4.1.0  -- A short (one-line) description of the package. synopsis:            An IRC client library.@@ -108,4 +108,4 @@ source-repository this   type:     git   location: https://github.com/barrucadu/irc-client.git-  tag:      0.4.0.0+  tag:      0.4.1.0