diff --git a/ChangeLog.md b/ChangeLog.md index d5c1e55..768a155 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,6 +2,10 @@ `wai-middleware-delegate` uses [PVP Versioning][1]. +## 0.2.0.0 -- 2024-10-28 + +* Remove the Default instance of ProxySettings + ## 0.1.5.0 -- 2024-10-28 * Upgrade 0.1.4.2 to a minor release diff --git a/src/Network/Wai/Middleware/Delegate.hs b/src/Network/Wai/Middleware/Delegate.hs index 3e6e2f6..2eb2d79 100644 --- a/src/Network/Wai/Middleware/Delegate.hs +++ b/src/Network/Wai/Middleware/Delegate.hs @@ -64,7 +64,6 @@ import Data.Conduit , (.|) ) import Data.Conduit.Network (appSink, appSource) -import Data.Default (Default (..)) import Data.IORef (newIORef, readIORef, writeIORef) import Data.Int (Int64) import Data.Streaming.Network @@ -133,14 +132,6 @@ data ProxySettings = ProxySettings } -{- | This instance is DEPRECATED and will removed in a later release. -please use 'defaultSettings' instead --} -instance Default ProxySettings where - -- This is DEPRECATED, please use 'defaultSettings' instead - def = defaultSettings - - {- | A default 'ProxySettings' that makes simplistic assumptions, e.g, that target host is @localhost@ -} diff --git a/wai-middleware-delegate.cabal b/wai-middleware-delegate.cabal index 453f7f4..6c7ce9c 100644 --- a/wai-middleware-delegate.cabal +++ b/wai-middleware-delegate.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: wai-middleware-delegate -version: 0.1.5.0 +version: 0.2.0.0 synopsis: WAI middleware that delegates handling of requests. description: [WAI](http://hackage.haskell.org/package/wai) middleware that intercepts requests @@ -40,7 +40,6 @@ library , case-insensitive ^>=1.2.0.11 , conduit ^>=1.3.0.3 , conduit-extra ^>=1.3.0 - , data-default ^>=0.7.1.1 , http-client >=0.5.13 && <0.8 , http-client-tls >=0.3 && <0.4 , http-types >=0.12.1 && <0.13 @@ -77,7 +76,7 @@ test-suite integration-test , conduit , conduit-extra , crypton-connection >=0.3.1 && < 0.5 - , data-default + , data-default ^>=0.7.1.1 , directory >=1.3 && <1.4 , filepath >=1.4 && <1.6 , hspec >=2.1