polysemy-http 0.2.0.0 → 0.2.0.1
raw patch · 4 files changed
+25/−48 lines, 4 filesdep −mono-traversabledep ~aesondep ~ansi-terminaldep ~base-nopreludePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: mono-traversable
Dependency ranges changed: aeson, ansi-terminal, base-noprelude, bytestring, case-insensitive, containers, polysemy-plugin, relude
API changes (from Hackage documentation)
- Polysemy.Http.Data.Request: body :: HasRequest c_aUQd => Lens' c_aUQd Body
+ Polysemy.Http.Data.Request: body :: HasRequest c_aUSl => Lens' c_aUSl Body
- Polysemy.Http.Data.Request: class HasRequest c_aUQd
+ Polysemy.Http.Data.Request: class HasRequest c_aUSl
- Polysemy.Http.Data.Request: headers :: HasRequest c_aUQd => Lens' c_aUQd [(HeaderName, HeaderValue)]
+ Polysemy.Http.Data.Request: headers :: HasRequest c_aUSl => Lens' c_aUSl [(HeaderName, HeaderValue)]
- Polysemy.Http.Data.Request: host :: HasRequest c_aUQd => Lens' c_aUQd Host
+ Polysemy.Http.Data.Request: host :: HasRequest c_aUSl => Lens' c_aUSl Host
- Polysemy.Http.Data.Request: method :: HasRequest c_aUQd => Lens' c_aUQd Method
+ Polysemy.Http.Data.Request: method :: HasRequest c_aUSl => Lens' c_aUSl Method
- Polysemy.Http.Data.Request: path :: HasRequest c_aUQd => Lens' c_aUQd Path
+ Polysemy.Http.Data.Request: path :: HasRequest c_aUSl => Lens' c_aUSl Path
- Polysemy.Http.Data.Request: port :: HasRequest c_aUQd => Lens' c_aUQd (Maybe Port)
+ Polysemy.Http.Data.Request: port :: HasRequest c_aUSl => Lens' c_aUSl (Maybe Port)
- Polysemy.Http.Data.Request: query :: HasRequest c_aUQd => Lens' c_aUQd [(QueryKey, Maybe QueryValue)]
+ Polysemy.Http.Data.Request: query :: HasRequest c_aUSl => Lens' c_aUSl [(QueryKey, Maybe QueryValue)]
- Polysemy.Http.Data.Request: request :: HasRequest c_aUQd => Lens' c_aUQd Request
+ Polysemy.Http.Data.Request: request :: HasRequest c_aUSl => Lens' c_aUSl Request
- Polysemy.Http.Data.Request: tls :: HasRequest c_aUQd => Lens' c_aUQd Tls
+ Polysemy.Http.Data.Request: tls :: HasRequest c_aUSl => Lens' c_aUSl Tls
Files
- integration/Polysemy/Http/Server.hs +0/−2
- lib/Polysemy/Http/Data/Header.hs +0/−2
- lib/Polysemy/Http/Data/Request.hs +0/−2
- polysemy-http.cabal +25/−42
integration/Polysemy/Http/Server.hs view
@@ -1,5 +1,3 @@-{-# OPTIONS_GHC -fclear-plugins #-}- module Polysemy.Http.Server where import Control.Concurrent (ThreadId, forkIO, killThread)
lib/Polysemy/Http/Data/Header.hs view
@@ -1,5 +1,3 @@-{-# OPTIONS_GHC -fclear-plugins #-}- module Polysemy.Http.Data.Header where -- |The name of a header.
lib/Polysemy/Http/Data/Request.hs view
@@ -1,5 +1,3 @@-{-# OPTIONS_GHC -fclear-plugins #-}- module Polysemy.Http.Data.Request where import Control.Lens (makeClassy)
polysemy-http.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: polysemy-http-version: 0.2.0.0+version: 0.2.0.1 synopsis: Polysemy effect for http-client description: Please see the README on Github at <https://github.com/tek/polysemy-http> category: Network@@ -49,16 +49,17 @@ hs-source-dirs: lib default-extensions: AllowAmbiguousTypes ApplicativeDo BangPatterns BinaryLiterals BlockArguments ConstraintKinds DataKinds DefaultSignatures DeriveAnyClass DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable DerivingVia DoAndIfThenElse EmptyDataDecls ExistentialQuantification FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase MultiParamTypeClasses MultiWayIf NamedFieldPuns OverloadedStrings PackageImports PartialTypeSignatures PatternGuards PatternSynonyms PolyKinds QuantifiedConstraints QuasiQuotes RankNTypes RecordWildCards RecursiveDo ScopedTypeVariables StandaloneDeriving TemplateHaskell TupleSections TypeApplications TypeFamilies TypeOperators TypeSynonymInstances UndecidableInstances UnicodeSyntax ViewPatterns+ ghc-options: -fplugin=Polysemy.Plugin -O2 -flate-specialise -fspecialise-aggressively build-depends:- aeson >=1.4.7- , ansi-terminal >=0.10.3- , base-noprelude >=4.13.0- , bytestring >=0.10.10- , case-insensitive >=1.2.1+ aeson >=1.4.4.0+ , ansi-terminal >=0.9.1+ , base-noprelude >=4 && <5+ , bytestring+ , case-insensitive >=1.2 , co-log-core >=0.2.1 , co-log-polysemy >=0.0.1 , composition >=1.0.2- , containers >=0.6.2+ , containers , data-default >=0.7.1 , either >=5.0.1 , http-client >=0.6.4@@ -66,18 +67,12 @@ , http-conduit >=2.3.7 , http-types >=0.12.3 , lens >=4- , mono-traversable >=1.0.15 , polysemy >=1.3.0 , polysemy-plugin >=0.2.5- , relude >=0.7.0+ , relude >=0.5 && <0.8 , string-interpolate >=0.2.1 , template-haskell >=2.14.0 , text >=1.2.3- if impl(ghcjs)- else- ghc-options: -fplugin=Polysemy.Plugin -O2 -flate-specialise -fspecialise-aggressively- build-depends:- polysemy-plugin default-language: Haskell2010 test-suite polysemy-http-integration@@ -92,17 +87,17 @@ hs-source-dirs: integration default-extensions: AllowAmbiguousTypes ApplicativeDo BangPatterns BinaryLiterals BlockArguments ConstraintKinds DataKinds DefaultSignatures DeriveAnyClass DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable DerivingVia DoAndIfThenElse EmptyDataDecls ExistentialQuantification FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase MultiParamTypeClasses MultiWayIf NamedFieldPuns OverloadedStrings PackageImports PartialTypeSignatures PatternGuards PatternSynonyms PolyKinds QuantifiedConstraints QuasiQuotes RankNTypes RecordWildCards RecursiveDo ScopedTypeVariables StandaloneDeriving TemplateHaskell TupleSections TypeApplications TypeFamilies TypeOperators TypeSynonymInstances UndecidableInstances UnicodeSyntax ViewPatterns- ghc-options: -threaded -rtsopts -with-rtsopts=-N+ ghc-options: -fplugin=Polysemy.Plugin -O2 -flate-specialise -fspecialise-aggressively -threaded -rtsopts -with-rtsopts=-N build-depends:- aeson >=1.4.7- , ansi-terminal >=0.10.3- , base-noprelude >=4.13.0- , bytestring >=0.10.10- , case-insensitive >=1.2.1+ aeson >=1.4.4.0+ , ansi-terminal >=0.9.1+ , base-noprelude >=4 && <5+ , bytestring+ , case-insensitive >=1.2 , co-log-core >=0.2.1 , co-log-polysemy >=0.0.1 , composition >=1.0.2- , containers >=0.6.2+ , containers , data-default >=0.7.1 , either >=5.0.1 , hedgehog@@ -111,12 +106,11 @@ , http-conduit >=2.3.7 , http-types >=0.12.3 , lens >=4- , mono-traversable >=1.0.15 , network , polysemy >=1.3.0 , polysemy-http , polysemy-plugin >=0.2.5- , relude >=0.7.0+ , relude >=0.5 && <0.8 , servant , servant-client , servant-server@@ -129,11 +123,6 @@ mixins: polysemy-http hiding (Prelude) , polysemy-http (Polysemy.Http.Prelude as Prelude)- if impl(ghcjs)- else- ghc-options: -fplugin=Polysemy.Plugin -O2 -flate-specialise -fspecialise-aggressively- build-depends:- polysemy-plugin default-language: Haskell2010 test-suite polysemy-http-unit@@ -147,17 +136,17 @@ hs-source-dirs: test default-extensions: AllowAmbiguousTypes ApplicativeDo BangPatterns BinaryLiterals BlockArguments ConstraintKinds DataKinds DefaultSignatures DeriveAnyClass DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable DerivingVia DoAndIfThenElse EmptyDataDecls ExistentialQuantification FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase MultiParamTypeClasses MultiWayIf NamedFieldPuns OverloadedStrings PackageImports PartialTypeSignatures PatternGuards PatternSynonyms PolyKinds QuantifiedConstraints QuasiQuotes RankNTypes RecordWildCards RecursiveDo ScopedTypeVariables StandaloneDeriving TemplateHaskell TupleSections TypeApplications TypeFamilies TypeOperators TypeSynonymInstances UndecidableInstances UnicodeSyntax ViewPatterns- ghc-options: -threaded -rtsopts -with-rtsopts=-N+ ghc-options: -fplugin=Polysemy.Plugin -O2 -flate-specialise -fspecialise-aggressively -threaded -rtsopts -with-rtsopts=-N build-depends:- aeson >=1.4.7- , ansi-terminal >=0.10.3- , base-noprelude >=4.13.0- , bytestring >=0.10.10- , case-insensitive >=1.2.1+ aeson >=1.4.4.0+ , ansi-terminal >=0.9.1+ , base-noprelude >=4 && <5+ , bytestring+ , case-insensitive >=1.2 , co-log-core >=0.2.1 , co-log-polysemy >=0.0.1 , composition >=1.0.2- , containers >=0.6.2+ , containers , data-default >=0.7.1 , either >=5.0.1 , hedgehog@@ -166,11 +155,10 @@ , http-conduit >=2.3.7 , http-types >=0.12.3 , lens >=4- , mono-traversable >=1.0.15 , polysemy >=1.3.0 , polysemy-http , polysemy-plugin >=0.2.5- , relude >=0.7.0+ , relude >=0.5 && <0.8 , string-interpolate >=0.2.1 , tasty , tasty-hedgehog@@ -179,9 +167,4 @@ mixins: polysemy-http hiding (Prelude) , polysemy-http (Polysemy.Http.Prelude as Prelude)- if impl(ghcjs)- else- ghc-options: -fplugin=Polysemy.Plugin -O2 -flate-specialise -fspecialise-aggressively- build-depends:- polysemy-plugin default-language: Haskell2010