packages feed

servant-auth-client 0.3.2.0 → 0.3.3.0

raw patch · 3 files changed

+27/−5 lines, 3 filesdep ~QuickCheckdep ~basedep ~servantnew-uploaderPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck, base, servant, servant-client-core

API changes (from Hackage documentation)

Files

+ CHANGELOG.md view
@@ -0,0 +1,15 @@+# Changelog++All notable changes to this project will be documented in this file.++The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)+and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).++## [Unreleased]++## [0.3.3.0] - 2018-06-18++### Added+- Support for GHC 8.4 by @phadej+- Support for servant-0.14 by @phadej+- Changelog by @domenkozar
servant-auth-client.cabal view
@@ -1,5 +1,5 @@ name:           servant-auth-client-version:        0.3.2.0+version:        0.3.3.0 synopsis:       servant-client/servant-auth compatibility description:    This package provides instances that allow generating clients from                 <https://hackage.haskell.org/package/servant servant>@@ -15,9 +15,11 @@ copyright:      (c) Julian K. Arni license:        BSD3 license-file:   LICENSE-tested-with:    GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2+tested-with:    GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC==8.4.3 build-type:     Simple cabal-version:  >= 1.10+extra-source-files:+    CHANGELOG.md  source-repository head   type: git@@ -34,15 +36,15 @@   default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators   ghc-options: -Wall   build-depends:-      base                >= 4.8  && < 4.11+      base                >= 4.8  && < 4.12     , text     , bytestring     , servant-auth        == 0.3.*-    , servant             >= 0.7  && < 0.14+    , servant             >= 0.7  && < 0.15   if flag(servant-client-core)     cpp-options: -DHAS_CLIENT_CORE=1     build-depends:-      servant-client-core >= 0.12 && < 0.14,+      servant-client-core >= 0.12 && < 0.15,       containers   else     build-depends:
src/Servant/Auth/Client/Internal.hs view
@@ -47,6 +47,11 @@     $ req { requestHeaders = ("Authorization", headerVal) <| requestHeaders req  }       where         headerVal = "Bearer " <> token++#if MIN_VERSION_servant_client_core(0,14,0)+  hoistClientMonad pm _ nt cl = hoistClientMonad pm (Proxy :: Proxy api) nt . cl+#endif+ #else instance (HasJWT auths, HasClient api) => HasClient (Auth auths a :> api) where   type Client (Auth auths a :> api) = Token -> Client api