DAV 0.3 → 0.3.1
raw patch · 4 files changed
+11/−11 lines, 4 filesdep ~http-conduitdep ~xml-conduitPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: http-conduit, xml-conduit
API changes (from Hackage documentation)
- Network.Protocol.HTTP.DAV: allowedMethods :: Lens (DAVContext a_a7fD) (DAVContext a_a7fD) [ByteString] [ByteString]
+ Network.Protocol.HTTP.DAV: allowedMethods :: Lens' (DAVContext a_a9bG) [ByteString]
- Network.Protocol.HTTP.DAV: baseRequest :: Lens (DAVContext a_a7fD) (DAVContext a_a7Wm) (Request a_a7fD) (Request a_a7Wm)
+ Network.Protocol.HTTP.DAV: baseRequest :: Lens (DAVContext a_a9bG) (DAVContext a_a9Sk) (Request a_a9bG) (Request a_a9Sk)
- Network.Protocol.HTTP.DAV: basicpassword :: Lens (DAVContext a_a7fD) (DAVContext a_a7fD) ByteString ByteString
+ Network.Protocol.HTTP.DAV: basicpassword :: Lens' (DAVContext a_a9bG) ByteString
- Network.Protocol.HTTP.DAV: basicusername :: Lens (DAVContext a_a7fD) (DAVContext a_a7fD) ByteString ByteString
+ Network.Protocol.HTTP.DAV: basicusername :: Lens' (DAVContext a_a9bG) ByteString
- Network.Protocol.HTTP.DAV: complianceClasses :: Lens (DAVContext a_a7fD) (DAVContext a_a7fD) [ByteString] [ByteString]
+ Network.Protocol.HTTP.DAV: complianceClasses :: Lens' (DAVContext a_a9bG) [ByteString]
- Network.Protocol.HTTP.DAV: httpManager :: Lens (DAVContext a_a7fD) (DAVContext a_a7fD) Manager Manager
+ Network.Protocol.HTTP.DAV: httpManager :: Lens' (DAVContext a_a9bG) Manager
- Network.Protocol.HTTP.DAV: lockToken :: Lens (DAVContext a_a7fD) (DAVContext a_a7fD) (Maybe ByteString) (Maybe ByteString)
+ Network.Protocol.HTTP.DAV: lockToken :: Lens' (DAVContext a_a9bG) (Maybe ByteString)
Files
- DAV.cabal +6/−6
- Network/Protocol/HTTP/DAV.hs +2/−2
- Network/Protocol/HTTP/DAV/TH.hs +1/−1
- hdav.hs +2/−2
DAV.cabal view
@@ -1,5 +1,5 @@ name: DAV-version: 0.3+version: 0.3.1 synopsis: RFC 4918 WebDAV support description: This is a library for the Web Distributed Authoring and Versioning@@ -15,7 +15,7 @@ license-file: LICENSE author: Clint Adams maintainer: clint@debian.org-copyright: Copyright (C) 2012 Clint Adams+copyright: Copyright (C) 2012-2013 Clint Adams category: Web build-type: Simple cabal-version: >=1.8@@ -29,14 +29,14 @@ , bytestring , case-insensitive >= 0.4 , containers- , http-conduit >= 1.4+ , http-conduit >= 1.9.0 , http-types >= 0.7 , lens >= 3.0 , lifted-base >= 0.1 , mtl >= 2.1 , resourcet >= 0.3 , transformers >= 0.3- , xml-conduit >= 1.0 && <= 1.1+ , xml-conduit >= 1.0 && <= 1.2 , xml-hamlet >= 0.4 && <= 0.5 executable hdav main-is: hdav.hs@@ -47,7 +47,7 @@ , case-insensitive >= 0.4 , cmdargs >= 0.9 , containers- , http-conduit >= 1.4+ , http-conduit >= 1.9.0 , http-types >= 0.7 , lens >= 3.0 , lifted-base >= 0.1@@ -55,7 +55,7 @@ , network >= 2.3 , resourcet >= 0.3 , transformers >= 0.3- , xml-conduit >= 1.0 && <= 1.1+ , xml-conduit >= 1.0 && <= 1.2 , xml-hamlet >= 0.4 && <= 0.5 source-repository head
Network/Protocol/HTTP/DAV.hs view
@@ -1,5 +1,5 @@ -- DAV.hs: WebDAV client library--- Copyright © 2012 Clint Adams+-- Copyright © 2012-2013 Clint Adams -- -- vim: softtabstop=4:shiftwidth=4:expandtab --@@ -83,7 +83,7 @@ return resp matchStatusCodeException :: Status -> HttpException -> Maybe ()-matchStatusCodeException want (StatusCodeException s _)+matchStatusCodeException want (StatusCodeException s _ _) | s == want = Just () | otherwise = Nothing matchStatusCodeException _ _ = Nothing
Network/Protocol/HTTP/DAV/TH.hs view
@@ -1,5 +1,5 @@ -- TH.hs: WebDAV client library - bits using TH--- Copyright © 2012 Clint Adams+-- Copyright © 2012-2013 Clint Adams -- -- vim: softtabstop=4:shiftwidth=4:expandtab --
hdav.hs view
@@ -1,5 +1,5 @@ -- hdav.hs: WebDAV client--- Copyright © 2012 Clint Adams+-- Copyright © 2012-2013 Clint Adams -- -- vim: softtabstop=4:shiftwidth=4:expandtab --@@ -100,7 +100,7 @@ main :: IO () main = withSocketsDo $ do- putStrLn $ "hDAV version " ++ showVersion version ++ ", Copyright (C) 2012 Clint Adams\n\+ putStrLn $ "hDAV version " ++ showVersion version ++ ", Copyright (C) 2012-2013 Clint Adams\n\ \hDAV comes with ABSOLUTELY NO WARRANTY.\n\ \This is free software, and you are welcome to redistribute it\n\ \under certain conditions.\n\n"