Skip to content

Commit dd7ec1d

Browse files
committed
Allow base-compat-0.10.0
1 parent 6be8291 commit dd7ec1d

File tree

13 files changed

+44
-15
lines changed

13 files changed

+44
-15
lines changed

servant-client-core/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
1116
0.13
1217
----
1318

servant-client-core/servant-client-core.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import Control.Concurrent (newMVar, modifyMVar)
2222
import Data.Foldable (toList)
2323
import qualified Data.ByteString.Lazy as BL
2424
import Data.List (foldl')
25-
import Data.Monoid ((<>))
2625
import Data.Proxy (Proxy (Proxy))
26+
import Data.Semigroup ((<>))
2727
import Data.Sequence (fromList)
2828
import Data.String (fromString)
2929
import Data.Text (Text, pack)

servant-client/servant-client.cabal

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: servant-client
22
version: 0.13
3+
x-revision: 2
34
synopsis: automatical derivation of querying functions for servant webservices
45
description:
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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ import Control.Monad.Error.Class (throwError)
3737
import Data.Aeson
3838
import Data.Char (chr, isPrint)
3939
import Data.Foldable (forM_)
40-
import Data.Monoid hiding (getLast)
40+
import Data.Semigroup ((<>))
41+
import Data.Monoid ()
4142
import Data.Proxy
4243
import qualified Generics.SOP as SOP
4344
import GHC.Generics (Generic)

servant-docs/servant-docs.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: servant-docs
22
version: 0.11.2
3+
x-revision: 2
34
synopsis: generate API docs for your servant webservice
45
description:
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: servant-foreign
2-
version: 0.11
2+
version: 0.11.1
33
synopsis: Helpers for generating clients for servant APIs in any programming language
44
description:
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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
49
0.13
510
----
611

servant-server/servant-server.cabal

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: servant-server
2-
version: 0.13
2+
version: 0.13.0.1
33
synopsis: A family of combinators for defining webservices APIs and serving them
44
description:
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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ import qualified Data.ByteString.Lazy as BL
4444
import Data.Maybe (fromMaybe, mapMaybe,
4545
isNothing, maybeToList)
4646
import Data.Either (partitionEithers)
47+
import Data.Semigroup ((<>))
4748
import Data.String (IsString (..))
48-
import Data.String.Conversions (cs, (<>))
49+
import Data.String.Conversions (cs)
4950
import Data.Tagged (Tagged(..), retag, untag)
5051
import qualified Data.Text as T
5152
import Data.Typeable

0 commit comments

Comments
 (0)