Skip to content

Commit

Permalink
Support text-2.2; Bump Bump hoauth2-2.10; hoauth2-providers-0.4.0; (#240
Browse files Browse the repository at this point in the history
)
  • Loading branch information
freizl authored Nov 15, 2023
1 parent 27ca97c commit 3715b9e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
17 changes: 9 additions & 8 deletions hoauth2-demo/hoauth2-demo.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hoauth2-demo
version: 1.7.0
version: 1.8.0
synopsis: hoauth2 demo application
description:
Demo application to test oauth2 flow with many providers using hoauth2
Expand Down Expand Up @@ -29,8 +29,8 @@ source-repository head

flag breakpoint
description: Turn on breakpoint plugin
manual: True
default: False
manual: True
default: False

executable hoauth2-demo
main-is: Main.hs
Expand Down Expand Up @@ -67,15 +67,15 @@ executable hoauth2-demo
, containers ^>=0.6
, data-default ^>=0.7
, directory ^>=1.3
, hoauth2 ^>=2.9
, hoauth2-providers ^>=0.3
, hoauth2 >=2.9
, hoauth2-providers >=0.3
, http-conduit >=2.1 && <2.4
, http-types >=0.11 && <0.13
, jose-jwt >=0.9.4 && <0.10
, mustache >=2.2.3 && <2.5.0
, parsec >=3.1.11 && <3.2.0
, scotty >=0.10.0 && <0.13
, text >=0.11 && <2.1
, text >=2.0 && <2.3
, transformers >=0.4 && <0.7
, uri-bytestring >=0.2.3 && <0.4
, wai ^>=3.2
Expand All @@ -87,7 +87,8 @@ executable hoauth2-demo
-Wunused-packages -Wwarnings-deprecations -Wwarn

if flag(breakpoint)
build-depends: breakpoint ^>= 0.1.2
ghc-options: -fplugin=Debug.Breakpoint -plugin-package breakpoint
build-depends: breakpoint ^>=0.1.2
ghc-options: -fplugin=Debug.Breakpoint -plugin-package breakpoint

if impl(ghc <9.4)
ghc-options: -Wno-unticked-promoted-constructors
8 changes: 4 additions & 4 deletions hoauth2-providers-tutorial/hoauth2-providers-tutorial.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hoauth2-providers-tutorial
version: 0.3.0
version: 0.4.0
synopsis: tutorial for hoauth2-providers module
description:
A tutorial that demostrates how to use hoauth2-providers package
Expand All @@ -19,12 +19,12 @@ library
, base >=4.14 && <5
, bytestring >=0.9 && <0.12
, containers ^>=0.6
, hoauth2 ^>=2.9
, hoauth2-providers ^>=0.3
, hoauth2 >=2.9
, hoauth2-providers >=0.3
, http-conduit >=2.1 && <2.4
, http-types >=0.11 && <0.13
, scotty >=0.10.0 && <0.13
, text >=0.11 && <2.1
, text >=2.0 && <2.3
, transformers >=0.4 && <0.7
, uri-bytestring >=0.2.3 && <0.4

Expand Down
6 changes: 3 additions & 3 deletions hoauth2-providers/hoauth2-providers.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hoauth2-providers
version: 0.3.0
version: 0.4.0
synopsis: OAuth2 Identity Providers
description: A few well known Identity Providers
homepage: https://github.com/freizl/hoauth2
Expand Down Expand Up @@ -58,13 +58,13 @@ library
, bytestring >=0.9 && <0.12
, containers ^>=0.6
, cryptonite >=0.30 && <0.31
, hoauth2 ^>=2.9
, hoauth2 >=2.9
, HsOpenSSL >=0.11 && <0.12
, http-conduit >=2.1 && <2.4
, http-types >=0.11 && <0.13
, jose-jwt >=0.9.4 && <0.10
, mtl >=2.0 && <2.4
, text >=0.11 && <2.1
, text >=2.0 && <2.3
, time >=1.12 && <1.13
, transformers >=0.4 && <0.7
, uri-bytestring >=0.2.3 && <0.4
Expand Down
17 changes: 8 additions & 9 deletions hoauth2-tutorial/hoauth2-tutorial.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: hoauth2-tutorial
version: 0.3.0
version: 0.4.0
synopsis: Tutorial for using hoauth2
description:
Tutorial to demostrate how to use hoauth2 to implement OAuth2 flow in an web Application.
Expand All @@ -26,11 +26,11 @@ common common
, aeson >=2.0 && <2.2
, base >=4.5 && <5
, bytestring >=0.9 && <0.12
, hoauth2 ^>=2.9
, hoauth2 >=2.9
, http-conduit >=2.1 && <2.4
, http-types >=0.11 && <0.13
, scotty >=0.10 && <0.13
, text >=0.11 && <2.1
, text >=2.0 && <2.3
, transformers >=0.4 && <0.7
, uri-bytestring >=0.2.3 && <0.4

Expand All @@ -40,11 +40,10 @@ common common
-Wwarnings-deprecations

executable hoauth2-tutorial
import: common
main-is: HOAuth2Tutorial.hs
import: common
main-is: HOAuth2Tutorial.hs

executable hoauth2-experiment-tutorial
import: common
main-is: HOAuth2ExperimentTutorial.hs
build-depends:
containers ^>= 0.6
import: common
main-is: HOAuth2ExperimentTutorial.hs
build-depends: containers ^>=0.6
16 changes: 8 additions & 8 deletions hoauth2/hoauth2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: 2.4
name: hoauth2

-- http://wiki.haskell.org/Package_versioning_policy
version: 2.9.0
version: 2.10.0
synopsis: Haskell OAuth2 authentication client
description:
This is Haskell binding of OAuth2 Authorization framework and Bearer Token Usage framework.
Expand Down Expand Up @@ -40,18 +40,18 @@ library
Network.OAuth.OAuth2.HttpClient
Network.OAuth.OAuth2.TokenRequest
Network.OAuth2.Experiment
Network.OAuth2.Experiment.Grants.AuthorizationCode
Network.OAuth2.Experiment.Grants.ClientCredentials
Network.OAuth2.Experiment.Grants.DeviceAuthorization
Network.OAuth2.Experiment.Grants.JwtBearer
Network.OAuth2.Experiment.Grants.ResourceOwnerPassword
Network.OAuth2.Experiment.Flows.AuthorizationRequest
Network.OAuth2.Experiment.Flows.DeviceAuthorizationRequest
Network.OAuth2.Experiment.Flows.RefreshTokenRequest
Network.OAuth2.Experiment.Flows.TokenRequest
Network.OAuth2.Experiment.Flows.UserInfoRequest
Network.OAuth2.Experiment.Types
Network.OAuth2.Experiment.Grants.AuthorizationCode
Network.OAuth2.Experiment.Grants.ClientCredentials
Network.OAuth2.Experiment.Grants.DeviceAuthorization
Network.OAuth2.Experiment.Grants.JwtBearer
Network.OAuth2.Experiment.Grants.ResourceOwnerPassword
Network.OAuth2.Experiment.Pkce
Network.OAuth2.Experiment.Types

default-extensions:
DeriveGeneric
Expand All @@ -77,7 +77,7 @@ library
, http-types >=0.11 && <0.13
, memory ^>=0.18
, microlens ^>=0.4.0
, text ^>=2.0
, text >=2.0 && <2.3
, transformers >=0.4 && <0.7
, uri-bytestring >=0.2.3 && <0.4
, uri-bytestring-aeson ^>=0.1
Expand Down

0 comments on commit 3715b9e

Please sign in to comment.