git.iko.soy/typeable/servant
on master help sign in
Allow base-compat-0.10.0
commitdd7ec1dfd73ba718a8a29f3b0e52f6a133ac97e2 authorOleg Grenrus <oleg.grenrus@iki.fi> dateMon 9 Apr 2018, 12:26 (9 years ago) parent6be8291
13 files changed+44−15
servant-client-core/CHANGELOG.md+5 servant-client-core/servant-client-core.cabal+1−1 servant-client-core/src/Servant/Client/Core/Internal/HasClient.hs+1−1 servant-client/servant-client.cabal+6−1 servant-client/test/Servant/ClientSpec.hs+2−1 servant-docs/servant-docs.cabal+2−1 servant-foreign/servant-foreign.cabal+2−2 servant-server/CHANGELOG.md+5 servant-server/servant-server.cabal+6−2 servant-server/src/Servant/Server/Internal.hs+2−1 servant/CHANGELOG.md+5 servant/servant.cabal+3−3 servant/src/Servant/Utils/Links.hs+4−2
servant-client-core/CHANGELOG.md+5
@@ -8,6 +8,11 @@
88 changing the monad in which client functions run.
99 ([#936](https://github.com/haskell-servant/servant/pull/936))
1010
11+0.13.0.1
12+--------
13+
14+- Support `base-compat-0.10`
15+
11160.13
1217----
1318
servant-client-core/servant-client-core.cabal+1−1
@@ -64,7 +64,7 @@ library
6464 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
6565 -- Here can be exceptions if we really need features from the newer versions.
6666 build-depends:
67− base-compat >= 0.9.3 && < 0.10
67+ base-compat >= 0.9.3 && < 0.11
6868 , base64-bytestring >= 1.0.0.1 && < 1.1
6969 , exceptions >= 0.8.3 && < 0.11
7070 , free >= 5.0.1 && < 5.1
servant-client-core/src/Servant/Client/Core/Internal/HasClient.hs+1−1
@@ -22,8 +22,8 @@ import Control.Concurrent (newMVar, modifyMVar)
2222import Data.Foldable (toList)
2323import qualified Data.ByteString.Lazy as BL
2424import Data.List (foldl')
25−import Data.Monoid ((<>))
2625import Data.Proxy (Proxy (Proxy))
26+import Data.Semigroup ((<>))
2727import Data.Sequence (fromList)
2828import Data.String (fromString)
2929import Data.Text (Text, pack)
servant-client/servant-client.cabal+6−1
@@ -1,5 +1,6 @@
11name: servant-client
22version: 0.13
3+x-revision: 2
34synopsis: automatical derivation of querying functions for servant webservices
45description:
56 This library lets you derive automatically Haskell functions that
@@ -60,7 +61,7 @@ library
6061 -- Here can be exceptions if we really need features from the newer versions.
6162 build-depends:
6263 aeson >= 1.2.3.0 && < 1.4
63− , base-compat >= 0.9.3 && < 0.10
64+ , base-compat >= 0.9.3 && < 0.11
6465 , attoparsec >= 0.13.2.0 && < 0.14
6566 , http-client >= 0.5.7.1 && < 0.6
6667 , http-client-tls >= 0.3.5.1 && < 0.4
@@ -110,6 +111,10 @@ test-suite spec
110111 , wai
111112 , warp
112113
114+ if !impl(ghc >= 8.0)
115+ build-depends:
116+ semigroups
117+
113118 -- Additonal dependencies
114119 build-depends:
115120 deepseq >= 1.3.0.2 && < 1.5
servant-client/test/Servant/ClientSpec.hs+2−1
@@ -37,7 +37,8 @@ import Control.Monad.Error.Class (throwError)
3737import Data.Aeson
3838import Data.Char (chr, isPrint)
3939import Data.Foldable (forM_)
40−import Data.Monoid hiding (getLast)
40+import Data.Semigroup ((<>))
41+import Data.Monoid ()
4142import Data.Proxy
4243import qualified Generics.SOP as SOP
4344import GHC.Generics (Generic)
servant-docs/servant-docs.cabal+2−1
@@ -1,5 +1,6 @@
11name: servant-docs
22version: 0.11.2
3+x-revision: 2
34synopsis: generate API docs for your servant webservice
45description:
56 Library for generating API docs from a servant API definition.
@@ -58,7 +59,7 @@ library
5859 build-depends:
5960 aeson >= 1.2.3.0 && < 1.4
6061 , aeson-pretty >= 0.8.5 && < 0.9
61− , base-compat >= 0.9.3 && < 0.10
62+ , base-compat >= 0.9.3 && < 0.11
6263 , case-insensitive >= 1.2.0.10 && < 1.3
6364 , control-monad-omega >= 0.3.1 && < 0.4
6465 , hashable >= 1.2.6.1 && < 1.3
servant-foreign/servant-foreign.cabal+2−2
@@ -1,5 +1,5 @@
11name: servant-foreign
2−version: 0.11
2+version: 0.11.1
33synopsis: Helpers for generating clients for servant APIs in any programming language
44description:
55 Helper types and functions for generating client functions for servant APIs in any programming language
@@ -52,7 +52,7 @@ library
5252 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
5353 -- Here can be exceptions if we really need features from the newer versions.
5454 build-depends:
55− base-compat >= 0.9.3 && <0.10
55+ base-compat >= 0.9.3 && <0.11
5656 , lens >= 4.15.4 && <4.17
5757 , http-types >= 0.12 && < 0.13
5858
servant-server/CHANGELOG.md+5
@@ -1,6 +1,11 @@
11[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md)
22[Changelog for `servant` package contains significant entries for all core packages.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
33
4+0.13.0.1
5+--------
6+
7+- Support `base-compat-0.10`
8+
490.13
510----
611
servant-server/servant-server.cabal+6−2
@@ -1,5 +1,5 @@
11name: servant-server
2−version: 0.13
2+version: 0.13.0.1
33synopsis: A family of combinators for defining webservices APIs and serving them
44description:
55 A family of combinators for defining webservices APIs and serving them
@@ -68,6 +68,10 @@ library
6868 , transformers >= 0.3.0.0 && < 0.6
6969 , filepath >= 1.3.0.2 && < 1.5
7070
71+ if !impl(ghc >= 8.0)
72+ build-depends:
73+ semigroups >= 0.18.3 && < 0.19
74+
7175 -- Servant dependencies
7276 build-depends:
7377 servant == 0.13.*
@@ -76,7 +80,7 @@ library
7680 -- Here can be exceptions if we really need features from the newer versions.
7781 build-depends:
7882 aeson >= 1.2.3.0 && < 1.4
79− , base-compat >= 0.9.3 && < 0.10
83+ , base-compat >= 0.9.3 && < 0.11
8084 , attoparsec >= 0.13.2.0 && < 0.14
8185 , base64-bytestring >= 1.0.0.1 && < 1.1
8286 , exceptions >= 0.8.3 && < 0.11
servant-server/src/Servant/Server/Internal.hs+2−1
@@ -44,8 +44,9 @@ import qualified Data.ByteString.Lazy as BL
4444import Data.Maybe (fromMaybe, mapMaybe,
4545 isNothing, maybeToList)
4646import Data.Either (partitionEithers)
47+import Data.Semigroup ((<>))
4748import Data.String (IsString (..))
48−import Data.String.Conversions (cs, (<>))
49+import Data.String.Conversions (cs)
4950import Data.Tagged (Tagged(..), retag, untag)
5051import qualified Data.Text as T
5152import Data.Typeable
servant/CHANGELOG.md+5
@@ -1,5 +1,10 @@
11[The latest version of this document is on GitHub.](https://github.com/haskell-servant/servant/blob/master/servant/CHANGELOG.md)
22
3+0.13.0.1
4+--------
5+
6+- Support `base-compat-0.10`
7+
380.13
49----
510
servant/servant.cabal+3−3
@@ -1,5 +1,5 @@
11name: servant
2−version: 0.13
2+version: 0.13.0.1
33synopsis: A family of combinators for defining webservices APIs
44description:
55 A family of combinators for defining webservices APIs and serving them
@@ -80,8 +80,8 @@ library
8080
8181 -- Other dependencies: Lower bound around what is in the latest Stackage LTS.
8282 -- Here can be exceptions if we really need features from the newer versions.
83− build-depends:
84− base-compat >= 0.9.3 && < 0.10
83+ build-depends:
84+ base-compat >= 0.9.3 && < 0.11
8585 , aeson >= 1.2.3.0 && < 1.4
8686 , attoparsec >= 0.13.2.0 && < 0.14
8787 , case-insensitive >= 1.2.0.10 && < 1.3
servant/src/Servant/Utils/Links.hs+4−2
@@ -101,14 +101,16 @@ module Servant.Utils.Links (
101101) where
102102
103103import Data.List
104−import Data.Monoid.Compat
105− ((<>))
106104import Data.Proxy
107105 (Proxy (..))
106+import Data.Semigroup
107+ ((<>))
108108import Data.Singletons.Bool
109109 (SBool (..), SBoolI (..))
110110import qualified Data.Text as Text
111111import qualified Data.Text.Encoding as TE
112+import Data.Type.Bool
113+ (If)
112114import Data.Type.Bool
113115 (If)
114116import GHC.TypeLits