packages feed

wai-middleware-static 0.9.2 → 0.9.3

raw patch · 3 files changed

+19/−20 lines, 3 filesdep ~basedep ~containersdep ~time

Dependency ranges changed: base, containers, time

Files

Network/Wai/Middleware/Static.hs view
@@ -31,9 +31,6 @@ import qualified Crypto.Hash.SHA1 as SHA1 import qualified Data.ByteString.Base16 as Base16 import qualified Data.List as L-#if !(MIN_VERSION_base(4,8,0))-import Data.Monoid (Monoid(..))-#endif #if !(MIN_VERSION_base(4,11,0)) import Data.Semigroup (Semigroup(..)) #endif@@ -43,9 +40,6 @@ import Network.Mime (MimeType, defaultMimeLookup) import Network.Wai import System.Directory (doesFileExist, getModificationTime)-#if !(MIN_VERSION_time(1,5,0))-import System.Locale-#endif -- import Crypto.Hash.Algorithms -- import Crypto.Hash -- import Data.ByteArray.Encoding
changelog.md view
@@ -1,3 +1,6 @@+## 0.9.3 [2024.12.28]+* Drop support for pre-8.0 versions of GHC.+ ## 0.9.2 [2022.03.08] * Allow building with GHC 9.2. * Replace the `cryptonite` and `memory` dependencies with equivalent
wai-middleware-static.cabal view
@@ -1,5 +1,5 @@ Name:                wai-middleware-static-Version:             0.9.2+Version:             0.9.3 Synopsis:            WAI middleware that serves requests to static files. Homepage:            https://github.com/scotty-web/wai-middleware-static Bug-reports:         https://github.com/scotty-web/wai-middleware-static/issues@@ -17,40 +17,42 @@   if they exist.   .   [WAI] <http://hackage.haskell.org/package/wai>-tested-with:         GHC == 7.6.3-                   , GHC == 7.8.4-                   , GHC == 7.10.3-                   , GHC == 8.0.2+tested-with:         GHC == 8.0.2                    , GHC == 8.2.2                    , GHC == 8.4.4                    , GHC == 8.6.5                    , GHC == 8.8.4                    , GHC == 8.10.7                    , GHC == 9.0.2-                   , GHC == 9.2.2+                   , GHC == 9.2.8+                   , GHC == 9.4.8+                   , GHC == 9.6.6+                   , GHC == 9.8.4+                   , GHC == 9.10.1+                   , GHC == 9.12.1 Extra-source-files:  changelog.md, README.md  Library   Exposed-modules:     Network.Wai.Middleware.Static   default-language:    Haskell2010   Build-depends:-                       base               >= 4.6.0.1  && < 5,+                       base               >= 4.9      && < 5,                        base16-bytestring  >= 0.1      && < 1.1,-                       bytestring         >= 0.10.0.2 && < 0.12,-                       containers         >= 0.5.0.0  && < 0.7,+                       bytestring         >= 0.10.0.2 && < 0.13,+                       containers         >= 0.5.0.0  && < 0.8,                        cryptohash-sha1    >= 0.11     && < 0.12,                        directory          >= 1.2.0.1  && < 1.4,                        expiring-cache-map >= 0.0.5    && < 0.1,-                       filepath           >= 1.3.0.1  && < 1.5,+                       filepath           >= 1.3.0.1  && < 1.6,                        http-types         >= 0.8.2    && < 0.13,                        mime-types         >= 0.1.0.3  && < 0.2,                        old-locale         >= 1.0      && < 1.1,                        semigroups         >= 0.18     && < 1,-                       text               >= 0.11.3.1 && < 2.1,-                       time               >= 1.4      && < 1.12,+                       text               >= 0.11.3.1 && < 2.2,+                       time               >= 1.6.0.1  && < 1.15,                        wai                >= 3.0.0    && < 3.3 -  GHC-options: -Wall -fno-warn-orphans+  GHC-options: -Wall -Wno-orphans  test-suite spec   main-is:             Spec.hs@@ -72,4 +74,4 @@  source-repository head   type:     git-  location: git://github.com/scotty-web/wai-middleware-static.git+  location: https://github.com/scotty-web/wai-middleware-static.git