biscuit-servant 0.3.0.0 → 0.3.0.1
raw patch · 3 files changed
+12/−6 lines, 3 filesdep ~mtldep ~servant-serverPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: mtl, servant-server
API changes (from Hackage documentation)
- Auth.Biscuit.Servant: withPriorityAuthorizer :: Functor m => Authorizer -> WithAuthorizer m a -> WithAuthorizer m a
+ Auth.Biscuit.Servant: withPriorityAuthorizer :: Functor m => Authorizer -> WithAuthorizer' t m a -> WithAuthorizer' t m a
Files
- ChangeLog.md +6/−0
- biscuit-servant.cabal +4/−4
- src/Auth/Biscuit/Servant.hs +2/−2
ChangeLog.md view
@@ -1,5 +1,11 @@ # Changelog for biscuit-servant +## 0.3.0.1++- use biscuit-haskell 0.3.0.1+- GHC 9.6 and 9.8 support+- Generalize type for `withPriorityAuthorizer`+ ## 0.3.0.0 - use biscuit-haskell 0.3.0.0
biscuit-servant.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.0 name: biscuit-servant-version: 0.3.0.0+version: 0.3.0.1 category: Security synopsis: Servant support for the Biscuit security token description: Please see the README on GitHub at <https://github.com/biscuit-auth/biscuit-haskell#readme>@@ -13,7 +13,7 @@ license: BSD3 license-file: LICENSE build-type: Simple-tested-with: GHC ==8.10.7 || == 9.0.2 || ==9.2.4+tested-with: GHC ==9.0.2 || ==9.2.4 || ==9.6.5 || ==9.8.2 extra-source-files: README.md ChangeLog.md@@ -36,9 +36,9 @@ base >= 4.7 && <5, biscuit-haskell >= 0.3 && < 0.4, bytestring >= 0.10 && <0.12,- mtl ^>= 2.2,+ mtl >= 2.2 && < 2.4, text >= 1.2 && <3,- servant-server >= 0.18 && < 0.20,+ servant-server >= 0.18 && < 0.21, wai ^>= 3.2 default-language: Haskell2010
src/Auth/Biscuit/Servant.hs view
@@ -305,8 +305,8 @@ -- or to query a database), you can use 'withPriorityAuthorizerM' instead. withPriorityAuthorizer :: Functor m => Authorizer- -> WithAuthorizer m a- -> WithAuthorizer m a+ -> WithAuthorizer' t m a+ -> WithAuthorizer' t m a withPriorityAuthorizer newV h@WithAuthorizer{authorizer_} = h { authorizer_ = (newV <>) <$> authorizer_ }