packages feed

irc-client 1.0.0.0 → 1.0.0.1

raw patch · 2 files changed

+2/−74 lines, 2 filesdep −lensdep ~timedep ~tlsPVP ok

version bump matches the API change (PVP)

Dependencies removed: lens

Dependency ranges changed: time, tls

API changes (from Hackage documentation)

Files

− Main.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}--import Control.Concurrent-import Control.Lens-import Network.IRC.Client--main :: IO ()-main = do-  let conn = tlsConnection (WithDefaultConfig "irc.freenode.net" 6697)-               & logfunc .~ stdoutLogger-  let cfg  = defaultInstanceConfig "nickname"-               & channels .~ ["#channel"]-               & handlers %~ (yourHandlers++)-  ircstate <- newIRCState conn cfg initialState-  forkIO (runClientWith ircstate)-  -- you can now use runIRCAction with the ircstate value to interact with the client-  -- eg:-  runIRCAction disconnect ircstate--yourHandlers = []-initialState = ()
irc-client.cabal view
@@ -10,7 +10,7 @@ -- PVP summary:      +-+------- breaking API changes --                   | | +----- non-breaking API additions --                   | | | +--- code changes with no API change-version:             1.0.0.0+version:             1.0.0.1  -- A short (one-line) description of the package. synopsis:            An IRC client library.@@ -115,57 +115,6 @@   -- Base language which the package is written in.   default-language:    Haskell2010   -executable irc-client-  main-is: Main.hs-  -- Modules exported by the library.-  other-modules:     Network.IRC.Client-                     , Network.IRC.Client.Events-                     , Network.IRC.Client.Internal-                     , Network.IRC.Client.Internal.Lens-                     , Network.IRC.Client.Internal.Types-                     , Network.IRC.Client.Lens-                     , Network.IRC.Client.Utils--  -- Modules included in this library but not exported.-  other-modules:-    Paths_irc_client--  -- Compile with -Wall by default-  ghc-options:         -Wall-  -  -- LANGUAGE extensions used by modules in this package.-  -- other-extensions:    -  -  -- Other library packages from which modules are imported.-  build-depends:       base                >=4.7   && <5-                     , bytestring          >=0.10  && <0.11-                     , containers          >=0.1   && <1-                     , conduit             >=1.2   && <1.3-                     , connection          >=0.2   && <0.3-                     , contravariant       >=0.1   && <1.5-                     , exceptions          >=0.6   && <0.9-                     , irc-conduit         >=0.2.2 && <0.3-                     , irc-ctcp            >=0.1.2 && <0.2-                     , mtl                 >=2.1   && <2.3-                     , network-conduit-tls >=1.1   && <1.3-                     , old-locale          >=1.0   && <1.1-                     , profunctors         >=5     && <6-                     , stm                 >=2.4   && <2.5-                     , stm-conduit         >=2.5   && <3.1-                     , text                >=1.1   && <1.3-                     , time                >=1.4   && <1.7-                     , tls                 >=1.3   && <1.4-                     , transformers        >=0.3   && <0.6-                     , x509                >=1.6   && <1.8-                     , x509-store          >=1.6   && <1.7-                     , x509-validation     >=1.6   && <1.7, lens-  -  -- Directories containing source files.-  -- hs-source-dirs:      -  -  -- Base language which the package is written in.-  default-language:    Haskell2010-   source-repository head   type:     git   location: https://github.com/barrucadu/irc-client.git@@ -173,4 +122,4 @@ source-repository this   type:     git   location: https://github.com/barrucadu/irc-client.git-  tag:      1.0.0.0+  tag:      1.0.0.1