diff --git a/servant-client-core/CHANGELOG.md b/servant-client-core/CHANGELOG.md index 19cbde38..4af9f347 100644 --- a/servant-client-core/CHANGELOG.md +++ b/servant-client-core/CHANGELOG.md @@ -1,6 +1,12 @@ [The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-client-core/CHANGELOG.md) [Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md) +0.13.0.1 +-------- + +- Support `base-compat-0.10` + + 0.13 ---- diff --git a/servant-client-core/servant-client-core.cabal b/servant-client-core/servant-client-core.cabal index ceca8245..017d115d 100644 --- a/servant-client-core/servant-client-core.cabal +++ b/servant-client-core/servant-client-core.cabal @@ -1,6 +1,5 @@ name: servant-client-core -version: 0.13 -x-revision: 1 +version: 0.13.0.1 synopsis: Core functionality and class for client function generation for servant APIs description: This library provides backend-agnostic generation of client functions. For @@ -64,7 +63,7 @@ library -- Other dependencies: Lower bound around what is in the latest Stackage LTS. -- Here can be exceptions if we really need features from the newer versions. build-depends: - base-compat >= 0.9.3 && < 0.10 + base-compat >= 0.9.3 && < 0.11 , base64-bytestring >= 1.0.0.1 && < 1.1 , exceptions >= 0.8.3 && < 0.11 , generics-sop >= 0.3.1.0 && < 0.4 diff --git a/servant-client-core/src/Servant/Client/Core/Internal/HasClient.hs b/servant-client-core/src/Servant/Client/Core/Internal/HasClient.hs index 372e6027..ff7623d8 100644 --- a/servant-client-core/src/Servant/Client/Core/Internal/HasClient.hs +++ b/servant-client-core/src/Servant/Client/Core/Internal/HasClient.hs @@ -21,8 +21,8 @@ import Control.Concurrent (newMVar, modifyMVar) import Data.Foldable (toList) import qualified Data.ByteString.Lazy as BL import Data.List (foldl') -import Data.Monoid ((<>)) import Data.Proxy (Proxy (Proxy)) +import Data.Semigroup ((<>)) import Data.Sequence (fromList) import Data.String (fromString) import Data.Text (Text, pack) diff --git a/servant-client/servant-client.cabal b/servant-client/servant-client.cabal index f9fb50fc..d97aae8c 100644 --- a/servant-client/servant-client.cabal +++ b/servant-client/servant-client.cabal @@ -1,6 +1,6 @@ name: servant-client version: 0.13 -x-revision: 1 +x-revision: 2 synopsis: automatical derivation of querying functions for servant webservices description: This library lets you derive automatically Haskell functions that @@ -62,7 +62,7 @@ library -- Here can be exceptions if we really need features from the newer versions. build-depends: aeson >= 1.2.3.0 && < 1.4 - , base-compat >= 0.9.3 && < 0.10 + , base-compat >= 0.9.3 && < 0.11 , attoparsec >= 0.13.2.0 && < 0.14 , http-client >= 0.5.7.1 && < 0.6 , http-client-tls >= 0.3.5.1 && < 0.4 @@ -112,6 +112,10 @@ test-suite spec , wai , warp + if !impl(ghc >= 8.0) + build-depends: + semigroups + -- Additonal dependencies build-depends: deepseq >= 1.3.0.2 && < 1.5 diff --git a/servant-client/test/Servant/ClientSpec.hs b/servant-client/test/Servant/ClientSpec.hs index c9a96cab..47f1461e 100644 --- a/servant-client/test/Servant/ClientSpec.hs +++ b/servant-client/test/Servant/ClientSpec.hs @@ -37,7 +37,8 @@ import Control.Monad.Error.Class (throwError) import Data.Aeson import Data.Char (chr, isPrint) import Data.Foldable (forM_) -import Data.Monoid hiding (getLast) +import Data.Semigroup ((<>)) +import Data.Monoid () import Data.Proxy import qualified Generics.SOP as SOP import GHC.Generics (Generic) diff --git a/servant-docs/servant-docs.cabal b/servant-docs/servant-docs.cabal index d830473e..fb96c9dd 100644 --- a/servant-docs/servant-docs.cabal +++ b/servant-docs/servant-docs.cabal @@ -1,6 +1,6 @@ name: servant-docs version: 0.11.2 -x-revision: 1 +x-revision: 2 synopsis: generate API docs for your servant webservice description: Library for generating API docs from a servant API definition. @@ -60,7 +60,7 @@ library build-depends: aeson >= 1.2.3.0 && < 1.4 , aeson-pretty >= 0.8.5 && < 0.9 - , base-compat >= 0.9.3 && < 0.10 + , base-compat >= 0.9.3 && < 0.11 , case-insensitive >= 1.2.0.10 && < 1.3 , control-monad-omega >= 0.3.1 && < 0.4 , hashable >= 1.2.6.1 && < 1.3 diff --git a/servant-foreign/servant-foreign.cabal b/servant-foreign/servant-foreign.cabal index 5784e0c7..0aee774d 100644 --- a/servant-foreign/servant-foreign.cabal +++ b/servant-foreign/servant-foreign.cabal @@ -1,5 +1,6 @@ name: servant-foreign version: 0.11.1 +x-revision: 1 synopsis: Helpers for generating clients for servant APIs in any programming language description: Helper types and functions for generating client functions for servant APIs in any programming language @@ -57,7 +58,7 @@ library -- Other dependencies: Lower bound around what is in the latest Stackage LTS. -- Here can be exceptions if we really need features from the newer versions. build-depends: - base-compat >= 0.9.3 && <0.10 + base-compat >= 0.9.3 && <0.11 , lens >= 4.15.4 && <4.17 , http-types >= 0.12 && < 0.13 diff --git a/servant-server/CHANGELOG.md b/servant-server/CHANGELOG.md index 952b5470..5fb66818 100644 --- a/servant-server/CHANGELOG.md +++ b/servant-server/CHANGELOG.md @@ -1,6 +1,11 @@ [The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md) [Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md) +0.13.0.1 +-------- + +- Support `base-compat-0.10` + 0.13 ---- diff --git a/servant-server/servant-server.cabal b/servant-server/servant-server.cabal index 680eba57..f169ca05 100644 --- a/servant-server/servant-server.cabal +++ b/servant-server/servant-server.cabal @@ -1,6 +1,5 @@ name: servant-server -version: 0.13 -x-revision: 1 +version: 0.13.0.1 synopsis: A family of combinators for defining webservices APIs and serving them description: A family of combinators for defining webservices APIs and serving them @@ -70,6 +69,10 @@ library , transformers >= 0.3.0.0 && < 0.6 , filepath >= 1.3.0.2 && < 1.5 + if !impl(ghc >= 8.0) + build-depends: + semigroups >= 0.18.3 && < 0.19 + -- Servant dependencies build-depends: servant == 0.13.* @@ -78,7 +81,7 @@ library -- Here can be exceptions if we really need features from the newer versions. build-depends: aeson >= 1.2.3.0 && < 1.4 - , base-compat >= 0.9.3 && < 0.10 + , base-compat >= 0.9.3 && < 0.11 , attoparsec >= 0.13.2.0 && < 0.14 , base64-bytestring >= 1.0.0.1 && < 1.1 , exceptions >= 0.8.3 && < 0.11 diff --git a/servant-server/src/Servant/Server/Internal.hs b/servant-server/src/Servant/Server/Internal.hs index 65b71a63..d44c1cda 100644 --- a/servant-server/src/Servant/Server/Internal.hs +++ b/servant-server/src/Servant/Server/Internal.hs @@ -44,8 +44,9 @@ import qualified Data.ByteString.Lazy as BL import Data.Maybe (fromMaybe, mapMaybe, isNothing, maybeToList) import Data.Either (partitionEithers) +import Data.Semigroup ((<>)) import Data.String (IsString (..)) -import Data.String.Conversions (cs, (<>)) +import Data.String.Conversions (cs) import Data.Tagged (Tagged(..), retag, untag) import qualified Data.Text as T import Data.Typeable diff --git a/servant/CHANGELOG.md b/servant/CHANGELOG.md index f7449e42..b6237041 100644 --- a/servant/CHANGELOG.md +++ b/servant/CHANGELOG.md @@ -1,5 +1,10 @@ [The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md) +0.13.0.1 +-------- + +- Support `base-compat-0.10` + 0.13 ---- diff --git a/servant/servant.cabal b/servant/servant.cabal index 8960b297..ef3da37e 100644 --- a/servant/servant.cabal +++ b/servant/servant.cabal @@ -1,6 +1,5 @@ name: servant -version: 0.13 -x-revision: 1 +version: 0.13.0.1 synopsis: A family of combinators for defining webservices APIs description: A family of combinators for defining webservices APIs and serving them @@ -82,8 +81,8 @@ library -- Other dependencies: Lower bound around what is in the latest Stackage LTS. -- Here can be exceptions if we really need features from the newer versions. - build-depends: - base-compat >= 0.9.3 && < 0.10 + build-depends: + base-compat >= 0.9.3 && < 0.11 , aeson >= 1.2.3.0 && < 1.4 , attoparsec >= 0.13.2.0 && < 0.14 , case-insensitive >= 1.2.0.10 && < 1.3 diff --git a/servant/src/Servant/Utils/Links.hs b/servant/src/Servant/Utils/Links.hs index 65c46861..37098f0a 100644 --- a/servant/src/Servant/Utils/Links.hs +++ b/servant/src/Servant/Utils/Links.hs @@ -101,7 +101,7 @@ module Servant.Utils.Links ( ) where import Data.List -import Data.Monoid.Compat ( (<>) ) +import Data.Semigroup ((<>)) import Data.Proxy ( Proxy(..) ) import Data.Singletons.Bool ( SBool (..), SBoolI (..) ) import qualified Data.Text as Text