Merge pull request #1326 from maksbotan/maksbotan/bump-version
Bump version to 0.18
This commit is contained in:
commit
067ab350ef
13 changed files with 56 additions and 34 deletions
|
@ -195,6 +195,10 @@ install:
|
|||
echo "constraints: sqlite-simple < 0" >> cabal.project
|
||||
echo "allow-newer: servant-pagination-2.2.2:servant" >> cabal.project
|
||||
echo "allow-newer: servant-pagination-2.2.2:servant-server" >> cabal.project
|
||||
echo "allow-newer: servant-multipart:servant" >> cabal.project
|
||||
echo "allow-newer: servant-multipart:servant-server" >> cabal.project
|
||||
echo "allow-newer: servant-multipart:servant-client-core" >> cabal.project
|
||||
echo "allow-newer: servant-js:servant" >> cabal.project
|
||||
echo "optimization: False" >> cabal.project
|
||||
- "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-custom-errors|cookbook-db-postgres-pool|cookbook-file-upload|cookbook-generic|cookbook-pagination|cookbook-structuring-apis|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-machines|servant-pipes|servant-server|tutorial)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
|
||||
- cat cabal.project || true
|
||||
|
@ -336,6 +340,10 @@ script:
|
|||
echo "constraints: sqlite-simple < 0" >> cabal.project
|
||||
echo "allow-newer: servant-pagination-2.2.2:servant" >> cabal.project
|
||||
echo "allow-newer: servant-pagination-2.2.2:servant-server" >> cabal.project
|
||||
echo "allow-newer: servant-multipart:servant" >> cabal.project
|
||||
echo "allow-newer: servant-multipart:servant-server" >> cabal.project
|
||||
echo "allow-newer: servant-multipart:servant-client-core" >> cabal.project
|
||||
echo "allow-newer: servant-js:servant" >> cabal.project
|
||||
echo "optimization: False" >> cabal.project
|
||||
- "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-custom-errors|cookbook-db-postgres-pool|cookbook-file-upload|cookbook-generic|cookbook-pagination|cookbook-structuring-apis|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-machines|servant-pipes|servant-server|tutorial)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
|
||||
- cat cabal.project || true
|
||||
|
|
|
@ -63,3 +63,9 @@ write-ghc-environment-files: always
|
|||
-- https://github.com/chordify/haskell-servant-pagination/pull/12
|
||||
allow-newer: servant-pagination-2.2.2:servant
|
||||
allow-newer: servant-pagination-2.2.2:servant-server
|
||||
|
||||
-- https://github.com/haskell-servant/servant-multipart/pull/41
|
||||
allow-newer: servant-multipart:servant
|
||||
allow-newer: servant-multipart:servant-server
|
||||
allow-newer: servant-multipart:servant-client-core
|
||||
allow-newer: servant-js:servant
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
cabal-version: >=1.10
|
||||
name: servant-client-core
|
||||
version: 0.17
|
||||
version: 0.18
|
||||
|
||||
synopsis: Core functionality and class for client function generation for servant APIs
|
||||
category: Servant, Web
|
||||
|
@ -70,7 +70,7 @@ library
|
|||
|
||||
-- Servant dependencies
|
||||
build-depends:
|
||||
servant >= 0.17 && <0.18
|
||||
servant >= 0.18 && <0.19
|
||||
|
||||
-- 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.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
cabal-version: >=1.10
|
||||
name: servant-client
|
||||
version: 0.17
|
||||
version: 0.18
|
||||
|
||||
synopsis: Automatic derivation of querying functions for servant
|
||||
category: Servant, Web
|
||||
|
@ -63,8 +63,8 @@ library
|
|||
-- Servant dependencies.
|
||||
-- Strict dependency on `servant-client-core` as we re-export things.
|
||||
build-depends:
|
||||
servant == 0.17.*
|
||||
, servant-client-core >= 0.17 && <0.17.1
|
||||
servant == 0.18.*
|
||||
, servant-client-core >= 0.18 && <0.18.1
|
||||
|
||||
-- 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.
|
||||
|
@ -128,8 +128,8 @@ test-suite spec
|
|||
, HUnit >= 1.6.0.0 && < 1.7
|
||||
, network >= 2.8.0.0 && < 3.2
|
||||
, QuickCheck >= 2.12.6.1 && < 2.14
|
||||
, servant == 0.17.*
|
||||
, servant-server == 0.17.*
|
||||
, servant == 0.18.*
|
||||
, servant-server == 0.18.*
|
||||
, tdigest >= 0.2 && < 0.3
|
||||
|
||||
build-tool-depends:
|
||||
|
|
|
@ -40,7 +40,7 @@ library
|
|||
, conduit >=1.3.1 && <1.4
|
||||
, mtl >=2.2.2 && <2.3
|
||||
, resourcet >=1.2.2 && <1.3
|
||||
, servant >=0.15 && <0.18
|
||||
, servant >=0.15 && <0.19
|
||||
, unliftio-core >=0.1.2.0 && <0.3
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
|
@ -61,8 +61,8 @@ test-suite example
|
|||
, resourcet
|
||||
, servant
|
||||
, servant-conduit
|
||||
, servant-server >=0.15 && <0.18
|
||||
, servant-client >=0.15 && <0.18
|
||||
, servant-server >=0.15 && <0.19
|
||||
, servant-client >=0.15 && <0.19
|
||||
, wai >=3.2.1.2 && <3.3
|
||||
, warp >=3.2.25 && <3.4
|
||||
, http-client
|
||||
|
|
|
@ -53,7 +53,7 @@ library
|
|||
|
||||
-- Servant dependencies
|
||||
build-depends:
|
||||
servant >= 0.17 && <0.18
|
||||
servant >= 0.18 && <0.19
|
||||
|
||||
-- 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.
|
||||
|
|
|
@ -52,7 +52,7 @@ library
|
|||
|
||||
-- Servant dependencies
|
||||
build-depends:
|
||||
servant >=0.17 && <0.18
|
||||
servant >=0.18 && <0.19
|
||||
|
||||
-- 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.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
cabal-version: >=1.10
|
||||
name: servant-http-streams
|
||||
version: 0.17
|
||||
version: 0.18
|
||||
|
||||
synopsis: Automatic derivation of querying functions for servant
|
||||
category: Servant, Web
|
||||
|
@ -60,8 +60,8 @@ library
|
|||
-- Servant dependencies.
|
||||
-- Strict dependency on `servant-client-core` as we re-export things.
|
||||
build-depends:
|
||||
servant == 0.17.*
|
||||
, servant-client-core >= 0.17 && <0.17.1
|
||||
servant == 0.18.*
|
||||
, servant-client-core >= 0.18 && <0.19.1
|
||||
|
||||
-- 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.
|
||||
|
@ -122,8 +122,8 @@ test-suite spec
|
|||
, HUnit >= 1.6.0.0 && < 1.7
|
||||
, network >= 2.8.0.0 && < 3.2
|
||||
, QuickCheck >= 2.12.6.1 && < 2.14
|
||||
, servant == 0.17.*
|
||||
, servant-server == 0.17.*
|
||||
, servant == 0.18.*
|
||||
, servant-server == 0.18.*
|
||||
, tdigest >= 0.2 && < 0.3
|
||||
|
||||
build-tool-depends:
|
||||
|
|
|
@ -39,7 +39,7 @@ library
|
|||
, bytestring >=0.10.8.1 && <0.11
|
||||
, machines >=0.6.4 && <0.8
|
||||
, mtl >=2.2.2 && <2.3
|
||||
, servant >=0.15 && <0.18
|
||||
, servant >=0.15 && <0.19
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -58,8 +58,8 @@ test-suite example
|
|||
, servant
|
||||
, machines
|
||||
, servant-machines
|
||||
, servant-server >=0.15 && <0.18
|
||||
, servant-client >=0.15 && <0.18
|
||||
, servant-server >=0.15 && <0.19
|
||||
, servant-client >=0.15 && <0.19
|
||||
, wai >=3.2.1.2 && <3.3
|
||||
, warp >=3.2.25 && <3.4
|
||||
, http-client
|
||||
|
|
|
@ -41,7 +41,7 @@ library
|
|||
, pipes-safe >=2.3.1 && <2.4
|
||||
, mtl >=2.2.2 && <2.3
|
||||
, monad-control >=1.0.2.3 && <1.1
|
||||
, servant >=0.15 && <0.18
|
||||
, servant >=0.15 && <0.19
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall
|
||||
|
@ -62,8 +62,8 @@ test-suite example
|
|||
, pipes-safe
|
||||
, servant-pipes
|
||||
, pipes-bytestring >=2.1.6 && <2.2
|
||||
, servant-server >=0.15 && <0.18
|
||||
, servant-client >=0.15 && <0.18
|
||||
, servant-server >=0.15 && <0.19
|
||||
, servant-client >=0.15 && <0.19
|
||||
, wai >=3.2.1.2 && <3.3
|
||||
, warp >=3.2.25 && <3.4
|
||||
, http-client
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
cabal-version: >=1.10
|
||||
name: servant-server
|
||||
version: 0.17
|
||||
version: 0.18
|
||||
x-revision: 1
|
||||
|
||||
synopsis: A family of combinators for defining webservices APIs and serving them
|
||||
|
@ -77,7 +77,7 @@ library
|
|||
-- Servant dependencies
|
||||
-- strict dependency as we re-export 'servant' things.
|
||||
build-depends:
|
||||
servant >= 0.17 && < 0.17.1
|
||||
servant >= 0.18 && < 0.19.1
|
||||
, http-api-data >= 0.4.1 && < 0.4.2
|
||||
|
||||
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
|
||||
|
|
|
@ -1,11 +1,19 @@
|
|||
{-# LANGUAGE DataKinds #-}
|
||||
{-# LANGUAGE KindSignatures #-}
|
||||
{-# LANGUAGE PolyKinds #-}
|
||||
{-# LANGUAGE RankNTypes #-}
|
||||
{-# LANGUAGE DataKinds #-}
|
||||
{-# LANGUAGE PolyKinds #-}
|
||||
{-# LANGUAGE RankNTypes #-}
|
||||
{-# LANGUAGE TypeOperators #-}
|
||||
|
||||
module Servant.Server.Internal.ErrorFormatter
|
||||
where
|
||||
( ErrorFormatters(..)
|
||||
, ErrorFormatter
|
||||
, NotFoundErrorFormatter
|
||||
|
||||
, DefaultErrorFormatters
|
||||
, defaultErrorFormatters
|
||||
|
||||
, MkContextWithErrorFormatter
|
||||
, mkContextWithErrorFormatter
|
||||
) where
|
||||
|
||||
import Data.String.Conversions
|
||||
(cs)
|
||||
|
@ -72,8 +80,8 @@ err400Formatter _ _ e = err400 { errBody = cs e }
|
|||
-- These definitions suppress "unused import" warning.
|
||||
-- The imorts are needed for Haddock to correctly link to them.
|
||||
_RB :: Proxy ReqBody
|
||||
_RB = undefined
|
||||
_RB = Proxy
|
||||
_C :: Proxy Capture
|
||||
_C = undefined
|
||||
_C = Proxy
|
||||
_CT :: Proxy Context
|
||||
_CT = undefined
|
||||
_CT = Proxy
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
cabal-version: >=1.10
|
||||
name: servant
|
||||
version: 0.17
|
||||
version: 0.18
|
||||
|
||||
synopsis: A family of combinators for defining webservices APIs
|
||||
category: Servant, Web
|
||||
|
|
Loading…
Reference in a new issue