on master help sign in
Version bump (3.10.0)
commitffa30b18a54cea7909291db4db05aa7cc2e8d36d authorMark Karpov <markkarpov92@gmail.com> dateThu 3 Feb 2022, 11:39 (5 years ago) parente30728f
3 files changed+29−29
CHANGELOG.md+1−1 Network/HTTP/Req.hs+15−15 req.cabal+13−13
CHANGELOG.md+1−1
@@ -1,4 +1,4 @@
1−## Req 3.9.3
1+## Req 3.10.0
22
33* Add `MonadHttp` instances for `transformers` types.
44
Network/HTTP/Req.hs+15−15
@@ -801,77 +801,77 @@ instance MonadHttp Req where
801801 handleHttpException = Req . lift . throwIO
802802 getHttpConfig = Req ask
803803
804−-- | @since 3.9.3
804+-- | @since 3.10.0
805805instance (MonadHttp m, Monoid w) => MonadHttp (AccumT w m) where
806806 handleHttpException = lift . handleHttpException
807807 getHttpConfig = lift getHttpConfig
808808
809−-- | @since 3.9.3
809+-- | @since 3.10.0
810810instance MonadHttp m => MonadHttp (ContT r m) where
811811 handleHttpException = lift . handleHttpException
812812 getHttpConfig = lift getHttpConfig
813813
814−-- | @since 3.9.3
814+-- | @since 3.10.0
815815instance MonadHttp m => MonadHttp (ExceptT e m) where
816816 handleHttpException = lift . handleHttpException
817817 getHttpConfig = lift getHttpConfig
818818
819−-- | @since 3.9.3
819+-- | @since 3.10.0
820820instance MonadHttp m => MonadHttp (IdentityT m) where
821821 handleHttpException = lift . handleHttpException
822822 getHttpConfig = lift getHttpConfig
823823
824−-- | @since 3.9.3
824+-- | @since 3.10.0
825825instance MonadHttp m => MonadHttp (MaybeT m) where
826826 handleHttpException = lift . handleHttpException
827827 getHttpConfig = lift getHttpConfig
828828
829−-- | @since 3.9.3
829+-- | @since 3.10.0
830830instance MonadHttp m => MonadHttp (ReaderT r m) where
831831 handleHttpException = lift . handleHttpException
832832 getHttpConfig = lift getHttpConfig
833833
834−-- | @since 3.9.3
834+-- | @since 3.10.0
835835instance (MonadHttp m, Monoid w) => MonadHttp (RWS.CPS.RWST r w s m) where
836836 handleHttpException = lift . handleHttpException
837837 getHttpConfig = lift getHttpConfig
838838
839−-- | @since 3.9.3
839+-- | @since 3.10.0
840840instance (MonadHttp m, Monoid w) => MonadHttp (RWS.Lazy.RWST r w s m) where
841841 handleHttpException = lift . handleHttpException
842842 getHttpConfig = lift getHttpConfig
843843
844−-- | @since 3.9.3
844+-- | @since 3.10.0
845845instance (MonadHttp m, Monoid w) => MonadHttp (RWS.Strict.RWST r w s m) where
846846 handleHttpException = lift . handleHttpException
847847 getHttpConfig = lift getHttpConfig
848848
849−-- | @since 3.9.3
849+-- | @since 3.10.0
850850instance MonadHttp m => MonadHttp (SelectT r m) where
851851 handleHttpException = lift . handleHttpException
852852 getHttpConfig = lift getHttpConfig
853853
854−-- | @since 3.9.3
854+-- | @since 3.10.0
855855instance MonadHttp m => MonadHttp (State.Lazy.StateT s m) where
856856 handleHttpException = lift . handleHttpException
857857 getHttpConfig = lift getHttpConfig
858858
859−-- | @since 3.9.3
859+-- | @since 3.10.0
860860instance MonadHttp m => MonadHttp (State.Strict.StateT s m) where
861861 handleHttpException = lift . handleHttpException
862862 getHttpConfig = lift getHttpConfig
863863
864−-- | @since 3.9.3
864+-- | @since 3.10.0
865865instance (MonadHttp m, Monoid w) => MonadHttp (Writer.CPS.WriterT w m) where
866866 handleHttpException = lift . handleHttpException
867867 getHttpConfig = lift getHttpConfig
868868
869−-- | @since 3.9.3
869+-- | @since 3.10.0
870870instance (MonadHttp m, Monoid w) => MonadHttp (Writer.Lazy.WriterT w m) where
871871 handleHttpException = lift . handleHttpException
872872 getHttpConfig = lift getHttpConfig
873873
874−-- | @since 3.9.3
874+-- | @since 3.10.0
875875instance (MonadHttp m, Monoid w) => MonadHttp (Writer.Strict.WriterT w m) where
876876 handleHttpException = lift . handleHttpException
877877 getHttpConfig = lift getHttpConfig
req.cabal+13−13
@@ -1,6 +1,6 @@
11cabal-version: 1.18
22name: req
3−version: 3.9.2
3+version: 3.10.0
44license: BSD3
55license-file: LICENSE.md
66maintainer: Mark Karpov <markkarpov92@gmail.com>
@@ -68,12 +68,12 @@ library
6868 -Wnoncanonical-monad-instances
6969
7070test-suite pure-tests
71− type: exitcode-stdio-1.0
72− main-is: Spec.hs
73− build-tools: hspec-discover >=2.0 && <3.0
74− hs-source-dirs: pure-tests
75− other-modules: Network.HTTP.ReqSpec
76− default-language: Haskell2010
71+ type: exitcode-stdio-1.0
72+ main-is: Spec.hs
73+ build-tool-depends: hspec-discover:hspec-discover >=2.0 && <3.0
74+ hs-source-dirs: pure-tests
75+ other-modules: Network.HTTP.ReqSpec
76+ default-language: Haskell2010
7777 build-depends:
7878 QuickCheck >=2.7 && <3.0,
7979 aeson >=0.9 && <3,
@@ -100,12 +100,12 @@ test-suite pure-tests
100100 ghc-options: -O2 -Wall
101101
102102test-suite httpbin-tests
103− type: exitcode-stdio-1.0
104− main-is: Spec.hs
105− build-tools: hspec-discover >=2.0 && <3.0
106− hs-source-dirs: httpbin-tests
107− other-modules: Network.HTTP.ReqSpec
108− default-language: Haskell2010
103+ type: exitcode-stdio-1.0
104+ main-is: Spec.hs
105+ build-tool-depends: hspec-discover:hspec-discover >=2.0 && <3.0
106+ hs-source-dirs: httpbin-tests
107+ other-modules: Network.HTTP.ReqSpec
108+ default-language: Haskell2010
109109 build-depends:
110110 QuickCheck >=2.7 && <3.0,
111111 aeson >=2 && <3,