Skip to content

Commit

Permalink
data-default-class -> data-default
Browse files Browse the repository at this point in the history
data-default 0.8 deprecates data-default-class by moving the `Default`
class from `Data.Default.Class` to `Data.Default`.

See: haskell-grpc-native/http2-client#97
See: kazu-yamamoto/crypton-certificate#11
See: haskell-tls/hs-tls#486
See: commercialhaskell/stackage#7545
  • Loading branch information
9999years committed Oct 28, 2024
1 parent 23b8c4c commit 5595269
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion wai-extra/Network/Wai/Middleware/Gzip.hs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import qualified Data.ByteString.Builder.Extra as Blaze (flush)
import qualified Data.ByteString.Char8 as S8
import Data.ByteString.Lazy.Internal (defaultChunkSize)
import Data.Char (isAsciiLower, isAsciiUpper, isDigit)
import Data.Default.Class (Default (..))
import Data.Default (Default (..))
import Data.Function (fix)
import Data.Maybe (isJust)
import qualified Data.Set as Set
Expand Down
2 changes: 1 addition & 1 deletion wai-extra/Network/Wai/Middleware/RequestLogger.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import qualified Data.ByteString.Builder as B (Builder, byteString)
import Data.ByteString.Char8 (pack)
import qualified Data.ByteString.Char8 as S8
import qualified Data.ByteString.Lazy as LBS
import Data.Default.Class (Default (def))
import Data.Default (Default (def))
import Data.IORef
import Data.Maybe (fromMaybe, isJust, mapMaybe)
#if __GLASGOW_HASKELL__ < 804
Expand Down
4 changes: 2 additions & 2 deletions wai-extra/wai-extra.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: wai-extra
Version: 3.1.15
Version: 3.1.16
Synopsis: Provides some basic WAI handlers and middleware.
description:
Provides basic WAI handler and middleware functionality:
Expand Down Expand Up @@ -110,7 +110,7 @@ Library
, case-insensitive >= 0.2
, containers
, cookie
, data-default-class
, data-default
, directory >= 1.2.7.0
, fast-logger >= 2.4.5
, http-types >= 0.7
Expand Down
2 changes: 1 addition & 1 deletion warp-tls/Network/Wai/Handler/WarpTLS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import Control.Applicative ((<|>))
import Control.Monad (guard, void)
import qualified Data.ByteString as S
import qualified Data.ByteString.Lazy as L
import Data.Default.Class (def)
import Data.Default (def)
import qualified Data.IORef as I
import Data.Streaming.Network (bindPortTCP, safeRecv)
import Data.Typeable (Typeable)
Expand Down
2 changes: 1 addition & 1 deletion warp-tls/Network/Wai/Handler/WarpTLS/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Network.Wai.Handler.WarpTLS.Internal (

import qualified Data.ByteString as S
import qualified Data.ByteString.Lazy as L
import Data.Default.Class (def)
import Data.Default (def)
import qualified Data.IORef as I
import qualified Network.TLS as TLS
import qualified Network.TLS.Extra as TLSExtra
Expand Down
4 changes: 2 additions & 2 deletions warp-tls/warp-tls.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: warp-tls
Version: 3.4.7
Version: 3.4.8
Synopsis: HTTP over TLS support for Warp via the TLS package
License: MIT
License-file: LICENSE
Expand All @@ -22,7 +22,7 @@ Library
, bytestring >= 0.9
, wai >= 3.2 && < 3.3
, warp >= 3.3.29 && < 3.5
, data-default-class >= 0.0.1
, data-default >= 0.8
, tls >= 1.7 && < 2.2
, network >= 2.2.1
, streaming-commons
Expand Down

0 comments on commit 5595269

Please sign in to comment.