network-conduit-tls 1.1.2 → 1.2.0
raw patch · 3 files changed
+8/−9 lines, 3 filesdep −system-fileiodep −system-filepathPVP ok
version bump matches the API change (PVP)
Dependencies removed: system-fileio, system-filepath
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- Data/Conduit/Network/TLS.hs +3/−6
- network-conduit-tls.cabal +1/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.2.0++* Drop system-filepath+ ## 1.1.2 * Added 'runGeneralTCPServerTLS' function [#208](https://github.com/snoyberg/conduit/pull/208)
Data/Conduit/Network/TLS.hs view
@@ -33,11 +33,8 @@ , tlsClientConnectionContext ) where -import Prelude hiding (FilePath, readFile) import Control.Applicative ((<$>), (<*>)) import Control.Monad (forever, void)-import Filesystem.Path.CurrentOS (FilePath)-import Filesystem (readFile) import qualified Data.ByteString.Lazy as L import qualified Network.TLS as TLS import Data.Conduit.Network (sinkSocket, runTCPServerWithHandle, serverSettings, sourceSocket)@@ -64,9 +61,9 @@ makeCertDataPath :: FilePath -> [FilePath] -> FilePath -> TlsCertData makeCertDataPath certPath chainCertPaths keyPath = TlsCertData- (readFile certPath)- (mapM readFile chainCertPaths)- (readFile keyPath)+ (S.readFile certPath)+ (mapM S.readFile chainCertPaths)+ (S.readFile keyPath) makeCertDataBS :: S.ByteString -> [S.ByteString] -> S.ByteString -> TlsCertData
network-conduit-tls.cabal view
@@ -1,5 +1,5 @@ name: network-conduit-tls-version: 1.1.2+version: 1.2.0 synopsis: Create TLS-aware network code with conduits description: Uses the tls package for a pure-Haskell implementation. homepage: https://github.com/snoyberg/conduit@@ -16,8 +16,6 @@ exposed-modules: Data.Conduit.Network.TLS Data.Conduit.Network.TLS.Internal build-depends: base >= 4 && < 5- , system-filepath >= 0.4- , system-fileio >= 0.3 , bytestring >= 0.9 , tls >= 1.2.15 , conduit-extra >= 1.1