sws 0.4.5.0 → 0.4.6.0
raw patch · 3 files changed
+10/−5 lines, 3 filesdep +network-bsddep ~cryptonitedep ~networkdep ~warp
Dependencies added: network-bsd
Dependency ranges changed: cryptonite, network, warp
Files
- CHANGELOG.md +4/−0
- Main.hs +1/−1
- sws.cabal +5/−4
CHANGELOG.md view
@@ -1,6 +1,10 @@ # Change Log All notable changes to this project will be documented in this file. +## 0.4.6.0 - 2019-10-20+### Changed+- Upper bound bumps.+ ## 0.4.5.0 - 2019-10-14 ### Added - `--content-type` option to override content types for a given file extension.
Main.hs view
@@ -62,7 +62,7 @@ import Control.Concurrent.MVar ( newEmptyMVar, putMVar, tryTakeMVar ) -- base import qualified Network.Socket as Net hiding ( sendTo, recvFrom ) -- network import qualified Network.Socket.ByteString as Net ( sendTo, recvFrom ) -- network-import Network.BSD ( hostAddresses, getHostName, getHostByName ) -- network+import Network.BSD ( hostAddresses, getHostName, getHostByName ) -- network-bsd -- Future things: case insensitive matching, optionally add CORS headers -- Maybe future things: virtual hosts, caching, DELETE support, dropping permissions, client certificates
sws.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.4.5.0+version: 0.4.6.0 -- A short (one-line) description of the package. synopsis: A simple web server for serving directories.@@ -67,19 +67,20 @@ base >= 4.11.1 && < 4.13, bytestring >= 0.10.8 && < 0.11, containers >= 0.6.0 && < 0.7,- cryptonite >= 0.25 && < 0.26,+ cryptonite >= 0.25 && < 0.27, directory >= 1.3.1 && < 1.4, filepath >= 1.4.2 && < 1.5, hourglass >= 0.2.11 && < 0.3, http-types >= 0.12.1 && < 0.13,- network >= 2.7.0 && < 2.9,+ network >= 2.7.0 && < 3.2,+ network-bsd >= 2.7.0 && < 2.9, network-uri >= 2.6.0 && < 2.7, resourcet >= 1.2.1 && < 1.3, transformers >= 0.5.5 && < 0.6, wai >= 3.2.1 && < 3.3, wai-extra >= 3.0.22 && < 3.1, wai-middleware-static >= 0.8.3 && < 0.9,- warp >= 3.2.22 && < 3.3,+ warp >= 3.2.22 && < 3.4, warp-tls >= 3.2.4 && < 3.3 -- Directories containing source files.